/* DaqFox — site.css
 * White page, one cool grey band, one navy band to close. Navy ink, steel accents.
 * Light only. Tokens first, then base, layout, components, pages.
 *
 * Type scale (use only these):  11 · 13 · 15 · 17 · 20 · 24 · h2 · h1
 * Breakpoints (use only these): 1020 (nav, hero) · 860 (splits stack) · 560 (phone)
 * Shadow: only the hero app window and the calculator.
 */

@font-face { font-family: "Space Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  /* identity */
  --navy: #0E1A2B;
  --navy-2: #1A2A40;          /* lines and hovers on navy */
  --steel: #4A90A4;
  --steel-ink: #36707F;       /* steel for text on white: 5.3:1 */
  --steel-deep: #2E6170;
  --steel-light: #8EC3D2;     /* steel for text on navy */
  --led: #7FE3F5;             /* the fox's LED eyes; only on navy */
  --navy-deep: #0A1422;
  --steel-tint: #E5F0F3;
  --steel-wash: #F1F7F8;

  /* surfaces */
  --bg: #FFFFFF;
  --bg-alt: #F2F5F7;
  --rule: #DDE2E6;
  --rule-strong: #C3CBD2;

  /* ink */
  --ink: #0E1A2B;
  --text: #465061;            /* 7.6:1 on white */
  --mute: #5E6874;            /* 5.6:1 on white, 5.1:1 on --bg-alt */
  --on-navy: #C5D0DA;
  --error: #A3341B;

  /* the app's own chrome, inside mockups only */
  --app-panel: #DDE3E6;
  --app-panel-2: #EEF1F3;
  --app-btn: #3B7387;
  --app-live: #1F7A46;
  --app-live-bg: #E3F1E8;
  --app-amber: #9A5B00;
  --badge-1: #0E1A2B;
  --badge-2: #D9661A;

  /* type */
  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --fs-11: 11px;
  --fs-13: 13px;
  --fs-15: 15px;
  --fs-17: 17px;
  --fs-20: clamp(18px, 1.1vw + 13px, 20px);
  --fs-24: clamp(20px, 1vw + 14px, 24px);
  --fs-h2: clamp(28px, 1.8vw + 18px, 40px);
  --fs-h1: clamp(38px, 3.4vw + 18px, 60px);

  /* rhythm */
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1200px;
  --section: clamp(64px, 8vw, 112px);
  --radius: 3px;
  --shadow: 0 2px 4px rgba(14, 26, 43, .06), 0 24px 48px -20px rgba(14, 26, 43, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);       /* entrances, feedback */
  --ease-in-out: cubic-bezier(.645, .045, .355, 1); /* things already on screen that move */

  color-scheme: light;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; scrollbar-color: var(--rule-strong) var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--fs-17)/1.6 var(--f-body); font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--steel); color: #fff; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-24); line-height: 1.2; }
h4 { font-size: var(--fs-17); line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--steel-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 2px; }
strong { color: var(--ink); font-weight: 600; }
code, kbd, samp, .mono { font-family: var(--f-mono); font-size: .92em; }
code { background: var(--steel-wash); border: 1px solid var(--rule); border-radius: 2px; padding: .05em .3em; color: var(--ink); }
kbd {
  display: inline-block; min-width: 1.9em; padding: .12em .45em .08em; text-align: center;
  font-size: .8em; font-weight: 500; color: var(--ink); line-height: 1.4;
  background: #fff; border: 1px solid var(--rule-strong); border-bottom-width: 2px; border-radius: 4px;
}
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* spacing helpers */
.after { margin-top: 24px; }
.after-sm { margin-top: 12px; }
.after-gap { margin-top: clamp(32px, 4vw, 48px); }
.after-gap-sm { margin-bottom: 16px; }
.h3 { font-size: var(--fs-24); line-height: 1.2; }
.h-sub { font-size: var(--fs-24); margin-bottom: 16px; }
.fine { font-size: var(--fs-13); color: var(--mute); }

/* ---------- wordmark ---------- */

