:root {
  --ink: #13252c;
  --ink-soft: #31474f;
  --paper: #f7f4ee;
  --paper-deep: #eee9df;
  --white: #fffdfa;
  --orange: #f2643b;
  --orange-dark: #d94c28;
  --aqua: #9ed6cf;
  --blue: #3f7080;
  --line: #d8d4cb;
  --muted: #6c797c;
  --success: #15715d;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(19, 37, 44, .12);
  --font: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: var(--font); line-height: 1.55; }
body.auth-page, body.onboarding-page { background: var(--white); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(242, 100, 59, .38); outline-offset: 3px; }

.page-shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { position: relative; z-index: 50; border-bottom: 1px solid rgba(19, 37, 44, .1); background: rgba(247, 244, 238, .94); backdrop-filter: blur(15px); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: baseline; color: var(--ink); font-size: 1.42rem; letter-spacing: -.055em; text-decoration: none; }
.brand strong { font-weight: 750; }
.brand-slash { margin: 0 .1rem; color: var(--orange); font-weight: 800; }
.brand-light { color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav > a:not(.button) { color: var(--ink-soft); font-size: .93rem; font-weight: 650; text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--orange-dark); }
.site-nav .nav-login { margin-left: 1rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: .75rem; background: transparent; }
.nav-toggle > span:not(.visually-hidden) { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--ink); }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .76rem 1.25rem; border: 1px solid var(--ink); border-radius: .72rem; color: white; background: var(--ink); font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover:not(:disabled) { color: white; background: #203a44; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(19, 37, 44, .18); }
.button:disabled { cursor: not-allowed; opacity: .6; }
.button-small { min-height: 42px; padding: .58rem 1rem; font-size: .9rem; }
.button-full { width: 100%; }
.button-light { border-color: var(--white); color: var(--ink); background: var(--white); }
.button-light:hover:not(:disabled) { color: var(--ink); background: #fff; }
.button-link { display: inline-flex; gap: .5rem; color: var(--ink); font-weight: 750; text-decoration: none; }
.text-link { display: inline-flex; gap: .6rem; margin-top: 1.2rem; color: var(--white); font-weight: 750; }

.eyebrow { margin: 0 0 1rem; color: var(--orange-dark); font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: var(--aqua); }
.status-dot { display: inline-block; width: .55rem; height: .55rem; margin-right: .48rem; border-radius: 99px; background: var(--orange); box-shadow: 0 0 0 5px rgba(242, 100, 59, .12); }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 6vw, 6rem); min-height: 720px; padding-block: 5rem; }
.hero h1, .section-heading h2, .compatibility-section h2, .closing-cta h2, .policy-hero h1, .form-heading h1, .auth-heading h1 { margin: 0; font-size: clamp(3.2rem, 6vw, 5.75rem); line-height: .94; letter-spacing: -.067em; font-weight: 720; }
.hero h1 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; }
.hero-lede { max-width: 36rem; margin: 1.75rem 0 2rem; color: var(--ink-soft); font-size: 1.16rem; }
.location-card { max-width: 37rem; padding: .9rem; border-radius: 1rem; background: var(--white); box-shadow: 0 17px 45px rgba(19, 37, 44, .11); }
.location-card > label { display: block; margin: 0 0 .55rem .15rem; font-size: .77rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.location-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; }
.location-pin { color: var(--orange); font-size: 1.5rem; }
.location-row input { width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; }
.hero-note { margin: .8rem 0 0 .2rem; color: var(--muted); font-size: .82rem; }
.hero-visual { position: relative; min-height: 570px; }
.hero-visual::before { content: ""; position: absolute; inset: -1.1rem 1.1rem 1.1rem -1.1rem; z-index: -1; border: 1px solid rgba(19, 37, 44, .16); border-radius: 14rem 1.3rem 1.3rem 1.3rem; }
.hero-visual img { width: 100%; height: 570px; object-fit: cover; border-radius: 14rem 1rem 1rem 1rem; box-shadow: var(--shadow); }
.match-note { position: absolute; display: flex; align-items: center; gap: .75rem; max-width: 230px; padding: .7rem .9rem; border: 1px solid rgba(255, 255, 255, .6); border-radius: .85rem; background: rgba(255, 253, 250, .92); box-shadow: 0 15px 35px rgba(19, 37, 44, .15); backdrop-filter: blur(12px); font-size: .72rem; line-height: 1.3; }
.match-note strong { display: block; font-size: .76rem; }
.match-note-top { top: 12%; left: -2.5rem; }
.match-note-bottom { right: -1rem; bottom: 9%; }
.match-score { color: var(--success); font-size: 1.35rem; font-weight: 850; }
.avatar-stack { display: flex; }
.avatar-stack i { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--white); border-radius: 99px; color: white; background: var(--orange); font-size: .67rem; font-style: normal; font-weight: 800; }
.avatar-stack i + i { margin-left: -8px; background: var(--blue); }

