/* StepToRehab design system. Palette derived from the StepToRehab logo mark. */
:root {
  --plum-950: #1E0C24; --plum-900: #2A1230; --plum-800: #3D1A45; --plum-700: #5A2662; --plum-600: #7C327F; --plum-500: #9A4E9D;
  --plum-100: #F3E9F4; --plum-50: #FAF5FA;
  --lav: #866CA9; --mauve: #B68EB2;
  --teal-800: #135E5F; --teal-700: #1B7576; --teal-600: #238C8D; --teal-500: #3FB3B4; --teal-300: #8FD6D6; --teal-50: #E9F7F7;
  --coral-700: #B8323A; --coral-600: #D9434A; --coral-500: #EC5357; --peach: #F39987; --sun: #FFD9A6; --cream: #FFF6EC;
  --ink: #1C1E20; --ink-2: #3C3F42; --muted: #62676C; --line: #E8E2E7; --line-2: #F1ECF0;
  --bg: #FBF8F6; --white: #fff;
  --ok: #1D8A5B; --ok-50: #E7F6EF; --warn: #A86400; --warn-50: #FFF4E0;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(42, 18, 48, .06), 0 1px 1px rgba(42, 18, 48, .04);
  --sh-2: 0 10px 30px -12px rgba(42, 18, 48, .18), 0 2px 6px rgba(42, 18, 48, .05);
  --sh-3: 0 30px 80px -30px rgba(42, 18, 48, .35), 0 8px 24px -8px rgba(42, 18, 48, .12);
  --f-display: 'Fraunces', Georgia, serif; --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--plum-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-600); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--plum-950); letter-spacing: -0.01em; }
