/* ZOOM Geocoder site styles: tokens, base, buttons, nav, footer. From the I Dusk v13 mockup. */
:root {
  /* Two grounds. Navy: RATA navy lifted to dusk, OKLCH L .335 (C's night ground was about .20). White: a few points off, toward the navy's hue. */
  --navy: #1D365D; --navy-deep: #112748; --navy-raised: #2C476E; --navy-line: #455D81;
  --on-navy: #EFF4FA; --on-navy-soft: #D0DCE9; --on-navy-mute: #AEC0D4; --tract: #8BCDF8;
  --paper: #F8FAFE; --paper-2: #EFF3F9; --paper-line: #CBD3E0;
  --ink: #0F2544; --ink-soft: #3A4E6B; --ink-mute: #495C77; --tract-ink: #1A588F;
  /* The logo's lens yellow is the accent only: scan line, primary button, the active pin and readout. Pins are red. */
  --lens: #F9DB38; --lens-lit: #FEED8C; --pin: #E5484D;
  --field-ink: #7EA9D5;
  /* dusk map */
  --map-land: #243C60; --map-lu: #294164; --map-pk: #304769; --map-gr: #124C58; --map-water: #005487; --map-bd: #4A648B; --map-casing: #142A4A;
  --map-rs: #4D6585; --map-rr: #597494; --map-rt: #6986A7; --map-rp: #829FBD; --map-fw: #617692; --map-label: #D0E0F2;
  --ppm: 2.2;                                                   /* hero scale: pixels per meter (1.9 on phones) */
  /* per-ground roles, switched by .on-navy / .on-paper */
  --bg: var(--navy); --fg: var(--on-navy); --fg-soft: var(--on-navy-soft); --fg-mute: var(--on-navy-mute); --hair: var(--navy-line); --surface: var(--navy-raised); --focus: var(--lens);
  --font: 'Commissioner', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  /* radius scales with the element: 8 inputs and tags, 14 panels, 22 stages, pills on buttons */
  --r-s: 8px; --r-m: 14px; --r-l: 22px; --r-pill: 999px;
  --w: clamp(1200px, 80vw, 1640px);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --fx-ease-out: cubic-bezier(0.16, 1, 0.3, 1); --fx-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); --fx-ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --fx-dur-micro: 140ms; --fx-dur-state: 240ms; --fx-dur-move: 420ms; --fx-dur-hero: 1100ms; --fx-stagger: 70ms; --fx-distance: 28px;
  --scroll-thumb: rgb(174 192 212 / 0.55); --scroll-thumb-hover: var(--lens); --scroll-track: transparent;
  color-scheme: dark;
}
@media (max-width: 700px) { :root { --ppm: 1.9; } }
.on-navy, .on-paper { background: var(--bg); color: var(--fg); }
.on-navy { --bg: var(--navy); --fg: var(--on-navy); --fg-soft: var(--on-navy-soft); --fg-mute: var(--on-navy-mute); --hair: var(--navy-line); --surface: var(--navy-raised); --focus: var(--lens); }
.on-paper { --bg: var(--paper); --fg: var(--ink); --fg-soft: var(--ink-soft); --fg-mute: var(--ink-mute); --hair: var(--paper-line); --surface: var(--paper-2); --focus: var(--tract-ink); }

html { background: var(--navy); color: var(--on-navy); scrollbar-gutter: stable; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: var(--scroll-track); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 3px solid transparent; background-clip: padding-box; border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background-color: var(--scroll-thumb-hover); }
::-webkit-scrollbar-button { display: none; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); } }

* , *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 18px/1.55 var(--font); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
::selection { background: var(--lens); color: var(--ink); }
:root { caret-color: var(--tract-ink); accent-color: var(--tract-ink); }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(34px, 4.7vw, 60px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.1vw, 43px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
.num, td, .tnum, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 20px; border-radius: var(--r-s); background: var(--lens); color: var(--ink); font-weight: 650; text-decoration: none; transition: top var(--fx-dur-state) var(--fx-ease-out); }
.skip:focus { top: 12px; }
.wrap { width: min(var(--w), calc(100% - 48px)); margin-inline: auto; }
section[id] { scroll-margin-top: 72px; }
/* Lenis's required rules (smooth scrolling, same set-up as rataassociates.com) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
[data-lenis-prevent] { overscroll-behavior: contain; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.45; color: var(--fg-soft); }
.credit { font-size: 13px; line-height: 1.4; color: var(--fg-mute); }
.sec { padding: var(--s9) 0 var(--s10); }
@media (max-width: 720px) { .sec { padding: var(--s8) 0; } }

/* ---------- Buttons: fill sweep (hover-kit), yellow only on the primary action ---------- */
.btn { --_base: var(--navy); --_ink: var(--on-navy); --_fill: var(--lens); position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; isolation: isolate; overflow: hidden;
  border: 1px solid var(--_base); border-radius: var(--r-s); background: var(--_base); color: var(--_ink); font: 650 17px/1 var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: color var(--fx-dur-state) var(--fx-ease-out), scale var(--fx-dur-micro) var(--fx-ease-out); }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--_fill); transform: translateY(101%); border-radius: 50% 50% 0 0 / 40% 40% 0 0; transition: transform var(--fx-dur-move) var(--fx-ease-out), border-radius var(--fx-dur-move) var(--fx-ease-out); }