.trust-strip { border-block: 1px solid rgba(19, 37, 44, .11); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid p { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: 0; padding: 1.1rem; color: var(--ink-soft); font-size: .86rem; font-weight: 700; }
.trust-grid p + p { border-left: 1px solid var(--line); }
.trust-grid span { color: var(--orange); font-size: .7rem; }

.how-section { padding-block: 7rem; }
.section-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -2rem; }
.section-heading h2, .compatibility-section h2, .closing-cta h2 { font-size: clamp(2.7rem, 5vw, 4.6rem); }
.section-heading > p:last-child { max-width: 31rem; margin: 0 0 .5rem; color: var(--ink-soft); font-size: 1.06rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step-card { min-height: 410px; display: flex; flex-direction: column; padding: 1.35rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--white); }
.step-card-featured { background: var(--aqua); }
.step-number { align-self: flex-start; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(19, 37, 44, .28); border-radius: 99px; font-size: .75rem; font-weight: 800; }
.step-card h3 { margin: auto 0 .35rem; font-size: 1.35rem; letter-spacing: -.03em; }
.step-card > p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.step-art { position: relative; width: 84%; height: 160px; margin: 2rem auto; }
.step-art-profile { padding: 1.2rem; transform: rotate(-2deg); border-radius: .8rem; background: var(--white); box-shadow: 0 15px 35px rgba(19, 37, 44, .12); }
.mini-avatar { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: .8rem; border-radius: 99px; color: white; background: var(--orange); font-size: .7rem; font-weight: 800; }
.mini-line { display: block; width: 50%; height: 6px; margin: .45rem 0; border-radius: 1rem; background: var(--paper-deep); }
.mini-line.wide { width: 82%; background: var(--ink); }
.mini-chip { display: inline-block; margin: .5rem .18rem 0 0; padding: .32rem .5rem; border-radius: 99px; background: var(--paper); font-size: .55rem; font-weight: 700; }
.step-art-match { display: grid; place-items: center; }
.match-ring { width: 112px; height: 112px; display: grid; place-items: center; border: 9px solid var(--aqua); border-left-color: var(--orange); border-radius: 99px; font-size: 1.8rem; font-weight: 800; transform: rotate(-20deg); }
.match-ring small { font-size: .7rem; }
.orbit { position: absolute; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 99px; background: var(--paper-deep); font-size: .8rem; }
.orbit-one { top: 0; right: 8%; }.orbit-two { bottom: 2%; left: 5%; }.orbit-three { right: 0; bottom: 12%; background: var(--orange); }
.step-art-chat { padding-top: 1rem; }
.bubble { display: block; max-width: 78%; margin-bottom: .8rem; padding: .7rem .85rem; border-radius: 1rem 1rem 1rem .2rem; background: var(--paper-deep); font-size: .72rem; }
.bubble-right { margin-left: auto; border-radius: 1rem 1rem .2rem 1rem; color: white; background: var(--ink); }

