/* Blue Skies EHR site v6: "D2 · Spatial, refined" (approved by Nima 11/27), blue-sky theme (11/29).
   Plain CSS, no build step. Onest is self-hosted and subset (assets/fonts, SIL OFL).
   The CSP allows no inline styles, so every style the design wrote inline lives here.
   Motion: only transform and opacity animate. backdrop-filter is used on the dock only,
   because content scrolls under it; the other glass panels sit over soft color light
   where a blur would not show, and the moving ones must not re-blur every frame. */

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-wght.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
/* Metric-matched fallback keeps the layout steady while Onest loads. */
@font-face { font-family: "Onest Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 98%; descent-override: 26%; }

:root {
  --ink: #0B1E3F;
  --ink-2: #33496E;
  --mut: #4F6488;
  --mut-2: #42577C;
  --bg: #EAF4FF;
  --sky: #2F7FE0;
  --ease: cubic-bezier(.16, .8, .2, 1);
  --font: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--ink); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
p { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 20; background: #FFFFFF; color: var(--ink); font-weight: 600; padding: 10px 16px; border-radius: 14px; }
.skip-link:focus { top: 16px; }

.page {
  position: relative; overflow: hidden; min-height: 100vh;
  background: linear-gradient(180deg, #7FBCF7 0, #A8D3FF 520px, #CFE7FF 1200px, #E4F1FF 2000px, var(--bg) 2800px);
}
.w, .wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.mut14 { font-size: 14px; color: var(--mut); }
.mut15 { font-size: 15px; color: var(--mut); }

/* ---------- Sky: a soft sun and slow drifting clouds ---------- */
.amb {
  position: absolute; inset: -6% -10% auto -10%; height: 2600px; pointer-events: none;
  background:
    radial-gradient(16% 11% at 84% 6%, rgba(255, 248, 222, .95) 0, rgba(255, 248, 222, 0) 70%),
    radial-gradient(14% 3.2% at 14% 9%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, 0) 72%),
    radial-gradient(9% 3.6% at 20% 8%, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 70%),
    radial-gradient(18% 3% at 60% 15%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 72%),
    radial-gradient(10% 3.4% at 66% 14%, rgba(255, 255, 255, .8) 0, rgba(255, 255, 255, 0) 70%),
    radial-gradient(20% 3.4% at 30% 31%, rgba(255, 255, 255, .8) 0, rgba(255, 255, 255, 0) 72%),
    radial-gradient(11% 3.6% at 37% 30%, rgba(255, 255, 255, .75) 0, rgba(255, 255, 255, 0) 70%),
    radial-gradient(22% 3.6% at 80% 44%, rgba(255, 255, 255, .7) 0, rgba(255, 255, 255, 0) 72%),
    radial-gradient(12% 3.2% at 74% 43%, rgba(255, 255, 255, .65) 0, rgba(255, 255, 255, 0) 70%),
    radial-gradient(24% 4% at 18% 62%, rgba(255, 255, 255, .7) 0, rgba(255, 255, 255, 0) 72%),
    radial-gradient(20% 3.6% at 70% 78%, rgba(255, 255, 255, .7) 0, rgba(255, 255, 255, 0) 72%);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .amb { animation: amb 60s ease-in-out infinite alternate; }
  @keyframes amb { to { transform: translate3d(-5%, 0, 0); } }
}

/* ---------- Glass ---------- */
.gl {
  background: linear-gradient(155deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .34) 60%, rgba(255, 255, 255, .5));
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1.5px 0 #FFFFFF, inset 0 -1px 0 rgba(11, 30, 63, .05), 0 2px 6px rgba(11, 30, 63, .04), 0 40px 90px -40px rgba(11, 30, 63, .42);
}
.dk {
  background: rgba(11, 30, 63, .93); color: #F2F5FB;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 40px 90px -40px rgba(11, 30, 63, .6);
}

/* ---------- Dock nav (bottom, floating) ---------- */
.dock-wrap { position: fixed; left: 0; right: 0; bottom: 22px; z-index: 9; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.dock {
  pointer-events: auto; border-radius: 24px; display: flex; align-items: center; gap: 6px; padding: 7px;
  backdrop-filter: blur(34px) saturate(1.8); -webkit-backdrop-filter: blur(34px) saturate(1.8);
}
.dock a { text-decoration: none; white-space: nowrap; transition: transform .12s ease, background-color .15s ease; }
.dock a:active { transform: scale(.97); transition-duration: .06s; }
.dock-brand { font-weight: 700; font-size: 16px; letter-spacing: -.02em; padding: 10px 14px; }
.dock-link { font-size: 15px; padding: 10px 14px; border-radius: 16px; color: var(--ink-2); }
.dock-link:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.dock-cta { font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 17px; background: var(--ink); color: #FFFFFF; }
.dock-cta:hover { background: #1A3766; color: #FFFFFF; }
@media (max-width: 480px) {
  .dock { gap: 2px; padding: 6px; }
  .dock-brand, .dock-link { font-size: 14px; padding: 10px 10px; }
  .dock-cta { font-size: 14px; padding: 10px 13px; }
}
@media (max-width: 400px) { .dock-brand { display: none; } }

/* ---------- Type ---------- */
.h1 { margin: 0; font-size: 104px; line-height: .92; letter-spacing: -.055em; font-weight: 600; text-wrap: balance; }
.h2 { margin: 0; font-size: 56px; line-height: 1; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.lead { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 430px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 8px; }
.hero-copy { text-align: center; }
.eyebrow { font-size: 15px; color: var(--mut-2); }
.hero .h1 { margin: 12px auto 0; max-width: 1050px; }
.hero-sub { margin: 20px auto 0; max-width: 540px; font-size: 20px; line-height: 1.55; color: var(--ink-2); }

.stage { perspective: 1800px; max-width: 1180px; margin: 36px auto 0; padding: 0 24px; height: 540px; position: relative; }
.scene { position: relative; height: 100%; transform-style: preserve-3d; transform: rotateX(0deg) rotateY(0deg); }
/* At rest the scene is flat: each window gets the same perspective on its own, which looks identical
   untilted but is far cheaper to scroll past than a shared 3D scene. site.js removes .flat while the
   mouse is over the hero (so the windows can tilt together) and puts it back once they have settled. */
.stage.flat { perspective: none; }
.stage.flat .scene { transform-style: flat; perspective: 1800px; }
/* In flat mode, paint in depth order, as the 3D scene sorts it. */
.stage.flat .fl-today { z-index: 1; } .stage.flat .fl-recap { z-index: 2; } .stage.flat .fl-copay { z-index: 3; } .stage.flat .fl-claim { z-index: 4; } .stage.flat .light-box { z-index: 5; }
@media (prefers-reduced-motion: no-preference) { .scene { transition: transform .9s var(--ease); } }
.light-box { position: absolute; inset: 0; border-radius: 40px; overflow: hidden; pointer-events: none; transform: translateZ(260px); }
.light {
  position: absolute; left: calc(50% - 260px); top: calc(40% - 200px); width: 520px; height: 400px;
  background: radial-gradient(260px 200px at 50% 50%, rgba(255, 255, 255, .55), transparent 70%);
  will-change: transform;
}

.fl { position: absolute; }
.fl-today { left: 3%; top: 40px; width: 56%; border-radius: 34px; padding: 30px; transform: translateZ(0); }
.fl-recap { right: 3%; top: 0; width: 34%; border-radius: 30px; padding: 24px; transform: translateZ(140px); }
.fl-claim { right: 9%; bottom: 40px; width: 31%; border-radius: 30px; padding: 26px; transform: translateZ(240px); }
.fl-copay { left: 14%; bottom: 10px; width: 30%; border-radius: 26px; padding: 18px 22px; transform: translateZ(180px); display: flex; align-items: center; gap: 14px; }

.today-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.today-title { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.today-list { display: grid; gap: 8px; margin-top: 20px; }
.today-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 18px; background: rgba(255, 255, 255, .62); }
.who { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg { font-size: 13px; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.tg-amber { background: #FFF1D6; color: #7A5300; }
.tg-blue { background: #E3EBFF; color: #2340A8; }
.tg-green { background: #E7F6EF; color: #1F6B4A; }
.tg-violet { background: #F3E6FF; color: #6B2CA8; }

.recap-head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mut); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; flex: none; }
.wave { display: block; width: 193px; max-width: 100%; height: 34px; margin-top: 12px; fill: var(--ink); opacity: .75; }
.recap-text { font-size: 16px; line-height: 1.5; margin-top: 14px; }
.recap-acts { display: flex; gap: 8px; margin-top: 16px; }
.pbtn { font-size: 14px; padding: 9px 14px; border-radius: 13px; background: rgba(11, 30, 63, .06); }
.pbtn-dark { font-weight: 600; background: var(--ink); color: #FFFFFF; }

.claim-k { font-size: 14px; color: #AEB8D3; }
.claim-amt { font-size: 44px; font-weight: 600; letter-spacing: -.04em; margin-top: 6px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.claim-ok { font-size: 15px; color: #9FE3C2; margin-top: 2px; }

.copay-ic { width: 40px; height: 40px; border-radius: 13px; background: #E7F6EF; display: flex; align-items: center; justify-content: center; flex: none; }
.copay-t { font-weight: 600; }

/* Fade up on load. CSS only, so it also plays with JavaScript off, and ends in place. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1.2s var(--ease) both; }
  .d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px) translateZ(0) scale(.96); } to { opacity: 1; } }
}

/* ---------- Sign once: steps + 3D card stack ---------- */
.how { position: relative; padding: 72px 0 56px; }
.two { display: grid; gap: 40px; align-items: center; }
.how-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.steps { display: grid; gap: 6px; margin-top: 22px; }
.step {
  text-align: left; cursor: pointer; border: 0; border-radius: 18px; padding: 16px 20px;
  display: flex; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, .55); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .12s ease;
}
.step:hover { transform: translateY(-1px); }
.step:active { transform: scale(.97); transition-duration: .06s; }
.step[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; box-shadow: 0 20px 40px -20px rgba(11, 30, 63, .6); }
.step-n { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.step-w { font-size: 14px; opacity: .65; white-space: nowrap; }

.stack { perspective: 1600px; height: 380px; position: relative; }
.win {
  position: absolute; inset: 20px 10px; border-radius: 34px; padding: 34px;
  /* Opaque, unlike the other glass: without a live blur, the cards behind would show through the front one. */
  background: linear-gradient(155deg, #FFFFFF, #F2F5FA 60%, #F8FAFD);
}
@media (prefers-reduced-motion: no-preference) { .win { transition: transform .7s var(--ease), opacity .5s ease; } }
.win-t { font-size: 40px; font-weight: 600; letter-spacing: -.04em; margin-top: 8px; line-height: 1.05; }
.win-b { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 480px; }
/* data-d = this card's place behind the chosen step (0 = in front). Set by site.js; the HTML starts at step 1. */
.win[data-d="0"] { transform: translateZ(0) translateY(0); opacity: 1; z-index: 10; }
.win[data-d="1"] { transform: translateZ(-90px) translateY(-26px); opacity: .72; z-index: 9; }
.win[data-d="2"] { transform: translateZ(-180px) translateY(-52px); opacity: .44; z-index: 8; }
.win[data-d="3"] { transform: translateZ(-270px) translateY(-78px); opacity: 0; z-index: 7; }
.win[data-d="4"] { transform: translateZ(-360px) translateY(-104px); opacity: 0; z-index: 6; }
.win[data-d^="-"] { transform: translateZ(120px) translateY(-40px); opacity: 0; pointer-events: none; }
.win[data-d="-1"] { z-index: 9; } .win[data-d="-2"] { z-index: 8; } .win[data-d="-3"] { z-index: 7; } .win[data-d="-4"] { z-index: 6; }

/* ---------- Who sees what ---------- */
.parts { position: relative; padding: 16px 0 56px; }
.parts-panel { border-radius: 40px; padding: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.parts-h { font-size: 52px; grid-column: 1 / -1; max-width: 760px; }
.part-t { font-size: 20px; font-weight: 600; }
.part-b { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: #C3CCE0; }

/* ---------- Pricing ---------- */
.price { position: relative; padding: 16px 0 64px; }
.price-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lead-price { margin-top: 22px; max-width: 460px; }
.opt { margin: 18px 0 0; font-size: 15px; line-height: 1.7; color: var(--mut); max-width: 460px; }
.calc { border-radius: 36px; padding: 32px; }
.calc-l { display: flex; justify-content: space-between; font-size: 16px; color: var(--ink-2); }
.calc-l b { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-l2 { margin-top: 26px; }
.calc input[type=range] { accent-color: var(--ink); width: 100%; margin: 12px 0 0; height: 28px; }
.calc-out { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(11, 30, 63, .1); }
.calc-total { font-size: 72px; font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-per { margin-top: 8px; }
.ex { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(11, 30, 63, .1); font-size: 16px; color: var(--ink-2); }
.ex b { font-size: 40px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.ex-note { margin-top: 14px; }
/* With JavaScript off: the two price examples instead of the sliders. */
html:not(.js) .calc-live { display: none; }
.js .calc-examples { display: none; }

/* ---------- Close + footer ---------- */
.close { position: relative; padding: 32px 0 0; text-align: center; }
.close-h { margin: 0 auto; max-width: 900px; font-size: 96px; }
.close-btns { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.btn-dark, .btn-glass {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 17px; padding: 18px 30px; border-radius: 20px;
  transition: transform .12s ease, background-color .15s ease;
}
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #1A3766; color: #FFFFFF; transform: translateY(-1px); }
.btn-glass { color: var(--ink); }
.btn-glass:hover { transform: translateY(-1px); }
.btn-dark:active, .btn-glass:active { transform: scale(.97); transition-duration: .06s; }
.foot { position: relative; padding: 48px 32px 128px; text-align: center; }
.foot p { font-size: 14px; color: var(--mut); }
.foot a { color: var(--ink); }

/* ---------- Privacy, Terms and 404 ---------- */
.legal { position: relative; padding: 56px 0 24px; }
.legal-card { max-width: 52rem; margin: 0 auto; border-radius: 36px; padding: 32px 22px; background: linear-gradient(155deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72) 60%, rgba(255, 255, 255, .8)); }
@media (min-width: 720px) { .legal-card { padding: 56px 64px; } }
.legal h1 { margin: 0 0 12px; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.legal h2 { margin: 40px 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.legal h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }
.legal p { margin: 0 0 14px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .effective { color: var(--mut); font-size: 15px; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 14px; }
.legal li { margin: 6px 0; }
.legal a { color: #1B5FB8; }
.table-scroll { overflow-x: auto; margin: 0 0 16px; border-radius: 16px; border: 1px solid rgba(11, 30, 63, .1); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid rgba(11, 30, 63, .08); }
.legal th { background: rgba(255, 255, 255, .7); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }
.lang-toggle { margin: 0 0 28px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(11, 30, 63, .08); }
.lang-toggle summary { cursor: pointer; padding: 12px 16px; font-weight: 600; border-radius: 16px; }
.lang-toggle .es { padding: 0 16px 8px; }
.lang-toggle h2 { margin-top: 8px; }
.not-found { position: relative; padding: 120px 0 40px; text-align: center; }
.not-found h1 { margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: -.05em; font-weight: 600; }
.not-found p { margin: 18px auto 0; font-size: 18px; color: var(--ink-2); }
.not-found .close-btns { margin-top: 32px; }

/* ---------- v7: shared page parts ---------- */
.dock-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.dock-logo { display: block; border-radius: 7px; }
.dock-link.on { background: rgba(255, 255, 255, .7); color: var(--ink); }
.hero .close-btns { margin-top: 30px; }
.hero-small { margin-top: 14px; }
.left { text-align: left; margin-left: 0; justify-content: flex-start; }
.center { text-align: center; }
.trust { position: relative; padding: 48px 0 8px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trust-list li { font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); color: var(--ink-2); }
.sec { position: relative; padding: 64px 0 24px; }
.sec.tight { padding-top: 8px; }
.sec-head { max-width: 760px; margin-bottom: 30px; }
.lead.wide { max-width: 640px; }
.h2.sm { font-size: 36px; }
.phero { position: relative; padding: 88px 0 16px; }
.phero-h { font-size: 88px; max-width: 980px; }
.hero-sub.left { margin: 20px 0 0; max-width: 620px; }
.phero .close-btns { margin-top: 28px; }
.close-sub { margin: 18px auto 0; font-size: 19px; color: var(--ink-2); }
.center-link { margin-top: 26px; text-align: center; font-size: 17px; }
.center-link a:not(.btn-dark):not(.btn-glass) { color: #1B5FB8; font-weight: 600; }
.cards3, .cards4 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-radius: 28px; padding: 26px; }
.card-t { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.card-b { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.journey.j3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jcard { border-radius: 26px; padding: 22px; }
.jn { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: var(--ink); color: #FFFFFF; }
.jcard h3 { margin: 14px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.jcard p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #DCEBFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231B5FB8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks.sm { gap: 9px; margin: 18px 0 24px; }
.checks.sm li { font-size: 15px; }
.checks.on-dark li { color: #D3DBEC; }
.checks.on-dark li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%239FD0FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.note-mock { border-radius: 34px; padding: 28px; }
.note-in { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); font-style: italic; }
.note-arrow { margin: 16px 0 10px; font-size: 13px; font-weight: 600; color: #1B5FB8; }
.note-out { border-radius: 18px; padding: 16px 18px; background: rgba(255, 255, 255, .75); }
.note-out p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.note-out p:last-child { margin: 0; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan { border-radius: 32px; padding: 30px; display: flex; flex-direction: column; }
.plan .full { margin-top: auto; text-align: center; }
.plan-n { font-size: 17px; font-weight: 600; }
.plan-main .plan-n { color: #9FD0FF; }
.plan-p { margin-top: 10px; font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan-p span { font-size: 17px; font-weight: 500; letter-spacing: 0; opacity: .7; margin-left: 4px; }
.plan-d { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.plan-main .plan-d { color: #C3CCE0; }
.btn-light { display: inline-block; text-decoration: none; font-weight: 600; font-size: 17px; padding: 18px 30px; border-radius: 20px; background: #FFFFFF; color: var(--ink); transition: transform .12s ease; }
.btn-light:hover { transform: translateY(-1px); }
.box { border-radius: 32px; padding: 32px; }
.box .checks { margin-top: 0; }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable th, .ptable td { text-align: left; padding: 14px 8px; border-bottom: 1px solid rgba(11, 30, 63, .1); }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.ptable th { font-size: 14px; color: var(--mut); font-weight: 500; }
.tnote { margin-top: 16px; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 22px; padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--mut); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 70ch; }
.prose { max-width: 680px; }
.prose p { margin: 0 0 16px; font-size: 19px; line-height: 1.65; color: var(--ink-2); }
.prose a { color: #1B5FB8; }
.demo-box { max-width: 760px; }
.demo-box .close-btns { margin: 28px 0 18px; }
.foot2 { position: relative; margin-top: 72px; padding: 56px 0 128px; background: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255, 255, 255, .9); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.foot-logo img { border-radius: 8px; }
.foot-brand p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--mut); max-width: 300px; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; }
.foot-h { font-size: 13px; font-weight: 600; color: var(--mut); }
.foot-grid a { font-size: 15px; color: var(--ink); text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-legal { margin: 40px auto 0; max-width: 1280px; padding: 0 32px; font-size: 14px; color: var(--mut); }
@media (max-width: 1100px) { .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .phero { padding-top: 56px; }
  .phero-h { font-size: 52px; }
  .cards3, .cards4, .plans, .row2, .journey, .journey.j3 { grid-template-columns: minmax(0, 1fr); }
  .row2 { gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .sec { padding-top: 48px; }
}
@media (max-width: 640px) { .dl-b { display: none; } }
@media (max-width: 520px) { .dock-brand .brand { display: none; } }

/* ---------- Phone and tablet ---------- */
@media (max-width: 900px) {
  .w, .wrap { padding: 0 20px; }
  .h1, .close-h { font-size: 58px; }
  .h2, .parts-h { font-size: 40px; }
  .hero { padding-top: 56px; }
  .stage { height: auto; perspective: none; }
  .scene { transform: none !important; transform-style: flat; }
  .light-box { display: none; }
  .fl { position: relative !important; inset: auto !important; width: auto !important; margin: 12px 0 !important; transform: none !important; }
  .two, .how-grid, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .parts-panel { padding: 32px 24px; border-radius: 32px; }
  .calc { padding: 26px 22px; border-radius: 30px; }
  .calc-total { font-size: 60px; }
  .win { padding: 26px; border-radius: 30px; }
  .win-t { font-size: 32px; }
  .win-b { font-size: 17px; }
  .foot { padding: 40px 20px 112px; }
}
@media (max-width: 420px) {
  .h1, .close-h { font-size: 50px; }
  .fl-today { padding: 22px; }
  .today-row { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 12px 12px; gap: 10px; }
  .stage { padding: 0 16px; }
}

/* Reduced motion: everything static (the rules above only animate under no-preference). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
