/* RateReady v2 · navy + cobalt. Dense, product-first, mobile-first. No warm colours. */
:root {
  --n950: #050b1c; --n900: #08122b; --n800: #0e1c40; --n700: #172a5a; --n600: #24396f;
  --blue: #2f6bff; --blue-hi: #5d8dff; --blue-lo: #1f4fd6; --sky: #8cc4ff; --cyan: #34cdef;
  --ice: #edf2ff; --ice-2: #dfe8ff; --paper: #f5f7fc; --white: #fff;
  --ink: #0b1430; --slate: #46557a; --mute: #6a789c; --line: #dce3f1;
  --on-dark: #e9f0ff; --on-dark-2: #a9b8db; --line-dark: rgba(150, 178, 255, .14);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gut: clamp(16px, 4.2vw, 80px);
  --sec: clamp(56px, 7.5vw, 112px);
  --r1: 6px; --r2: 10px; --r3: 16px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --e1: 0 1px 2px rgba(8, 18, 43, .06), 0 2px 8px rgba(8, 18, 43, .05);
  --e2: 0 10px 30px -10px rgba(8, 18, 43, .22), 0 2px 6px rgba(8, 18, 43, .06);
  --e3: 0 40px 80px -24px rgba(2, 6, 20, .65), 0 16px 32px -16px rgba(2, 6, 20, .5);
  --nav-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { margin: 0; font-family: var(--text); font-size: 16.5px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--blue); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .92em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: var(--r1); }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- logo + buttons ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.logo-sm { font-size: 16px; }
