/* Zova Care Network
 *
 * The category standard, executed at full craft (operator's choice,
 * 2026-10-09): a bright clinical-study finder benchmarked on One Medical,
 * Ro and Antidote. White ground, colour fields that own whole sections
 * (mint, sky, peach) and one teal field per page, large rounded photography,
 * Red Hat Display and Red Hat Text, scroll that moves.
 */

:root {
  --paper: #FFFFFF;
  --mist: #F5F8F8;
  --mint: #E3F4EE;
  --sky: #E4EEFB;
  --peach: #FDE8E0;
  --line: #DCE5E7;
  --ink: #0B2230;
  --grey: #4B5E66;
  --pri: #0A6670;
  --pri-2: #08545C;
  --pri-l: #A9E5DF;
  --coral: #D4573C;
  --coral-d: #A8402A;
  --display: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1280px;
  --gut: 32px;
  --r: 28px;
  --r-s: 18px;
  --shadow: 0 2px 6px rgba(11, 34, 48, .05), 0 24px 50px -24px rgba(11, 34, 48, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; scrollbar-color: #A9BCC1 var(--mist); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--text); -webkit-font-smoothing: antialiased; caret-color: var(--pri); overflow-x: hidden; }
::selection { background: var(--pri-l); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pri); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--pri-2); }
:focus-visible { outline: 3px solid var(--pri); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-weight: 800; }
h2 { font-weight: 750; font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.small { font-size: 15px; color: var(--grey); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
section { padding: 112px 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px;
  background: var(--pri); color: #fff; border: 2px solid var(--pri); border-radius: 999px;
  font: 700 16.5px/1.2 var(--display); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 19px; height: 19px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { background: var(--pri-2); border-color: var(--pri-2); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(8, 84, 92, .75); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 60px; padding: 16px 30px; font-size: 18px; }
.btn--line { background: transparent; color: var(--pri); }
.btn--line:hover { background: var(--pri); color: #fff; }
.btn--light { background: #fff; color: var(--pri-2); border-color: #fff; }
.btn--light:hover { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: var(--pri-2); border-color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 700 17px var(--display); text-decoration: none; color: var(--pri); }
.more svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.more--ext:hover svg { transform: translate(2px, -2px); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); transition: box-shadow .3s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.6) blur(14px); } }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(11, 34, 48, .5); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand .mark { width: 42px; height: 42px; color: var(--pri); }
.mark .cut { stroke: #fff; }
.brand-word { display: flex; flex-direction: column; font: 800 26px/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.brand-word small { font: 700 11px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; margin-top: 5px; color: var(--grey); }
.site-nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { display: inline-flex; padding: 10px 14px; border-radius: 999px; font: 600 16px/1.2 var(--display); color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.menu a:hover { background: var(--mist); color: var(--pri); }
.menu a[aria-current="page"] { background: var(--mint); color: var(--pri-2); }
.head-cta { flex: none; min-height: 48px; padding: 11px 22px; font-size: 16px; }
.menu-btn { display: none; align-items: center; gap: 10px; margin-left: auto; background: var(--mist); border: 0; border-radius: 999px; padding: 12px 18px; font: 700 15px var(--display); color: var(--ink); cursor: pointer; }
.menu-lines { display: grid; gap: 5px; width: 18px; }
.menu-lines span { height: 2px; background: currentColor; border-radius: 2px; }

.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(11, 34, 48, .4); opacity: 0; transition: opacity .35s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; overflow-y: auto; padding: 20px 24px 30px; transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; gap: 20px; border-radius: 28px 0 0 28px; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); cursor: pointer; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-menu > li { border-bottom: 1px solid var(--line); }
.drawer-menu a { display: block; padding: 16px 4px; font: 700 22px/1.2 var(--display); color: var(--ink); text-decoration: none; }
.drawer-menu a[aria-current="page"] { color: var(--pri); }
.drawer-cta { width: 100%; }
.drawer-contact { display: grid; gap: 10px; font-size: 16px; }
.drawer-contact li, .foot-contact li, .contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.drawer-contact svg, .foot-contact svg, .contact-list svg { width: 19px; height: 19px; flex: none; color: var(--pri); margin-top: 3px; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 40px 0 120px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 130%; background: radial-gradient(closest-side, var(--mint), rgba(227, 244, 238, 0)); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--mint); color: var(--pri-2); font: 700 15px var(--display); margin-bottom: 26px; }
.hero-pill span { width: 10px; height: 10px; border-radius: 50%; background: var(--pri); box-shadow: 0 0 0 4px rgba(10, 102, 112, .18); }
.hero h1 { font-size: clamp(2.6rem, 4.7vw, 4.3rem); letter-spacing: -0.035em; line-height: 1.0; margin-bottom: 26px; }
.hero-lede { font-size: 21px; color: var(--grey); max-width: 52ch; margin-bottom: 34px; }
.quick { background: #fff; border-radius: 26px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 640px; }
.quick label { display: block; font: 700 15px var(--display); color: var(--grey); margin: 0 0 10px 6px; }
.quick-row { display: flex; gap: 12px; }
.quick-sel { position: relative; flex: 1; }
.quick-sel select { width: 100%; height: 60px; padding: 0 48px 0 20px; border: 2px solid var(--line); border-radius: 999px; background: var(--mist); font: 600 17px var(--text); color: var(--ink); appearance: none; cursor: pointer; }
.quick-sel select:focus { outline: none; border-color: var(--pri); background: #fff; }
.quick-sel svg { position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; color: var(--pri); }
.hero-alt { margin: 20px 0 0; color: var(--grey); font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.hero-media { position: relative; }
.hero-fig { margin: 0; border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 4.8; background: var(--mint); }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 14px 18px 14px 14px; box-shadow: var(--shadow); font-size: 14.5px; line-height: 1.35; max-width: 290px; }
.float b { display: block; font: 700 16px var(--display); }
.float span { color: var(--grey); }
.float--a { left: -48px; top: 18%; }
.float--b { right: 20px; bottom: 7%; }
.float-i { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--pri); color: #fff; display: grid; place-items: center; }
.float-i svg { width: 20px; height: 20px; }
.float-i--c { background: var(--peach); color: var(--coral-d); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-fig { animation: reveal 1.2s var(--ease) both; }
  .float--a { animation: rise .9s .5s var(--ease) both, bob 6s 1.4s ease-in-out infinite; }
  .float--b { animation: rise .9s .7s var(--ease) both, bob 7s 1.6s ease-in-out infinite reverse; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes reveal { from { clip-path: inset(12% 10% 12% 10% round 36px); opacity: .4; } to { clip-path: inset(0 round 36px); opacity: 1; } }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ------------------------------------------------------- section heads */
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.sec-head p { margin: 0; color: var(--grey); max-width: 52ch; }
.car-btns { display: flex; gap: 10px; }
.car-btn { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.car-btn:hover { background: var(--pri); border-color: var(--pri); color: #fff; }
.car-btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ink); border-color: var(--line); }
.car-btn svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------- carousel */
.areas { padding-bottom: 96px; }
.car { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 30px; scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.car::-webkit-scrollbar { display: none; }
.car-track { display: flex; gap: 24px; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); width: max-content; }
.acard { position: relative; scroll-snap-align: start; width: 380px; flex: none; background: var(--tone, var(--mint)); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.acard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.acard-img { display: block; margin: 12px 12px 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.acard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.acard:hover .acard-img img { transform: scale(1.06); }
.acard-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.acard h3 { font-size: 1.55rem; }
.acard h3 a { color: var(--ink); text-decoration: none; }
.acard h3 a::after { content: ""; position: absolute; inset: 0; }
.acard-body p { margin: 0; color: #33464E; font-size: 16.5px; flex: 1; }
.acard-more { display: inline-flex; align-items: center; gap: 8px; font: 700 16px var(--display); color: var(--pri-2); margin-top: 6px; }
.acard-more svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.acard:hover .acard-more svg { transform: translateX(4px); }

/* ---------------------------------------------------------- teal field */
.truth { padding: 0; }
.truth-card { background: var(--pri); color: #fff; border-radius: 40px; padding: 80px 72px; position: relative; overflow: hidden; }
.truth-card::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(169, 229, 223, .35), rgba(169, 229, 223, 0)); pointer-events: none; }
.truth-card h2 { color: #fff; max-width: 22ch; font-size: clamp(2rem, 3.8vw, 3.3rem); position: relative; z-index: 1; }
.truth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; position: relative; z-index: 1; }
.truth-grid--two { grid-template-columns: 1.3fr 1fr; align-items: center; margin-top: 32px; }
.truth-grid h3 { color: #fff; font-size: 1.35rem; margin-bottom: 10px; }
.truth-grid p { color: #DCF2EF; margin: 0; }
.truth-grid > div { border-top: 2px solid rgba(255, 255, 255, .3); padding-top: 22px; }
.truth-grid--two > div { border: 0; padding: 0; }
.truth-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 48px; counter-reset: f; position: relative; z-index: 1; }
.flow li { counter-increment: f; display: flex; flex-direction: column; gap: 6px; color: #DCF2EF; font-size: 16px; }
.flow li::before { content: counter(f); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--pri-2); display: grid; place-items: center; font: 800 18px var(--display); margin-bottom: 10px; }
.flow b { color: #fff; font: 700 18px var(--display); }

/* -------------------------------------------------------- sticky story */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.story-steps { padding: 32px 0 120px; }
.story-step:last-child { min-height: 0; }
.story-media { position: sticky; top: 120px; aspect-ratio: 4 / 4.4; border-radius: 36px; overflow: hidden; background: var(--sky); }
.story-fig { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.story-fig.is-on { opacity: 1; transform: none; }
.story-fig img { width: 100%; height: 100%; object-fit: cover; }
.story-steps { display: flex; flex-direction: column; }
.story-step { min-height: clamp(260px, 34vh, 340px); display: flex; flex-direction: column; justify-content: flex-start; padding: 8px 0 0; opacity: .38; transition: opacity .5s var(--ease); }
.story-step.is-on { opacity: 1; }
.story-n { width: 52px; height: 52px; border-radius: 50%; background: var(--sky); color: var(--pri-2); display: grid; place-items: center; font: 800 20px var(--display); margin-bottom: 22px; transition: background .4s, color .4s; }
.story-step.is-on .story-n { background: var(--pri); color: #fff; }
.story-step h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 14px; }
.story-step p { color: var(--grey); font-size: 19px; max-width: 46ch; }
.story-inline { display: none; }

/* ------------------------------------------------------------ preview */
.preview { background: var(--peach); }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.preview-copy p { color: #4A3A35; font-size: 19px; }
.preview .ticks p { color: var(--ink); }
.pv-card { background: #fff; border-radius: var(--r); padding: 36px; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.pv-top { display: flex; align-items: center; gap: 16px; font: 700 14px var(--display); color: var(--grey); margin-bottom: 22px; }
.pv-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.pv-bar i { display: block; width: 37%; height: 100%; background: var(--pri); border-radius: 99px; }
.pv-q { font: 700 1.6rem/1.2 var(--display); margin-bottom: 22px; letter-spacing: -0.01em; }
.pv-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv-opt { padding: 16px 18px; border: 2px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .2s, background .2s; }
.pv-opt:hover { border-color: var(--pri); background: var(--mint); color: var(--ink); }
.pv-note { display: flex; gap: 10px; margin: 22px 0 0; padding: 14px 16px; background: var(--peach); border-radius: 14px; font-size: 15px; color: #4A3A35; }
.pv-note svg { width: 22px; height: 22px; flex: none; color: var(--coral-d); }

/* -------------------------------------------------------------- data band */
.data-band { padding-bottom: 0; }
.data-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 64px; align-items: start; }
.data-grid h2 { margin-bottom: 22px; }
.data-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.data-cols > div { background: var(--sky); border-radius: var(--r-s); padding: 28px; }
.data-cols > div:nth-child(2) { background: var(--mint); }
.data-cols > div:nth-child(3) { background: var(--peach); }
.data-cols h3 { margin-bottom: 10px; }
.data-cols p { margin: 0; color: #33464E; font-size: 16.5px; }

/* ------------------------------------------------------------------ FAQ */
.qa-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 72px; align-items: start; }
.qa-grid > div:first-child p { color: var(--grey); margin-top: 18px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--mist); border-radius: 22px; transition: background .3s; }
.faq-item.is-open { background: var(--mint); }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 20px; align-items: center; text-align: left; padding: 22px 26px; background: none; border: 0; cursor: pointer; font: 700 1.15rem/1.3 var(--display); color: var(--ink); border-radius: 22px; }
.faq-q i { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff; position: relative; transition: background .25s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq-item.is-open .faq-q i { background: var(--pri); }
.faq-item.is-open .faq-q i::before, .faq-item.is-open .faq-q i::after { background: #fff; }
.faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: #33464E; padding: 0 70px 24px 26px; margin: 0; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ------------------------------------------------------------------ CTA */
.cta { padding: 0 0 112px; }
.cta-card { background: linear-gradient(120deg, var(--pri-2) 0%, var(--pri) 100%); border-radius: 40px; padding: 64px 72px; display: flex; justify-content: space-between; align-items: center; gap: 40px; color: #fff; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; left: -80px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 12px; position: relative; }
.cta p { margin: 0; color: #DCF2EF; max-width: 56ch; position: relative; }
.cta .btn { flex: none; position: relative; }
.site-footer .btn--light, .cta .btn--light { color: var(--pri-2); }

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--mist); color: var(--grey); font-size: 16px; border-radius: 40px 40px 0 0; }
.site-footer .mark .cut { stroke: var(--mist); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1.3fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.foot-brand .brand { margin-bottom: 20px; }
.foot-brand p { max-width: 46ch; font-size: 15px; }
.foot-col h2 { font: 800 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.foot-col ul { display: grid; gap: 11px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--pri); text-decoration: underline; }
.foot-copy { display: flex; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-copy p { margin: 0; flex: 1; }
.foot-copy ul { display: flex; gap: 20px; flex-wrap: wrap; }
.to-top { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px -10px rgba(11, 34, 48, .5); transition: background .2s, color .2s; }
.to-top:hover { background: var(--pri); color: #fff; }
.to-top svg { width: 19px; height: 19px; }

/* --------------------------------------------------------- inner heads */
.phead { padding: 0; }
.phead-grid { background: var(--mint); border-radius: 40px; padding: 56px 64px 64px; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-top: 8px; }
.phead--sky .phead-grid { background: var(--sky); }
.phead--peach .phead-grid { background: var(--peach); }
.phead--photo .phead-grid { grid-template-columns: 1.15fr .85fr; padding: 24px 24px 24px 64px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--grey); margin-bottom: 36px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--pri); text-decoration: underline; }
.phead h1 { font-size: clamp(2.5rem, 4.8vw, 4.2rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 18ch; }
.phead-lede { font-size: 20px; color: #33464E; margin: 24px 0 0; max-width: 56ch; }
.phead-tag { font-size: 15px; margin-top: 14px; color: var(--grey); }
.phead-fig { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.phead-fig img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .phead-copy > * { animation: rise .8s var(--ease) both; } .phead-fig { animation: reveal 1.1s var(--ease) both; } }

/* ----------------------------------------------------------- studies */
.jump { position: sticky; top: 84px; z-index: 20; background: rgba(255, 255, 255, .9); padding: 14px 0; }
@supports (backdrop-filter: blur(8px)) { .jump { background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px); } }
.jump ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-block; white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: var(--mist); color: var(--ink); text-decoration: none; font: 700 15px var(--display); transition: background .2s, color .2s; }
.jump a:hover, .jump a.is-on { background: var(--pri); color: #fff; }
.area { padding: 72px 0 0; scroll-margin-top: 150px; }
.area-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; background: var(--tone); border-radius: 40px; padding: 28px 56px 56px 28px; }
.area--flip .area-grid { grid-template-columns: 1.1fr .9fr; padding: 28px 28px 56px 56px; }
.area--flip .area-fig { order: 2; }
.area-fig { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.6; position: sticky; top: 170px; }
.area-fig img { width: 100%; height: 100%; object-fit: cover; }
.area-copy { padding-top: 36px; }
.area-copy h2 { margin-bottom: 16px; }
.area-lede { font: 600 21px/1.45 var(--text); color: var(--ink); }
.area-copy > p { color: #33464E; }
.area-copy h3 { margin: 34px 0 14px; }
.alines { display: grid; gap: 8px; }
.al { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 16px; font-size: 16px; line-height: 1.4; }
.al em { font: 700 12.5px var(--display); font-style: normal; color: var(--grey); white-space: nowrap; }
.al-mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; }
.al-mark svg { width: 15px; height: 15px; }
.al--out .al-mark { background: var(--peach); color: var(--coral-d); }
.al--out em { color: var(--coral-d); }
.visits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visits li { background: rgba(255, 255, 255, .7); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15.5px; color: #33464E; line-height: 1.45; }
.visits b { font: 700 16.5px var(--display); color: var(--ink); }
.area-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }
.studies-end { padding-top: 96px; }

/* --------------------------------------------------------- how it works */
.steps-list { display: grid; gap: 40px; }
.steps-list li { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.steps-list li:nth-child(even) figure { order: 2; }
.steps-list figure { margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 11; }
.steps-list img { width: 100%; height: 100%; object-fit: cover; }
.step-n { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--mint); color: var(--pri-2); font: 800 14px var(--display); margin-bottom: 18px; }
.steps-list h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.steps-list p { color: var(--grey); font-size: 19px; max-width: 48ch; }
.never-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.never-grid p { color: var(--grey); margin-top: 16px; }

/* --------------------------------------------------------- tick lists */
.ticks { display: grid; gap: 12px; margin: 22px 0 30px; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.ticks p { margin: 0; color: #33464E; }
.tk { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--pri); display: grid; place-items: center; }
.tk svg { width: 16px; height: 16px; }
.ticks--no .tk { background: var(--peach); color: var(--coral-d); }
.ticks--no li { background: var(--mist); border-radius: 16px; padding: 16px 18px; align-items: center; }

/* ------------------------------------------------------------ the quiz */
.checker { padding-top: 64px; }
.quiz { max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: 40px 48px 44px; box-shadow: var(--shadow); }
.quiz-top { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; margin-bottom: 30px; }
.quiz-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--mist); border-radius: 999px; padding: 9px 16px 9px 12px; font: 700 15px var(--display); color: var(--ink); cursor: pointer; }
.quiz-back svg { width: 17px; height: 17px; }
.quiz-back:hover { background: var(--mint); }
.quiz-count { font: 700 15px var(--display); color: var(--grey); white-space: nowrap; font-variant-numeric: tabular-nums; }
.quiz-bar { height: 10px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: var(--pri); border-radius: 99px; transition: width .6s var(--ease); }
.qstep { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.qstep legend { padding: 0; margin-bottom: 26px; display: flex; flex-direction: column; gap: 8px; }
.qs-n { font: 800 14px var(--display); color: var(--pri); letter-spacing: .02em; }
.qs-q { font: 750 clamp(1.6rem, 3vw, 2.3rem)/1.15 var(--display); letter-spacing: -0.02em; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.opt, .tile { position: relative; cursor: pointer; }
.opt input, .tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 64px; padding: 16px 22px; border: 2px solid var(--line); border-radius: 18px; font: 600 17.5px var(--text); background: #fff; transition: border-color .2s, background .2s; }
.opt:hover span { border-color: var(--pri); }
.opt input:checked + span { border-color: var(--pri); background: var(--mint); box-shadow: inset 0 0 0 1px var(--pri); }
.opt input:focus-visible + span, .tile input:focus-visible + span { outline: 3px solid var(--pri); outline-offset: 3px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile span { display: flex; flex-direction: column; height: 100%; border: 2px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; transition: border-color .2s, transform .3s var(--ease); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile b { padding: 12px 14px 14px; font: 700 15.5px/1.3 var(--display); }
.tile--plain span { justify-content: center; background: var(--mist); }
.tile:hover span { border-color: var(--pri); transform: translateY(-3px); }
.tile input:checked + span { border-color: var(--pri); box-shadow: inset 0 0 0 1px var(--pri); background: var(--mint); }
.quiz-nav { display: none; gap: 12px; flex-wrap: wrap; }
.quiz-ns { color: var(--grey); font-size: 15px; margin: 0; }
/* With the script, one question at a time. */
.js .quiz-nav { display: flex; }
.js .qstep { display: none; margin-bottom: 32px; }
.js .qstep.is-on { display: block; }
@media (prefers-reduced-motion: no-preference) { .js .qstep.is-on { animation: stepin .5s var(--ease) both; } .js .qstep.is-on.is-back { animation-name: stepback; } }
@keyframes stepin { from { opacity: 0; transform: translateX(28px); } }
@keyframes stepback { from { opacity: 0; transform: translateX(-28px); } }

.result { max-width: 1120px; margin: 0 auto; }
.result:focus { outline: none; }
.result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.result-head p { margin: 10px 0 0; color: var(--grey); font-size: 19px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.result-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.rlines { display: grid; gap: 10px; }
.rl { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; background: var(--mist); border-radius: 20px; padding: 18px 22px; }
.rl b { font: 700 17px var(--display); }
.rl-note { margin: 4px 0 0; font-size: 15.5px; color: #33464E; line-height: 1.5; }
.rl-state { width: 40px; height: 40px; border-radius: 50%; border: 2px dashed #A9BCC1; display: grid; place-items: center; }
.rl-state svg { width: 20px; height: 20px; }
.rl[data-state="ok"] { background: var(--mint); }
.rl[data-state="ok"] .rl-state { border: 0; background: var(--pri); color: #fff; }
.rl[data-state="ask"] { background: var(--peach); }
.rl[data-state="ask"] .rl-state { border: 0; background: #fff; color: var(--coral-d); }
.result-side { display: grid; gap: 16px; position: sticky; top: 110px; }
.rs-card { background: var(--sky); border-radius: 24px; padding: 28px; }
.rs-card h3 { margin-bottom: 8px; font-size: 1.4rem; }
.rs-card p { color: #33464E; font-size: 16px; }
.rs-card .alines { margin-bottom: 18px; }
.rs-card .al em { display: none; }
.rs-card .al { grid-template-columns: 28px 1fr; }
.rs-card--teal { background: var(--pri); }
.rs-card--teal h3 { color: #fff; }
.rs-card--teal p { color: #DCF2EF; }
.result-note { margin-top: 26px; color: var(--grey); font-size: 15px; max-width: 80ch; }
@media (prefers-reduced-motion: no-preference) { .result.is-in .rl { animation: rise .6s var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); } }

/* ------------------------------------------------------------ your data */
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.dcol { display: grid; gap: 24px; }
.dcard { background: var(--mist); border-radius: var(--r); padding: 40px; }
.dcard--mint { background: var(--mint); }
.dcard--peach { background: var(--peach); }
.dcard h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 16px; }
.dcard p { color: #33464E; }
.dcard .ticks--no li { background: rgba(255, 255, 255, .7); }
.table-wrap { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-top: 1px solid var(--line); }
.dtable thead th { border-top: 0; font: 800 13px var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.dtable tbody th { font-weight: 700; color: var(--ink); width: 42%; }
.dtable td { color: #33464E; }

/* ------------------------------------------------- contact and forms */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.9rem; margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #33464E; }
.prose ul:not([class]) { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; margin-bottom: 1em; }
.duo { display: grid; gap: 20px; }
.duo-card { background: var(--mist); border-radius: var(--r); padding: 32px; }
.duo-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.duo-card p { color: #33464E; }
.duo-card--pri { background: var(--pri); }
.duo-card--pri h2 { color: #fff; }
.duo-card--pri p { color: #DCF2EF; }
.duo-card--dark { background: var(--sky); }
.contact-list { display: grid; gap: 12px; }
.signup { padding-top: 64px; }
.form-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: start; }
.panel-form { background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: 44px; box-shadow: var(--shadow); }
.panel-head h2 { font-size: 2rem; margin-bottom: 8px; }
.panel-head p { color: var(--grey); margin-bottom: 30px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font: 700 15.5px var(--display); }
.field input, .field select { width: 100%; min-height: 56px; padding: 12px 18px; border: 2px solid var(--line); border-radius: 16px; font: 400 17px var(--text); color: var(--ink); background: var(--mist); transition: border-color .2s, background .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6670' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 46px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--pri); background: #fff; box-shadow: 0 0 0 4px rgba(10, 102, 112, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--coral); }
.consents { display: grid; gap: 14px; margin: 8px 0 22px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13.5px; line-height: 1.55; color: var(--grey); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pri); cursor: pointer; }
.check.is-invalid span { color: var(--coral-d); }
.consent-links { font-size: 13.5px; color: var(--grey); margin: -4px 0 4px 34px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin: 0 0 16px; padding: 14px 18px; border-radius: 14px; background: var(--peach); color: #8E2F1B; font-size: 15px; font-weight: 600; }
.form-error.is-shown { display: block; }
.form-done { display: none; }
.form-done.is-shown { display: block; }
.form-done h2 { font-size: 2.2rem; margin: 18px 0 10px; }
.form-done p { color: var(--grey); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--pri); color: #fff; display: grid; place-items: center; }
.done-icon svg { width: 30px; height: 30px; }
.join-side { display: grid; gap: 20px; position: sticky; top: 110px; }
.mini-steps { display: grid; gap: 14px; counter-reset: ms; }
.mini-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; counter-increment: ms; color: #33464E; font-size: 15.5px; }
.mini-steps li::before { content: counter(ms); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--pri); color: #fff; display: grid; place-items: center; font: 800 15px var(--display); }
.mini-steps b { color: var(--ink); font-family: var(--display); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 13px; border-radius: 99px; background: var(--mint); color: var(--pri-2); font-size: 14px; font-weight: 600; }

/* ---------------------------------------------------------------- legal */
.legal { padding-top: 72px; }
.legal-grid { display: grid; grid-template-columns: 250px 1fr; gap: 72px; align-items: start; }
.legal-toc { position: sticky; top: 110px; font-size: 15px; background: var(--mist); border-radius: 22px; padding: 22px; }
.legal-toc p { font: 800 14px var(--display); margin-bottom: 10px; }
.legal-toc ul { display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 5px 0; color: var(--grey); text-decoration: none; }
.legal-toc a:hover { color: var(--pri); }
.legal .prose section + section { margin-top: 2.2em; }
.legal .prose h2 { font-size: 1.5rem; margin: 0 0 .5em; }

/* ------------------------------------------------- scroll reveals: the
 * content is visible by default and only animates in when the script has
 * marked it, so a script failure never hides anything. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal].is-pending { opacity: 0; transform: translateY(34px); }
  .js [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .site-nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 1020px) {
  :root { --gut: 24px; }
  section { padding: 84px 0; }
  .hero-grid, .story-grid, .preview-grid, .data-grid, .qa-grid, .area-grid, .area--flip .area-grid, .steps-list li, .never-grid,
  .contact-grid, .form-grid, .result-grid, .phead--photo .phead-grid, .truth-grid--two, .dgrid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-media { max-width: 620px; }
  .hero-fig { aspect-ratio: 4 / 3.6; }
  .float--a { left: 16px; top: 16px; }
  .float--b { right: 16px; bottom: 16px; }
  .sec-head { grid-template-columns: 1fr; }
  .truth-card { padding: 56px 40px; }
  .truth-grid, .flow { grid-template-columns: 1fr 1fr; }
  .story-media { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 0 0 40px; }
  .story-step .story-n { background: var(--pri); color: #fff; }
  .story-inline { display: block; margin: 8px 0 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; }
  .story-inline img { width: 100%; height: 100%; object-fit: cover; }
  .data-cols { grid-template-columns: 1fr; }
  .area-grid, .area--flip .area-grid { padding: 20px 20px 40px; gap: 28px; }
  .area--flip .area-fig { order: 0; }
  .area-fig { position: static; aspect-ratio: 16 / 10; }
  .area-copy { padding: 0 12px; }
  .steps-list li:nth-child(even) figure { order: 0; }
  .steps-list li { gap: 28px; }
  .phead--photo .phead-grid { padding: 40px 32px 24px; }
  .phead-grid { padding: 40px 32px 48px; }
  .result-side, .join-side, .legal-toc { position: static; }
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .pv-card { transform: none; }
}
@media (max-width: 680px) {
  :root { --gut: 16px; }
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .site-header .wrap { min-height: 72px; }
  .brand-word { font-size: 23px; }
  .brand .mark { width: 38px; height: 38px; }
  .jump { top: 72px; }
  .hero { padding: 20px 0 72px; }
  .hero-lede { font-size: 18.5px; }
  .quick { padding: 14px; border-radius: 22px; }
  .quick-row { flex-direction: column; }
  .quick-row .btn { width: 100%; }
  .float { max-width: 250px; font-size: 13.5px; padding: 10px 14px 10px 10px; }
  .float b { font-size: 14.5px; }
  .float-i { width: 34px; height: 34px; }
  .float--b { display: none; }
  .acard { width: 300px; }
  .truth-card { padding: 44px 24px; border-radius: 28px; }
  .truth-grid, .flow { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .pv-card { padding: 24px; }
  .pv-opts { grid-template-columns: 1fr; }
  .faq-q { padding: 18px 20px; font-size: 1.05rem; }
  .faq-a p { padding: 0 20px 20px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 44px 24px; border-radius: 28px; }
  .cta .btn { width: 100%; }
  .phead-grid, .phead--photo .phead-grid { padding: 28px 20px 32px; border-radius: 28px; }
  .crumbs ol { margin-bottom: 22px; }
  .phead-lede { font-size: 18px; }
  .area { padding-top: 40px; }
  .area-grid, .area--flip .area-grid { border-radius: 28px; padding: 12px 12px 28px; }
  .area-copy { padding: 0 8px; }
  .al { grid-template-columns: 28px 1fr; }
  .al em { grid-column: 2; }
  .visits { grid-template-columns: 1fr; }
  .area-actions .btn { width: 100%; }
  .quiz { padding: 24px 18px 28px; border-radius: 26px; }
  .quiz-top { grid-template-columns: auto 1fr; }
  .quiz-bar { grid-column: 1 / -1; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .opts { grid-template-columns: 1fr; }
  .quiz-nav .btn { flex: 1; }
  .rl { padding: 16px; grid-template-columns: 34px 1fr; gap: 12px; }
  .rl-state { width: 34px; height: 34px; }
  .dcard, .duo-card, .panel-form, .rs-card { padding: 26px 20px; }
  .dgrid, .dcol { gap: 16px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .foot-copy { flex-wrap: wrap; }
  .site-footer { border-radius: 28px 28px 0 0; }
}

@media print {
  .site-header, .site-footer, .phead, .quiz, .result-actions, .rs-card--teal, .drawer, .skip-link { display: none !important; }
  .checker { padding: 0; }
  .result { display: block !important; }
  .result-grid { display: block; }
  .rl { break-inside: avoid; border: 1px solid #ccc; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* `hidden` must win over the display a button or card is given above. */
[hidden] { display: none !important; }
/* The progress line already counts the questions; the legend keeps its
 * label only on the opening step. */
.js .qstep:not([data-qstep="0"]) .qs-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rl[data-state="ask"] .rl-state svg { width: 24px; height: 24px; }

/* Two stacked call-to-action cards share one layout and keep a gap. */
.cta--first { padding: 96px 0 24px; }
.cta-card--soft { background: var(--sky); color: var(--ink); }
.cta-card--soft::before { display: none; }
.cta-card--soft h2 { color: var(--ink); }
.cta-card--soft p { color: #33464E; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; flex: none; }
.cta-actions .btn { width: 100%; }
@media (max-width: 680px) { .cta-actions { width: 100%; } .cta--first { padding: 56px 0 16px; } }

/* Under a page head the first section starts closer, so the head and the
 * content read as one page. */
.phead + section, .phead + .jump + section, .phead + nav + section { padding-top: 64px; }
@media (max-width: 680px) { .phead + section, .phead + .jump + section { padding-top: 40px; } }
/* The footer's divider stops at the content edge, like every card above it. */
.foot-copy { border-top: 0; position: relative; }
.foot-copy::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--line); }
/* Sections nested inside a page's content (the legal pages' parts) are
 * not page sections and take none of their padding. */
.prose section, main section section { padding: 0; }

/* Seven tiles: the "another area" tile closes the second row. */
.tile--plain { grid-column: span 2; }
.tile--plain span { align-items: flex-start; justify-content: center; gap: 4px; padding: 20px 24px; }
.tile--plain b { font-size: 18px; padding: 0; }
.tile--plain em { font-style: normal; font-size: 15px; color: var(--grey); }
.tile-i { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--pri); display: grid; place-items: center; margin-bottom: 8px; }
.tile-i svg { width: 24px; height: 24px; }
@media (max-width: 1020px) { .tile--plain { grid-column: span 2; } }
@media (max-width: 680px) { .tile--plain { grid-column: 1 / -1; } .tile--plain span { min-height: 72px; } }

/* The quiz and its result sheet use the full content width, so their
 * edges line up with the page head above them. Tiles change colour on
 * hover rather than lifting, so a row of them stays level. */
.quiz, .result { max-width: none; }
.tile:hover span { transform: none; }
.quiz-bar { background: var(--line); }
.tiles { align-items: stretch; }
.tile b { display: block; }
.quiz-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.quiz-bar { flex: 1 1 200px; }
.rl[data-state="ask"] .rl-state svg { width: 28px; height: 28px; stroke-width: 2.4; }
.float-i svg { stroke: #fff; }
.float-i--c svg { stroke: var(--coral-d); }

/* ===================================================================
 * Vertical rhythm, one rule for the whole site (2026-10-09).
 * Every top-level block in <main> is separated by the same gap; a block
 * with its own full-width colour carries that gap inside it; the block
 * after a page head sits closer; a run of studies panels, and the two
 * stacked call-to-action cards, sit closer still because they read as
 * one list. tools/check-gaps.sh measures the result on every page.
 * =================================================================== */
:root { --gap: 104px; --gap-head: 56px; --gap-list: 28px; }
main > section, main > nav { padding: 0; }
main > * + * { margin-top: var(--gap); }
.hero { padding: 40px 0 0; }
.preview { padding: var(--gap) 0; }
.phead + * { margin-top: var(--gap-head); }
.phead + .jump { margin-top: 16px; }
.jump + .area { margin-top: 24px; }
.area + .area { margin-top: var(--gap-list); }
.cta--first { padding: 0; }
.cta--first + .cta { margin-top: 24px; }
.cta { padding: 0; }
.areas { padding: 0; }
.car { padding-bottom: 12px; }
.story-steps { padding: 24px 0 0; }
.story-step:last-child { min-height: 0; padding-bottom: 0; }
.site-footer { margin-top: var(--gap); }
.studies-end { padding-top: 0; }
@media (max-width: 1020px) { :root { --gap: 88px; } }
@media (max-width: 680px) {
  :root { --gap: 64px; --gap-head: 40px; --gap-list: 20px; }
  .hero { padding-top: 20px; }
  .area + .area { margin-top: var(--gap-list); }
}

/* Older per-section paddings, cleared so the rhythm rule above decides. */
main > .area, main > .checker, main > .signup, main > .legal, main > .dpage, main > .contact,
main > .steps, main > .never, main > .qa, main > .story, main > .data-band, main > .truth,
.phead + section, .phead + .jump + section, .phead + nav + section { padding-top: 0; padding-bottom: 0; }
main > .preview { padding: var(--gap) 0; }
/* A block's last line carries no margin of its own, so the gap after it is
 * exactly the rhythm gap. */
.never .ticks, .prose > :last-child, .legal .prose section:last-child > :last-child, .area-copy > :last-child { margin-bottom: 0; }
.car { padding-bottom: 0; }
.car-track { padding-bottom: 12px; }