.btn:active { scale: 0.98; }
.btn:focus-visible { color: var(--_hov); } .btn:focus-visible::before { transform: none; border-radius: 0; }
@media (hover: hover) { .btn:hover { color: var(--_hov); } .btn:hover::before { transform: none; border-radius: 0; } }
.btn--lens { --_base: var(--lens); --_ink: var(--ink); --_fill: var(--lens-lit); --_hov: var(--ink); border-color: var(--lens); }
.btn--navy { --_base: var(--navy); --_ink: var(--on-navy); --_fill: var(--lens); --_hov: var(--ink); }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--hair); border-radius: var(--r-s); background: transparent; color: var(--fg); font: 600 14px/1 var(--font); cursor: pointer; transition: background-color var(--fx-dur-micro) linear, border-color var(--fx-dur-micro) linear, scale var(--fx-dur-micro) var(--fx-ease-out); }
.chip:hover { background: var(--surface); border-color: var(--fg-mute); }
.chip:active { scale: 0.98; }

/* ---------- Nav: full-width bar with a solid paper backing, fixed by design; the logo sits on it in its own colors ---------- */
.nav { --focus: var(--tract-ink); position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 64px; background: var(--paper); border-bottom: 1px solid var(--paper-line); color: var(--ink); }
.nav__pill { height: 100%; width: min(var(--w), calc(100% - 48px)); margin-inline: auto; display: flex; align-items: center; gap: var(--s4); }
.nav__logo { display: flex; align-items: center; height: 48px; margin-right: auto; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: var(--s1); }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-s); color: var(--ink-soft); font-size: 16px; font-weight: 600; text-decoration: none; transition: color var(--fx-dur-state) linear, background-color var(--fx-dur-state) linear; }
.nav__links a:hover { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a[aria-current="true"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--navy); }
.nav__menu { display: none; justify-content: center; width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--paper-line); border-radius: var(--r-s); background: transparent; color: var(--ink); font: 650 15px/1 var(--font); cursor: pointer; }
.nav__menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; overflow: visible; }
.nav__menu path { transform-origin: 12px 12px; transition: transform var(--fx-dur-state) var(--fx-ease-out), opacity var(--fx-dur-micro) linear; }
.nav__menu[aria-expanded="true"] .hb1 { transform: rotate(45deg) translateY(5px); }
.nav__menu[aria-expanded="true"] .hb2 { opacity: 0; }
.nav__menu[aria-expanded="true"] .hb3 { transform: rotate(-45deg) translateY(-5px); }
@media (prefers-reduced-motion: reduce) { .nav__menu path { transition: none; } }
.nav__rule { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.nav__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-s); background: var(--navy); color: var(--on-navy); font-size: 15px; font-weight: 650; text-decoration: none; transition: background-color var(--fx-dur-micro) linear, scale var(--fx-dur-micro) var(--fx-ease-out); }
.nav__login:hover { background: var(--ink); text-decoration: none; }
.nav__login:active { scale: 0.98; }
.menu { position: fixed; inset: 64px 0 0 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s6); padding: var(--s6) var(--s5); background: var(--navy); color: var(--on-navy); overflow-y: auto; }
.menu[hidden], [data-for][hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--navy-line); font-size: 36px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.menu__tel { font: 500 15px/1.4 var(--font); color: var(--on-navy-mute); text-decoration: none; }
.menu__tel b { display: block; margin-top: 4px; font: 700 24px/1.2 var(--font); color: var(--on-navy); }
@media (max-width: 720px) {
  .nav { height: 56px; } .menu { inset: 56px 0 0 0; }
  .nav__pill { width: calc(100% - 32px); gap: var(--s2); }
  .nav__logo { height: 44px; } .nav__logo img { height: 38px; }
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; align-items: center; }
  .nav__login { padding: 0 16px; }
}


/* ---------- Footer (paper): three-point minimal, plain ---------- */
.foot { padding: var(--s7) 0 var(--s6); border-top: 1px solid var(--hair); }
.foot__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s4) var(--s8); align-items: center; }
.foot__row img { width: 126px; height: auto; display: block; }
.foot__row p { font-size: 16px; color: var(--fg-soft); max-width: 38em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--s5); font-size: 16px; font-weight: 600; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot .credit { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--hair); max-width: none; }
@media (max-width: 860px) { .foot__row { grid-template-columns: 1fr; justify-items: start; } .foot { padding-bottom: 96px; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font: inherit;
  border: 1px solid var(--navy-line); border-radius: var(--r-s); background: var(--navy-deep); color: var(--on-navy); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--fx-dur-state) var(--fx-ease-out), transform var(--fx-dur-state) var(--fx-ease-out), background-color var(--fx-dur-micro) linear, visibility 0s linear var(--fx-dur-state); }
.to-top:hover { background: var(--navy-raised); }
.to-top:focus-visible { outline: 3px solid var(--lens); outline-offset: 3px; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:active { scale: 0.96; }
.to-top.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; } /* phones: off while the steps are pinned, so it never covers step text */
@media (max-width: 600px) { .to-top { width: 44px; height: 44px; right: 12px; bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transform: none; } }

