@import url('../styles.css');
[hidden] { display: none !important; }
.form-page { background: #f5f7fa; }
.form-header { background: var(--navy, #07162f); padding: 1rem 0; }
.form-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.form-header .back-link { color: #e3e9f2; font-size: .87rem; }
.form-header .brand__name { color: #fff; }
.form-header .brand__tag { color: #c5cfdf; }
.intake-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2rem; align-items: start; padding-block: 3rem 5rem; }
.intake-heading { grid-column: 1 / -1; max-width: 54rem; }
.intake-heading h1 { font-size: clamp(2rem, 4vw, 3.35rem); margin-block: .7rem 1rem; }
.intake-heading p { font-size: 1.05rem; color: #526176; max-width: 48rem; }
.form-card, .intake-aside { border: 1px solid #dce3ec; background: #fff; border-radius: 1rem; padding: clamp(1.1rem, 3vw, 2rem); }
.intake-aside { position: sticky; top: 1.5rem; font-size: .9rem; }
.intake-aside h2 { font-family: Inter, sans-serif; font-size: 1.05rem; }
.intake-aside ol { margin: 1rem 0; padding-left: 1.1rem; }
.intake-aside li { padding: .4rem 0; color: #526176; }
.intake-aside .aside-contact { border-top: 1px solid #dce3ec; padding-top: 1rem; margin-top: 1rem; }
.steps { display: flex; padding: 0; margin: 0 0 1.75rem; list-style: none; gap: .7rem; }
.steps li { flex: 1; border-top: 3px solid #dce3ec; padding-top: .65rem; font-size: .78rem; color: #667389; }
.steps [aria-current='step'] { border-color: #a57b2f; color: #07162f; font-weight: 800; }
.steps span { display: block; font-size: .68rem; margin-bottom: .2rem; letter-spacing: .06em; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset > legend { padding: 0; font: 700 1.7rem 'Playfair Display', Georgia, serif; color: #07162f; margin-bottom: .5rem; }
.step-help { color: #667389; font-size: .9rem; margin: 0 0 1.8rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field, .field-group { min-width: 0; margin-bottom: 1.25rem; }
.field-grid .field { margin: 0; }
.span-2 { grid-column: 1 / -1; }
.field label, .field-group > legend { display: block; font-weight: 700; color: #263449; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 3rem; padding: .75rem .8rem; border: 1px solid #aebacb; border-radius: .5rem; font: inherit; color: #263449; background: #fff; }
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #c7a35b60; outline-offset: 2px; border-color: #a57b2f; }
.field [aria-invalid='true'] { border-color: #a02424; }
.field small, .field-group > p { display: block; font-size: .78rem; color: #667389; margin-top: .35rem; line-height: 1.5; }
.field-group { margin-top: 1.3rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.check { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; font-weight: 400; line-height: 1.55; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; flex-shrink: 0; accent-color: #07162f; }
.choice-grid .check { border: 1px solid #dce3ec; border-radius: .5rem; padding: .75rem; }
.choice-grid .check:has(input:checked) { border-color: #a57b2f; background: #fcfaf5; }
.declarations { display: grid; gap: 1rem; border-top: 1px solid #dce3ec; padding-top: 1.5rem; margin-top: 1.5rem; }
.form-notice { background: #f3f6fa; border-left: 3px solid #c7a35b; border-radius: .2rem; padding: 1rem; font-size: .86rem; line-height: 1.6; margin: 1rem 0 1.4rem; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #dce3ec; margin-top: 1.8rem; padding-top: 1.3rem; }
.form-actions .btn { cursor: pointer; font: inherit; font-weight: 700; }
.btn--back { background: #fff; color: #263449; border: 1px solid #b7c2d1; }
button:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: .9rem; min-height: 1.5rem; margin-top: 1rem; overflow-wrap: anywhere; }
.form-status.is-error { color: #9f2525; }
.review-section { padding-block: .5rem 1rem; border-bottom: 1px solid #dce3ec; }
.review-section h2 { font: 700 1.05rem Inter, sans-serif; margin: 1rem 0; }
.review-section dl { margin: 0; }
.review-section dt { font-size: .75rem; color: #667389; font-weight: 700; margin-top: .8rem; }
.review-section dd { margin: .2rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; }
.review-edit { font: inherit; color: #76551d; padding: .35rem 0; border: 0; background: none; cursor: pointer; }
.success-icon { font-size: 2rem; color: #17653a; }
.protocol-display { display: block; overflow-wrap: anywhere; padding: 1rem; background: #f3f6fa; font: 600 .95rem ui-monospace, monospace; margin-block: 1rem; }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-copy { max-width: 52rem; padding-block: 3rem 5rem; }
.privacy-copy h1 { font-size: clamp(2rem, 4vw, 3rem); }
.privacy-copy h2 { font: 700 1.25rem Inter, sans-serif; margin-top: 2rem; }
.privacy-copy p { margin-block: 1rem; }
@media (max-width: 900px) { .intake-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; } .intake-aside { position: static; } }
@media (max-width: 560px) { .field-grid, .choice-grid { grid-template-columns: minmax(0, 1fr); } .span-2 { grid-column: auto; } .form-header .container { align-items: flex-start; flex-direction: column; } .intake-layout { padding-top: 2rem; } .form-actions .btn { flex: 1; min-width: 7rem; } .steps { gap: .5rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