h1, h2 { font-family: var(--f-display); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ic { flex: none; vertical-align: middle; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .98rem/1 var(--f-body); padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--plum-600), var(--plum-700)); color: #fff; box-shadow: 0 8px 22px -10px rgba(124, 50, 127, .8); }
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, var(--plum-500), var(--plum-600)); box-shadow: 0 12px 28px -10px rgba(124, 50, 127, .85); }
.btn-teal { background: var(--teal-600); color: #fff; }
.btn-teal:hover { background: var(--teal-700); color: #fff; }
.btn-coral { background: var(--coral-500); color: #fff; }
.btn-coral:hover { background: var(--coral-600); color: #fff; }
.btn-outline { background: #fff; color: var(--plum-800); border-color: var(--line); }
.btn-outline:hover { border-color: var(--plum-500); color: var(--plum-700); }
.btn-ghost { background: transparent; color: var(--plum-800); }
.btn-ghost:hover { background: var(--plum-50); }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--plum-700); cursor: pointer; transition: all .18s ease; }
.icon-btn:hover { border-color: var(--plum-500); }
.icon-btn[aria-pressed="true"] { background: var(--plum-600); border-color: var(--plum-600); color: #fff; }
.save-btn[aria-pressed="true"] { background: var(--coral-500); border-color: var(--coral-500); }
.save-btn[aria-pressed="true"] svg { fill: currentColor; }

/* Crisis bar */
.crisis-bar { background: var(--plum-950); color: #EADCEB; font-size: .86rem; }
.crisis-inner { display: flex; align-items: center; gap: 10px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.crisis-inner > span:nth-child(2) { flex: 1; min-width: 0; }
.crisis-bar a { color: #fff; text-decoration: none; }
.crisis-bar a strong { color: var(--sun); }
.crisis-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 0 rgba(63, 179, 180, .6); animation: pulse 2.4s infinite; flex: none; }
.crisis-link { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 179, 180, .55); } 70% { box-shadow: 0 0 0 10px rgba(63, 179, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 179, 180, 0); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 246, .86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(232, 226, 231, .7); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { text-decoration: none; display: flex; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.logo-word { font: 800 1.28rem/1 var(--f-body); color: var(--ink); letter-spacing: -0.02em; }
.logo-word em { font-style: normal; color: var(--plum-600); }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a { padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--plum-50); color: var(--plum-700); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.saved-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--plum-700); }
.saved-link:hover { background: var(--plum-50); }
.badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral-500); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.acct { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; font: 600 .92rem var(--f-body); color: var(--ink); cursor: pointer; }
.acct-btn img { border-radius: 50%; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); padding: 8px; min-width: 230px; z-index: 50; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 500 .94rem var(--f-body); background: none; border: 0; cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--plum-50); }
.nav-toggle { display: none; background: none; border: 0; color: var(--plum-800); padding: 6px; cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; padding: 8px 20px 16px; }
.mobile-nav a { display: block; padding: 13px 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }

/* HERO */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, rgba(255, 217, 166, .55), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(63, 179, 180, .16), transparent 60%), linear-gradient(180deg, #FFF8F1 0%, var(--bg) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding: 72px 20px 96px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--plum-600); font-style: italic; }
.hero h1 .hl::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .18em; background: linear-gradient(90deg, var(--peach), var(--sun)); border-radius: 4px; z-index: -1; transform-origin: left; animation: underline 1.2s .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-search { background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--sh-3); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; max-width: 620px; }
.hs-field { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 14px; transition: background .2s; }
.hs-field:focus-within { background: var(--plum-50); }
.hs-field + .hs-field { border-left: 1px solid var(--line); }
.hs-field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hs-field input, .hs-field select { width: 100%; border: 0; outline: 0; background: transparent; font: 600 1rem var(--f-body); color: var(--ink); padding: 2px 0; }
.hs-field .ic { color: var(--plum-600); }
.hero-search .btn { border-radius: 14px; padding: 0 26px; }
.near-me { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .92rem; color: var(--teal-700); background: none; border: 0; cursor: pointer; padding: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.quick a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--ink-2); text-decoration: none; transition: all .2s; }
.quick a:hover { border-color: var(--plum-500); color: var(--plum-700); transform: translateY(-1px); }
.trust-row { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.trust-row div { display: flex; flex-direction: column; }
.trust-row strong { font: 700 1.7rem/1.1 var(--f-display); color: var(--plum-800); }
.trust-row span { font-size: .85rem; color: var(--muted); }

/* Hero animated stage: rising steps at dawn plus live care finder demo */
.stage { position: relative; height: 600px; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #2A1230 0%, #4A1F52 38%, #9A4E7D 70%, #F39987 92%, #FFD9A6 100%); box-shadow: var(--sh-3); isolation: isolate; }
.stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 100%, rgba(255, 226, 170, .95), rgba(255, 180, 140, .35) 45%, transparent 70%); animation: dawn 8s ease-in-out infinite alternate; z-index: 0; }
@keyframes dawn { from { opacity: .65; transform: translateY(10%); } to { opacity: 1; transform: translateY(0); } }
.stage .sun { position: absolute; left: 50%; bottom: -120px; width: 280px; height: 280px; margin-left: -140px; border-radius: 50%; background: radial-gradient(circle, #FFF3DC 0%, #FFD9A6 45%, rgba(255, 190, 140, 0) 70%); animation: rise 9s ease-in-out infinite alternate; z-index: 1; }
@keyframes rise { from { transform: translateY(40px) scale(.95); } to { transform: translateY(-30px) scale(1.05); } }
.stage .stars span { position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%; opacity: .7; animation: twinkle 4s infinite; z-index: 1; }
@keyframes twinkle { 50% { opacity: .15; } }
.steps-bg { position: absolute; right: 22px; bottom: 0; width: 38%; height: 86%; display: flex; align-items: flex-end; gap: 8px; z-index: 2; }
.steps-bg i { position: relative; flex: 1; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .2); border-bottom: 0; height: 0; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) forwards; transition: background .6s ease, box-shadow .6s ease, border-color .6s ease; display: flex; justify-content: center; }
.steps-bg i:nth-child(1) { --h: 20%; animation-delay: .15s; } .steps-bg i:nth-child(2) { --h: 38%; animation-delay: .3s; }
.steps-bg i:nth-child(3) { --h: 56%; animation-delay: .45s; } .steps-bg i:nth-child(4) { --h: 74%; animation-delay: .6s; }
.steps-bg i:nth-child(5) { --h: 92%; animation-delay: .75s; }
.steps-bg i b { position: absolute; top: 12px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .55); transition: all .5s ease; }
.steps-bg i em { position: absolute; top: -26px; font: 700 .68rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #FFF3DC; font-style: normal; opacity: 0; transform: translateY(6px); transition: all .5s ease; white-space: nowrap; }
.steps-bg i.lit { background: linear-gradient(180deg, rgba(255, 228, 185, .75), rgba(255, 190, 150, .18) 60%, rgba(255, 255, 255, .04)); border-color: rgba(255, 240, 215, .7); box-shadow: 0 -10px 40px -6px rgba(255, 217, 166, .75); }
.steps-bg i.lit b { background: #fff; color: var(--plum-700); box-shadow: 0 6px 16px rgba(42, 18, 48, .25); }
.steps-bg i.lit em { opacity: 1; transform: none; }
.steps-bg i.peak { box-shadow: 0 -20px 80px 0 rgba(255, 224, 170, .95); }
@keyframes grow { to { height: var(--h); } }
.walker { position: absolute; z-index: 3; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #FFF3DC; box-shadow: 0 0 0 7px rgba(255, 243, 220, .22), 0 0 34px 10px rgba(255, 217, 166, .85); left: 50%; top: 100%; opacity: 0; transition: left .9s cubic-bezier(.5, 0, .2, 1), top .9s cubic-bezier(.5, 0, .2, 1), opacity .5s ease; pointer-events: none; }
.walker.on { opacity: 1; }
.burst { position: absolute; z-index: 1; right: -60px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 200, .85), rgba(255, 200, 150, .25) 45%, transparent 70%); opacity: 0; transform: scale(.6); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.burst.on { opacity: 1; transform: scale(1); }
.finder { position: absolute; z-index: 4; left: 22px; width: 60%; top: 22px; background: rgba(255, 255, 255, .97); border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(20, 5, 25, .55); padding: 18px; animation: floatIn 1s .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes floatIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.finder-bar { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 14px; font-weight: 600; color: var(--ink); min-height: 48px; }
.finder-bar .ic { color: var(--plum-600); }
.typed { white-space: nowrap; overflow: hidden; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--plum-600); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.finder-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
.finder-chips span { font-size: .76rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--line-2); color: var(--muted); transition: all .35s ease; }
.finder-chips span.on { background: var(--plum-600); color: #fff; transform: scale(1.04); }
.finder-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.finder-meta b { color: var(--teal-700); }
.finder-results { display: grid; gap: 8px; }
.fr { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; opacity: 0; transform: translateY(10px); transition: all .5s cubic-bezier(.2, .8, .2, 1); }
.fr.in { opacity: 1; transform: none; }
.fr-av { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .85rem; }
.fr h4 { margin: 0; font-size: .9rem; color: var(--ink); line-height: 1.25; }
.fr p { margin: 2px 0 0; font-size: .75rem; color: var(--muted); }
.fr .pill { font-size: .7rem; font-weight: 700; color: var(--ok); background: var(--ok-50); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.toast { position: absolute; z-index: 5; left: 22px; bottom: 24px; background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 40px -12px rgba(20, 5, 25, .5); font-size: .82rem; max-width: 260px; opacity: 0; transform: translateY(14px); transition: all .6s cubic-bezier(.2, .8, .2, 1); }
.toast.in { opacity: 1; transform: none; }
.toast .t-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); flex: none; }
.toast b { display: block; color: var(--ink); }
.toast span { color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.bg-white { background: #fff; }
.bg-plum { background: radial-gradient(800px 400px at 90% 0%, rgba(154, 78, 157, .35), transparent 60%), linear-gradient(160deg, var(--plum-900), var(--plum-800)); color: #EADCEB; }
.bg-plum h2, .bg-plum h3 { color: #fff; }
.bg-cream { background: var(--cream); }

.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; overflow: hidden; height: 100%; }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; color: var(--ink); }
.path-card .p-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.path-card h3 { font-size: 1.3rem; font-family: var(--f-display); font-weight: 600; margin-bottom: 8px; }
.path-card p { color: var(--muted); margin-bottom: 20px; flex: 1; }
.path-card .go { font-weight: 700; color: var(--plum-700); display: inline-flex; align-items: center; gap: 6px; }
.p-plum { background: var(--plum-100); color: var(--plum-700); } .p-teal { background: var(--teal-50); color: var(--teal-700); } .p-coral { background: #FDECEA; color: var(--coral-600); }

.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.care-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--ink); transition: all .2s; display: flex; flex-direction: column; gap: 6px; height: 100%; }
.care-tile:hover { border-color: var(--plum-500); box-shadow: var(--sh-2); color: var(--ink); }
.care-tile strong { font-size: 1.05rem; }
.care-tile span { font-size: .9rem; color: var(--muted); }
.care-tile em { font-style: normal; font-weight: 700; color: var(--teal-700); font-size: .85rem; margin-top: auto; padding-top: 10px; }

.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; }
.state-grid a { display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; border: 1px solid transparent; }
.state-grid a:hover { background: #fff; border-color: var(--line); color: var(--plum-700); }
.state-grid a span { color: var(--muted); font-weight: 500; font-size: .9rem; }

.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.how li { list-style: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 26px; position: relative; height: 100%; }
.how li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 600 2.2rem/1 var(--f-display); color: var(--peach); display: block; margin-bottom: 16px; }
.how h3 { font-size: 1.1rem; }
.how p { color: #D9C8DB; font-size: .95rem; margin: 0; }
ol.how { padding: 0; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li .ic { color: var(--teal-600); margin-top: 3px; }

.quote-card { background: #fff; border-radius: var(--r-xl); padding: 36px; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.quote-card blockquote { margin: 0 0 18px; font: 500 1.35rem/1.45 var(--f-display); color: var(--plum-900); }

/* Search page */
.page-hero { padding: 44px 0 28px; background: linear-gradient(180deg, #FFF8F1, var(--bg)); border-bottom: 1px solid var(--line-2); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.search-bar { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; background: #fff; padding: 8px; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--sh-1); margin-top: 18px; }
.search-bar input { border: 0; outline: 0; font: 600 1rem var(--f-body); padding: 12px 14px; border-radius: 12px; background: var(--bg); width: 100%; }
.results-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; padding: 32px 20px 80px; align-items: start; }
.filters { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; max-height: calc(100vh - 110px); overflow: auto; }
.filters h2 { font: 700 1rem var(--f-body); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.fgroup { border-top: 1px solid var(--line-2); padding: 14px 0 6px; }
.fgroup h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; cursor: pointer; font-size: .94rem; }
.fcheck:hover { background: var(--plum-50); }
.fcheck input { width: 18px; height: 18px; accent-color: var(--plum-600); }
.fcheck .n { margin-left: auto; font-size: .78rem; color: var(--muted); }
.filters select { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--line); font: 500 .94rem var(--f-body); background: #fff; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-head h2 { font: 700 1.15rem var(--f-body); margin: 0; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.active-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 999px; background: var(--plum-100); color: var(--plum-700); font-size: .85rem; font-weight: 600; text-decoration: none; }
.active-chips a:hover { background: var(--plum-600); color: #fff; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.view-toggle button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: 600 .86rem var(--f-body); color: var(--muted); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--plum-800); color: #fff; }
#map { height: 520px; border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 18px; z-index: 1; }
.flist { display: grid; gap: 14px; }
.mobile-filter-btn { display: none; }

/* Facility card */
.fcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; transition: box-shadow .2s, border-color .2s; }
.fcard:hover { box-shadow: var(--sh-2); border-color: transparent; }
.fcard-featured { border-color: var(--sun); background: linear-gradient(180deg, #FFFBF5, #fff); }
.sponsored { position: absolute; top: -10px; left: 20px; background: var(--sun); color: var(--plum-900); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.fcard-top { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: start; }
.fcard-avatar { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--plum-100), var(--teal-50)); display: grid; place-items: center; font: 800 1.05rem var(--f-body); color: var(--plum-700); overflow: hidden; }
.fcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fcard-kicker { margin: 0 0 2px; font-size: .78rem; font-weight: 700; color: var(--teal-700); text-transform: uppercase; letter-spacing: .06em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); text-transform: none; letter-spacing: 0; }
.fcard h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.fcard h3 a { color: var(--plum-950); text-decoration: none; }
.fcard h3 a:hover { color: var(--plum-600); }
.fcard h3 a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.fcard-sub { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.fcard-addr { margin: 6px 0 0; font-size: .9rem; color: var(--ink-2); display: flex; align-items: center; gap: 4px; }
.fcard-addr .ic { color: var(--plum-500); }
.dist { margin-left: 6px; font-weight: 700; color: var(--teal-700); background: var(--teal-50); padding: 1px 8px; border-radius: 999px; font-size: .8rem; }
.fcard-actions { display: flex; gap: 6px; position: relative; z-index: 1; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.chip-detox, .chip-residential, .chip-inpatient, .chip-php, .chip-iop, .chip-outpatient, .chip-telehealth { background: var(--plum-50); color: var(--plum-700); }
.chip-medicaid, .chip-medicare, .chip-private_ins, .chip-military, .chip-sliding, .chip-free { background: var(--teal-50); color: var(--teal-800); }
.chip-mat { background: #FDECEA; color: var(--coral-700); }
.chip-more { background: none; color: var(--muted); }
.fcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); flex-wrap: wrap; position: relative; z-index: 1; }
.fcard-cta { display: flex; gap: 8px; margin-left: auto; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.status-open { background: var(--ok-50); color: var(--ok); }
.status-wait { background: var(--warn-50); color: var(--warn); }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.pager [aria-current] { background: var(--plum-800); color: #fff; border-color: var(--plum-800); }
.pager .disabled { opacity: .4; }

/* Facility detail */
.fd-hero { background: linear-gradient(180deg, #FFF8F1, var(--bg)); padding: 28px 0 36px; border-bottom: 1px solid var(--line-2); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--plum-700); }
.fd-top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.fd-top h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 8px; }
.fd-org { font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.fd-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fd-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.fd-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; padding: 36px 20px 80px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-bottom: 20px; }
.panel h2 { font: 700 1.2rem var(--f-body); margin-bottom: 16px; }
.contact-card { position: sticky; top: 92px; }
.contact-card .row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.contact-card .row:last-of-type { border-bottom: 0; }
.contact-card .row .ic { color: var(--plum-600); margin-top: 3px; }
.contact-card .row small { display: block; color: var(--muted); font-size: .8rem; }
.contact-card .row a, .contact-card .row span { font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-card .stack { display: grid; gap: 8px; margin-top: 16px; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.hl-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; height: 100%; }
.hl-box small { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.hl-box strong { font-size: 1.02rem; color: var(--plum-900); }
.svc-grid { columns: 2; column-gap: 32px; }
.svc { break-inside: avoid; margin-bottom: 24px; }
.svc h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.svc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.svc li { display: flex; gap: 8px; font-size: .94rem; }
.svc li .ic { color: var(--teal-600); margin-top: 4px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 160px; gap: 8px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }
.gallery-1 { grid-template-columns: 1fr; grid-auto-rows: 340px; }
.gallery-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
.gallery-1 img:first-child, .gallery-2 img:first-child { grid-row: auto; }
.source-note { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; background: var(--line-2); border-radius: var(--r); padding: 14px 16px; }
.claim-cta { background: linear-gradient(135deg, var(--plum-800), var(--plum-700)); color: #EADCEB; border-radius: var(--r-lg); padding: 24px; }
.claim-cta h3 { color: #fff; }
#fdmap { height: 260px; border-radius: var(--r); border: 1px solid var(--line); z-index: 1; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: 500 1rem var(--f-body); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--plum-500); outline: 0; box-shadow: 0 0 0 4px var(--plum-50); }
.form .hint { font-weight: 400; font-size: .82rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice { padding: 14px 16px; border-radius: var(--r); font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.notice-info { background: var(--teal-50); color: var(--teal-800); }
.notice-ok { background: var(--ok-50); color: var(--ok); }
.notice-warn { background: var(--warn-50); color: var(--warn); }

/* Compare */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--plum-900); color: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); padding: 12px 0; transform: translateY(0); transition: transform .3s; }
.tray-inner { display: flex; align-items: center; gap: 12px; }
.tray-items { display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.tray-items span { background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 7px 12px; font-size: .85rem; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tray-clear { background: none; border: 0; color: #D9C8DB; cursor: pointer; font: 600 .88rem var(--f-body); }
.cmp-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: .94rem; }
.cmp-table thead th { position: sticky; top: 0; background: #fff; vertical-align: bottom; }
.cmp-table thead h3 { margin: 0 0 4px; font-size: 1.05rem; }
.cmp-table tbody th { font-weight: 600; color: var(--muted); width: 200px; background: var(--bg); position: sticky; left: 0; z-index: 1; }
.cmp-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
@media (max-width: 640px) { .cmp-table tbody th { width: 120px; font-size: .84rem; } .cmp-table th, .cmp-table td { padding: 12px; } .cmp-table { min-width: 560px; } }
.cmp-table .yes { color: var(--ok); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.cmp-table .no { color: #B9B2B8; }
.cmp-table tr.group th { background: var(--plum-50); color: var(--plum-700); text-transform: uppercase; font-size: .76rem; letter-spacing: .1em; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; height: 100%; transition: all .2s; }
.guide-card:hover { box-shadow: var(--sh-2); border-color: transparent; color: var(--ink); }
.guide-card .g-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--plum-50); color: var(--plum-700); margin-bottom: 18px; }
.guide-card h3 { font: 600 1.25rem var(--f-display); }
.guide-card p { color: var(--muted); flex: 1; }
.prose { max-width: 740px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose p, .prose li { font-size: 1.06rem; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .callout { background: var(--teal-50); border-radius: var(--r); padding: 18px 20px; margin: 1.5em 0; color: var(--teal-800); }
.guide-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 40px 20px 80px; }
.toc { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.toc a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--plum-600); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* Dashboard */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 32px 20px 80px; align-items: start; }
.dash-nav { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.dash-nav a:hover { background: var(--plum-50); }
.dash-nav a[aria-current] { background: var(--plum-800); color: #fff; }
.dash-nav .count { margin-left: auto; background: var(--coral-500); color: #fff; font-size: .72rem; padding: 2px 7px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; height: 100%; }
.kpi small { color: var(--muted); font-weight: 600; font-size: .82rem; display: flex; align-items: center; gap: 6px; }
.kpi strong { display: block; font: 700 1.9rem/1.1 var(--f-display); color: var(--plum-900); margin-top: 6px; }
.kpi em { font-style: normal; font-size: .8rem; font-weight: 700; }
.up { color: var(--ok); } .down { color: var(--coral-600); }
.chart { width: 100%; height: 220px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kanban { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 12px; overflow-x: auto; }
.kcol { background: var(--line-2); border-radius: var(--r); padding: 12px; min-height: 200px; }
.kcol h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; justify-content: space-between; }
.kitem { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 8px; box-shadow: var(--sh-1); font-size: .88rem; }
.kitem b { display: block; }
.kitem form { margin-top: 8px; display: flex; gap: 6px; }
.kitem select { flex: 1; font: 500 .82rem var(--f-body); padding: 6px; border-radius: 8px; border: 1px solid var(--line); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.photo-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.photo-grid img { width: 100%; height: 120px; object-fit: cover; display: block; }
.photo-grid figcaption { padding: 8px; display: flex; gap: 6px; justify-content: space-between; align-items: center; font-size: .8rem; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.toggle input { width: 44px; height: 24px; appearance: none; background: var(--line); border-radius: 999px; position: relative; cursor: pointer; transition: background .2s; }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: var(--sh-1); }
.toggle input:checked { background: var(--ok); }
.toggle input:checked::after { left: 23px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); text-transform: capitalize; }
.tag-pending, .tag-new { background: var(--warn-50); color: var(--warn); }
.tag-approved, .tag-admitted, .tag-active { background: var(--ok-50); color: var(--ok); }
.tag-rejected, .tag-closed { background: #FDECEA; color: var(--coral-700); }

/* Sign in */
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 48px 20px; background: radial-gradient(700px 400px at 80% 0%, rgba(255, 217, 166, .5), transparent 60%), var(--bg); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; max-width: 440px; width: 100%; text-align: center; box-shadow: var(--sh-3); }
.auth-card .logo { justify-content: center; margin-bottom: 18px; }
.auth-card ul { text-align: left; list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.auth-card li { display: flex; gap: 10px; }
.auth-card li .ic { color: var(--teal-600); margin-top: 3px; }
#gbtn { display: flex; justify-content: center; min-height: 44px; }

.empty { text-align: center; padding: 56px 24px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.empty .logo-mark { width: 56px; height: 56px; opacity: .7; margin-bottom: 12px; }

/* Help now page */
.help-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-big a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-decoration: none; color: var(--ink); height: 100%; transition: all .2s; }
.help-big a:hover { box-shadow: var(--sh-2); color: var(--ink); }
.help-big .num { font: 700 2rem/1.1 var(--f-display); color: var(--plum-700); display: block; margin: 10px 0; }

/* Footer */
.site-footer { background: var(--plum-950); color: #CDBACF; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #E8DAEA; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-help { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-help h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.footer-help p { margin: 0; }
.help-cards { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; }
.help-card { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 16px; height: 100%; }
.help-card:hover { background: rgba(255, 255, 255, .1); }
.help-num { font: 700 1.9rem/1 var(--f-display); color: var(--sun); }
.help-num.sm { font-size: 1.05rem; font-family: var(--f-body); font-weight: 800; white-space: nowrap; }
.help-card span { display: flex; flex-direction: column; font-weight: 600; color: #fff; font-size: .94rem; }
.help-card small { font-weight: 400; color: #CDBACF; font-size: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; padding: 44px 0; }
.footer-grid h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-grid > div > a { display: block; padding: 4px 0; font-size: .93rem; }
.footer-brand .logo-word { color: #fff; }
.footer-brand .logo-word em { color: var(--mauve); }
.footer-brand p { margin-top: 16px; font-size: .93rem; max-width: 320px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: .82rem; color: #A898AA; }

.fd-layout > *, .results-layout > *, .dash > *, .guide-layout > *, .split > *, .hero-inner > * { min-width: 0; }
.prose section:first-child h2 { margin-top: 0; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px 64px; }
  .stage { height: 560px; }
  .finder { width: 62%; }
  .care-grid, .state-grid, .kpis { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .fd-layout, .guide-layout, .dash { grid-template-columns: 1fr; }
  .contact-card, .toc, .dash-nav { position: static; }
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 70; border-radius: 0; max-height: none; display: none; padding-bottom: 100px; }
  .filters.open { display: block; }
  .mobile-filter-btn { display: inline-flex; }
  .filters .close-filters { display: inline-grid !important; }
  .paths, .guide-grid, .help-big { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-help { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none !important; }
  .header-inner { height: 64px; gap: 12px; }
  .logo-word { font-size: 1.12rem; }
  .logo-mark { width: 30px; height: 30px; }
  .signin-link { padding: 9px 12px; }
  .crisis-link { display: none; }
  .hero-search { grid-template-columns: 1fr; }
  .hs-field + .hs-field { border-left: 0; border-top: 1px solid var(--line); }
  .hero-search .btn { padding: 16px; }
  .stage { height: 500px; border-radius: 26px; }
  .finder { left: 14px; right: 14px; width: auto; top: 14px; padding: 14px; }
  .steps-bg { width: auto; left: 14px; right: 14px; height: 44%; }
  .steps-bg i em { display: none; }
  .toast { left: 14px; right: 14px; max-width: none; bottom: 16px; }
  .fr:nth-child(3) { display: none; }
  .finder-chips span:nth-child(n+4) { display: none; }
  .section { padding: 64px 0; }
  .care-grid, .state-grid, .how, .kpis, .help-cards, .highlights, .form-row { grid-template-columns: 1fr; }
  .svc-grid { columns: 1; }
  .state-grid { grid-template-columns: 1fr 1fr; }
  .search-bar { grid-template-columns: 1fr; }
  .fcard { padding: 16px; }
  .fcard-top { grid-template-columns: 46px 1fr; }
  .fcard-avatar { width: 46px; height: 46px; border-radius: 13px; }
  .fcard-actions { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
  .fcard-cta { width: 100%; }
  .fcard-cta .btn { flex: 1; }
  .fd-top { grid-template-columns: 1fr; }
  .fd-actions { justify-content: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-row { gap: 20px; }
  .trust-row strong { font-size: 1.4rem; }
  .auth-card { padding: 28px 20px; }
}