/* ---------- Analytics consent bar (inc_footer.php, assets/js/consent.js): navy strip, the scan line along its top ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 54; display: flex; align-items: center; gap: var(--s5) var(--s6);
  padding: var(--s4) max(24px, calc((100% - var(--w)) / 2)); padding-bottom: max(var(--s4), env(safe-area-inset-bottom));
  background: var(--navy-deep); color: var(--fg-soft); border-top: 3px solid var(--lens); box-shadow: 0 -12px 32px rgb(0 0 0 / 0.25);
  animation: consent-in var(--fx-dur-move) var(--fx-ease-out); }
.consent[hidden] { display: none; }
.consent p { flex: 1; margin: 0; font-size: 16px; line-height: 1.5; max-width: 62em; }
.consent b { color: var(--fg); font-weight: 650; }
.consent a { color: var(--fg); text-underline-offset: 3px; }
.consent__btns { display: flex; gap: var(--s3); flex-shrink: 0; margin-left: auto; }
.consent .btn { min-height: 48px; padding: 0 24px; }
@keyframes consent-in { from { transform: translateY(100%); } }
.has-consent body { padding-bottom: var(--consent-h, 0px); }
.has-consent .to-top { bottom: calc(var(--consent-h, 0px) + 16px); }
@media (max-width: 720px) {
  .consent { flex-direction: column; align-items: stretch; gap: var(--s4); padding: var(--s4) var(--s5) max(var(--s5), env(safe-area-inset-bottom)); }
  .consent p { font-size: 15px; }
  .consent__btns > .btn { flex: 1; padding: 0 var(--s4); }
}
@media (max-width: 600px) { .has-consent .to-top { bottom: calc(var(--consent-h, 0px) + 12px); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }

/* ---------- Reveal states ---------- */
@media (prefers-reduced-motion: no-preference) { html.js:not(.fx-failsafe):not(.cr-ready) .cr { clip-path: inset(0 0 100% 0); } }
@media (prefers-reduced-motion: reduce) {
  .fld__frame { --lock: 1; }
  .btn::before { transform: none; opacity: 0; border-radius: 0; }
  .btn:hover::before, .btn:focus-visible::before { opacity: 1; }
}

/* ---------- Nav additions for the live site: sign-in state on the right ---------- */
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--navy); }
.nav__cta { display: flex; align-items: center; gap: var(--s2); }
.nav__out { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-s); color: var(--ink-soft); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav__out:hover, .nav__out[aria-current="page"] { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.menu__foot { display: grid; gap: var(--s4); }
.menu__who { font-size: 15px; color: var(--on-navy-mute); overflow-wrap: anywhere; }
.menu__who b { color: var(--on-navy); font-weight: 600; }
@media (max-width: 720px) { .nav__out { display: none; } }
.btn--danger { --_base: #B42318; --_ink: #fff; --_fill: #8E1B12; --_hov: #fff; border-color: #B42318; }
.btn--line { --_base: transparent; --_ink: var(--fg); --_fill: var(--surface); --_hov: var(--fg); border-color: var(--hair); }
.btn .ext { width: 14px; height: 14px; margin-left: 8px; }

/* ---------- Inner pages: navy title band, paper body ---------- */
.page-head { padding: calc(64px + var(--s8)) 0 var(--s8); }
.page-head h1 { max-width: 18em; }
.page-head .lead { margin-top: var(--s4); max-width: 40em; }
.page-head__meta { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3); }
.page-body { padding: var(--s8) 0 var(--s9); }
@media (max-width: 720px) { .page-head { padding: calc(56px + var(--s7)) 0 var(--s7); } .page-body { padding: var(--s7) 0 var(--s8); } }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--s8); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: var(--s7); } }
.narrow { max-width: 560px; }

/* prose: terms, about */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); margin: var(--s7) 0 var(--s3); }
.prose h3 { font-size: 20px; margin: var(--s6) 0 var(--s2); }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--s4); }
.prose ul { list-style: disc; padding-left: 1.2em; } .prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li { margin-bottom: var(--s2); }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--tract-ink); }