.compatibility-section { color: white; background: var(--ink); }
.compatibility-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: center; min-height: 550px; padding-block: 6rem; }
.compatibility-section h2 { max-width: 34rem; }
.compatibility-section p:not(.eyebrow) { max-width: 34rem; color: #bed0d4; }
.signal-board { padding: 2rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 1rem; background: rgba(255, 255, 255, .055); }
.signal-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .8rem; margin-bottom: 1.6rem; padding-bottom: .65rem; font-size: .9rem; }
.signal-row strong { color: var(--aqua); }
.signal-row i { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, .14); }
.signal-row i::after { content: ""; display: block; width: var(--score); height: 100%; border-radius: inherit; background: var(--orange); }
.signal-tags { display: flex; flex-wrap: wrap; gap: .55rem; }
.signal-tags span { padding: .48rem .7rem; border: 1px solid rgba(255, 255, 255, .17); border-radius: 99px; color: #dfeaec; font-size: .72rem; }
.closing-cta { padding-block: 7rem; text-align: center; }
.closing-cta h2 { max-width: 780px; margin: 0 auto 2rem; }

.auth-shell { display: grid; grid-template-columns: minmax(0, .88fr) minmax(380px, 1.12fr); gap: clamp(2rem, 6vw, 6.5rem); min-height: calc(100vh - 78px); padding-block: 3.5rem; }
.auth-panel { align-self: center; width: min(100%, 480px); padding-block: 2rem; }
.auth-heading { margin-bottom: 2rem; }
.auth-heading h1 { font-size: clamp(2.5rem, 4.5vw, 4.3rem); }
.auth-heading > p:last-child, .form-heading > p:last-child { color: var(--muted); }
.form-stack { display: grid; gap: 1rem; }
.field { position: relative; }
.field > label, .field-label, .label-row label { display: block; margin-bottom: .42rem; color: var(--ink); font-size: .84rem; font-weight: 750; }
.field-label small { color: var(--muted); font-weight: 500; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 51px; padding: .76rem .85rem; border: 1px solid #c7cec9; border-radius: .68rem; color: var(--ink); background: white; outline: none; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(19, 37, 44, .08); }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.label-row > span, .label-row > a { color: var(--muted); font-size: .75rem; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 4rem !important; }
.password-toggle { position: absolute; top: 50%; right: .7rem; transform: translateY(-50%); border: 0; color: var(--ink-soft); background: transparent; font-size: .74rem; font-weight: 800; }
.check-row { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink-soft); font-size: .84rem; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: .12rem; accent-color: var(--ink); }
.field-validation-error, .field-error, .validation-summary { display: block; margin-top: .3rem; color: var(--danger); font-size: .78rem; }
.validation-summary:empty, .validation-summary-valid { display: none; }
.validation-summary ul { margin: 0; padding-left: 1.25rem; }
.input-validation-error { border-color: var(--danger) !important; }
.auth-switch { margin-top: 1.4rem; color: var(--muted); font-size: .88rem; text-align: center; }
.auth-switch a { color: var(--ink); font-weight: 800; }
.auth-aside { position: relative; min-height: 620px; overflow: hidden; border-radius: 1.4rem; }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; }
.auth-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(9, 25, 31, .84)); }
.auth-quote { position: absolute; right: 2.2rem; bottom: 2.2rem; left: 2.2rem; z-index: 1; color: white; }
.auth-quote p { max-width: 28rem; margin: 0 0 .5rem; font-family: Georgia, serif; font-size: 1.85rem; line-height: 1.22; }
.auth-quote span { color: #d6e2e4; font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; }
.prototype-note, .notice, .sample-banner { margin-top: 1rem; padding: .78rem .9rem; border-radius: .6rem; color: var(--ink-soft); background: #e8f3f1; font-size: .78rem; }
.prototype-note strong { margin-right: .25rem; }
.auth-dark-card { display: flex; flex-direction: column; justify-content: space-between; padding: 3rem; color: white; background: var(--ink); }
.auth-dark-card h2 { margin: 0; font-size: clamp(2.5rem, 4.5vw, 4.7rem); line-height: .98; letter-spacing: -.06em; }
.auth-dark-card p:not(.eyebrow) { max-width: 27rem; color: #bed0d4; }
.aside-orbit { position: relative; width: min(320px, 80%); aspect-ratio: 1; display: grid; place-items: center; margin: 1rem auto; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; }
.aside-orbit::before { content: ""; position: absolute; inset: 18%; border: 2px dashed rgba(158, 214, 207, .38); border-radius: inherit; }
.aside-orbit span { z-index: 1; display: grid; place-items: center; width: 110px; height: 110px; border-radius: 99px; color: var(--ink); background: var(--aqua); font-size: 2rem; font-weight: 850; }
.aside-orbit i { position: absolute; width: 24px; height: 24px; border-radius: 99px; background: var(--orange); }
.aside-orbit i:nth-of-type(1) { top: 9%; left: 20%; }.aside-orbit i:nth-of-type(2) { right: 3%; bottom: 32%; width: 36px; height: 36px; background: white; }.aside-orbit i:nth-of-type(3) { bottom: 8%; left: 25%; background: var(--blue); }

.onboarding-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(3rem, 7vw, 8rem); padding-block: 4rem 7rem; }
.onboarding-steps { align-self: start; position: sticky; top: 2rem; }
.back-home { display: inline-flex; gap: .5rem; margin-bottom: 3rem; color: var(--muted); font-size: .82rem; font-weight: 700; text-decoration: none; }
.step-list { padding-left: .2rem; }
.onboarding-step { display: flex; align-items: center; gap: .9rem; opacity: .48; }
.onboarding-step > span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: .74rem; font-weight: 800; }
.onboarding-step div { display: grid; }
.onboarding-step strong { font-size: .86rem; }
.onboarding-step small { color: var(--muted); font-size: .7rem; }
.onboarding-step.is-active { opacity: 1; }
.onboarding-step.is-active > span { border-color: var(--ink); color: white; background: var(--ink); }
.onboarding-step.is-complete > span { border-color: var(--success); background: var(--success); }
.step-connector { width: 1px; height: 40px; margin-left: 17px; background: var(--line); }
.step-connector.is-complete { background: var(--success); }
.steps-tip { display: flex; gap: .75rem; margin-top: 3rem; padding: 1rem; border-radius: .8rem; background: var(--paper); }
.steps-tip > span { color: var(--orange); }
.steps-tip p { margin: 0; color: var(--ink-soft); font-size: .73rem; }
.steps-tip strong { display: block; color: var(--ink); }
.onboarding-main { width: min(100%, 760px); }
.form-heading { padding-bottom: 2.3rem; border-bottom: 1px solid var(--line); }
.form-heading h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.profile-form fieldset { margin: 0; padding: 2.5rem 0; border: 0; border-bottom: 1px solid var(--line); }
.profile-form legend { margin-bottom: 1.35rem; font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; }
.profile-form .field + .field, .profile-form .field-grid + .field, .profile-form .field + .field-grid { margin-top: 1.25rem; }
.field-grid { display: grid; gap: 1.1rem; }
.field-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid { display: grid; gap: .75rem; }
.choice-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card > span { min-height: 98px; display: flex; flex-direction: column; justify-content: center; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: white; }
.choice-card small { margin-top: .3rem; color: var(--muted); font-size: .72rem; }
.choice-card input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #f2f7f6; }
.choice-card input:focus-visible + span, .chip-choice input:focus-visible + span, .scale-choice input:focus-visible + span { outline: 3px solid rgba(242, 100, 59, .38); outline-offset: 2px; }
.currency-field > span:first-of-type { position: absolute; z-index: 1; top: 2.35rem; left: .9rem; color: var(--muted); }
.currency-field input { padding-left: 1.7rem !important; }
.chip-grid { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip-choice { position: relative; cursor: pointer; }
.chip-choice input { position: absolute; opacity: 0; }
.chip-choice span { display: block; padding: .58rem .78rem; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); background: white; font-size: .78rem; font-weight: 650; }
.chip-choice input:checked + span { border-color: var(--ink); color: white; background: var(--ink); }
.scale-choice { display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; }
.scale-choice label { position: relative; cursor: pointer; }
.scale-choice input { position: absolute; opacity: 0; }
.scale-choice span { height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .6rem; font-size: .82rem; font-weight: 800; }
.scale-choice input:checked + span { border-color: var(--ink); color: white; background: var(--ink); }
.scale-labels { display: flex; justify-content: space-between; margin-top: .35rem; color: var(--muted); font-size: .68rem; }
.fair-housing-note { display: flex; gap: .8rem; margin-top: 1.4rem; padding: 1rem; border-left: 3px solid var(--orange); background: #fff5ee; }
.fair-housing-note > span { flex: 0 0 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--orange); border-radius: 99px; color: var(--orange-dark); font-size: .72rem; font-weight: 850; }
.fair-housing-note p { margin: 0; color: var(--ink-soft); font-size: .78rem; }
.profile-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; }
.profile-actions > span { color: var(--muted); font-size: .75rem; }
.notice { margin: 0 0 1.5rem; border-left: 3px solid var(--success); }

