.cm-sd {
  --cm-sd-orange: #ff7b2a;
  --cm-sd-muted: #bab2af;
  scroll-margin-top: 112px;
  padding: clamp(28px, 6vw, 84px) clamp(12px, 4vw, 46px);
  background: radial-gradient(ellipse at 10% 0%, #54291d 0%, transparent 65%), #101014;
  color: #f6f2ef;
  font: 400 16px/1.6 Arial, Helvetica, sans-serif;
  text-align: left;
}

.cm-sd *,
.cm-sd *::before,
.cm-sd *::after { box-sizing: border-box; }
.cm-sd [hidden] { display: none !important; }
.cm-sd :is(h2, h3, p, progress, fieldset, dl, dd) { margin: 0; }
.cm-sd :is(h2, h3) {
  color: inherit;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -.044em;
  line-height: 1.13;
  text-transform: none;
  overflow-wrap: break-word;
}

.cm-sd .cm-sd__inner {
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 365px), 1fr));
  align-items: center;
  gap: clamp(24px, 6vw, 82px);
}

.cm-sd--form-only { padding: 0; background: none; }
.cm-sd .cm-sd__intro { padding-block: 8px; min-width: 0; }
.cm-sd .cm-sd__eyebrow {
  margin-bottom: 12px;
  color: #ffb98d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.cm-sd .cm-sd__intro h2 { max-width: 14ch; font-size: clamp(2rem, 4.2vw, 4.25rem); }
.cm-sd .cm-sd__intro h2 + p { margin-top: 17px; max-width: 42ch; color: #f0e4df; }
.cm-sd .cm-sd__intro .cm-sd__subtle { margin-top: 13px; max-width: 46ch; color: var(--cm-sd-muted); font-size: .88rem; }

.cm-sd .cm-sd__card {
  min-width: 0;
  padding: clamp(16px, 3.2vw, 34px);
  border: 1px solid #ddd3d0;
  border-radius: 16px;
  background: #faf8f7;
  color: #211c21;
  color-scheme: light;
  box-shadow: 0 18px 45px #0003;
  scroll-margin-top: 112px;
}
.cm-sd .cm-sd__card h3 { margin-bottom: 7px; font-size: clamp(1.44rem, 2.2vw, 1.85rem); }
.cm-sd .cm-sd__card a { color: #813609; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cm-sd .cm-sd__progress-label {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 16px;
  color: #574f54;
  font-size: .82rem;
  margin-bottom: 9px;
}
.cm-sd .cm-sd__progress-label strong { color: #84370a; }
.cm-sd progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #eaded9;
  accent-color: #a84f15;
  margin-bottom: 21px;
}
.cm-sd progress::-webkit-progress-bar { background: #eaded9; }
.cm-sd progress::-webkit-progress-value { background: #a84f15; }
.cm-sd progress::-moz-progress-bar { background: #a84f15; }
.cm-sd .cm-sd__step-intro { margin-bottom: 17px; color: #5b5257; font-size: .9rem; }
.cm-sd fieldset { display: block; min-width: 0; padding: 0; border: 0; margin: 0 0 16px; }
.cm-sd legend,
.cm-sd .cm-sd__field > span {
  display: block;
  padding: 0;
  margin: 0 0 7px;
  color: #30272c;
  font-size: .875rem;
  font-weight: 700;
}
.cm-sd .cm-sd__choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 174px), 1fr));
  gap: 7px;
}
.cm-sd .cm-sd__choice {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 9px;
  min-height: 44px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #d8cdcb;
  border-radius: 7px;
  background: #fff;
  color: #30272c;
  cursor: pointer;
  overflow-wrap: anywhere;
  font: 400 .865rem/1.4 Arial, Helvetica, sans-serif;
}
.cm-sd .cm-sd__choice:hover { border-color: #a76b4a; }
.cm-sd .cm-sd__choice:has(input:checked) { border-color: #a75c2b; background: #fff0e5; }
.cm-sd .cm-sd__card input:is([type=radio], [type=checkbox]) {
  appearance: auto !important;
  position: static !important;
  opacity: 1 !important;
  clip: auto !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  accent-color: #a44b13;
  flex: 0 0 17px;
}
.cm-sd .cm-sd__field { display: block; margin-bottom: 13px; }
.cm-sd .cm-sd__field :is(input, textarea) {
  width: 100% !important;
  min-height: 44px !important;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #cdbfbc !important;
  border-radius: 6px;
  background: #fff !important;
  color: #211c21 !important;
  -webkit-text-fill-color: #211c21;
  font: 400 16px/1.45 Arial, Helvetica, sans-serif;
  box-shadow: none;
}
.cm-sd .cm-sd__field textarea { resize: vertical; }
.cm-sd .cm-sd__field :is(input, textarea)::placeholder { color: #6d6267; -webkit-text-fill-color: #6d6267; opacity: 1; }
.cm-sd .cm-sd__privacy { display: flex; align-items: flex-start; gap: 9px; color: #5b5257; font-size: .81rem; }
.cm-sd .cm-sd__privacy label { margin: 0; }

.cm-sd .cm-sd__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  padding: 11px 13px;
  margin-bottom: 15px;
  background: #f1eae7;
  border-radius: 7px;
  color: #51454c;
  font-size: .81rem;
  overflow-wrap: anywhere;
}
.cm-sd .cm-sd__summary dt { font-weight: 700; }
.cm-sd .cm-sd__error {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid #a32822;
  background: #f9e8e5;
  color: #802623;
  font-size: .87rem;
  overflow-wrap: anywhere;
}
.cm-sd .cm-sd__nav { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 15px; margin-top: 16px; border-top: 1px solid #e3d7d3; }
.cm-sd .cm-sd__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-height: 46px;
  max-width: 100%;
  padding: 9px 17px !important;
  border: 1px solid transparent !important;
  border-radius: 7px;
  background: var(--cm-sd-orange) !important;
  color: #261309 !important;
  font: 700 .88rem/1.35 Arial, Helvetica, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.cm-sd .cm-sd__button:not(.cm-sd__button--back) { margin-inline-start: auto; }
.cm-sd .cm-sd__button:hover { background: #ff9f65 !important; }
.cm-sd .cm-sd__button--back { background: #f1e9e6 !important; border-color: #e0d2cd !important; }
.cm-sd .cm-sd__button--back:hover { background: #eadbd6 !important; }
.cm-sd .cm-sd__button:disabled { opacity: .68; cursor: wait; }
.cm-sd :is(a, input, textarea, button):focus-visible { outline: 2px solid #904614; outline-offset: 3px; }
.cm-sd .cm-sd__success p { margin-top: 10px; color: #5b5257; }
.cm-sd .cm-sd__success h3 { color: #225235; }

.cm-sd .cm-sd__trap,
.cm-sd .cm-sd__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

/* The same form layout serves both standalone and embedded shortcodes. */
.cm-sd {
  --cm-sd-orange: #f17a40;
  --cm-sd-muted: #bdb5b0;
  background: #111216;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cm-sd--form-only { padding: 0; background: none; }
.cm-sd .cm-sd__inner { align-items: start; gap: clamp(20px, 5vw, 57px); }
.cm-sd .cm-sd__intro { padding-block: 11px; }
.cm-sd .cm-sd__intro h2 { max-width: 16ch; font-size: clamp(1.95rem, 3.7vw, 3.4rem); }
.cm-sd .cm-sd__intro h2 + p { margin-top: 12px; }
.cm-sd .cm-sd__intro .cm-sd__subtle { margin-top: 8px; }
.cm-sd .cm-sd__card {
  min-width: 0;
  border-radius: 12px;
  border-color: #e2dbd5;
  background: #fbf9f6;
  box-shadow: 0 12px 34px #0002;
}
.cm-sd .cm-sd__card h3 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.cm-sd .cm-sd__progress-label { margin-bottom: 8px; }
.cm-sd progress { height: 4px; margin-bottom: 17px; }
.cm-sd .cm-sd__step-intro { margin-bottom: 14px; }
.cm-sd .cm-sd__choice { align-items: center; padding: 9px 10px; font-family: inherit; }
.cm-sd .cm-sd__choice:has(input:checked) { border-color: #a24c23; background: #fff0e6; }
.cm-sd .cm-sd__choice:has(input:focus-visible) { outline: 2px solid #904614; outline-offset: 1px; }
.cm-sd .cm-sd__card .cm-sd__button { min-height: 46px; font-family: inherit; }
.cm-sd .cm-sd__arrow { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cm-sd .cm-sd__field :is(input, textarea) { font-family: inherit; }
.cm-sd .cm-sd__privacy { min-height: 44px; align-items: flex-start; }
.cm-sd .cm-sd__privacy label { cursor: pointer; }
.cm-sd .cm-sd__summary { grid-template-columns: minmax(0, auto) minmax(0, 1fr); }
.cm-sd :is(.cm-sd__intro, .cm-sd__card) { overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .cm-sd { padding: 25px clamp(10px, 4vw, 22px) 29px; }
  .cm-sd--form-only { padding: 0; }
  .cm-sd .cm-sd__inner { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .cm-sd .cm-sd__intro { padding: 0; }
  .cm-sd .cm-sd__intro h2 { max-width: 19ch; font-size: clamp(1.72rem, 7.4vw, 2.2rem); }
  .cm-sd .cm-sd__intro h2 + p { margin-top: 9px; }
  .cm-sd .cm-sd__eyebrow { margin-bottom: 8px; }
  .cm-sd .cm-sd__card { padding: clamp(12px, 3.7vw, 19px); }
  .cm-sd .cm-sd__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-sd .cm-sd__choices--audience > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cm-sd .cm-sd__choice { gap: 7px; min-height: 46px; padding: 7px 8px; }
  .cm-sd .cm-sd__nav { flex-wrap: wrap; gap: 7px; padding-top: 12px; }
  .cm-sd .cm-sd__nav .cm-sd__button:not(.cm-sd__button--back) { flex: 1 1 auto; }
}

@media (max-width: 350px) {
  .cm-sd .cm-sd__choices--project { grid-template-columns: minmax(0, 1fr); }
}