/* long documents (terms): text fills the row, section index pinned on the right and following the reader */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 24%, 340px); gap: clamp(48px, 5vw, 96px); align-items: start; }
.doc .prose { max-width: none; }
.doc .prose h2 { scroll-margin-top: 96px; }
@media (min-width: 1500px) { .doc .prose { font-size: 19px; } }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; padding-left: var(--s5); border-left: 1px solid var(--hair); font-size: 14.5px; line-height: 1.3; }
.toc__title { margin: 0 0 var(--s2); font-size: 12px; text-transform: uppercase; color: var(--fg-mute); }
.toc a { display: block; margin-left: calc(-1 * var(--s5) - 1px); padding: 4px 0 4px calc(var(--s5) - 1px); border-left: 2px solid transparent; color: var(--fg-soft); text-decoration: none; transition: color var(--fx-dur-micro) var(--fx-ease-out), border-color var(--fx-dur-micro) var(--fx-ease-out); }
.toc a:hover, .toc a:focus-visible { color: var(--fg); text-decoration: underline; }
.toc a[aria-current] { color: var(--fg); font-weight: 600; border-left-color: var(--fg); }
@media (max-width: 1100px) { .doc { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

/* panels and notices */
.panel { padding: var(--s6); border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--paper); }
.panel--tint { background: var(--surface); }
.panel h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: var(--s3); }
.panel p + p { margin-top: var(--s3); }
@media (max-width: 600px) { .panel { padding: var(--s5); } }
.notice { margin: 0 0 var(--s6); padding: var(--s4) var(--s5); border: 1px solid var(--hair); border-left: 4px solid var(--tract-ink); border-radius: var(--r-s); background: var(--paper-2); color: var(--ink); font-size: 17px; }
.notice--ok { border-left-color: #2F8A3B; background: #EEF7EF; }
.notice--err { border-left-color: var(--pin); background: #FDEEEE; }
.notice--wait { border-left-color: #C79A00; background: #FFF8DB; }
.notice b, .notice strong { font-weight: 650; }
.on-navy .notice { color: var(--ink); }

/* page header art: one line drawing per page (inc_headart.php), right of the heading */
.page-head--art { position: relative; isolation: isolate; overflow: clip; }
.page-head--art > .wrap { position: relative; z-index: 1; }
/* Faded photo under the band: grayscale file, tinted by the navy through luminosity, strongest behind the heading and
   thinning out under the drawing so the line art stays the subject */
.page-head__photo { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; opacity: 0.2; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgb(0 0 0 / 0.45) 72%, rgb(0 0 0 / 0.3) 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgb(0 0 0 / 0.45) 72%, rgb(0 0 0 / 0.3) 100%); }
@media (max-width: 860px) { .page-head__photo { opacity: 0.16; -webkit-mask-image: none; mask-image: none; } }
.page-head--art .page-head__art { position: absolute; z-index: 0; top: calc(64px + var(--s4)); bottom: var(--s4); right: max(24px, calc((100% - var(--w)) / 2)); width: min(46%, 600px); }
.page-head__art svg { width: 100%; height: 100%; overflow: visible; }
.page-head__art { --ha-line: #7F97BC; --ha-faint: #3E5880; }
.page-head__art line, .page-head__art path, .page-head__art polyline, .page-head__art rect, .page-head__art circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ha-line { stroke: var(--ha-line); stroke-width: 1.6; }
.ha-faint { stroke: var(--ha-faint); stroke-width: 1.2; }
.ha-grid { stroke: var(--ha-faint); stroke-width: 1; stroke-dasharray: 2 6; }
.ha-lens-line { stroke: var(--lens); stroke-width: 2; }
.ha-dash { stroke-dasharray: 4 7; }
.ha-lens-ring { stroke: var(--lens); stroke-width: 6; }
.ha-ring { stroke: var(--lens); stroke-width: 1.2; opacity: 0.45; }
.page-head__art .ha-bar { fill: rgb(127 151 188 / 0.16); stroke: var(--ha-line); stroke-width: 1.4; }
.page-head__art .ha-sheet { fill: var(--navy); stroke: var(--ha-line); stroke-width: 1.4; }
.page-head__art .ha-sheet--back { stroke: var(--ha-faint); }
.page-head__art .ha-token { fill: rgb(249 219 56 / 0.08); stroke: var(--lens); stroke-width: 1.6; }
.page-head__art .ha-pin path { fill: var(--lens); stroke: var(--navy-deep); stroke-width: 1.2; }
.page-head__art .ha-pin circle { fill: var(--navy-deep); stroke: none; }
.ha-label { fill: var(--on-navy); font: 500 13px/1 var(--mono); letter-spacing: 0.04em; }
.ha-label--soft { fill: #9DB0CC; }
.ha-big { fill: var(--on-navy); font: 700 44px/1 var(--font); letter-spacing: -0.03em; }
.ha-seal-text { fill: #9DB0CC; font: 500 12.5px/1 var(--mono); letter-spacing: 0.18em; }
.ha-section { fill: var(--lens); font: 700 56px/1 var(--font); }
html.js .ha-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ha-draw 1100ms var(--fx-ease-out) forwards; animation-delay: calc(150ms + var(--d, 0ms)); }
html.js .ha-pop { opacity: 0; animation: ha-pop 480ms var(--fx-ease-out) forwards; animation-delay: calc(700ms + var(--d, 0ms)); }
html.js .ha-ring { animation: ha-ring 2.8s var(--fx-ease-out) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ha-draw { to { stroke-dashoffset: 0; } }
@keyframes ha-pop { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
@keyframes ha-ring { 0% { opacity: 0.55; scale: 0.6; } 100% { opacity: 0; scale: 1.25; } }
@media (prefers-reduced-motion: reduce) { html.js .ha-draw, html.js .ha-pop, html.js .ha-ring { animation: none; stroke-dashoffset: 0; opacity: 1; } }
@media (max-width: 860px) { .page-head--art .page-head__art { display: none; } }

/* figure card: a framed screenshot from ZOOM with a caption */
.fig { margin: 0; display: grid; gap: var(--s3); }
.fig__frame { position: relative; padding: var(--s4); border: 1px solid var(--hair); border-radius: var(--r-m); overflow: hidden; background: #fff; box-shadow: 0 18px 40px -24px rgb(17 39 72 / 0.45); }
.fig__frame img { display: block; width: 100%; height: auto; }
.fig figcaption { font-size: 15px; line-height: 1.45; color: var(--fg-mute); }
.balance { position: absolute; display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r-s); background: var(--navy); color: var(--on-navy); font-size: 14px; line-height: 1.3; box-shadow: 0 10px 24px -12px rgb(17 39 72 / 0.6); }
.balance b { font-size: 18px; letter-spacing: -0.01em; }
.balance .mono { font-size: 12px; color: var(--lens); text-transform: uppercase; }

/* Q&A beside a figure (pricing) */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.faq__grid .faq__list { max-width: none; }
.faq__fig { position: sticky; top: 104px; margin-top: calc(var(--s6) + 1.2em); padding-bottom: var(--s5); }
.faq__balance { right: -14px; bottom: 64px; }
@media (max-width: 1100px) { .faq__grid { grid-template-columns: 1fr; } .faq__fig { position: static; margin-top: 0; max-width: 620px; } .faq__balance { right: 12px; } }

/* stacked aside: panel plus figure or timeline */
@media (max-width: 960px) { .aside-stack--lead { order: -1; } }
.aside-stack, .stack { display: grid; gap: var(--s6); align-content: start; }
.stack > .notice { margin-bottom: 0; }
.panel--row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s3) var(--s6); align-items: start; }
.panel--row h2 { grid-column: 1 / -1; margin: 0; }
.panel--row p + p { margin-top: 0; }
.contact-form .field textarea { min-height: 236px; }

/* timeline (about) */
.timeline { position: relative; display: grid; gap: var(--s5); margin: 0; padding: 0 0 0 28px; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--hair); }
.timeline li { position: relative; display: grid; gap: 2px; font-size: 16px; line-height: 1.45; color: var(--fg-soft); }
.timeline li::before { content: ''; position: absolute; left: -28px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.timeline b { font-size: 18px; color: var(--fg); letter-spacing: -0.01em; }
.timeline__when { font-size: 13px; color: var(--tract-ink); }
.timeline__now::before { background: var(--lens) !important; }
.timeline__now img { margin-top: var(--s3); width: 100%; height: auto; border: 1px solid var(--hair); border-radius: var(--r-s); background: #fff; }

/* numbered steps inside a panel (sign-up, account action) */
.steps { display: grid; gap: var(--s4); margin: var(--s4) 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 2px; padding-left: 44px; font-size: 16px; line-height: 1.45; color: var(--fg-soft); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--lens); font: 600 14px/1 var(--mono); }
.steps b { font-size: 17px; color: var(--fg); }
.aside-call { font-size: 16px; color: var(--fg-mute); }
.form .form__row--addr { grid-template-columns: minmax(0, 2fr) minmax(0, 0.8fr) minmax(0, 1fr); }
@media (max-width: 600px) { .form .form__row--addr { grid-template-columns: 1fr 1fr; } .form .form__row--addr .field:first-child { grid-column: 1 / -1; } }
.choices .choice { padding: var(--s4) var(--s5); }
@media (min-width: 1100px) { .stack > .choices, .pick > .choices { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.choice:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Sign-up account type: a numbered step, three cards each with its own icon and tone, a radio that fills on the chosen one */
.pick { display: grid; gap: var(--s4); }
.pick__head { display: flex; align-items: center; gap: var(--s3); font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.pick__step { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--lens); font: 600 14px/1 var(--mono); }
.pick__req { margin-left: auto; padding: 4px 10px; border-radius: var(--r-pill); background: var(--paper-2); color: var(--ink-soft); font-size: 14px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.stack > .pick__head { margin-bottom: calc(var(--s2) - var(--s6)); }
.choices--type { gap: var(--s4); }
.choices--type .choice { --tone: var(--lens); grid-template-columns: 1fr auto; grid-template-areas: "icon radio" "title title" "note note"; align-content: start; gap: var(--s2) var(--s3); padding: var(--s5); border: 2px solid var(--paper-line); background: #fff; box-shadow: 0 1px 2px rgb(15 37 68 / 0.06), 0 10px 24px -18px rgb(15 37 68 / 0.45); transition: border-color var(--fx-dur-micro) linear, background-color var(--fx-dur-state) linear, color var(--fx-dur-state) linear, transform var(--fx-dur-state) var(--fx-ease-out), box-shadow var(--fx-dur-state) var(--fx-ease-out); }
.choices--type .choice--client { --tone: var(--tract); }
.choices--type .choice--regulator { --tone: #9EDCC4; }
.choices--type .choice__icon { grid-area: icon; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--s2); border-radius: 12px; background: var(--tone); color: var(--ink); }
.choices--type .choice__radio { grid-area: radio; width: 26px; height: 26px; border: 2px solid var(--paper-line); border-radius: 50%; background: #fff; transition: border-color var(--fx-dur-micro) linear, background-color var(--fx-dur-micro) linear; }
.choices--type .choice b { grid-area: title; font-size: 20px; line-height: 1.2; }
.choices--type .choice .choice__note { grid-area: note; font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.choices--type .choice:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 2px 4px rgb(15 37 68 / 0.06), 0 18px 32px -20px rgb(15 37 68 / 0.55); }
.choices--type .choice:hover .choice__radio { border-color: var(--navy); }
.choices--type .choice[aria-current="true"] { border-color: var(--navy); background: var(--navy); color: var(--on-navy); box-shadow: 0 18px 34px -18px rgb(17 39 72 / 0.7); transform: none; }
.choices--type .choice[aria-current="true"] .choice__note { color: var(--on-navy-soft); }
.choices--type .choice[aria-current="true"] .choice__radio { border-color: var(--lens); background: var(--lens) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2544' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (prefers-reduced-motion: reduce) { .choices--type .choice:hover { transform: none; } }
@media (max-width: 640px) {
  .pick__head { font-size: 20px; }
  .choices--type .choice { grid-template-columns: auto 1fr auto; grid-template-areas: "icon title radio" "icon note radio"; gap: 2px var(--s4); padding: var(--s4); }
  .choices--type .choice__icon { width: 44px; height: 44px; margin: 0; align-self: center; }
  .choices--type .choice__radio { align-self: center; }
}

/* sign-in forms */
.form--auth { max-width: 520px; }
.split .form--auth { max-width: none; }
/* login and forgot password: a form column sized to the fields, the help panel on the right edge */
.split--auth { grid-template-columns: minmax(0, 480px) minmax(0, 448px); justify-content: space-between; }
@media (max-width: 960px) { .split--auth { grid-template-columns: minmax(0, 560px); } }
.form__split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); font-size: 16px; }
/* reset page outside the site chrome (emailed link) and inside ZOOM (?src=iframe) */
.is-bare, html:has(> .is-bare) { background: var(--paper-2); }
/* Read-in-place overlay (site.js, a[data-overlay]): the terms on the sign-up form */
html.has-overlay { overflow: hidden; }
.overlay { width: min(100% - 32px, 860px); max-width: none; height: min(100dvh - 48px, 920px); max-height: none; margin: auto; padding: 0; border: 1px solid var(--paper-line); border-radius: var(--r-l); background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -40px rgb(13 30 56 / 0.6); }
.overlay[open] { display: flex; flex-direction: column; animation: overlay-in var(--fx-dur-move) var(--fx-ease-out); }
.overlay::backdrop { background: rgb(13 30 56 / 0.55); backdrop-filter: blur(3px); }
@keyframes overlay-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@media (prefers-reduced-motion: reduce) { .overlay[open] { animation: none; } }
.overlay__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); padding: var(--s5) var(--s6); border-bottom: 1px solid var(--hair); }
.overlay__title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.overlay__sub { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-mute); }
.overlay__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -10px 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background var(--fx-dur-micro) linear; }
.overlay__x:hover { background: var(--paper-2); }
.overlay__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--s2) var(--s6) var(--s6); scrollbar-width: thin; }
.overlay__body:focus-visible { outline: 2px solid var(--tract-ink); outline-offset: -4px; }
.overlay__body .prose { max-width: 72ch; }
.overlay__body .prose h2 { font-size: 21px; margin: var(--s6) 0 var(--s2); scroll-margin-top: var(--s4); }
.overlay__wait { color: var(--ink-mute); }
.overlay__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s3) var(--s5); padding: var(--s4) var(--s6); border-top: 1px solid var(--hair); background: var(--paper-2); border-radius: 0 0 var(--r-l) var(--r-l); }
.overlay__page { font-size: 15px; color: var(--ink-soft, var(--ink)); }
.overlay__btns { display: flex; gap: var(--s3); margin-left: auto; }
/* Read-to-the-end agreements: a reading meter under the header, a status line, and "I agree" locked until the end */
.overlay__meter { flex: none; height: 4px; background: var(--hair); }
.overlay__meter i { display: block; height: 100%; background: var(--tract-ink); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); transition: transform 120ms linear; }
.overlay__status { margin: 0; font-size: 15px; color: var(--ink-soft); }
.overlay__ok[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.overlay__end { height: 1px; }
@media (prefers-reduced-motion: reduce) { .overlay__meter i { transition: none; } }
@media (max-width: 600px) {
  .overlay { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .overlay__head, .overlay__foot { padding-inline: var(--s4); }
  .overlay__body { padding-inline: var(--s4); }
  .overlay__foot { border-radius: 0; }
  .overlay__page { display: none; }
  .overlay__btns { width: 100%; } .overlay__btns .btn { flex: 1; }
}
.is-bare .bare { min-height: 100vh; display: grid; place-items: start center; padding: var(--s8) var(--s4); }
.is-iframe .bare { min-height: 0; padding: var(--s4); place-items: start stretch; }
.reset-card { width: min(100%, 520px); padding: var(--s7) var(--s6); border: 1px solid var(--paper-line); border-radius: var(--r-l); background: var(--paper); box-shadow: 0 24px 60px -36px rgb(17 39 72 / 0.5); }
.is-iframe .reset-card { width: 100%; padding: 0; border: 0; box-shadow: none; background: transparent; }
.reset-card__logo img { display: block; height: 44px; width: auto; }
.reset-card__title { font-size: clamp(28px, 4vw, 36px); margin: var(--s2) 0 0; }
.is-iframe .reset-card__title { font-size: 21px; margin: 0; }
/* ZOOM opens the iframe variant in a 575 x 350 window: everything has to fit without scrolling */
.form__row--pw { row-gap: 6px; }
.form__row--pw .form__row-hint { grid-column: 1 / -1; }
.is-iframe .bare { padding: var(--s3) var(--s4); }
.is-iframe .stack { gap: var(--s3); }
.is-iframe .stack > p { margin: 0; }
.is-iframe .form { gap: var(--s3); }
.is-iframe .form__row--pw { grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
.is-iframe .field input { min-height: 42px; padding-block: 6px; }
@media (max-width: 440px) { .is-iframe .form__row--pw { grid-template-columns: 1fr; } }

/* account: pack picker, balance card, payment options */
.pack-pick { display: grid; gap: var(--s2); margin: 0; padding: 0; border: 0; }
/* Purchase terms right by the button (one-time, nonrefundable, expiry) and the read-to-the-end agree box */
.buy-terms { margin-top: var(--s5); padding: var(--s4) var(--s5); border: 1px solid var(--paper-line); border-left: 4px solid var(--tract-ink); border-radius: var(--r-s); background: var(--paper-2); }
.buy-terms > p { margin: 0 0 var(--s3); font-size: 16px; color: var(--ink-soft); }
.buy-terms > p b { color: var(--ink); }
.pack-pick legend { margin-bottom: var(--s3); font-size: 15px; font-weight: 650; color: var(--ink); }
.pack-pick .pack-pick__opt { grid-template-columns: minmax(0, 1fr) auto minmax(9em, auto); align-items: baseline; gap: var(--s4); padding: var(--s4) var(--s5); }
.pack-pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pack-pick__opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.pack-pick .pack-pick__opt b { font-size: 20px; }
.pack-pick .pack-pick__price { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-align: right; }
.pack-pick .pack-pick__per { font-size: 15px; color: var(--ink-mute); text-align: right; }
@media (max-width: 480px) { .pack-pick .pack-pick__opt { grid-template-columns: minmax(0, 1fr) auto; } .pack-pick .pack-pick__per { grid-column: 1 / -1; text-align: left; margin-top: calc(-1 * var(--s3)); } }
.balance-card { display: grid; gap: var(--s2); padding: var(--s6); border-radius: var(--r-m); background: var(--navy); color: var(--on-navy); }
.balance-card .mono { font-size: 12px; text-transform: uppercase; color: var(--lens); }
.balance-card b { font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.balance-card small { font-size: 18px; font-weight: 500; color: var(--on-navy-soft); }
.balance-card .credits_until { font-size: 15px; color: var(--on-navy-soft); }
.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 760px) { .pay-options { grid-template-columns: 1fr; } }
.pay-option { display: grid; gap: var(--s3); align-content: start; justify-items: start; padding: var(--s7) var(--s6); border: 1px solid var(--hair); border-radius: var(--r-l); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color var(--fx-dur-micro) linear, box-shadow var(--fx-dur-micro) linear; }
.pay-option:hover { border-color: var(--ink-mute); text-decoration: none; box-shadow: 0 18px 40px -28px rgb(17 39 72 / 0.5); }
.pay-option--alt { background: var(--paper-2); }
.pay-option__kicker { font-size: 13px; text-transform: uppercase; color: var(--tract-ink); }
.pay-option__price { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.pay-option__price small { font-size: 18px; font-weight: 500; color: var(--ink-mute); }
.pay-option > span:not(.btn):not(.mono) { color: var(--ink-soft); max-width: 36em; }
.pay-option .btn { margin-top: var(--s3); }
.pay-options__call { margin-top: var(--s5); }

/* site map and 404 link list */
.site-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); margin: 0; padding: 0; list-style: none; }
.site-list a { display: grid; gap: var(--s2); height: 100%; padding: var(--s5); border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color var(--fx-dur-micro) linear, box-shadow var(--fx-dur-micro) linear; }
.site-list a:hover { border-color: var(--ink-mute); box-shadow: 0 14px 30px -24px rgb(17 39 72 / 0.5); }
.site-list b { font-size: 20px; letter-spacing: -0.02em; }
.site-list span { font-size: 16px; color: var(--ink-soft); }
.site-list__path { font-size: 13px !important; color: var(--tract-ink) !important; }
.site-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .site-list--3 { grid-template-columns: 1fr; } }
.lead-ink { font-size: 20px; margin: 0 0 var(--s5); color: var(--ink); }

/* forms */
.form { display: grid; gap: var(--s5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .field > .field__label { font-size: 15px; font-weight: 650; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--ink-mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--paper-line); border-radius: var(--r-s); background: #fff; color: var(--ink); font: 400 17px/1.4 var(--font); transition: border-color var(--fx-dur-micro) linear, box-shadow var(--fx-dur-micro) linear; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tract-ink); box-shadow: 0 0 0 3px rgb(26 88 143 / 0.18); }
.field [aria-invalid="true"] { border-color: var(--pin); }
.field__hint { font-size: 14px; color: var(--ink-mute); }
.field__hint--err { color: #B42318; font-weight: 600; }
.field__err { font-size: 14px; font-weight: 600; color: #B42318; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.check__hint { margin: 6px 0 0 calc(20px + var(--s3)); font-size: 14.5px; color: var(--ink-mute); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.form__actions .aside { font-size: 15px; color: var(--ink-mute); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot */

/* choice cards (sign-up type, payment options) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s4); }
.choice { position: relative; display: grid; gap: var(--s2); padding: var(--s5); border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color var(--fx-dur-micro) linear, box-shadow var(--fx-dur-micro) linear; }
.choice:hover { border-color: var(--ink-mute); text-decoration: none; }
.choice b { font-size: 20px; letter-spacing: -0.02em; }
.choice span { font-size: 16px; color: var(--ink-soft); }
.choice[aria-current="true"], .choice:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:focus-visible) { outline: 2px solid var(--tract-ink); outline-offset: 2px; }

/* tables: minimal, no header fill, hairline rows */
.table-base { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-base caption { text-align: left; font-weight: 650; margin-bottom: var(--s2); }
.table-base th, .table-base td { padding: 12px 10px; border-bottom: 1px solid var(--hair); text-align: left; }
.table-base th { font-size: 14px; font-weight: 650; color: var(--fg-mute); }
.table-base .num { text-align: right; white-space: nowrap; }

.bare { padding: var(--s6) var(--s5); }

/* ---------- Plans and the call closer (home, pricing and inner pages) ---------- */
.plans { border-top: 1px solid var(--hair); padding-top: var(--s9); }
@media (max-width: 720px) { .plans { padding-top: var(--s8); } }
.plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s7); }
.pl { display: flex; flex-direction: column; gap: var(--s6); padding: var(--s7); border-radius: var(--r-m); min-height: 380px; }
.pl--clients { background: var(--navy); color: var(--on-navy); --fg: var(--on-navy); --fg-soft: var(--on-navy-soft); --fg-mute: var(--on-navy-mute); --hair: var(--navy-line); --focus: var(--lens); border: 1px solid var(--navy); }
.pl--credits { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: var(--s5) var(--s8); min-height: 0; background: var(--paper-2); color: var(--ink); --fg: var(--ink); --fg-soft: var(--ink-soft); --fg-mute: var(--ink-mute); --hair: var(--paper-line); border: 1px solid var(--paper-line); }
.pl__main { display: flex; flex-direction: column; gap: var(--s6); height: 100%; }
.packs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.packs caption { caption-side: top; text-align: left; padding-bottom: var(--s4); font-size: 24px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.packs th { padding: 0 0 var(--s3); border-bottom: 1px solid var(--ink); color: var(--fg-mute); font-size: 15px; font-weight: 600; text-align: right; }
.packs td { padding: var(--s4) 0; border-bottom: 1px solid var(--hair); font-size: 18px; text-align: right; }
.packs th:first-child, .packs td:first-child { text-align: left; }
.packs td:first-child b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.packs td:last-child { font-weight: 700; }
.packs tr:last-child td { border-bottom: 0; }
.packs__note { margin-top: var(--s4); font-size: 15px; color: var(--fg-mute); }
.pl--regulators { background: #FEF5C7; color: var(--ink); --fg: var(--ink); --fg-soft: var(--ink-soft); --fg-mute: var(--ink-mute); --hair: #E4D27B; border: 1px solid #E4D27B; }
.pl__for { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.pl__cost { display: grid; gap: var(--s2); }
.pl__cost b { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.pl__cost span { font-size: 17px; color: var(--fg-soft); max-width: 24em; }
.pl dl { margin: 0; border-top: 1px solid var(--hair); }
.pl dl > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--hair); }
.pl dt { color: var(--fg-mute); font-size: 16px; }
.pl dd { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.pl .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .plans__grid { grid-template-columns: 1fr; } .pl { padding: var(--s5); min-height: 0; } .pl dl > div { grid-template-columns: 7em minmax(0, 1fr); } .pl .btn { align-self: stretch; } .pl--credits { grid-template-columns: 1fr; gap: var(--s7); } .packs td:first-child b { font-size: 20px; } }

/* ---------- 7. Closer (navy): scene closer, the number is the CTA ---------- */
.closer { position: relative; isolation: isolate; overflow: clip; display: flex; align-items: center; min-height: clamp(440px, 36vw, 580px); padding: var(--s9) 0; background: var(--map-land); }
.closer__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.closer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(29 54 93 / 0.96) 0%, rgb(29 54 93 / 0.88) 34%, rgb(29 54 93 / 0.4) 58%, rgb(29 54 93 / 0) 76%); }
.closer__in { display: grid; gap: var(--s5); justify-items: start; }
.closer h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 600; max-width: 16em; }
.closer__fact { font-size: 19px; color: var(--on-navy-soft); max-width: 30em; }
.tel { display: inline-block; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; color: var(--on-navy); text-decoration: underline; text-decoration-color: var(--lens); text-decoration-thickness: 0.07em; text-underline-offset: 0.14em; white-space: nowrap; font-variant-numeric: tabular-nums; transition: text-decoration-thickness var(--fx-dur-micro) linear; }
.tel:hover { text-decoration-thickness: 0.12em; }
.tel:focus-visible { outline-color: var(--lens); outline-offset: 6px; }
.closer__credit { margin-top: var(--s2); }
@media (max-width: 860px) { .closer { min-height: 0; padding: var(--s8) 0; } .closer::before { background: linear-gradient(180deg, rgb(29 54 93 / 0.94) 0%, rgb(29 54 93 / 0.78) 60%, rgb(29 54 93 / 0.4) 100%); } .closer__img { object-position: 62% 50%; } }
.closer--short { min-height: 0; padding: var(--s8) 0; }

/* FAQ: question / answer rows */
.faq__list { margin-top: var(--s6); border-top: 1px solid var(--hair); max-width: 960px; }
.faq__list > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s3) var(--s7); padding: var(--s5) 0; border-bottom: 1px solid var(--hair); }
.faq__list dt { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.faq__list dd { margin: 0; color: var(--fg-soft); }
@media (max-width: 760px) { .faq__list > div { grid-template-columns: 1fr; } }
.plans + .faq { padding-top: var(--s5); }
.page-head + .plans { border-top: 0; padding-top: var(--s8); }
.tel--sm { font-size: 28px; color: var(--ink); }
.on-paper, .nav, .foot { color-scheme: light; }