.complete-mark { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 1.4rem; border-radius: 99px; color: white; background: var(--success); font-size: 1.5rem; }
.sample-banner { margin: 2rem 0 1rem; }
.sample-banner strong { margin-right: .4rem; }
.match-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.person-card { padding: 1.3rem; border: 1px solid var(--line); border-radius: 1rem; background: white; box-shadow: 0 12px 35px rgba(19, 37, 44, .07); }
.person-card-top { display: flex; align-items: center; justify-content: space-between; }
.person-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 99px; font-size: .75rem; font-weight: 850; }
.avatar-orange { color: #792b15; background: #ffd2c2; }.avatar-blue { color: #174250; background: #cde8ed; }
.fit-pill { padding: .36rem .55rem; border-radius: 99px; color: #7b2c16; background: #fff0e9; font-size: .7rem; font-weight: 850; }
.fit-pill-blue { color: #175063; background: #e4f2f4; }
.person-card h2 { margin: 1rem 0 0; font-size: 1.25rem; }
.person-card h2 + p { margin: .15rem 0 .9rem; color: var(--muted); font-size: .76rem; }
.person-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.person-tags span { padding: .3rem .46rem; border-radius: 99px; background: var(--paper); font-size: .65rem; }
.match-reason { min-height: 82px; color: var(--ink-soft); font-size: .8rem; }
.safety-callout { margin-top: 1.2rem; padding: 1.2rem; border-radius: .8rem; color: #d9e6e8; background: var(--ink); }
.safety-callout p { margin: .25rem 0; font-size: .82rem; }
.safety-callout a { color: var(--aqua); font-size: .78rem; font-weight: 750; }

.policy-hero { max-width: 900px; margin-inline: auto; padding-block: 7rem 4rem; text-align: center; }
.policy-hero h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); }
.policy-hero > p:last-child { max-width: 610px; margin: 1.5rem auto 0; color: var(--muted); font-size: 1.08rem; }
.policy-content { max-width: 850px; padding-bottom: 7rem; }
.policy-content article { display: grid; grid-template-columns: 60px 1fr; gap: 1rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.policy-content article > span { color: var(--orange); font-size: .72rem; font-weight: 800; }
.policy-content h2 { margin: 0 0 .4rem; font-size: 1.45rem; }
.policy-content p { margin: 0; color: var(--ink-soft); }
.policy-draft-note { margin-top: 2rem; padding: 1.2rem; border-radius: .8rem; background: #fff0e9; }
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-bottom: 7rem; }
.safety-grid article { min-height: 260px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.safety-grid article > span { color: var(--orange-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.safety-grid h2 { margin: 2.5rem 0 .6rem; font-size: 1.5rem; }
.safety-grid p { color: var(--ink-soft); }
.report-band { color: white; background: var(--ink); }
.report-band > div { min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.report-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.05em; }

.site-footer { padding-block: 3.5rem; color: #c6d4d6; background: #0c1b20; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-grid p { margin: .5rem 0 0; font-size: .8rem; }
.footer-links { display: flex; gap: 1.5rem; font-size: .82rem; }
.footer-meta { grid-column: 1 / -1; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

@media (max-width: 900px) {
  .page-shell { width: min(100% - 2rem, 720px); }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; right: 1rem; left: 1rem; display: none; flex-direction: column; align-items: stretch; gap: .4rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: .65rem; }
  .site-nav .nav-login { margin-left: 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 4rem; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 500px; }
  .hero-visual img { height: 500px; }
  .section-heading, .compatibility-grid, .auth-shell { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .compatibility-grid { gap: 3rem; }
  .auth-shell { padding-block: 2rem 4rem; }
  .auth-panel { justify-self: center; }
  .auth-aside { min-height: 440px; }
  .onboarding-shell { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
  .onboarding-steps { position: static; }
  .back-home, .steps-tip { display: none; }
  .step-list { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
  .onboarding-step { gap: .5rem; }
  .onboarding-step small { display: none; }
  .step-connector { width: 25px; height: 1px; margin: 0; }
  .onboarding-main { margin-inline: auto; }
}

@media (max-width: 650px) {
  .nav-shell { min-height: 68px; }
  .hero { gap: 3rem; padding-top: 3rem; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 4.5rem); }
  .location-row { grid-template-columns: auto 1fr; }
  .location-row .button { grid-column: 1 / -1; width: 100%; }
  .hero-visual, .hero-visual img { min-height: 420px; height: 420px; }
  .hero-visual img { border-radius: 7rem 1rem 1rem 1rem; }
  .hero-visual::before { border-radius: 7rem 1.3rem 1.3rem 1.3rem; }
  .match-note-top { top: 8%; left: -.5rem; }.match-note-bottom { right: -.4rem; bottom: 5%; }
  .trust-grid { grid-template-columns: 1fr; padding-block: .35rem; }
  .trust-grid p { justify-content: flex-start; padding: .65rem; }
  .trust-grid p + p { border-left: 0; }
  .how-section, .closing-cta { padding-block: 4.5rem; }
  .steps-grid, .safety-grid, .match-cards { grid-template-columns: 1fr; }
  .step-card { min-height: 370px; }
  .compatibility-grid { padding-block: 4.5rem; }
  .auth-shell { width: 100%; padding: 0; }
  .auth-panel { padding: 2.3rem 1.1rem 3rem; }
  .auth-aside { min-height: 420px; border-radius: 0; }
  .auth-shell-login .auth-aside { display: none; }
  .field-grid-2, .choice-grid-2 { grid-template-columns: 1fr; }
  .form-heading h1 { font-size: 3rem; }
  .onboarding-shell { width: calc(100% - 2rem); }
  .onboarding-step div { display: none; }
  .onboarding-step { justify-content: center; }
  .step-list { grid-template-columns: auto 1fr auto 1fr auto; }
  .step-connector { width: 100%; }
  .profile-actions { align-items: stretch; flex-direction: column-reverse; }
  .profile-actions .button { width: 100%; }
  .match-reason { min-height: auto; }
  .policy-hero { padding-block: 5rem 3rem; }
  .policy-content article { grid-template-columns: 35px 1fr; }
  .report-band > div { align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
