/* Nurselink: "The Link". Tokens in DESIGN.md */
@font-face { font-family: "Onest"; src: url("../fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }

:root {
  --navy: #121F6B;
  --navy-2: #1B2A85;
  --teal: #008296;
  --teal-tint: #E2F1F3;
  --mist: #EEF2F7;
  --line: #DFE5EE;
  --white: #FCFDFE;
  --text: #3A4470;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 28px;
  --shadow: 0 30px 60px -30px rgb(18 31 107 / .28);
  --sec: clamp(64px, 8vw, 116px);
  --display: "Onest", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.h2 { font: 700 clamp(2rem, 4.2vw, 3.6rem)/1.04 var(--display); letter-spacing: -.035em; color: var(--navy); text-wrap: balance; }
.h2 .hl, .hero__title .hl { color: var(--teal); }
.eyebrow { font: 600 .95rem/1 var(--display); color: var(--teal); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }

/* Buttons: colour swap only, never move */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: 999px; font: 600 1rem/1 var(--display); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; border: 2px solid transparent; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-right: 12px; flex: none; transition: background-color .35s var(--ease); }
.btn:hover::before { background: #fff; }
.btn { padding: 0 26px 0 20px; }
.btn--sm { height: 44px; padding: 0 20px 0 16px; font-size: .95rem; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--teal); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--teal); color: #fff; }

/* Header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 9999; transform: translate3d(0, 0, 0); will-change: transform; transition: transform .5s var(--ease), background-color .4s, box-shadow .4s; }
.hdr__in { position: relative; height: 76px; display: flex; align-items: center; justify-content: space-between; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.hdr.is-scrolled { background: rgb(252 253 254 / .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translate3d(0, -100%, 0); }
.hdr__logo img { width: 148px; height: auto; }
.hdr__nav { position: fixed; left: 50vw; top: 38px; transform: translate(-50%, -50%); display: flex; gap: 34px; }
.hdr.is-hidden .hdr__nav { pointer-events: none; }
.hdr__nav a { font: 500 .98rem/1 var(--display); color: var(--navy); text-decoration: none; padding: 10px 0; position: relative; transition: color .3s; }
.hdr__nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform .35s var(--ease); }
.hdr__nav a:hover { color: var(--teal); }
.hdr__nav a:hover::after { transform: scale(1); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .6s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu: same transition both ways */
.menu { position: fixed; inset: 0; z-index: 9998; visibility: hidden; transition: visibility 0s linear .6s; }
.menu.is-open { visibility: visible; transition-delay: 0s; }
.menu__scrim { position: absolute; inset: 0; background: rgb(18 31 107 / .35); opacity: 0; transition: opacity .6s var(--ease); }
.menu.is-open .menu__scrim { opacity: 1; }
.menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 420px); background: var(--white); padding: 108px 28px 36px; display: flex; flex-direction: column; justify-content: space-between; transform: translateX(100%); transition: transform .6s var(--ease); }
.menu.is-open .menu__panel { transform: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font: 700 2.1rem/1.15 var(--display); letter-spacing: -.03em; color: var(--navy); text-decoration: none; padding: 10px 0; opacity: 0; transform: translateX(28px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__nav a:hover { color: var(--teal); }
.menu__foot { display: grid; gap: 18px; }
.menu__mail { color: var(--teal); font-weight: 500; }

/* HERO */
.hero { position: relative; min-height: max(100svh, 700px); display: flex; flex-direction: column; overflow: hidden; padding-top: clamp(112px, 15svh, 150px); isolation: isolate; }
.hero__back, .hero__front { position: absolute; inset: 0; pointer-events: none; }
.hero__back { z-index: -1; }
.hero__front { z-index: 4; }
.hc, .hf { position: absolute; border-radius: 50%; display: block; }
.hc--tint { width: 64vw; aspect-ratio: 1; right: -12vw; top: 30%; background: var(--teal-tint); animation: bloom 1.6s var(--ease) .1s both; }
.hc--ring { width: 15vw; aspect-ratio: 1; right: 9vw; top: 15%; border: 1.35vw solid var(--navy); animation: bloom 1.4s var(--ease) .35s both; }
.hc--dot { width: 7.5vw; aspect-ratio: 1; right: 4.5vw; top: 9%; background: var(--teal); animation: bloom 1.4s var(--ease) .5s both; }
.hf--ring { width: 74px; height: 74px; left: 6vw; bottom: 8%; border: 13px solid var(--navy); animation: bloom 1.2s var(--ease) 1s both; }
.hf--dot { width: 30px; height: 30px; left: calc(6vw + 82px); bottom: calc(8% + 64px); background: var(--teal); animation: bloom 1.2s var(--ease) 1.1s both; }

.hero__copy { position: relative; z-index: 3; margin-bottom: clamp(-120px, -9svh, -40px); padding-top: clamp(16px, 4.5svh, 48px); }
.hero__title { font: 800 clamp(2.9rem, 6.4vw, 6rem)/.98 var(--display); letter-spacing: -.045em; color: var(--navy); }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .ln > span { display: inline-block; animation: rise 1.1s var(--ease) .15s both; }
.hero__title .ln + .ln > span { animation-delay: .25s; }
.hero__sub { max-width: 34ch; margin-top: 24px; font-size: clamp(1.05rem, 1.35vw, 1.22rem); animation: fade 1s var(--ease) .5s both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: fade 1s var(--ease) .62s both; }

.hero__stage { --tw: min(62vw, calc((100svh - 330px) * 2.13), 1120px); position: relative; margin-top: auto; height: calc(var(--tw) * .469); min-height: 230px; z-index: 2; }
.hero__bar { position: absolute; left: var(--gutter); right: -40px; top: 58.5%; height: 8.5%; min-height: 20px; background: var(--navy); border-radius: 999px 0 0 999px; transform-origin: left center; animation: draw 1.3s var(--ease) .2s both; }
.hero__bar-dot { position: absolute; left: 0; top: 50%; width: 260%; aspect-ratio: 1; max-width: 76px; translate: -38% -50%; border-radius: 50%; background: var(--teal); border: 6px solid var(--white); }
.hero__team { position: absolute; right: 3vw; bottom: 0; width: var(--tw); }
.hero__team img { width: 100%; animation: settle 1.2s var(--ease) .55s both; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bloom { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* MARQUEE */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 22px 0; position: relative; z-index: 3; }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee__list { display: flex; flex: none; }
.marquee__list li { font: 600 clamp(1.15rem, 1.8vw, 1.6rem)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; display: flex; align-items: center; }
.marquee__list li::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); margin: 0 clamp(20px, 2.6vw, 40px); }
.marquee__list li:nth-child(3n)::after { background: none; border: 3px solid #fff; width: 14px; height: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* IDEA */
.idea { padding: var(--sec) 0; }
.idea__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.idea__quote p { font: 700 clamp(1.8rem, 3.3vw, 3rem)/1.1 var(--display); letter-spacing: -.035em; color: var(--navy); text-wrap: balance; }
.idea__quote footer { margin-top: 18px; font-size: .95rem; color: var(--teal); font-weight: 500; }
.idea__body { margin-top: 36px; display: grid; gap: 16px; max-width: 60ch; }

.rate { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; justify-self: center; }
.rate__c { position: absolute; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rate__c--then { width: 38%; aspect-ratio: 1; left: 0; top: 0; border: 3px solid var(--navy); color: var(--navy); background: var(--white); z-index: 2; }
.rate__c--now { width: 60%; aspect-ratio: 1; right: 0; bottom: 4%; background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.rate__num { font: 800 clamp(1.8rem, 3.2vw, 2.7rem)/1 var(--display); letter-spacing: -.04em; }
.rate__c--now .rate__num { font-size: clamp(3rem, 6.4vw, 5.6rem); }
.rate__num b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.rate__unit { font: 600 .95rem/1.2 var(--display); margin-top: 6px; }
.rate__cap { font-size: .86rem; line-height: 1.35; margin-top: 8px; max-width: 16ch; opacity: .9; }
.rate__c--then .rate__cap { max-width: 12ch; }
.rate__link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rate__link line { stroke: var(--navy); stroke-width: 14; stroke-linecap: round; }
.rate figcaption { position: absolute; left: 0; bottom: 0; font-size: .85rem; color: var(--text); max-width: 22ch; }

/* HOW */
.how { padding: var(--sec) 0; background: var(--mist); }
.how__title { max-width: 16ch; }
.how__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(44px, 5vw, 72px); counter-reset: step; }
.how__step { position: relative; z-index: 1; }
.how__node { width: 92px; height: 92px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); color: var(--navy); display: grid; place-items: center; font-size: 2rem; margin-bottom: 26px; position: relative; }
.how__node::after { counter-increment: step; content: counter(step); position: absolute; right: -6px; top: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .85rem/30px var(--display); text-align: center; }
.how__node--teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.how__node--teal::after { background: var(--teal); box-shadow: 0 0 0 3px var(--mist); }
.how__step h3 { font: 700 clamp(1.5rem, 2.2vw, 1.9rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--navy); margin-bottom: 10px; }
.how__step p { max-width: 32ch; }
.how__line { position: absolute; left: 46px; right: calc((100% - 2 * clamp(24px, 4vw, 64px)) / 3 - 46px); top: 45px; height: 3px; background: var(--line); z-index: 0; }
.how__line span { position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(var(--p, 1)); }

/* PLANS */
.plans { padding: var(--sec) 0; }
.plans__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.toggle { position: relative; display: inline-flex; background: var(--mist); border-radius: 999px; padding: 5px; }
.toggle button { position: relative; z-index: 1; height: 44px; padding: 0 22px; border-radius: 999px; font: 600 .95rem/1 var(--display); color: var(--navy); transition: color .4s var(--ease); }
.toggle button[aria-checked="true"] { color: #fff; }
.toggle__pill { position: absolute; top: 5px; left: 5px; height: 44px; width: var(--w, 100px); border-radius: 999px; background: var(--navy); transform: translateX(var(--x, 0)); transition: transform .5s var(--ease), width .5s var(--ease); }
.plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(80px, 9vw, 120px); }
.plan { position: relative; border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.plan--nurse { background: var(--mist); }
.plan--emp { background: var(--navy); color: #C9CFEA; }
.plan__art { position: absolute; right: clamp(20px, 3vw, 44px); top: -64px; width: clamp(150px, 15vw, 200px); aspect-ratio: 200 / 250; }
.plan__disc { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: var(--teal); }
.plan__mask { position: absolute; inset: 0; border-radius: 0 0 999px 999px; overflow: hidden; display: flex; justify-content: center; align-items: flex-end; }
.plan__mask img { width: 72%; transform: translateY(6%); }
.plan__art--photo { aspect-ratio: 1; top: -48px; }
.plan__art--photo img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; object-position: 50% 40%; border-radius: 50%; }
.plan__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--teal); }
.plan__name { font: 700 1rem/1 var(--display); color: var(--teal); }
.plan--emp .plan__name { color: #6FD0DD; }
.plan__tag { font: 700 clamp(1.7rem, 2.8vw, 2.5rem)/1.05 var(--display); letter-spacing: -.035em; color: var(--navy); margin-top: 14px; max-width: 12ch; }
.plan--emp .plan__tag { color: #fff; }
.plan__lede { margin-top: 14px; max-width: 40ch; }
.plan__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
.plan--emp .plan__price { border-color: rgb(255 255 255 / .16); }
.plan__amt { font: 800 clamp(2.8rem, 4.4vw, 3.8rem)/1 var(--display); letter-spacing: -.045em; color: var(--navy); font-variant-numeric: tabular-nums; }
.plan--emp .plan__amt { color: #fff; }
.plan__per { font-weight: 500; }
.plan__amt.swap, .plan__per.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-bottom: 32px; width: 100%; flex: 1; align-content: start; }
.ticks li { position: relative; padding-left: 26px; font-size: .98rem; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 13px; height: 13px; border-radius: 50%; border: 3px solid var(--teal); }
.plan--emp .ticks li::before { border-color: #6FD0DD; }
.plans__note { margin-top: 24px; text-align: center; }
.plans__note strong { color: var(--navy); font-family: var(--display); letter-spacing: .02em; }

/* RESOURCES: pinned horizontal */
.res { background: var(--white); position: relative; z-index: 1; }
.res__pin { height: 100svh; min-height: 520px; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4svh, 48px); overflow: hidden; padding: 84px 0 40px; }
.res__intro { display: grid; gap: 14px; }
.res__intro p { max-width: 52ch; }
.res__intro .sec-desc { padding-bottom: 50px; }
.res__viewport { overflow: visible; }
.res__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.rc { width: clamp(250px, 24vw, 340px); height: clamp(240px, 46svh, 420px); border-radius: var(--radius); background: var(--mist); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; flex: none; }
.rc__ic { width: 62px; height: 62px; border-radius: 50%; border: 3px solid var(--navy); display: grid; place-items: center; color: var(--navy); font-size: 1.5rem; margin-bottom: auto; }
.rc h3 { font: 700 clamp(1.3rem, 1.9vw, 1.65rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--navy); margin: 18px 0 10px; }
.rc p { font-size: .98rem; line-height: 1.5; }
.rc--navy { background: var(--navy); color: #C9CFEA; }
.rc--navy h3 { color: #fff; }
.rc--navy .rc__ic { border-color: #6FD0DD; color: #6FD0DD; }
.rc--teal { background: var(--teal); color: #E6F6F8; }
.rc--teal h3 { color: #fff; }
.rc--teal .rc__ic { border-color: #fff; color: #fff; }
.rc--tint { background: var(--teal-tint); }

/* FAMILIES */
.fam { padding: var(--sec) 0; background: var(--mist); overflow: hidden; }
.fam__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.fam__art { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; width: 100%; }
.fam__disc { position: absolute; left: 4%; right: 4%; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: var(--teal-tint); }
.fam__ring { position: absolute; width: 30%; aspect-ratio: 1; right: -2%; top: 6%; border-radius: 50%; border: 16px solid var(--navy); }
.fam__mask { position: absolute; inset: 0 4% 0 4%; border-radius: 0 0 999px 999px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.fam__img { width: 96%; }
.fam__copy { display: grid; gap: 18px; justify-items: start; }
.fam__copy .h2 { max-width: 12ch; }
.fam__copy p { max-width: 50ch; }
.fam__copy .btn { margin-top: 10px; }

/* VOICES */
.voices { padding: var(--sec) 0; }
.voices__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(16px, 2vw, 24px); margin-top: clamp(36px, 4vw, 56px); }
.vq { border-radius: var(--radius); padding: clamp(28px, 3.2vw, 44px); background: var(--mist); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.vq blockquote p { font: 600 clamp(1.3rem, 2vw, 1.75rem)/1.2 var(--display); letter-spacing: -.025em; color: var(--navy); }
.vq figcaption { font-size: .92rem; font-weight: 500; color: var(--teal); }
.vq--main { grid-row: span 2; background: var(--teal); color: #fff; position: relative; overflow: hidden; min-height: 420px; }
.vq--main blockquote p { color: #fff; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; max-width: 12ch; }
.vq--main figcaption { color: #E6F6F8; }
.vq__mark { width: 64px; height: auto; background: #fff; border-radius: 50%; padding: 12px; box-sizing: content-box; }
.vq--tint { background: var(--teal-tint); }

/* WHEN */
.when { padding: var(--sec) 0; background: var(--mist); }
.when__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.when__list { margin-top: 32px; display: grid; gap: 22px; }
.when__list dt { display: flex; align-items: center; gap: 10px; font: 700 1.1rem/1.2 var(--display); color: var(--navy); margin-bottom: 6px; }
.when__list dt .ic { color: var(--teal); }
.when__list dd { max-width: 44ch; }
.when__list a { color: var(--teal); font-weight: 500; text-underline-offset: 3px; }
.when__map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #E5E9EE; box-shadow: var(--shadow); }
.when__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The map never steals the wheel/touch scroll. A click hands it control; leaving it hands control back */
.when__map iframe { pointer-events: none; }
.when__map.is-active iframe { pointer-events: auto; }

/* FAQ */
.faq { padding: var(--sec) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__grid .h2 { position: sticky; top: 110px; max-width: 10ch; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa h3 { margin: 0; }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; padding: 24px 0; font: 600 clamp(1.05rem, 1.5vw, 1.25rem)/1.3 var(--display); letter-spacing: -.015em; color: var(--navy); transition: color .3s; }
.qa button:hover { color: var(--teal); }
.qa__ic { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 2px solid currentColor; flex: none; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.qa__ic::before, .qa__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), background-color .4s; }
.qa__ic::after { transform: rotate(90deg); }
.qa.is-open .qa__ic { background: var(--teal); border-color: var(--teal); }
.qa.is-open .qa__ic::before, .qa.is-open .qa__ic::after { background: #fff; }
.qa.is-open .qa__ic::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 60px 26px 0; max-width: 64ch; opacity: 0; transform: translateY(-6px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a p { opacity: 1; transform: none; transition-delay: .08s; }

/* FOOTER */
.ftr { background: var(--mist); padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line); }
.ftr__cta { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; padding-bottom: clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.ftr__big { font: 800 clamp(2.3rem, 5.4vw, 4.8rem)/1 var(--display); letter-spacing: -.045em; color: var(--navy); max-width: 15ch; text-wrap: balance; }
.ftr__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ftr__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding: clamp(40px, 5vw, 64px) 0; }
.ftr__brand img { width: 240px; }
.ftr__brand p { margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.ftr__h { font: 700 1.4rem/1.1 var(--display); letter-spacing: -.02em; color: var(--teal); margin-bottom: 18px; }
.ftr ul { display: grid; gap: 12px; font-size: .95rem; }
.ftr ul a { text-decoration: none; color: var(--navy); transition: color .3s; display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.ftr ul a:hover { color: var(--teal); }
.ftr__lbl { display: block; font-size: .82rem; color: var(--text); opacity: .8; }
.ftr__base { border-top: 1px solid var(--line); padding-top: 24px; font-size: .88rem; }
.ftr__base a { color: var(--teal); font-weight: 600; text-decoration: none; }
.ftr__base a:hover { text-decoration: underline; }

/* Reveal (JS adds .is-in; content always in DOM) */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1080px) {
  .hdr__nav { gap: 22px; }
  .hdr__nav a { font-size: .92rem; }
  .ticks { grid-template-columns: minmax(0, 1fr); }
  .ftr__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .hdr__nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .idea__grid, .fam__grid, .when__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__grid .h2 { position: static; }
  .rate { max-width: 440px; }
  .plans__grid { grid-template-columns: minmax(0, 1fr); gap: 96px; }
  .fam__art { max-width: 460px; justify-self: center; }
  .voices__grid { grid-template-columns: minmax(0, 1fr); }
  .vq--main { grid-row: auto; min-height: 340px; }
}

/* Phone */
@media (max-width: 760px) {
  .hdr, .hdr.is-scrolled { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hdr { transition: transform .6s cubic-bezier(.45, 0, .2, 1), opacity .45s ease; }
  .hdr.is-hidden { transform: translate3d(0, calc(-100% - 24px), 0); opacity: 0; pointer-events: none; }
  .hdr__in { height: 68px; }
  .hdr.is-scrolled .hdr__in { height: 60px; margin: 10px 12px 0; padding: 0 6px 0 18px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 14px 32px -18px rgb(18 31 107 / .4); }
  .hdr.is-scrolled .hdr__logo img { width: 116px; }
  .hdr__logo img { width: 128px; }
  .hero { min-height: 100svh; padding-top: 104px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero__sub { margin-top: 18px; }
  .hero__copy { margin-bottom: 0; padding-top: 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__stage { --tw: 150vw; height: calc(var(--tw) * .469); min-height: 0; margin-top: auto; padding-top: 24px; }
  .hero__team { right: auto; left: 50%; translate: -50% 0; }
  .hero__bar { left: 16px; }
  .hero__bar-dot { max-width: 48px; border-width: 4px; }
  .hc--tint { width: 120vw; right: -50vw; top: 50%; }
  .hc--ring { width: 22vw; right: -4vw; top: 12%; border-width: 3.4vw; }
  .hc--dot { width: 11vw; right: 16vw; top: 9%; }
  .hf--ring, .hf--dot { display: none; }
  .h2 { font-size: 2.4rem; line-height: 1.02; text-align: center; margin-left: auto; margin-right: auto; }
  .how__title, .fam__copy .h2, .faq__grid .h2 { max-width: 16ch; }
  .sec-desc { font-size: 1.2rem; line-height: 1.55; text-align: center; margin-left: auto; margin-right: auto; text-wrap: pretty; }
  .plans__head { flex-direction: column; align-items: center; gap: 28px; }
  .res__intro { justify-items: center; text-align: center; gap: 18px; }
  .fam__copy { display: contents; }
  .fam__grid { gap: 18px; }
  .fam__copy .h2 { order: -2; }
  .fam__copy .sec-desc { order: -1; margin-bottom: 22px; }
  .fam__art { margin-bottom: 22px; }
  .fam__copy p, .fam__copy .btn { text-align: center; justify-self: center; }
  .fam__copy p:not(.sec-desc) { font-size: 1.15rem; line-height: 1.55; }
  .when__copy .h2 { margin-bottom: 8px; }
  .how__steps { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-left: 0; }
  .how__step { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 20px; }
  .how__node { width: 76px; height: 76px; font-size: 1.7rem; margin: 0; grid-row: span 2; }
  .how__step h3 { margin: 10px 0 6px; }
  .how__line { left: 37px; right: auto; top: 40px; bottom: 40px; width: 3px; height: auto; }
  .how__line span { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .plan__art { width: 132px; top: -56px; right: 20px; }
  .plan__tag { max-width: 9ch; }
  .ticks { grid-template-columns: minmax(0, 1fr); }
  .plan .btn { width: 100%; }
  .res__pin { padding-top: 88px; }
  .rc { width: 76vw; }
  .ftr__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__cols > div:nth-child(3) { grid-column: 1 / -1; order: 3; }
  .ftr__cols > div:nth-child(4) { order: 2; }
  .ftr__cta { flex-direction: column; align-items: center; text-align: center; }
  .ftr__big { margin: 0 auto; }
  .ftr__btns { justify-content: center; width: 100%; }
  .ftr__btns .btn { flex: 1 1 auto; }
  .qa__a p { padding-right: 0; }
  .rate figcaption { max-width: 14ch; font-size: .8rem; }
  .rate__c--then .rate__num { font-size: 1.45rem; }
  .rate__c--then .rate__cap { font-size: .78rem; }
}

/* Between phone and tablet: keep the headline clear of the hero ring */
@media (min-width: 431px) and (max-width: 760px) {
  .hero__title { max-width: calc(100vw - 2 * var(--gutter) - 17vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
.res.no-pin .res__pin { height: auto; }
.res.no-pin .res__viewport { overflow-x: auto; }