.wordmark { font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.wm-daq { color: var(--navy); }
.wm-fox { color: var(--steel); }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup .wordmark { font-size: var(--fs-24); }
.lockup img { width: 38px; height: 38px; }

/* ---------- buttons ---------- */

.btn {
  --b: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 600 var(--fs-15)/1.2 var(--f-body);
  color: #fff; background: var(--b); border: 1px solid var(--b); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s var(--ease-out);
}
.btn:hover { --b: var(--steel-deep); color: #fff; }
.btn:active { transform: scale(.97); }
.btn--line { color: var(--navy); background: transparent; border-color: var(--rule-strong); }
.btn--line:hover { color: var(--navy); background: #fff; border-color: var(--navy); }
.btn--small { min-height: 40px; padding: 8px 16px; }
.btn--invert { --b: #fff; color: var(--navy); }
.btn--invert:hover { --b: var(--steel-tint); color: var(--navy); }
.btn--line-invert { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.btn--line-invert:hover { color: #fff; background: var(--navy-2); border-color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.site-head__in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; min-height: 72px; display: flex; align-items: center; gap: 24px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; }
.site-nav__links { display: flex; gap: 4px; margin-left: 16px; }
.site-nav__links a { position: relative; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: var(--fs-15); }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { color: var(--ink); }
.site-nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -15px; height: 2px; background: var(--steel); }
.site-nav__end { display: flex; align-items: center; gap: 16px; }
.lang-switch { font: 500 var(--fs-13)/1 var(--f-mono); color: var(--text); text-decoration: none; padding: 9px 10px; border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .site-head__in { justify-content: space-between; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
    font: 500 var(--fs-15)/1 var(--f-body); color: var(--ink); background: #fff;
    border: 1px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s var(--ease); }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -5px; } .nav-toggle__bars::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px; box-shadow: 0 24px 32px -24px rgba(14,26,43,.25);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; margin: 0; }
  .site-nav__links a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-17); }
  .site-nav__links a[aria-current="page"]::after { left: -12px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .site-nav__end { padding-top: 20px; justify-content: space-between; }
}

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt, .section--sheet { background: var(--bg-alt); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { font-size: var(--fs-17); max-width: 64ch; }
.lead { font-size: var(--fs-20); line-height: 1.55; color: var(--text); max-width: 56ch; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--center { align-items: center; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }

/* ---------- page head (inner pages) ---------- */

.page-head { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.page-head__in { display: grid; gap: 20px; }
.page-head__in > * { max-width: 860px; }
.page-head__note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: var(--fs-15); color: var(--mute); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); position: relative; isolation: isolate; border-bottom: 1px solid var(--rule); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(74,144,164,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(74,144,164,.12) 1px, transparent 1px);
  background-size: 96px 32px; background-position: -1px -1px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; align-content: center; }
.hero__copy h1 { max-width: 13ch; }
.hero__meta { font-size: var(--fs-15); color: var(--mute); max-width: 52ch; }
@media (max-width: 1020px) { .hero__in { grid-template-columns: minmax(0, 1fr); } .hero__copy h1 { max-width: 14ch; } }
@media (max-width: 560px) { .hero .actions .btn { width: 100%; } }

/* ---------- the demo: the DaqFox window above the sheet it writes into ---------- */

.demo { margin: 0; display: grid; gap: 14px; outline: none; }
.demo__app {
  position: relative; z-index: 2; width: 100%; order: -1;
  background: #fff; border: 1px solid var(--rule-strong); border-radius: 6px; box-shadow: var(--shadow);
  font: 500 var(--fs-11)/1.2 var(--f-body); color: var(--ink); overflow: hidden;
}
.demo__sheet { background: #fff; border: 1px solid var(--rule-strong); border-radius: 4px; overflow: hidden; }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--rule); font: 500 var(--fs-13)/1.3 var(--f-body); color: var(--mute); background: #FAFBFB; }
.sheet-bar__cell { font: 500 var(--fs-11)/1 var(--f-mono); color: var(--ink); border: 1px solid var(--rule-strong); padding: 4px 8px; min-width: 44px; text-align: center; background: #fff; }
.sheet-wrap { overflow: hidden; }
.sheet { width: 100%; border-collapse: collapse; font: 400 var(--fs-13)/1 var(--f-mono); color: var(--ink); table-layout: fixed; }
.sheet th, .sheet td { border: 1px solid var(--rule); height: 32px; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet thead th { height: 24px; background: #F6F7F8; color: var(--mute); font: 500 var(--fs-11)/1 var(--f-body); text-align: center; }
.sheet .rn { width: 38px; padding: 0; text-align: center; background: #F6F7F8; color: var(--mute); font: 500 var(--fs-11)/1 var(--f-body); }
.sheet .hdr td { font: 600 var(--fs-11)/1 var(--f-body); color: var(--text); background: var(--steel-wash); }
.sheet td:first-of-type { font-family: var(--f-body); color: var(--text); width: 18%; }
.sheet td.num { text-align: right; }
.sheet td.is-target { box-shadow: inset 0 0 0 2px var(--steel); }
.sheet td.is-new { animation: cell-in .9s var(--ease) both; }
.sheet td.is-over { animation: cell-over 1.2s var(--ease) both; }
@keyframes cell-in { from { background: var(--steel-tint); color: var(--steel-deep); } to { background: transparent; } }
@keyframes cell-over { 0%, 30% { background: #FBEFD9; color: var(--app-amber); } 100% { background: transparent; } }

.app-title { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--rule); }
.app-title img { width: 22px; height: 22px; }
.wordmark--app { font-size: var(--fs-15); }
.wordmark--app .wm-fox { color: var(--steel-ink); }
.app-title__licence { margin-left: auto; color: var(--mute); letter-spacing: .02em; }
.app-capture { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.app-btn {
  min-width: 132px; height: 36px; padding: 0 16px; border: 0; border-radius: 3px;
  background: var(--app-btn); color: #fff; font: 700 var(--fs-13)/1 var(--f-display); letter-spacing: .03em; cursor: pointer;
  transition: background-color .15s ease, transform .12s var(--ease-out);
}
.app-btn:hover { background: var(--steel-deep); }
.app-btn.is-pressed, .app-btn:active { transform: scale(.96); background: var(--navy); }
.app-repeat { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--rule-strong); border-radius: 3px; background: #fff; color: var(--ink); cursor: pointer; }
.app-repeat:hover { border-color: var(--ink); }
.app-repeat.is-pressed { background: #FBEFD9; color: var(--app-amber); border-color: var(--app-amber); }
.app-capture__hint { color: var(--mute); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-tabs { display: flex; background: var(--app-panel); padding: 0 8px; }
.app-tabs span { padding: 7px 10px 6px; font-weight: 600; color: var(--text); }
.app-tabs .is-on { color: var(--steel-ink); background: #fff; box-shadow: inset 0 -2px 0 var(--steel); }
.app-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: var(--app-panel); }
.app-sources--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.src { background: #fff; border-radius: 2px; padding-bottom: 10px; min-width: 0; }
.src__head { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 10px; background: var(--app-panel-2); border-bottom: 2px solid var(--steel); }
.src__name { color: var(--steel-ink); font-weight: 700; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; background: var(--app-live-bg); color: var(--app-live); font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.chip i { width: 7px; height: 7px; background: var(--app-live); display: block; }
.src__dev { padding: 7px 10px; color: var(--text); font-weight: 400; border-bottom: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src__meas { display: flex; justify-content: space-between; padding: 8px 10px 6px; font-weight: 700; color: var(--ink); }
.src__ready { font-weight: 400; color: var(--mute); display: inline-flex; align-items: center; gap: 5px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #5DB585; display: inline-block; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.rows { margin: 0 10px; border: 1px solid var(--rule-strong); }
.rows--wide { margin: 0; }
.row { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 6px; padding: 6px 8px; background: #F3F5F6; }
.rows--wide .row { padding: 10px 12px; }
.row + .row { border-top: 1px solid var(--rule); background: #fff; }
.badge { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.badge::before { content: ""; width: 7px; height: 7px; background: var(--badge-1); }
.badge.b2::before { background: var(--badge-2); }
.badge.b3::before { background: var(--steel); }
.badge.b4::before { background: #7A5BA6; }
.sig { font-weight: 400; color: var(--text); }
.val { font: 600 var(--fs-17)/1 var(--f-mono); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.rows--wide .val { font-size: var(--fs-20); }
.unit { font: 500 var(--fs-11)/1 var(--f-mono); color: var(--text); }
.big { margin: 0 10px; border: 1px solid var(--rule-strong); background: #F3F5F6; display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; padding: 12px 10px 13px; }
.app-sources--3 .big { padding: 14px 8px; }
.app-sources--3 .val { font-size: var(--fs-15); }
.val--big { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.01em; }
.val.is-caught { animation: caught .5s var(--ease); }
@keyframes caught { from { color: var(--steel); } }

.demo__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.demo__keys { font-size: var(--fs-13); color: var(--mute); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.demo__keys kbd:not(:first-child) { margin-left: 10px; }
.stamp {
  display: inline-block; padding: 4px 9px;
  font: 500 var(--fs-13)/1.2 var(--f-body);
  color: var(--steel-ink); border: 1px solid currentColor; border-radius: var(--radius);
}

@media (max-width: 560px) {
  .app-sources { grid-template-columns: 1fr; }
  .src:nth-child(2) .src__dev, .src:nth-child(2) .src__meas { display: none; }
  .app-capture__hint, .demo__keys { display: none; }
  .sheet tr > :nth-child(2) { display: none; }
  .sheet th, .sheet td { padding: 0 6px; font-size: var(--fs-11); }
}

/* ---------- typed vs captured ---------- */

.ledger { background: #fff; border: 1px solid var(--rule-strong); }
.ledger__row { display: grid; grid-template-columns: 128px 1fr; border-top: 1px solid var(--rule); }
.ledger__row:first-child { border-top: 0; }
.ledger__k { padding: 20px 16px; font-size: var(--fs-13); font-weight: 600; color: var(--mute); border-right: 1px solid var(--rule); }
.ledger__v { padding: 18px 20px; display: grid; gap: 6px; }
.ledger__v .reading { font: 500 26px/1.1 var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger__v .reading s { color: var(--error); text-decoration-thickness: 2px; }
.ledger__v small { font-size: var(--fs-15); color: var(--text); }
.ledger__row--ok { background: var(--steel-wash); }
.ledger__row--ok .reading { color: var(--steel-ink); }
.ledger__row--ok .ledger__k { color: var(--steel-ink); }
@media (max-width: 560px) { .ledger__row { grid-template-columns: 1fr; } .ledger__k { border-right: 0; border-bottom: 1px solid var(--rule); padding: 10px 16px; } }

/* ---------- facts: short ruled definitions ---------- */

.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--rule-strong); }
.fact { display: grid; grid-template-columns: 168px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.fact dt { font-weight: 600; color: var(--ink); font-size: var(--fs-15); }
.fact dd { margin: 0; font-size: var(--fs-15); }
@media (max-width: 560px) { .fact { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- spreadsheet bits in mockups ---------- */

.xl { border-collapse: collapse; width: 100%; font: 400 var(--fs-13)/1 var(--f-mono); color: var(--ink); }
.xl th, .xl td { border: 1px solid var(--rule); height: 38px; padding: 0 12px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.xl thead th, .xl tbody th { background: #F6F7F8; color: var(--mute); font: 500 var(--fs-11)/1 var(--f-body); text-align: center; }
.xl tbody th { width: 40px; }
.xl .start { box-shadow: inset 0 0 0 2px var(--steel); }
.xl--small { background: #fff; }
.formula { display: grid; grid-template-columns: auto 1fr; border: 1px solid var(--rule-strong); background: #fff; font: 400 var(--fs-13)/1.4 var(--f-mono); color: var(--ink); overflow: hidden; }
.formula__fx { padding: 12px 14px; border-right: 1px solid var(--rule); color: var(--mute); font-style: italic; font-family: var(--f-body); }
.formula__src { padding: 12px 14px; white-space: nowrap; overflow-x: auto; }

/* ---------- device register ---------- */

.register-wrap { overflow-x: auto; }
.register { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--rule-strong); }
.register th, .register td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.register thead th { font: 600 var(--fs-13)/1.2 var(--f-body); color: var(--mute); background: #FAFBFB; }
.register tbody tr:last-child td, .register tbody tr:last-child th { border-bottom: 0; }
.register tbody th { font: 700 var(--fs-17)/1.3 var(--f-display); color: var(--ink); letter-spacing: -.005em; min-width: 170px; }
.register .fam { display: block; font: 500 var(--fs-13)/1.3 var(--f-body); color: var(--mute); margin-bottom: 4px; letter-spacing: 0; }
.register th .model { font: 500 var(--fs-13)/1.3 var(--f-body); color: var(--text); white-space: nowrap; }
.register td { font-size: var(--fs-15); }
.register .mono { color: var(--ink); white-space: nowrap; font-size: var(--fs-15); }
.iface { display: inline-block; margin: 0 4px 4px 0; font: 600 var(--fs-13)/1 var(--f-body); color: var(--steel-deep); background: var(--steel-tint); padding: 5px 7px; border-radius: 2px; white-space: nowrap; }
@media (max-width: 860px) {
  .register thead { display: none; }
  .register, .register tbody, .register tr, .register th, .register td { display: block; width: 100%; }
  .register tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .register tbody tr:last-child { border-bottom: 0; }
  .register th, .register td { border: 0; padding: 4px 18px; }
  .register td[data-k]::before { content: attr(data-k) ": "; color: var(--mute); font: 400 var(--fs-13)/1.4 var(--f-body); }
}

/* ---------- numbered steps (no box) ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: step; padding-top: 18px; border-top: 2px solid var(--navy); }
.steps li::before { content: counter(step); font: 600 var(--fs-13)/1 var(--f-mono); color: var(--steel-ink); }
.steps h3 { font-size: var(--fs-20); }
.steps p { font-size: var(--fs-15); }
.licence-key { font: 500 var(--fs-15)/1 var(--f-mono); color: var(--ink); letter-spacing: .04em; background: var(--steel-wash); border: 1px dashed var(--steel); padding: 10px 12px; justify-self: start; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- terms and requirements: ruled columns, no box ---------- */

.terms, .reqs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); margin: 0; }
.terms > div, .reqs > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.terms dt, .reqs dt { font: 600 var(--fs-13)/1.2 var(--f-body); color: var(--mute); }
.terms dd, .reqs dd { margin: 0; color: var(--ink); font-weight: 500; font-size: var(--fs-17); line-height: 1.45; }
@media (max-width: 860px) { .terms, .reqs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .terms, .reqs { grid-template-columns: 1fr; } }

/* ---------- calculator ---------- */

.calc { background: #fff; border: 1px solid var(--rule-strong); box-shadow: var(--shadow); }
.calc__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border-bottom: 1px solid var(--rule-strong); }
.calc__in { padding: clamp(24px, 3vw, 40px); display: grid; gap: 28px; align-content: start; }
.calc__out { padding: clamp(24px, 3vw, 40px); background: var(--bg-alt); border-left: 1px solid var(--rule); display: grid; gap: 20px; align-content: start; }
.calc__req { padding: clamp(24px, 3vw, 40px); display: grid; gap: 24px; }
.calc__req .actions { justify-content: flex-end; }
@media (max-width: 860px) { .calc__top { grid-template-columns: 1fr; } .calc__out { border-left: 0; border-top: 1px solid var(--rule); } }

.readout { display: grid; gap: 4px; }
.readout__label { display: flex; justify-content: space-between; gap: 12px; font: 600 var(--fs-13)/1.2 var(--f-body); color: var(--ink); }
.readout__label span:last-child { font-weight: 400; color: var(--mute); }
.readout__val { font: 600 clamp(48px, 4vw + 24px, 72px)/1 var(--f-mono); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.readout__val small { font-size: .4em; color: var(--text); letter-spacing: 0; margin-left: 6px; }
.readout__note { font-size: var(--fs-15); color: var(--text); min-height: 1.6em; }

.bands { width: 100%; border-collapse: collapse; font-size: var(--fs-15); }
.bands th { text-align: left; font: 600 var(--fs-13)/1.2 var(--f-body); color: var(--mute); padding: 0 0 8px; border-bottom: 1px solid var(--rule-strong); }
.bands td { padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--mute); font-variant-numeric: tabular-nums; }
.bands th:not(:first-child), .bands td:not(:first-child) { text-align: right; }
.bands td:not(:first-child) { font-family: var(--f-mono); font-size: var(--fs-13); }
.bands tr.is-on td { color: var(--ink); font-weight: 600; }
.bands tr.is-on td:first-child { box-shadow: inset 3px 0 0 var(--steel); }
.bands tr.is-on td:first-child { text-indent: 10px; }
.bands tfoot td { border-bottom: 0; color: var(--ink); font-weight: 600; padding-top: 12px; }

/* ---------- forms ---------- */

.form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .label, legend.label { font: 600 var(--fs-15)/1.3 var(--f-body); color: var(--ink); }
legend.label { margin-bottom: 10px; }
.field .opt { font-weight: 400; color: var(--mute); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #9AA4AD; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(74,144,164,.22); }
.field input::placeholder, .field textarea::placeholder { color: #7D8691; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .hint { font-size: var(--fs-13); color: var(--mute); }
.field .err { font-size: var(--fs-13); color: var(--error); display: none; }
.field.has-error .err { display: block; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field { display: block; }

.stepper { display: grid; grid-template-columns: 48px 1fr 48px; max-width: 220px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; }
.stepper button { border: 0; background: transparent; font: 400 var(--fs-20)/1 var(--f-mono); color: var(--ink); cursor: pointer; }
.stepper button:hover { background: var(--steel-wash); }
.field .stepper input[type="number"] { border: 0; border-inline: 1px solid var(--rule); border-radius: 0; text-align: center; font: 600 var(--fs-20)/1 var(--f-mono); min-height: 52px; -moz-appearance: textfield; appearance: textfield; box-shadow: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.range { width: 100%; accent-color: var(--steel); }

.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; overflow: hidden; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; gap: 2px; padding: 11px 18px; text-align: center; font-weight: 600; color: var(--ink); font-size: var(--fs-15); transition: background-color .15s; height: 100%; }
.seg span small { font-weight: 400; color: var(--mute); font-size: var(--fs-13); }
.seg label + label span { border-left: 1px solid var(--rule); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:checked + span small { color: #C9D6DE; }
.seg input:focus-visible + span { outline: 2px solid var(--steel); outline-offset: -4px; }
.seg--wrap { display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
@media (max-width: 560px) { .seg--wrap { grid-template-columns: 1fr; } .seg--wrap label + label span { border-left: 0; border-top: 1px solid var(--rule); } }

.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; font-size: var(--fs-15); color: var(--ink); cursor: pointer; }
.check span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--rule-strong); border-radius: 2px; background: #fff; flex: none; }
.check input:checked + span { border-color: var(--steel); background: var(--steel-wash); }
.check input:checked + span::before { background: var(--steel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--steel); }
.check input:focus-visible + span { outline: 2px solid var(--steel); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--fs-15); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--steel); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border: 1px solid; border-radius: var(--radius); font-size: var(--fs-15); }
.notice--err { border-color: #E2B4A8; background: #FBEFEB; color: #7D2612; }
.notice[hidden] { display: none; }
.panel { background: #fff; border: 1px solid var(--rule-strong); padding: clamp(24px, 3.4vw, 44px); }

/* ---------- features page ---------- */

.chapter-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.chapter-head p { max-width: 62ch; }
.feature { display: grid; gap: 20px; align-content: start; }
.feature__copy { display: grid; gap: 12px; align-content: start; }
.feature__copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature__copy li { padding-left: 22px; position: relative; font-size: var(--fs-15); }
.feature__copy li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 1.5px; background: var(--steel); }
.feature--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature--wide + .feature-grid { margin-top: clamp(48px, 6vw, 80px); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 56px); }
.feature-grid > .feature { grid-template-rows: subgrid; grid-row: span 2; gap: 24px; }
.feature-grid > .feature > .stage { order: -1; }
@media (max-width: 860px) {
  .feature--wide, .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > .feature { grid-template-rows: auto; grid-row: auto; }
}

/* the stage: a quiet fill that holds every mockup at one size */
.stage { display: grid; align-content: start; }
.stage > * { width: 100%; }

.shot { background: #fff; border: 1px solid var(--rule-strong); border-radius: 4px; overflow: hidden; font: 500 var(--fs-11)/1.25 var(--f-body); color: var(--ink); }
.shot__bar { display: flex; align-items: center; background: var(--app-panel); padding: 0 8px; }
.shot__bar span { padding: 8px 10px 7px; font-weight: 600; color: var(--text); }
.shot__bar .is-on { background: #fff; color: var(--steel-ink); box-shadow: inset 0 -2px 0 var(--steel); }
.shot__body { padding: 16px; }
.shot .fine { font-size: var(--fs-11); }

.live-tabs { display: flex; gap: 6px; padding: 10px 16px 0; border-bottom: 1px solid var(--rule); }
.live-tabs span { font-weight: 600; padding: 7px 10px; border: 1px solid var(--rule); border-bottom: 0; color: var(--text); background: var(--app-panel-2); }
.live-tabs .is-on { background: #fff; color: var(--ink); margin-bottom: -1px; }
.live-figs { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 12px; align-items: end; padding: 16px; }
.live-figs div { display: grid; gap: 6px; }
.live-figs span { font-weight: 600; color: var(--mute); }
.live-figs b { font: 600 var(--fs-15)/1 var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.live-figs .main b { font-size: var(--fs-24); }
.live-chart { padding: 0 16px 16px; }
.live-chart svg { width: 100%; height: auto; }

.order { width: 100%; border-collapse: collapse; font-size: var(--fs-13); }
.order th { font-weight: 600; font-size: var(--fs-11); color: var(--mute); text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--rule); }
.order td { padding: 8px; border-bottom: 1px solid var(--rule); }
.order td:last-child, .order th:last-child { text-align: right; font-family: var(--f-mono); }
.order .grip { width: 18px; }
.order .grip i { display: block; width: 8px; height: 12px; background: radial-gradient(circle, var(--rule-strong) 1.2px, transparent 1.4px) 0 0 / 4px 4px; }
.order .sq { display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: var(--badge-1); }
.order .sq.o { background: var(--badge-2); }
.order .sq.s { background: var(--steel); }
.order .off td { color: #A3AAB2; }
.order .dragging td { background: var(--steel-wash); }
.order .dragging { box-shadow: 0 6px 16px -6px rgba(14,26,43,.35); }

.dialog-mock { max-width: 340px; margin: 0 auto; background: #fff; border: 1px solid var(--rule-strong); border-radius: 4px; font-size: var(--fs-13); }
.dialog-mock__head { padding: 12px 16px; border-bottom: 1px solid var(--rule); font-weight: 700; }
.dialog-mock__body { padding: 16px; display: grid; gap: 10px; }
.dialog-mock__body .in { border: 1.5px solid var(--steel); padding: 10px 12px; font: 500 var(--fs-17)/1 var(--f-mono); }
.dialog-mock__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 0 16px 16px; }
.dialog-mock__foot span { padding: 8px 14px; border: 1px solid var(--rule-strong); font-weight: 700; font-size: var(--fs-11); }
.dialog-mock__foot span:last-child { background: var(--app-btn); color: #fff; border-color: var(--app-btn); }

.lang-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lang-mock .shot__body { display: grid; gap: 10px; }
.lang-mock .app-btn { pointer-events: none; min-width: 0; width: 100%; }
.lang-mock .val { text-align: left; font-size: var(--fs-20); }

.stack-mock { display: grid; gap: 12px; }
.xl--small td { min-width: 140px; }
.sim-list { display: grid; gap: 8px; justify-items: start; }
.sim-pick { border: 1px solid var(--rule-strong); padding: 8px 12px; font-weight: 600; min-width: 200px; }
.sim-list ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--rule-strong); width: 100%; }
.sim-list li { padding: 9px 12px; border-top: 1px solid var(--rule); }
.sim-list li:first-child { border-top: 0; background: var(--steel-tint); }

.layouts { display: grid; gap: 10px; }
.lay { margin: 0; background: #fff; border: 1px solid var(--rule-strong); padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.lay figcaption { font-size: var(--fs-13); color: var(--text); display: grid; gap: 2px; }
.lay figcaption b { color: var(--ink); font-weight: 600; }
.lay__g { display: grid; gap: 2px; }
.lay__g span { width: 26px; height: 18px; border: 1px solid var(--rule); font: 500 var(--fs-11)/16px var(--f-mono); text-align: center; color: var(--ink); }
.lay__g--hd { grid-template-columns: repeat(3, 26px); }
.lay__g--hr { grid-template-columns: repeat(7, 26px); }
.lay__g--vd { grid-template-columns: 26px; }
.lay__g--vd span { height: 15px; line-height: 13px; }
.lay__g .a { background: var(--steel-tint); }
.lay__g .b { background: #D3E5EA; }
.lay__g .c { background: #BDD8E0; }
.lay__g .n { border: 1.5px dashed var(--steel); }
@media (max-width: 560px) { .lay { grid-template-columns: 1fr; } .lay__g span { width: 22px; } .lay__g--hd { grid-template-columns: repeat(3, 22px); } .lay__g--hr { grid-template-columns: repeat(7, 22px); } .lay__g--vd { grid-template-columns: 22px; } }

/* ---------- download ---------- */

.files { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.file { display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.file img { width: 48px; height: 48px; }
.file h2, .file h3 { font-size: var(--fs-24); }
.file p { font-size: var(--fs-15); margin-top: 6px; }
.file dl { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 10px 0 0; font-size: var(--fs-13); color: var(--mute); }
.file dl div { display: flex; gap: 6px; }
.file dd { margin: 0; color: var(--ink); font-family: var(--f-mono); font-size: var(--fs-13); }
.sha { display: block; margin-top: 8px; font: 400 var(--fs-11)/1.4 var(--f-mono); color: var(--mute); word-break: break-all; }
@media (max-width: 860px) { .file { grid-template-columns: 1fr; gap: 16px; } .file img { display: none; } .file .btn { justify-self: start; } }

/* ---------- help ---------- */

.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font: 600 var(--fs-17)/1.35 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-right: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 10px; }
.faq .answer { padding: 0 0 22px; max-width: 70ch; display: grid; gap: 12px; }

.quick { list-style: none; margin: 0; padding: 0; counter-reset: q; border-top: 1px solid var(--rule-strong); }
.quick li { counter-increment: q; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.quick li::before { content: counter(q); font: 600 var(--fs-13)/1 var(--f-mono); color: var(--steel-ink); padding-top: 6px; }
.quick h3 { font-size: var(--fs-17); margin-bottom: 6px; }

/* main column + side notes */
.aside-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside-layout > aside { position: sticky; top: 100px; display: grid; gap: 32px; }
@media (max-width: 860px) { .aside-layout { grid-template-columns: 1fr; } .aside-layout > aside { position: static; } }
.card-note { display: grid; gap: 10px; font-size: var(--fs-15); padding-top: 16px; border-top: 2px solid var(--navy); }
.card-note h3 { font-size: var(--fs-20); }

/* devices: notes per device */
.dev-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 56px); }
.dev-notes article { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--navy); }
.dev-notes h3 { font-size: var(--fs-20); }
.dev-notes ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dev-notes li { padding-left: 22px; position: relative; font-size: var(--fs-15); }
.dev-notes li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 1.5px; background: var(--steel); }
@media (max-width: 860px) { .dev-notes { grid-template-columns: 1fr; } }

/* ---------- the close: one navy band ---------- */

.endrow { background: var(--navy); color: var(--on-navy); padding-block: clamp(56px, 7vw, 96px); }
.endrow__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 32px; }
.endrow h2 { color: #fff; max-width: 20ch; }
.endrow p { margin-top: 14px; max-width: 54ch; font-size: var(--fs-17); }
.endrow a:not(.btn) { color: var(--steel-light); }
.endrow .actions { justify-content: flex-end; }
@media (max-width: 860px) { .endrow__in { grid-template-columns: 1fr; } .endrow .actions { justify-content: flex-start; } }
@media (max-width: 560px) { .endrow .actions .btn { flex: 1 1 100%; } }

/* ---------- small pages ---------- */

.thanks { min-height: 56vh; display: grid; align-content: center; justify-items: start; gap: 20px; }
.legal h2 { font-size: var(--fs-24); margin-top: 2em; }
.legal address { font-style: normal; }
.placeholder { background: #FFF4D6; outline: 1px dashed #C79100; padding: 0 .25em; color: #5A4300; }
.root-choice main { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 24px; font-size: var(--fs-20); }

/* ---------- footer ---------- */

.site-foot { background: #fff; border-top: 1px solid var(--rule); font-size: var(--fs-15); }
.endrow + .site-foot, main:has(> .endrow:last-child) + .site-foot { border-top: 0; }
.site-foot__in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; padding-block: 56px 40px; }
.site-foot__brand { display: grid; gap: 14px; align-content: start; }
.site-foot__brand p { max-width: 40ch; }
.lockup--foot .wordmark { font-size: var(--fs-20); }
.lockup--foot img { width: 34px; height: 34px; }
.site-foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.site-foot__nav a { color: var(--text); text-decoration: none; }
.site-foot__nav a:hover { color: var(--ink); text-decoration: underline; }
.site-foot__by { display: grid; gap: 8px; align-content: start; justify-items: start; color: var(--mute); font-size: var(--fs-13); }
.drivenbit { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: var(--fs-15); }
.drivenbit strong { font-weight: 600; }
.drivenbit img { width: 24px; height: 24px; }
.site-foot__base { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 28px; border-top: 1px solid var(--rule); color: var(--mute); font-size: var(--fs-13); }
.site-foot__base a { color: var(--mute); }
@media (max-width: 860px) { .site-foot__in { grid-template-columns: 1fr; } }

/* =====================================================================
   LIFE: navy top, the living fox, the signal trace, the ticker
   ===================================================================== */

/* ---------- dark header ---------- */
.site-head { background: rgba(10, 20, 34, .9); border-bottom-color: rgba(142, 195, 210, .14); }
.site-head .wm-daq { color: #fff; }
.site-head .wm-fox { color: var(--steel-light); }
.site-nav__links a { color: var(--on-navy); }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { color: #fff; }
.site-nav__links a[aria-current="page"]::after { background: var(--led); }
.lang-switch { color: var(--on-navy); border-color: rgba(197, 208, 218, .3); }
.lang-switch:hover { color: #fff; border-color: #fff; }
.site-head .btn--small { --b: #fff; color: var(--navy); }
.site-head .btn--small:hover { --b: var(--steel-tint); color: var(--navy); }
@media (max-width: 1020px) {
  .nav-toggle { background: transparent; color: #fff; border-color: rgba(197, 208, 218, .35); }
  .site-nav { background: var(--navy); border-bottom-color: var(--navy-2); }
  .site-nav__links a { border-bottom-color: var(--navy-2); }
}

/* ---------- the fox mark (header, footer) ---------- */
.fox-mark { width: 38px; height: 38px; overflow: visible; }
.lockup--foot .fox-mark { width: 34px; height: 34px; }
.fox-mark__head, .fox-mark__ear { fill: var(--navy); }
.fox-mark__facets { stroke: var(--steel); stroke-width: .6; opacity: .5; fill: none; }
.fox-mark__eyes { fill: var(--steel); transform-box: fill-box; transform-origin: center; animation: blink 7s infinite; }
.site-head .fox-mark__head, .site-head .fox-mark__ear { fill: #EEF3F6; }
.site-head .fox-mark__eyes { fill: var(--steel); }
.fox-mark__ear { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .lockup:hover .fox-mark__ear--l { transform: rotate(-12deg); }
  .lockup:hover .fox-mark__ear--r { transform: rotate(12deg); }
}
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

/* ---------- the living fox ---------- */
.fox-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fox { display: block; width: 100%; height: auto; overflow: visible; }
.fox__head, .fox__ear { fill: url(#fox-plate); stroke: rgba(160, 215, 230, .8); stroke-width: .6; stroke-linejoin: round; }
.fox { filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)) drop-shadow(0 0 30px rgba(127, 227, 245, .12)); }
.fox__facets path { fill: none; stroke: #A8DCEA; stroke-width: .5; opacity: .7; stroke-dasharray: 60; stroke-dashoffset: 0; }
.fox__ear { transform-box: fill-box; transform-origin: 50% 100%; }
.fox__ear.is-twitch { animation: twitch .5s var(--ease); }
.fox__ear--r.is-twitch { animation-name: twitch-r; }
@keyframes twitch { 30% { transform: rotate(-14deg); } 60% { transform: rotate(4deg); } }
@keyframes twitch-r { 30% { transform: rotate(14deg); } 60% { transform: rotate(-4deg); } }
.fox__eyes { transform-box: fill-box; transform-origin: center; animation: blink 6.2s 2.4s infinite; }
.fox__led { fill: var(--led); }
.fox__pupil { fill: #F2FDFF; transition: transform .18s var(--ease-out); will-change: transform; }
.fox__glow { fill: url(#fox-glow); opacity: .55; animation: glow 3.2s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .9; } }
.fox.is-reading .fox__glow { animation: flash .6s var(--ease); }
.fox.is-reading .fox__led { fill: #E9FCFF; }
@keyframes flash { 0% { opacity: 1; transform: scale(1.35); } 100% { opacity: .55; transform: scale(1); } }
.fox__glow { transform-box: fill-box; transform-origin: center; }
.fox__led { transition: fill .3s ease; }

/* power-on: plates draw, then the eyes light up (once per page load) */
.js-motion .fox__facets path { animation: draw 1.4s .2s var(--ease) both; }
.js-motion .fox__led, .js-motion .fox__pupil { animation: power .5s 1.1s ease-out both; }
.js-motion .fox__glow { animation: power .5s 1.1s ease-out both, glow 3.2s 1.6s ease-in-out infinite; }
@keyframes draw { from { stroke-dashoffset: 60; } }
@keyframes power { 0% { opacity: 0; } 40% { opacity: 1; } 55% { opacity: .2; } 100% { opacity: 1; } }

/* ---------- navy top: hero and page heads ---------- */
.hero, .page-head {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(74, 144, 164, .38), transparent 60%),
    radial-gradient(50% 60% at 5% 100%, rgba(46, 97, 112, .35), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-navy); border-bottom: 0;
}
.hero::before, .page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(142, 195, 210, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 195, 210, .07) 1px, transparent 1px);
  background-size: 96px 32px; background-position: -1px -1px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.hero h1, .page-head h1 { color: #fff; }
.hero .lead, .page-head .lead { color: var(--on-navy); }
.page-head a { color: var(--steel-light); }
.page-head strong { color: #fff; }
.hero .btn:not(.btn--line) { --b: #fff; color: var(--navy); }
.hero .btn:not(.btn--line):hover { --b: var(--steel-tint); color: var(--navy); }
.hero .btn--line { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .btn--line:hover { color: #fff; background: var(--navy-2); border-color: #fff; }
.hero__meta { color: var(--on-navy); }
.hero { padding-bottom: clamp(88px, 9vw, 128px); }

.hero .stamp, .page-head .stamp { color: var(--led); border-color: var(--led); background: transparent; }

/* hero stage: the fox as an instrument, three live readings wired into it */
.hero__stage { position: relative; width: 100%; align-self: stretch; min-height: 460px; }
.hud__stamp { position: absolute; right: 0; bottom: -36px; }
.hero-fox { position: absolute; left: 50%; top: 50%; width: min(46%, 300px); transform: translate(-50%, -50%); z-index: 1; }
.hero-fox::before { content: ""; position: absolute; inset: -30% -30% -20%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 227, 245, .16), rgba(74, 144, 164, .08) 55%, transparent 75%); }
.hero-fox.is-nod .fox { animation: nod .4s var(--ease-in-out); }
@keyframes nod { 40% { transform: translateY(6px); } }
.hud__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hud__wires path { fill: none; stroke: rgba(127, 227, 245, .55); stroke-width: 1.2; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.js-motion .hud__wires path { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: 18; } } /* paths start at the fox: positive offset = data flows into it */
.hud__orb { position: absolute; z-index: 2; --a: calc(var(--i) * 60deg - 90deg);
  left: calc(50% + 38% * cos(var(--a))); top: calc(50% + 42% * sin(var(--a))); transform: translate(-50%, -50%); }
.hud__orb.is-orbit { left: 0; top: 0; right: auto; bottom: auto; will-change: transform; backface-visibility: hidden; }
.hud__tag { position: relative; display: grid; gap: 4px; padding: 10px 14px 11px; min-width: 168px;
  background: #0F1D2E; border: 1px solid rgba(142, 195, 210, .3); border-radius: 4px; }
.hud__src { font: 500 var(--fs-13)/1.2 var(--f-body); color: var(--on-navy); }
.hud__ch { color: var(--steel-light); }
.hud__val { font: 600 var(--fs-20)/1 var(--f-mono); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud__unit { font-size: var(--fs-13); font-weight: 500; color: var(--steel-light); }
.hud__tag.is-caught { border-color: var(--led); }
.hud__tag.is-caught .hud__val output { color: var(--led); }
.hud__val output { transition: color .6s ease; }
.hud__tag { transition: border-color .6s ease; }
.js-motion .hud__tag { animation: rise .7s var(--ease) both; animation-delay: calc(1.1s + var(--i) * .1s); }
.js-motion .hud__wires { animation: fade .8s 1.1s ease-out both; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 1020px) { .hero__stage { aspect-ratio: 6 / 5; min-height: 0; max-width: 600px; justify-self: center; } }
.hud__tag { min-width: 150px; }
@media (max-width: 560px) {
  .hero__stage { aspect-ratio: 1 / 1; }
  .hud__stamp { bottom: -30px; }
  .hud__tag { min-width: 0; padding: 6px 8px; gap: 2px; }
  .hud__val { font-size: var(--fs-13); }
  .hud__unit { font-size: var(--fs-11); }
  .hud__src { font-size: var(--fs-11); }
  .hero-fox { width: 40%; }
}

/* the capture demo, now its own section on white */
.section--capture .demo__app { box-shadow: var(--shadow); }

/* load sequence for the hero copy (one orchestrated moment) */
.js-motion .hero__copy > * { animation: rise .7s var(--ease-out) both; }
.js-motion .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js-motion .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js-motion .hero__copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* page heads: a fox watching from the corner */
.page-head { padding-block: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 96px); }
.page-head__note { color: var(--on-navy); }
.page-head__fox { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: -38px; width: clamp(140px, 16vw, 220px); z-index: 0; }
.page-head .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) { .page-head__fox { width: 110px; bottom: -26px; opacity: .55; } }

/* ---------- signal trace along the bottom of the navy top ---------- */
.signal { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; z-index: -1; pointer-events: none; opacity: .9; }
.signal__track { transform-box: fill-box; animation: scroll-signal 26s linear infinite; }
.signal__line { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.signal__line--a { stroke: rgba(127, 227, 245, .45); }
.signal__line--b { stroke: rgba(142, 195, 210, .22); }
.signal__line--c { stroke: rgba(74, 144, 164, .3); }
@keyframes scroll-signal { to { transform: translateX(-50%); } }

/* ---------- ticker: what DaqFox talks to ---------- */
.ticker { background: var(--navy-deep); border-top: 1px solid rgba(142, 195, 210, .14); overflow: hidden; color: var(--steel-light); }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker__track { animation-play-state: paused; } }
.ticker__set { display: flex; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding: 18px 28px 18px 0; font: 500 var(--fs-15)/1 var(--f-display); white-space: nowrap; }
.ticker__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--led); opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- typed vs captured, played once ---------- */
.ledger .reading.is-typing::after { content: ""; display: inline-block; width: .55ch; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--ink); animation: caret .6s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ledger__v .reading s { transition: text-decoration-color .3s ease, color .3s ease; }
.ledger.is-pending .ledger__v .reading s { text-decoration-color: transparent; color: var(--ink); }
.ledger__row--ok { position: relative; overflow: hidden; }
.ledger__row--ok.is-sweep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(127, 227, 245, .35), transparent); transform: translateX(-100%); animation: sweep 1s var(--ease) forwards; }
@keyframes sweep { to { transform: translateX(100%); } }

/* ---------- more colour below the top ---------- */
.section--alt, .section--sheet { background: var(--bg-alt); }

/* ---------- the close: the fox again, peeking from the corner ---------- */
.endrow { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(50% 90% at 100% 100%, rgba(74, 144, 164, .35), transparent 70%), var(--navy); }
.endrow__in { position: relative; z-index: 1; }
.endrow__fox { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 - 40px)); bottom: -46px; width: 170px; opacity: .9; z-index: 0; pointer-events: none; }
.endrow .actions { padding-right: 0; }
@media (min-width: 861px) { .endrow__in { padding-bottom: 72px; } }
@media (max-width: 860px) { .endrow__fox { width: 110px; bottom: -28px; opacity: .5; } }

/* footer: the mark only blinks */
.site-foot .fox-mark__eyes { fill: var(--steel); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  .signal__track { animation: none; }
}

/* ---------- home: discount bands as rising bars ---------- */
.bars { margin: 0; display: grid; gap: 16px; }
.bars__plot { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); align-items: end; height: 300px; padding-bottom: 0; border-bottom: 2px solid var(--navy); }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.bar__fill { display: block; height: var(--h); min-height: 6px; border-radius: 3px 3px 0 0; transform-origin: 50% 100%;
  background: linear-gradient(180deg, #5FA7BA 0%, var(--steel-deep) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.bar:nth-child(4) .bar__fill, .bar:nth-child(5) .bar__fill { background: linear-gradient(180deg, #3E7F93 0%, var(--navy) 100%); }
.bar--quote .bar__fill { background: repeating-linear-gradient(-45deg, rgba(74,144,164,.25) 0 6px, rgba(74,144,164,.08) 6px 12px); box-shadow: inset 0 0 0 1px rgba(74,144,164,.5); }
.bar__v { font: 700 var(--fs-20)/1 var(--f-display); color: var(--ink); text-align: center; margin-bottom: 10px; letter-spacing: -.02em; }
.bar--quote .bar__v { font-size: var(--fs-15); color: var(--steel-ink); }
.bar__k { position: absolute; top: calc(100% + 10px); left: 0; right: 0; text-align: center; font-size: var(--fs-13); color: var(--mute); white-space: nowrap; }
.bars figcaption { margin-top: 36px; font-size: var(--fs-15); color: var(--text); max-width: 60ch; }
.js-motion .bars .bar__fill { transform: scaleY(0); transition: transform .9s var(--ease) calc(var(--i) * 90ms); }
.js-motion .bars .bar__v { opacity: 0; transform: translateY(8px); transition: opacity .4s ease-out calc(var(--i) * 90ms + .5s), transform .4s ease-out calc(var(--i) * 90ms + .5s); }
.js-motion .bars.is-in .bar__fill { transform: none; }
.js-motion .bars.is-in .bar__v { opacity: 1; transform: none; }
@media (max-width: 560px) { .bars__plot { height: 220px; } .bar__v { font-size: var(--fs-15); } .bar__k { font-size: var(--fs-11); } }
@media (prefers-reduced-motion: reduce) { .bars .bar__fill, .bars .bar__v { transform: none; opacity: 1; transition: none; } }

/* ---------- home: the live view, every channel at once ---------- */
.section--live { position: relative; isolation: isolate; color: var(--on-navy);
  background: radial-gradient(70% 60% at 50% 0%, rgba(74, 144, 164, .22), transparent 70%), var(--navy-deep); }
.section--live h2 { color: #fff; }
.section--live .lead { color: var(--on-navy); }
.section--live a { color: var(--steel-light); }
.section--live .fact dt { color: #fff; }
.section--live .fact dd { color: var(--on-navy); }

.live { margin: 0; display: grid; gap: 14px; }
.live__app { background: #fff; border-radius: 6px; overflow: hidden; color: var(--ink); font: 500 var(--fs-11)/1.2 var(--f-body);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06), 0 0 60px rgba(127, 227, 245, .08); }
.live__mark { width: 22px; height: 22px; fill: var(--navy); }
.live__mark .e { fill: var(--steel); }
.live__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px; background: var(--app-panel); }
.lcol { background: #fff; border-radius: 2px; padding-bottom: 12px; min-width: 0; display: flex; flex-direction: column; }
.lcol .ltrend { margin-top: auto; }
.lcol .rows { margin-bottom: 12px; }
.lcol .rows { margin-left: 10px; margin-right: 10px; }
.lcol .val { font-size: var(--fs-15); }
.ltrend { margin: 12px 10px 0; border: 1px solid var(--rule); padding: 6px 6px 4px; background: #FBFCFC; }
.ltrend__k { display: block; color: var(--mute); font-weight: 600; margin-bottom: 4px; }
.ltrend svg { display: block; width: 100%; height: 72px; }
.ltrend__grid { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.ltrend__line { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lcol[data-src="1"] .ltrend__line { stroke: var(--badge-2); }
.lcol[data-src="2"] .ltrend__line { stroke: var(--steel-deep); }
.lstats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 8px 10px 0; gap: 6px; }
.lstats div { display: grid; gap: 3px; }
.lstats dt { color: var(--mute); font-weight: 600; }
.lstats dd { margin: 0; font: 600 var(--fs-13)/1 var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.live__foot { display: flex; justify-content: flex-start; }
.section--live .stamp { color: var(--led); border-color: var(--led); background: transparent; }
@media (max-width: 860px) {
  .live__cols { grid-template-columns: 1fr; }
  .lcol:nth-child(n+3) { display: none; }
}

/* ---------- home: live facts as a two-column data sheet ---------- */
.facts--sheet { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); border-top: 0; }
.facts--sheet .fact { grid-template-columns: 120px 1fr; border-top: 1px solid rgba(142, 195, 210, .25); border-bottom: 0; }
.section--live .facts--sheet .fact { border-top-color: rgba(142, 195, 210, .25); }
@media (max-width: 860px) { .facts--sheet { grid-template-columns: 1fr; } }

/* ---------- footer links and the motion switch ---------- */
.site-foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.motion-toggle { font: inherit; color: var(--mute); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.motion-toggle:hover { color: var(--ink); }
.motion-off *, .motion-off *::before, .motion-off *::after { animation-play-state: paused !important; }

/* ---------- licence calculator: every PC as a square, shaded by its band ---------- */
.calc .readout__label { font: 600 var(--fs-15)/1.2 var(--f-body); }
.calc__sum { font-size: var(--fs-15); color: var(--text); margin-top: 10px; max-width: 46ch; min-height: 3.2em; }
.seats-row { padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--rule-strong); display: grid; gap: 18px; }
.seats { display: flex; flex-wrap: wrap; gap: 5px; min-height: 26px; align-items: center; }
.seat { width: 22px; height: 22px; border-radius: 3px; background: var(--c); }
.js-motion .seat.is-new { animation: seat-in .2s var(--ease-out) both; }
@keyframes seat-in { from { transform: scale(.8); opacity: 0; } }
.seats__more { font: 600 var(--fs-13)/1 var(--f-mono); color: var(--steel-ink); padding-left: 6px; }
.seats__key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: var(--fs-13); }
.seats__key li { display: flex; align-items: center; gap: 8px; color: var(--mute); transition: color .2s ease; }
.seats__key li b { color: var(--ink); font-weight: 600; }
.seats__key li.is-off b { color: var(--mute); font-weight: 500; }
.seats__key li.is-off .sw { opacity: .35; }
.sw { width: 14px; height: 14px; border-radius: 2px; background: var(--c); flex: none; }
.sw0, .seat.b0 { --c: #D6E7EC; }
.sw1, .seat.b1 { --c: #A6CBD6; }
.sw2, .seat.b2 { --c: #74ABBD; }
.sw3, .seat.b3 { --c: #4A90A4; }
.sw4, .seat.b4 { --c: #2E6170; }
.sw5, .seat.b5 { --c: repeating-linear-gradient(-45deg, #0E1A2B 0 3px, #4A90A4 3px 6px); }
.sw5, .seat.b5 { background: repeating-linear-gradient(-45deg, #2E6170 0 3px, #A6CBD6 3px 6px); }
.calc__req-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.calc__chip { font-size: var(--fs-13); color: var(--ink); background: var(--steel-wash); border: 1px solid var(--rule); border-radius: var(--radius); padding: 6px 10px; }
@media (prefers-reduced-motion: reduce) { .seat.is-new { animation: none; } }
.calc__out { gap: 22px; }
.calc__out .seats { max-width: 100%; }
.calc__out .fine { margin-top: 2px; }
.calc__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 860px) { .calc__top { grid-template-columns: 1fr; } }


.hud__wires.is-live path { stroke-dasharray: 3 6; }
.hero__stage { overflow: visible; }

/* ---------- features: continuous reading mockup (the app's CONTINUOUS READING card) ---------- */
.cont { display: grid; }
.cont__set { display: grid; gap: 12px; border-bottom: 1px solid var(--rule); }
.cont__title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.cont__tog { width: 30px; height: 16px; border-radius: 8px; background: var(--app-btn); position: relative; }
.cont__tog::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.cont__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.cont__f { display: grid; gap: 4px; }
.cont__f span { color: var(--mute); font-weight: 600; }
.cont__f b { font: 500 var(--fs-13)/1 var(--f-mono); color: var(--ink); border: 1px solid var(--rule-strong); padding: 7px 8px; background: #fff; }
.cont__sel::after { content: ""; float: right; margin-top: 3px; border: 4px solid transparent; border-top-color: var(--text); }
.cont__f.is-off { opacity: .45; }
.cont__prog { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.cont__btn { min-width: 0; display: inline-flex; align-items: center; height: 32px; font-size: var(--fs-13); background: var(--navy); font-variant-numeric: tabular-nums; }
.cont__bar { height: 6px; background: var(--app-panel); border-radius: 3px; overflow: hidden; }
.cont__bar i { display: block; height: 100%; width: 100%; background: var(--app-live); transform-origin: left; transform: scaleX(var(--p, .21)); transition: transform .4s var(--ease-out); }
.cont__bar i.is-reset { transition: none; }
.cont__sheet .cont__hdr td { font: 600 var(--fs-11)/1 var(--f-body); color: var(--text); background: var(--steel-wash); text-align: left; }
.cont__sheet td:first-of-type { color: var(--steel-ink); }
.cont__sheet tbody tr.is-new td { animation: cell-in .9s var(--ease) both; }

/* ---------- life added 2026-10 (web-animation-design pass) ---------- */
/* Sections rise in once as they scroll into view. JS adds .reveal only when
   motion is allowed, so without JS or with reduced motion nothing is hidden. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--r, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1; transform: none; } }

/* The fox notices the main buttons: ears perk while one is hovered. */
.fox__ear { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .3s var(--ease-out); }
.fox.is-perk .fox__ear--l { transform: rotate(-10deg); }
.fox.is-perk .fox__ear--r { transform: rotate(10deg); }

/* The big discount figure counts to its new value (JS); a short tick marks the change. */
.readout__val.is-tick { animation: tick-in .25s var(--ease-out); }
@keyframes tick-in { from { transform: translateY(3px); opacity: .6; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fox__ear, .readout__val.is-tick { transition: none; animation: none; }
}
