:root { --intake-ink: #173331; --intake-green: #176b5b; --intake-pale: #e5f1ea; --intake-paper: #f8f6ef; --intake-line: #cbd9d3; }
.intake-page { background: var(--intake-paper); color: var(--intake-ink); line-height: 1.6; }
.intake-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 2rem, 1320px); margin: 0 auto; padding: 1.15rem 0; border-bottom: 1px solid var(--intake-line); }
.intake-exit { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; }
.intake-header .brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 800; text-decoration: none; }
.intake-header .brand-mark { padding: .4rem; border-radius: .4rem; background: var(--intake-green); color: #fff; }
.intake-main { width: min(100% - 2rem, 1320px); margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) 0; }
.intake-intro { max-width: 850px; }
.intake-kicker, .intake-step-label { margin: 0 0 .7rem; color: var(--intake-green); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.intake-intro h1 { max-width: 15ch; margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; letter-spacing: -.05em; }
.intake-intro > p:not(.intake-kicker) { max-width: 700px; font-size: 1.12rem; }
.intake-intro aside { display: flex; gap: .6rem 1.5rem; margin: 2rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--intake-green); background: #fff; }
.intake-intro aside span { max-width: 720px; }
.intake-workspace { display: grid; grid-template-columns: minmax(210px, .33fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); margin-top: 3rem; }
.intake-progress { align-self: start; position: sticky; top: 1rem; }
.intake-progress ol { display: grid; gap: .3rem; padding: 0; margin: 0; list-style: none; }
.intake-progress li { display: flex; align-items: center; gap: .75rem; min-height: 42px; padding: .35rem .5rem; border-radius: .6rem; opacity: .48; }
.intake-progress li span { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; }
.intake-progress li em { font-style: normal; font-size: .88rem; font-weight: 700; }
.intake-progress li[aria-current="step"] { background: var(--intake-pale); opacity: 1; }
.intake-progress li[data-complete="true"] { color: var(--intake-green); opacity: .8; }
.intake-progress > p { margin: 1rem .5rem; font-size: .8rem; font-weight: 800; }
.intake-form { min-width: 0; min-height: 660px; padding: clamp(1.4rem, 4vw, 3.5rem); border: 1px solid var(--intake-line); border-radius: 1.5rem; background: #fff; box-shadow: 0 20px 60px rgba(23, 51, 49, .08); }
.intake-form-status:empty { display: none; }
.intake-form-status { margin-bottom: 1.2rem; padding: .8rem 1rem; border-radius: .7rem; background: #fff0d3; font-weight: 750; }
.intake-step h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.intake-step-description { margin: .8rem 0 2.2rem; color: #526763; }
.intake-fields { display: grid; gap: 1.4rem; }
.intake-field { display: grid; gap: .45rem; min-width: 0; }
.intake-field > label:first-child, .intake-options legend { width: 100%; font-weight: 800; }
.required-note, .optional-note { float: right; margin-left: 1rem; color: #6a7976; font-size: .7rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.intake-field input[type="text"], .intake-field input[type="email"], .intake-field input[type="tel"], .intake-field textarea, .intake-field select { width: 100%; min-height: 50px; padding: .75rem .85rem; border: 1px solid #93aaa4; border-radius: .55rem; background: #fcfdfa; color: var(--intake-ink); font: inherit; }
.intake-field textarea { resize: vertical; }
.intake-field small { color: #5c6d69; }
.intake-field :user-invalid { border-color: #a3342d; }
.intake-consent { padding: 1rem; border: 1px solid var(--intake-line); border-radius: .7rem; background: #f8fbf8; }
.intake-consent label, .intake-options label { display: flex; align-items: flex-start; gap: .75rem; min-height: 44px; cursor: pointer; }
.intake-consent input, .intake-options input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--intake-green); }
.intake-options { min-width: 0; padding: 0; border: 0; }
.intake-options legend { margin-bottom: .8rem; }
.intake-options label { padding: .85rem; border: 1px solid var(--intake-line); border-radius: .7rem; }
.intake-options label + label { margin-top: .55rem; }
.intake-controls { display: flex; justify-content: flex-end; gap: .8rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--intake-line); }
.intake-button { min-height: 48px; padding: .75rem 1.3rem; border: 2px solid var(--intake-green); border-radius: 999px; background: var(--intake-green); color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.intake-button-secondary { margin-right: auto; background: transparent; color: var(--intake-green); }
.intake-summary { padding: 1.2rem; border-radius: .8rem; background: var(--intake-pale); }
.intake-summary h3 { margin-top: 0; }
.intake-summary dl { display: grid; gap: .7rem; margin: 0; }
.intake-summary dl div { display: grid; grid-template-columns: minmax(100px, .3fr) 1fr; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(23, 51, 49, .15); }
.intake-summary dt { font-weight: 800; }
.intake-summary dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.intake-next { max-width: 850px; margin: clamp(4rem, 9vw, 8rem) auto 0; text-align: center; }
.intake-next h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.intake-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem max(1rem, calc((100% - 1320px) / 2)); background: var(--intake-ink); color: #fff; }
.intake-footer nav { display: flex; gap: 1.5rem; }
.intake-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 820px) {
  .intake-workspace { grid-template-columns: 1fr; }
  .intake-progress { position: static; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
  .intake-progress ol { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); width: 100%; gap: 0; }
  .intake-progress li { justify-content: center; min-width: 0; padding-inline: 0; }
  .intake-progress li span { width: clamp(1.35rem, 5vw, 2rem); height: clamp(1.35rem, 5vw, 2rem); font-size: .72rem; }
  .intake-progress li em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .intake-form { min-height: 0; }
}
@media (max-width: 520px) {
  .intake-header { align-items: flex-start; }
  .intake-header .brand { font-size: .75rem; }
  .intake-intro aside, .intake-footer { flex-direction: column; }
  .intake-form { padding: 1.1rem; border-radius: 1rem; }
  .intake-controls { flex-wrap: wrap; }
  .intake-button { width: 100%; }
  .intake-button-secondary { order: 2; }
  .intake-summary dl div { grid-template-columns: 1fr; gap: .15rem; }
}
.intake-enabled { border: 0; padding: 0; margin: 0; min-width: 0; }
.intake-b2b { padding: 1rem; border-left: 3px solid #356b5e; background: #e8ece5; }
[data-intake-export] textarea { box-sizing: border-box; width: 100%; font: inherit; }
[data-intake-export] { overflow-wrap: anywhere; }
.intake-page h2 { overflow-wrap: anywhere; }
.intake-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