.logo-mark { width: 24px; height: 24px; border-radius: 7px; background: var(--blue); position: relative; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.logo-sm .logo-mark { width: 20px; height: 20px; border-radius: 6px; }
.logo-mark::after { content: ""; position: absolute; left: 37%; top: 20%; width: 26%; height: 44%; border: solid #fff; border-width: 0 2.6px 2.6px 0; transform: rotate(45deg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap; min-height: 48px; padding: 0 22px; border-radius: var(--r1); border: 1px solid transparent; cursor: pointer; font: 600 15.5px/1 var(--text); text-decoration: none; transition: transform 140ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px -8px rgba(47,107,255,.65); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: #4a7dff; } .btn-ghost:hover { border-color: var(--on-dark-2); } }
.btn-primary[disabled] { background: var(--n600); box-shadow: none; color: var(--on-dark-2); cursor: not-allowed; }
.btn-ghost { color: var(--on-dark); border-color: var(--line-dark); background: rgba(255,255,255,.04); }
.btn-ghost svg { width: 14px; height: 14px; fill: currentColor; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-wide { width: 100%; min-height: 54px; font-size: 16.5px; }
.link-btn { background: none; border: 0; color: var(--blue-hi); font: 600 14.5px var(--text); cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: var(--on-dark); transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.nav.solid { background: rgba(8, 18, 43, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line-dark); }
.nav-in { height: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--on-dark-2); padding: 8px 0; transition: color 140ms var(--ease); }
.nav-links a:hover, .nav-links a.on { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); padding: calc(var(--nav-h) + clamp(28px, 5vw, 64px)) 0 clamp(40px, 5vw, 72px);
  background: radial-gradient(90% 70% at 85% 30%, #13306f 0%, transparent 60%), radial-gradient(70% 60% at 0% 100%, #0f2459 0%, transparent 60%), var(--n950); }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; font: 500 13px/1 var(--text); color: var(--sky); padding: 8px 12px; border-radius: 999px; background: rgba(47,107,255,.14); border: 1px solid rgba(93,141,255,.3); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(52,205,239,.2); }
.hero h1 { margin-top: 20px; font-weight: 780; font-stretch: 86%; font-size: clamp(40px, 4.5vw, 66px); line-height: 1; color: #fff; }
.hero h1 span { color: var(--sky); }
.lead { margin-top: 20px; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.55; color: var(--on-dark-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, auto); gap: 0; border-top: 1px solid var(--line-dark); padding-top: 18px; max-width: 560px; }
.hero-facts li { font-size: 13.5px; line-height: 1.35; color: var(--on-dark-2); padding-right: 16px; }
.hero-facts li + li { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.hero-facts b { display: block; font: 600 22px/1.1 var(--mono); color: #fff; margin-bottom: 4px; font-variant-numeric: tabular-nums; }

/* composite */
.composite { position: relative; padding: 30px 0 88px 0; }
.composite .dash { margin-right: 92px; }
.win { background: var(--white); color: var(--ink); border-radius: var(--r2); box-shadow: var(--e3), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f3f6fc; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--text); color: var(--slate); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd8ea; }
.win-bar span { margin-left: 8px; }
.win-bar em, .qc-head em { margin-left: auto; font: 500 10.5px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-lo); background: var(--ice); padding: 4px 7px; border-radius: 4px; }
.dash-tabs { display: flex; gap: 4px; padding: 12px 14px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--slate); overflow: hidden; }
.dash-tabs span { padding: 7px 10px 10px; border-bottom: 2px solid transparent; white-space: nowrap; }
.dash-tabs .on { color: var(--ink); border-color: var(--blue); font-weight: 600; }
.dash-tabs b { font: 500 11px var(--mono); color: var(--blue-lo); background: var(--ice); padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
.dash-rows { list-style: none; margin: 0; padding: 4px 0; }
.dash-rows li { display: grid; grid-template-columns: 38px minmax(0, 1.5fr) auto minmax(0, .8fr); gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #eef2f9; font-size: 13.5px; }
.dash-rows li.hot { background: linear-gradient(90deg, rgba(47,107,255,.08), transparent 70%); }
.thumb { width: 38px; height: 38px; border-radius: 8px; background-size: cover; background-position: center; }
.t1 { background-image: url(assets/lodge-1.jpg), linear-gradient(135deg, #3a5a8c, #8fb1d9); }
.t2 { background-image: url(assets/lodge-2.jpg), linear-gradient(135deg, #24467e, #5d8dff); }
.t3 { background-image: url(assets/lodge-3.jpg), linear-gradient(135deg, #1c335f, #8cc4ff); }
.t4 { background-image: url(assets/lodge-4.jpg), linear-gradient(135deg, #2b3f6b, #a9c3ea); }
.pn { font-weight: 600; line-height: 1.25; min-width: 0; }
.pn small { display: block; font-weight: 400; color: var(--mute); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { font: 500 11.5px/1 var(--text); padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.st-ok { background: #e2f7fc; color: #0b6b82; }
.st-ask { background: var(--ice); color: var(--blue-lo); }
.st-tick { background: var(--blue); color: #fff; }
.st-chase { background: #eef1f6; color: var(--slate); }
.mv { font-size: 12.5px; color: var(--slate); text-align: right; }
.hot .mv { color: var(--blue-lo); font-weight: 600; }
.dash-foot { display: flex; justify-content: space-between; padding: 10px 14px; font: 400 11.5px var(--mono); color: var(--mute); }
.pulse::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); margin-right: 7px; vertical-align: 1px; animation: blink 2.4s var(--ease) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.doc-chip { position: absolute; left: -26px; top: -2px; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; background: #fff; color: var(--ink); border-radius: var(--r2); box-shadow: var(--e2), 0 0 0 1px rgba(8,18,43,.04); animation: floaty 7s ease-in-out infinite; }
.pdf { font: 600 10px/1 var(--mono); color: #fff; background: var(--n700); padding: 9px 6px; border-radius: 6px; }
.dc-t { font-size: 13px; font-weight: 600; line-height: 1.3; }
.dc-t small { display: block; font-weight: 400; color: var(--blue-lo); font-size: 12px; }
.phone { position: absolute; right: -18px; bottom: 0; width: 196px; padding: 9px; background: #0d1530; border-radius: 30px; box-shadow: var(--e3), inset 0 0 0 1.5px #2a3a66; animation: floaty 8s ease-in-out -2s infinite; }
.ph-notch { position: absolute; top: 15px; left: 50%; width: 56px; height: 15px; margin-left: -28px; border-radius: 10px; background: #0d1530; z-index: 2; }
.ph-screen { background: #fff; color: var(--ink); border-radius: 22px; padding: 38px 14px 14px; }
.ph-top { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ph-prop { font: 700 16px/1.2 var(--display); margin-top: 4px; }
.ph-list { list-style: none; margin: 10px 0 12px; padding: 0; }
.ph-list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #edf1f8; font-size: 12.5px; }
.ph-list b { font: 500 12.5px var(--mono); }
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; border-radius: 9px; padding: 11px 8px; font-size: 13px; font-weight: 600; }
.ph-box { width: 15px; height: 15px; border: 2px solid #fff; border-radius: 4px; position: relative; }
.ph-box::after { content: ""; position: absolute; left: 3.5px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transform-origin: center; animation: tickin 4.8s var(--ease) infinite; }
@keyframes tickin { 0%, 45% { transform: rotate(45deg) scale(0); } 55%, 92% { transform: rotate(45deg) scale(1); } 100% { transform: rotate(45deg) scale(0); } }
.ph-note { margin-top: 8px; font-size: 10.5px; color: var(--mute); text-align: center; line-height: 1.3; }
@keyframes floaty { 50% { translate: 0 -8px; } }

/* ---------- strip ---------- */
.strip { background: var(--n900); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding: 28px 0 22px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 4px 22px; border-left: 1px solid var(--line-dark); }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip-grid b { display: block; font: 600 clamp(26px, 2.8vw, 36px)/1.05 var(--mono); color: #fff; font-variant-numeric: tabular-nums; }
.strip-grid b small { font-size: .5em; color: var(--on-dark-2); }
.strip-grid span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--on-dark-2); }
.strip-src { margin-top: 18px; font: 400 12px var(--mono); color: #7f90b8; }

/* ---------- shared section head ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 44px); }
.sec-head h2, .pb-copy h2, .calc h2, .start h2, .faq h2, .close h2 { font-weight: 760; font-stretch: 88%; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.03; }
.sec-head p { color: var(--slate); font-size: 17px; max-width: 36em; }
.sec-head-light p { color: var(--on-dark-2); }
.kicker { font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-lo); margin-bottom: 14px; }

/* ---------- problem ---------- */
.problem { padding: var(--sec) 0; background: var(--white); }
.pb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pb-copy p:not(.kicker) { margin-top: 16px; color: var(--slate); }
.pb-copy b { color: var(--ink); }
.quote-cmp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--e1); }
.qc-head { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--slate); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.qc-rows { padding: 8px 0; }
.qc-row { display: grid; grid-template-columns: 11rem 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.qc-k { font-weight: 600; line-height: 1.25; }
.qc-k small { display: block; font-weight: 400; font-size: 12.5px; color: var(--mute); }
.qc-bar { height: 12px; border-radius: 6px; background: #e8edf7; overflow: hidden; }
.qc-bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1100ms var(--ease) 200ms; }
.quote-cmp.in .qc-bar i { transform: scaleX(1); }
.bad .qc-bar i { background: repeating-linear-gradient(-45deg, var(--n600) 0 6px, var(--n700) 6px 12px); }
.good .qc-bar i { background: var(--blue); }
.qc-v { font: 600 clamp(24px, 2.4vw, 32px)/1 var(--mono); font-variant-numeric: tabular-nums; }
.bad .qc-v { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--blue-hi); color: var(--slate); }
.good .qc-v { color: var(--blue-lo); }
.qc-foot { margin-top: 16px; font-size: 15.5px; color: var(--slate); }
.qc-foot b { color: var(--ink); }

/* ---------- demo console ---------- */
.demo { padding: var(--sec) 0; background: var(--paper); }
.console { background: var(--n900); border-radius: var(--r3); padding: 14px; display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 14px; box-shadow: var(--e3); color: var(--on-dark); }
.steps { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 2px; grid-row: 1 / 3; }
.steps li { position: relative; padding: 10px 12px 10px 38px; border-radius: 8px; transition: background-color 220ms var(--ease); }
.steps li::before { content: ""; position: absolute; left: 12px; top: 13px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--n600); transition: background-color 220ms var(--ease), border-color 220ms var(--ease); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 31px; bottom: -9px; width: 2px; background: var(--n700); }
.steps b { display: block; font-size: 14.5px; font-weight: 600; color: var(--on-dark-2); }
.steps span { display: block; font-size: 12.5px; color: #7487b3; line-height: 1.3; }
.steps li.done::before { background: var(--blue); border-color: var(--blue); }
.steps li.done b { color: var(--on-dark); }
.steps li.on { background: rgba(47,107,255,.16); }
.steps li.on::before { border-color: var(--cyan); background: var(--n900); box-shadow: 0 0 0 4px rgba(52,205,239,.18); }
.steps li.on b { color: #fff; }
.stage { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 14px; align-items: start; min-height: 470px; }
.doc { position: relative; overflow: hidden; background: #fbfcfe; color: #1b2233; border-radius: var(--r2); padding: 16px 18px 16px; box-shadow: var(--e3);
  transform-origin: 50% 100%; opacity: calc(.15 + var(--arr, 0) * .85);
  transform: translate3d(0, calc((1 - var(--arr, 0)) * 150px), 0) rotateX(calc((1 - var(--arr, 0)) * 32deg)) rotateZ(calc(-2.2deg + var(--arr, 0) * 0.8deg)); }
.doc-mail { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 400 11.5px/1.4 var(--mono); color: var(--mute); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px dashed var(--line); }
.doc-mail span:last-child { color: var(--blue-lo); }
.doc-lodge { font: 700 18px/1.15 Georgia, serif; font-variant: small-caps; letter-spacing: .02em; }
.doc-meta { font: 400 12px/1.4 Georgia, serif; color: #5a6275; margin-top: 2px; padding-bottom: 8px; border-bottom: 2px solid #1b2233; }
.doc-table { width: 100%; border-collapse: collapse; font: 400 13.5px Georgia, serif; margin-top: 6px; }
.doc-table th { text-align: left; font-weight: 600; font-size: 12px; padding: 7px 4px; border-bottom: 1px solid #c5cbd8; }
.doc-table td { padding: 8px 4px; border-bottom: 1px dotted #cdd3df; }
.doc-table td small { color: #7b8296; font-size: 11px; }
.doc-table th:not(:first-child), .doc-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.doc-clauses { margin: 10px 0 0; padding-left: 18px; font: 400 12.5px/1.45 Georgia, serif; color: #3a4153; }
.fig { border-radius: 3px; transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease); }
.fig.ra { box-shadow: inset 0 -2px 0 var(--blue-hi); }
.fig.agree { background: rgba(47,107,255,.1); box-shadow: 0 0 0 1.5px var(--blue); }
.fig.differ { background: rgba(52,205,239,.18); box-shadow: 0 0 0 1.5px var(--cyan); }
.smudge { filter: blur(.55px); }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; z-index: 2; pointer-events: none; transform: translateY(var(--y, 0)); }
.beam-a { background: var(--blue); box-shadow: 0 4px 16px 3px rgba(47,107,255,.35); }
.beam-b { background: var(--cyan); box-shadow: 0 -4px 16px 3px rgba(52,205,239,.3); }
.beam.go { opacity: 1; }

.book { background: #fff; color: var(--ink); border-radius: var(--r2); overflow: hidden; box-shadow: var(--e2); }
.book-top { display: flex; justify-content: space-between; padding: 11px 14px; background: var(--n700); color: #fff; font-size: 13.5px; font-weight: 600; }
.book-top span:last-child { font: 400 11.5px var(--mono); color: var(--sky); align-self: center; }
.book-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.book-table thead th { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-align: right; padding: 9px 12px 7px; background: #f6f8fc; border-bottom: 1px solid var(--line); }
.book-table thead th:first-child { text-align: left; }
.book-table tbody th { text-align: left; font-weight: 400; padding: 8px 12px; border-bottom: 1px solid #eef2f8; white-space: nowrap; }
.book-table tbody th b { display: block; font: 500 12px var(--mono); color: var(--blue-lo); }
.book-table tbody th span { font-size: 12px; color: var(--mute); }
.book-table td { text-align: right; padding: 8px 12px; border-bottom: 1px solid #eef2f8; font: 500 14px/1.2 var(--mono); font-variant-numeric: tabular-nums; height: 54px; min-width: 84px; vertical-align: middle; transition: background-color 240ms var(--ease); }
.book-table td:empty::before { content: "·"; color: #c9d2e4; }
.cv { display: block; animation: pop 300ms var(--ease); }
.cs { display: block; font: 400 10.5px/1.3 var(--mono); color: var(--mute); white-space: nowrap; }
td.checked .cs { color: var(--blue-lo); }
td.held { background: repeating-linear-gradient(-45deg, #eef7fd 0 6px, #e1f2fb 6px 12px); }
td.held .cv { color: #0b6b82; }
td.written .cs { color: var(--mute); }
td.proven { background: #effbfe; }
td.proven .cs { color: #0b6b82; }
td.fail { background: var(--ice-2); box-shadow: inset 0 0 0 1.5px var(--blue); }
td.fail .cv { text-decoration: line-through; color: var(--slate); }
td.fail .cs { color: var(--blue-lo); font-weight: 500; }
@keyframes pop { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.panel { display: grid; grid-template-rows: 0fr; opacity: 0; margin: 0 12px; transition: grid-template-rows 360ms var(--ease), opacity 260ms var(--ease), margin 360ms var(--ease); }
.panel-in { min-height: 0; overflow: hidden; }
.panel.show { grid-template-rows: 1fr; opacity: 1; margin: 12px; }
.panel p { font-size: 14px; line-height: 1.45; }
.ask .panel-in > p { background: #f1f9fd; border: 1px solid #c9ebf6; border-radius: var(--r1); padding: 10px 12px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 10px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: var(--r1); border: 1px solid var(--line); background: #fff; font: 500 14.5px var(--mono); color: var(--ink); cursor: pointer; transition: border-color 140ms var(--ease), background-color 140ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--blue); } }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.hint { font: 400 12px var(--mono); color: var(--mute); }
.btn-tick { margin-top: 10px; min-height: 50px; padding: 0 20px 0 14px; }
.btn-tick svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-tick svg path { stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 360ms var(--ease); }
.btn-tick.ticked svg path { stroke-dashoffset: 0; }
.btn-tick.waiting { animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0%, 65%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px -8px rgba(47,107,255,.65), 0 0 0 0 rgba(47,107,255,0); } 80% { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px -8px rgba(47,107,255,.65), 0 0 0 7px rgba(47,107,255,.2); } }
.status .panel-in > div { border-radius: var(--r1); padding: 10px 12px; font-size: 14px; background: #effbfe; border: 1px solid #bfe9f4; }
.status .panel-in > div.alert { background: var(--ice); border-color: #c6d5fb; }
.console-foot { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 6px 4px; }
.caption { font-size: 15.5px; line-height: 1.45; color: var(--on-dark-2); min-height: 2.9em; }
.caption b { color: #fff; font-weight: 600; }
.caption.you b { color: var(--sky); }

/* ---------- bento ---------- */
.why { padding: var(--sec) 0; background: var(--white); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 14px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: 22px; display: flex; flex-direction: column; overflow: hidden; }
.t-wide { grid-column: span 2; }
.t-tall { grid-row: span 2; }
.t-dark { background: var(--n900); border-color: var(--n800); color: var(--on-dark); }
.t-dark p { color: var(--on-dark-2) !important; }
.tile h3 { font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; margin-top: auto; padding-top: 18px; }
.tile p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--slate); max-width: 40em; }
.viz { font-family: var(--mono); font-size: 13px; }
.viz-reads { display: grid; gap: 8px; }
.vr { display: grid; grid-template-columns: 5.5rem repeat(5, 1fr); gap: 6px; align-items: center; }
.vr span { font-size: 11.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.vr i { font-style: normal; text-align: center; padding: 9px 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r1); }
.tile.in .vr i:not(.x) { border-color: var(--blue); background: var(--ice); transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
.tile.in .vr i.x { border-color: var(--cyan); background: #e3f8fd; color: #0b6b82; }
.viz-delta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r2); }
.viz-delta span { color: var(--mute); font-size: 12px; } .viz-delta b { display: block; color: var(--ink); font-size: 18px; font-weight: 500; }
.viz-delta .arr { color: var(--blue); font-size: 18px; }
.viz-delta em { margin-left: auto; font-style: normal; background: var(--blue); color: #fff; padding: 5px 8px; border-radius: 4px; font-size: 12.5px; }
.viz-readback { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r2); padding: 14px; }
.viz-readback div { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: var(--r1); background: #f6f8fc; }
.viz-readback span { color: var(--slate); }
.viz-readback .ok { color: #0b6b82; font-weight: 500; }
.viz-readback .no { color: var(--blue-lo); font-weight: 500; text-decoration: underline wavy var(--blue-hi); text-underline-offset: 3px; }
.viz-readback .sep { background: none; justify-content: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: 6px 0 2px; }
.viz-tick { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; background: var(--blue); color: #fff; padding: 12px 16px; border-radius: var(--r1); font-family: var(--text); font-weight: 600; font-size: 14px; box-shadow: 0 10px 24px -10px rgba(47,107,255,.7); }
.tk { width: 18px; height: 18px; border: 2px solid #fff; border-radius: 4px; position: relative; }
.tk::after { content: ""; position: absolute; left: 4.5px; top: 0.5px; width: 4.5px; height: 9px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) scale(0); transition: transform 400ms var(--ease) 300ms; }
.tile.in .tk::after { transform: rotate(45deg) scale(1); }
.viz-ask { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r2); padding: 14px; font-family: var(--text); font-size: 14px; }
.viz-ask .q { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e3f8fd; color: #0b6b82; font: 600 15px var(--mono); }
.viz-hours { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 72px; }
.viz-hours i { height: 100%; border-radius: 4px; background: linear-gradient(180deg, var(--blue) 0%, rgba(47,107,255,.15) 100%); transform-origin: 50% 100%; transform: scaleY(.15); transition: transform 600ms var(--ease); }
.tile.in .viz-hours i { transform: scaleY(1); }
.tile.in .viz-hours i:nth-child(2n) { transition-delay: 60ms; } .tile.in .viz-hours i:nth-child(3n) { transition-delay: 120ms; }
.viz-hours i:last-child { background: linear-gradient(180deg, var(--cyan), rgba(52,205,239,.2)); }

/* ---------- proof ---------- */
.proof { padding: var(--sec) 0; background: var(--n900); color: var(--on-dark); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 14px; }
.field-card { margin: 0; position: relative; background: var(--n800); border: 1px solid var(--line-dark); border-radius: var(--r3); padding: 20px; }
.field { display: block; width: 100%; }
.field-tip { position: absolute; pointer-events: none; font: 500 12px var(--mono); background: var(--cyan); color: var(--n950); padding: 6px 9px; border-radius: 5px; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity 140ms var(--ease); white-space: nowrap; }
.field-tip.on { opacity: 1; }
.field-card figcaption { margin-top: 16px; font-size: 16.5px; color: var(--on-dark-2); }
.field-card figcaption b { color: #fff; font-family: var(--mono); font-weight: 500; }
.field-card .ring { color: var(--cyan); }
.arrived { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.stack { display: flex; height: 14px; gap: 2px; border-radius: 7px; overflow: hidden; }
.stack span { flex: var(--n) 0 0; min-width: 5px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 900ms var(--ease); }
.field-card.in .stack span { transform: scaleX(1); }
.stack span:nth-child(1) { background: var(--blue); } .stack span:nth-child(2) { background: var(--sky); } .stack span:nth-child(3) { background: var(--cyan); } .stack span:nth-child(4) { background: #b9c8ee; } .stack span:nth-child(5) { background: #fff; }
.arrived p { margin-top: 10px; font-size: 14px; color: var(--on-dark-2); }
.arrived b { color: #fff; font-family: var(--mono); font-weight: 500; }
.caught { background: var(--n800); border: 1px solid var(--line-dark); border-radius: var(--r3); padding: 20px; display: flex; flex-direction: column; }
.caught h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.log { list-style: none; margin: 14px 0 0; padding: 0; }
.log li { display: grid; grid-template-columns: 6.2rem 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.log p { font-size: 14px; line-height: 1.45; color: var(--on-dark-2); }
.log b { color: #fff; font-weight: 600; }
.ok { position: relative; justify-self: start; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); padding: 5px 7px; border: 1px solid rgba(52,205,239,.4); border-radius: 4px; transition: color 300ms var(--ease) 400ms, border-color 300ms var(--ease) 400ms; }
.ok::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1.5px; background: var(--on-dark); transform: scaleX(0); transform-origin: 0 50%; transition: transform 420ms var(--ease) 300ms; }
.caught.in .ok { color: #7487b3; border-color: var(--n600); }
.caught.in .ok::after { transform: scaleX(1); }
.caught.in li:nth-child(2) .ok::after { transition-delay: 380ms; } .caught.in li:nth-child(3) .ok::after { transition-delay: 460ms; } .caught.in li:nth-child(4) .ok::after { transition-delay: 540ms; } .caught.in li:nth-child(5) .ok::after { transition-delay: 620ms; } .caught.in li:nth-child(6) .ok::after { transition-delay: 700ms; } .caught.in li:nth-child(7) .ok::after { transition-delay: 780ms; }
.mini { margin: auto 0 0; padding-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini div { background: var(--n900); border-radius: var(--r2); padding: 12px; }
.mini dt { font: 600 22px/1 var(--mono); color: #fff; }
.mini dt small { font-size: .55em; color: var(--on-dark-2); }
.mini dd { margin: 6px 0 0; font-size: 12.5px; line-height: 1.3; color: var(--on-dark-2); }

/* ---------- numbers + start ---------- */
.numbers { padding: var(--sec) 0; background: var(--paper); }
.num-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.calc, .start { background: var(--white); border: 1px solid var(--line); border-radius: var(--r3); padding: clamp(20px, 2.6vw, 32px); }
.calc h2, .start h2 { font-size: clamp(26px, 2.6vw, 36px); }
.calc-intro { margin-top: 10px; color: var(--slate); font-size: 15px; }
.range { display: block; margin-top: 22px; font-size: 14.5px; font-weight: 500; }
.range span { display: flex; justify-content: space-between; align-items: baseline; }
.range output { font: 600 20px var(--mono); color: var(--blue-lo); }
.range input { width: 100%; margin-top: 8px; accent-color: var(--blue); height: 28px; cursor: pointer; }
.rate-row { margin-top: 18px; font-size: 14.5px; font-weight: 500; }
.money { display: flex; gap: 8px; margin-top: 8px; }
.money select, .money input, .sys select { height: 46px; border: 1px solid var(--line); border-radius: var(--r1); background: var(--paper); color: var(--ink); font: 500 16px var(--mono); padding: 0 12px; }
.money input { flex: 1; min-width: 0; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.calc-out > div { background: var(--paper); border-radius: var(--r2); padding: 14px; }
.calc-out b { display: block; font: 600 24px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.calc-out span { font-size: 13px; color: var(--mute); }
.calc-out .big { grid-column: 1 / -1; background: var(--n900); color: #fff; }
.calc-out .big b { font-size: clamp(30px, 3.4vw, 44px); color: var(--sky); }
.calc-out .big span { color: var(--on-dark-2); }
.timeline { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: t; }
.timeline li { position: relative; padding: 0 0 20px 46px; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--ice); color: var(--blue-lo); font: 600 14px var(--mono); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: var(--ice-2); }
.timeline b { display: block; font-size: 16px; }
.timeline span { display: block; color: var(--slate); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.need { margin-top: 6px; padding: 14px; background: var(--paper); border-radius: var(--r2); font-size: 14.5px; color: var(--slate); }
.need b { color: var(--ink); }

/* ---------- faq ---------- */
.faq { padding: var(--sec) 0; background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.nots { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: 20px; }
.nots h3 { font-size: 16px; font-weight: 700; }
.nots ul { list-style: none; margin: 10px 0 0; padding: 0; }
.nots li { position: relative; padding: 8px 0 8px 26px; font-size: 14.5px; color: var(--slate); border-top: 1px solid var(--line); }
.nots li::before, .nots li::after { content: ""; position: absolute; left: 3px; top: 50%; width: 11px; height: 2px; background: var(--blue); }
.nots li::before { transform: rotate(45deg); } .nots li::after { transform: rotate(-45deg); }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 16.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--ice); color: var(--blue-lo); font: 500 18px/1 var(--mono); }
.qa details[open] summary::after { content: "−"; }
.qa details p { padding: 0 0 18px; color: var(--slate); max-width: 62ch; }

/* ---------- close ---------- */
.close { position: relative; overflow: hidden; padding: var(--sec) 0; color: var(--on-dark); background: radial-gradient(80% 90% at 20% 20%, #15357c 0%, transparent 60%), var(--n950); }
.close-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 80px); align-items: center; }
.close h2 { color: #fff; font-size: clamp(32px, 3.8vw, 54px); }
.close-copy p { margin-top: 16px; color: var(--on-dark-2); font-size: 17px; max-width: 32em; }
.sig { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.sig b { display: block; color: #fff; }
.sig span { color: var(--on-dark-2); font-size: 14.5px; }
.sheet { background: #fff; color: var(--ink); border-radius: var(--r3); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--e3); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sheet-top .logo { letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.sheet fieldset { border: 0; padding: 0; margin: 6px 0 0; }
.tick { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid #edf1f8; cursor: pointer; font-size: 15.5px; line-height: 1.4; }
.tick input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.box { flex: none; width: 22px; height: 22px; border: 2px solid var(--blue); border-radius: 5px; position: relative; transition: background-color 140ms var(--ease); }
.box::after { content: ""; position: absolute; left: 5.5px; top: 1.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) scale(.3); opacity: 0; transition: transform 200ms var(--ease), opacity 140ms var(--ease); }
.tick input:checked + .box { background: var(--blue); }
.tick input:checked + .box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.tick input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 3px; }
.tick .mono { color: var(--blue-lo); }
.sys { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 18px; font-size: 15.5px; }
.sys select { font-family: var(--text); min-width: 170px; background: #fff; }
.sheet-note { margin-top: 10px; font-size: 13px; color: var(--mute); line-height: 1.45; }
.sheet-note a { color: var(--blue-lo); }

.foot { background: var(--n950); color: #8494bb; padding: 28px 0; font-size: 13px; border-top: 1px solid var(--line-dark); }
.foot-in { display: grid; grid-template-columns: auto auto 1fr; gap: 12px 32px; align-items: center; }
.foot .logo { color: var(--on-dark); }
.foot p { justify-self: end; text-align: right; max-width: 70ch; line-height: 1.5; }

/* ---------- reveal ---------- */
.js .r { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .r.in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .composite { max-width: 700px; margin: 8px auto 0; width: 100%; }
  .console { grid-template-columns: 1fr; }
  .steps { grid-row: auto; flex-direction: row; overflow-x: auto; gap: 4px; padding: 2px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .steps li { flex: none; padding: 8px 10px 8px 30px; }
  .steps li::before { left: 10px; top: 11px; width: 12px; height: 12px; }
  .steps li::after { display: none; }
  .steps span { display: none; }
  .console-foot { grid-column: 1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-tall { grid-row: span 1; }
  .proof-grid, .num-grid { grid-template-columns: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .lead { font-size: 16.5px; }
  .cta-row .btn { flex: 1 1 auto; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero-facts li { padding-right: 10px; font-size: 12px; }
  .hero-facts li + li { padding-left: 10px; }
  .hero-facts b { font-size: 18px; }
  .composite { padding: 34px 0 96px; }
  .composite .dash { margin-right: 0; }
  .dash-tabs span:nth-child(n+3) { display: none; }
  .dash-rows li { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; padding: 9px 12px; font-size: 13px; }
  .thumb { width: 32px; height: 32px; }
  .mv { display: none; }
  .doc-chip { left: 8px; top: 0; padding: 8px 12px 8px 8px; }
  .dc-t { font-size: 12px; }
  .phone { width: 158px; right: 6px; border-radius: 26px; padding: 7px; }
  .ph-screen { border-radius: 20px; padding: 32px 11px 11px; }
  .ph-list li:nth-child(3) { display: none; }
  .ph-note { display: none; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-grid > div { padding: 2px 14px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .pb-grid { grid-template-columns: 1fr; }
  .qc-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .qc-bar { grid-column: 1 / -1; grid-row: 2; }
  .console { padding: 10px; border-radius: var(--r2); }
  .stage { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .doc { padding: 12px 14px; }
  .doc-mail { display: none; }
  .doc-table { font-size: 12.5px; } .doc-table td { padding: 5px 4px; } .doc-table td small { display: none; }
  .doc-clauses { font-size: 11.5px; }
  .console.late .doc { display: none; }
  .book-table tbody th span { display: none; }
  .book-table td { padding: 6px 8px; min-width: 0; height: 46px; font-size: 13px; }
  .book-table thead th { padding: 8px 8px 6px; }
  .book-table tbody th { padding: 6px 8px; }
  .cs { font-size: 9.5px; }
  .hint { display: none; }
  .caption { font-size: 14.5px; min-height: 4.3em; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .t-wide { grid-column: auto; }
  .vr { grid-template-columns: 4.2rem repeat(5, 1fr); gap: 4px; }
  .vr i { font-size: 11px; padding: 8px 2px; }
  .log li { grid-template-columns: 1fr; gap: 6px; }
  .mini { grid-template-columns: 1fr 1fr 1fr; }
  .mini dt { font-size: 18px; }
  .faq-grid, .close-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot p { justify-self: start; text-align: left; }
}
@media (max-width: 380px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li + li { border-left: 0; padding-left: 0; padding-top: 10px; }
  .phone { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .r { transform: none; }
  .beam { display: none; }
  .qc-bar i, .stack span, .viz-hours i { transform: none !important; transition: none; }
}

/* run log under the contract */
.doc-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.runlog { flex: 1; min-height: 150px; background: var(--n800); border: 1px solid var(--line-dark); border-radius: var(--r2); padding: 12px 14px; font: 400 12px/1.5 var(--mono); color: var(--on-dark-2); overflow: hidden; }
.rl-head { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; color: #7487b3; padding-bottom: 8px; border-bottom: 1px solid var(--line-dark); margin-bottom: 6px; }
.rl-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-right: 6px; vertical-align: 1px; animation: blink 1.6s var(--ease) infinite; }
.runlog ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.runlog li { display: grid; grid-template-columns: 5.2em 1fr; gap: 8px; animation: pop 300ms var(--ease); }
.runlog li time { color: #6377a6; }
.runlog li.k { color: var(--sky); }
@media (max-width: 720px) { .runlog { display: none; } .console.late .doc-col { display: none; } }


/* =================== v3: full width, depth, scroll-driven demo =================== */
.hero h1 { font-size: clamp(40px, 4.4vw, 86px); }
.lead { font-size: clamp(17px, 1.15vw, 21px); }
.sec-head h2, .pb-copy h2, .calc h2, .start h2, .faq h2, .close h2 { font-size: clamp(30px, 3vw, 56px); }
@media (min-width: 1500px) { body { font-size: 17.5px; } .tile p, .log p { font-size: 16px; } }

/* hero layers: pointer tilt + scroll drift, each plane at its own depth */
.hero .wave { transform: translate3d(calc(var(--hx, 0) * -24px), calc(var(--hp, 0) * 90px), 0) scale(1.06); }
.hero-grid { perspective: 1700px; }
.composite { transform-style: preserve-3d; transform: rotateY(calc(var(--hx, 0) * 6deg)) rotateX(calc(var(--hy, 0) * -5deg)); transition: transform 120ms linear; }
.composite .dash { transform: translate3d(0, calc(var(--hp, 0) * -30px), 0); }
.doc-chip { transform: translate3d(calc(var(--hx, 0) * 16px), calc(var(--hp, 0) * -110px + var(--hy, 0) * 10px), 70px); z-index: 2; }
.phone { transform: translate3d(calc(var(--hx, 0) * 26px), calc(var(--hp, 0) * -170px + var(--hy, 0) * 16px), 120px); z-index: 3; }
.toast { position: absolute; left: 6%; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: var(--r2);
  background: rgba(14, 28, 64, .92); color: var(--on-dark); border: 1px solid rgba(93,141,255,.35); box-shadow: var(--e3); font-size: 13px; font-weight: 600; line-height: 1.3;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translate3d(calc(var(--hx, 0) * 10px), calc(var(--hp, 0) * -70px), 50px); animation: floaty 9s ease-in-out -4s infinite; }
.toast small { display: block; font-weight: 400; color: var(--sky); font-size: 12px; }
.toast-ic { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--cyan); position: relative; }
.toast-ic::after { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 11px; border: solid var(--n950); border-width: 0 2.6px 2.6px 0; transform: rotate(45deg); }

/* pinned demo scene */
.demo { position: relative; height: 640vh; padding: 0; }
.demo-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 10px); padding-bottom: 14px; }
.demo .sec-head { margin-bottom: 14px; align-items: center; }
.demo .sec-head h2 { font-size: clamp(28px, 2.4vw, 44px); }
.demo .sec-head p { font-size: 15.5px; }
.console { perspective: 1800px; }
.stage { min-height: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--px, 0) * 3.5deg)) rotateX(calc(var(--py, 0) * -2.5deg)); }
.doc-col { transform-style: preserve-3d; transform: translateZ(60px); }
.book { transform: translateZ(0); }
.runlog { transform: translateZ(-30px); }
.steps li { cursor: pointer; }
.steps li:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.steps li[aria-disabled="true"] { cursor: default; }
.fly { position: fixed; z-index: 80; left: 0; top: 0; pointer-events: none; font: 500 14px/1 var(--mono); color: #fff; background: var(--blue); padding: 6px 8px; border-radius: 6px;
  box-shadow: 0 12px 24px -8px rgba(47,107,255,.7), 0 0 0 1px rgba(255,255,255,.2); white-space: nowrap; will-change: transform, opacity; }
.fly.cy { background: var(--cyan); color: var(--n950); }

/* bento: lift on hover */
@media (hover: hover) and (pointer: fine) {
  .tile { transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
  .tile:hover { transform: translateY(-4px); box-shadow: var(--e2); }
}

@media (max-width: 1080px) {
  .demo { height: 600vh; }
  .stage, .doc-col, .book, .runlog { transform: none; }
}
@media (max-width: 720px) {
  .demo-pin { padding-top: calc(var(--nav-h) + 8px); padding-bottom: 10px; justify-content: flex-start; }
  .demo .sec-head { margin-bottom: 8px; }
  .demo .sec-head h2 { font-size: 24px; }
  .demo .sec-head p { display: none; }
  .composite { transform: none; }
  .toast { left: 0; bottom: 6px; font-size: 12px; padding: 8px 10px 8px 8px; }
  .toast-ic { width: 24px; height: 24px; } .toast-ic::after { left: 8.5px; top: 5px; width: 5px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .composite, .composite .dash, .doc-chip, .phone, .toast, .hero .wave, .stage { transform: none !important; }
  .fly { display: none; }
}
@media (min-width: 1500px) {
  .console { grid-template-columns: 250px minmax(0, 1fr); padding: 18px; gap: 18px; }
  .stage { gap: 18px; }
  .steps b { font-size: 16px; } .steps span { font-size: 13.5px; } .steps li { padding: 12px 14px 12px 40px; }
  .doc { padding: 20px 24px; } .doc-lodge { font-size: 21px; } .doc-meta { font-size: 13.5px; } .doc-table { font-size: 15.5px; } .doc-table td { padding: 10px 4px; } .doc-clauses { font-size: 14px; }
  .book-top { padding: 14px 16px; font-size: 15px; } .book-table thead th { font-size: 11.5px; padding: 11px 14px 9px; }
  .book-table tbody th { padding: 10px 14px; } .book-table tbody th b { font-size: 13.5px; } .book-table tbody th span { font-size: 13.5px; }
  .book-table td { font-size: 16px; height: 64px; padding: 10px 14px; } .cs { font-size: 11.5px; }
  .panel p { font-size: 15.5px; } .caption { font-size: 17px; } .runlog { font-size: 13px; }
}

/* demo, after the tick: the productConnect call list */
.calls { background: #f6f9ff !important; border-color: #d3def8 !important; }
.calls-h { display: flex; justify-content: space-between; gap: 10px; font-size: 13px !important; margin-bottom: 6px; }
.calls-h span { color: var(--mute); }
.calls ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; }
.calls li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 4px 8px; border-radius: 6px; background: #fff; animation: callin 260ms var(--ease) both; }
.calls li .mono { font-family: var(--mono); color: var(--slate); }
.calls li b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: #0b6b82; background: #e3f7fc; padding: 2px 6px; border-radius: 4px; }
.calls-wait { font-size: 13.5px !important; color: var(--slate); }
@keyframes callin { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .calls li { animation: none; } }

/* =================== v4: the contract year =================== */
.year { padding: var(--sec) 0; background: radial-gradient(70% 80% at 85% 0%, #13306f 0%, transparent 60%), var(--n950); color: var(--on-dark); }
.year .sec-head p { color: var(--on-dark-2); }
.yr { border: 1px solid var(--line-dark); border-radius: var(--r3); background: rgba(14, 28, 64, .55); overflow: hidden; }
.yr-rail { position: relative; padding: 18px clamp(14px, 2vw, 28px) 16px; border-bottom: 1px solid var(--line-dark); }
.yr-months { display: grid; grid-template-columns: repeat(12, 1fr); font: 500 11.5px/1 var(--mono); color: var(--on-dark-2); text-transform: uppercase; letter-spacing: .06em; }
.yr-track { position: relative; height: 4px; margin: 10px 0 16px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(150,178,255,.28) 0 calc(100% / 12 - 3px), transparent calc(100% / 12 - 3px) calc(100% / 12)); }
.yr-now { position: absolute; top: -3px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(52,205,239,.18); transform: translateX(-50%); transition: left 600ms var(--ease); }
.yr-events { position: relative; height: 54px; }
.ev { position: absolute; left: calc(var(--m) / 12 * 100%); top: 0; display: grid; gap: 2px; text-align: left; padding: 7px 10px; border-radius: var(--r1); border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); color: var(--on-dark); font: inherit; cursor: pointer; white-space: nowrap; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease); }
.ev b { font-size: 13px; font-weight: 600; }
.ev span { font: 500 11px/1 var(--mono); color: var(--on-dark-2); }
.ev[aria-selected="true"] { background: var(--blue); border-color: var(--blue-hi); box-shadow: 0 10px 24px -10px rgba(47,107,255,.8); }
.ev[aria-selected="true"] span { color: #dbe6ff; }
.ev:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .ev:hover { border-color: var(--blue-hi); transform: translateY(-2px); } }
.yr-panel { display: grid; grid-template-columns: 1fr 1fr; }
.yr-col { padding: clamp(18px, 2.2vw, 30px); transition: opacity 220ms var(--ease); }
.yr-panel.swap .yr-col { opacity: 0; }
.by-hand { border-right: 1px solid var(--line-dark); }
.yr-k { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-2); margin-bottom: 10px; }
.with-rr .yr-k { color: var(--cyan); }
.yr-col h3 { font-family: var(--display); font-size: clamp(19px, 1.5vw, 26px); line-height: 1.2; margin-bottom: 8px; }
.by-hand h3 { color: var(--on-dark-2); }
.yr-col p { color: var(--on-dark-2); font-size: 15.5px; line-height: 1.55; }
.with-rr p:not(.yr-k):not(.yr-src) { color: var(--on-dark); }
.yr-src { margin-top: 12px; font: 500 12px/1.4 var(--mono) !important; color: var(--sky) !important; }
.always { list-style: none; margin: clamp(16px, 2vw, 24px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r3); overflow: hidden; }
.always li { background: var(--n950); padding: 18px clamp(16px, 1.8vw, 26px); }
.always b { display: block; font-family: var(--display); font-size: clamp(22px, 2vw, 34px); line-height: 1.1; color: #fff; margin-bottom: 6px; }
.always span { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2); }
@media (max-width: 1100px) {
  .yr-months, .yr-track { display: none; }
  .yr-events { height: auto; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .yr-events::-webkit-scrollbar { display: none; }
  .ev { position: static; flex: none; }
  .yr-panel { grid-template-columns: 1fr; }
  .by-hand { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .always { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .yr-now, .yr-col, .ev { transition: none; } }

/* =================== v5: proof strip, the whole book =================== */
.strip { padding: clamp(36px, 4vw, 60px) 0 clamp(26px, 3vw, 40px); background: radial-gradient(60% 120% at 80% 0%, #132c66 0%, transparent 60%), var(--n900); }
.strip-h { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2vw, 34px); line-height: 1.15; color: #fff; margin-bottom: clamp(18px, 2.2vw, 30px); max-width: 30em; }
.strip-h em { font-style: normal; color: var(--cyan); }
.strip .strip-grid > div { padding: 2px clamp(16px, 2vw, 32px); }
.strip .strip-grid > div:first-child { padding-left: 0; }
.strip .strip-grid b { font: 700 clamp(44px, 5.2vw, 92px)/.95 var(--display); letter-spacing: -.02em; }
.strip .strip-grid b small { font: 600 .36em var(--display); letter-spacing: 0; color: var(--on-dark-2); }
.strip .strip-grid > div > span { font-size: clamp(13.5px, 1vw, 16px); margin-top: 10px; }
.strip .strip-grid .hi b { color: var(--cyan); }
.strip .strip-grid .hi b small { color: var(--cyan); opacity: .75; }
.svc { margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(18px, 2vw, 26px); border-top: 1px solid var(--line-dark); }
.svc-h { font-size: clamp(15px, 1.1vw, 18px); color: var(--on-dark-2); margin-bottom: 14px; }
.svc-h b { color: #fff; font-weight: 600; }
.svc-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; background: rgba(150,178,255,.08); }
.svc-bar i { flex: none; width: 0; transition: width 900ms var(--ease); }
.strip.in .svc-bar i { width: var(--w); }
.svc-bar i:nth-child(2) { transition-delay: 60ms; } .svc-bar i:nth-child(3) { transition-delay: 120ms; } .svc-bar i:nth-child(4) { transition-delay: 180ms; }
.svc-bar i:nth-child(5) { transition-delay: 240ms; } .svc-bar i:nth-child(n+6) { transition-delay: 300ms; }
.svc-leg { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--on-dark-2); }
.svc-leg li { display: flex; align-items: baseline; gap: 7px; }
.svc-leg li::before { content: ""; width: 9px; height: 9px; border-radius: 2px; align-self: center; background: var(--c); }
.svc-leg b { font: 600 14px var(--mono); color: #fff; }
.s0 { --c: #2f6bff; } .s1 { --c: #34cdef; } .s2 { --c: #5d8dff; } .s3 { --c: #8cc4ff; } .s4 { --c: #1f4fd6; }
.s5 { --c: #6fe0f5; } .s6 { --c: #3b57a8; } .s7 { --c: #b9d8ff; } .s8 { --c: #52648f; }
.svc-bar i { background: var(--c); }
.strip .strip-src { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 20px; }
.strip .strip-src b { color: var(--on-dark); font-weight: 500; }
@media (max-width: 900px) {
  .strip .strip-grid { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .strip .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .svc-bar i { width: var(--w); transition: none; } }
.strip .strip-grid b > span { display: inline; font: inherit; margin: 0; color: inherit; }
