/* ─────────────────────────────────────────────────────────────────────
   Tech Ops site — the console look (round 2, rolled out 2026-10-30).
   Loaded on every public page AFTER styles.css and the page's own <style>,
   so it wins where they disagree. styles.css still carries the layout of
   each component; this file is the look.

   The language (Eric's reference: a space-sim console site):
   - one ground colour, thin 1px line-colour outlines on panels;
   - CHAMFERED corners: one cut corner on buttons, two on panels;
   - Barlow for reading, Barlow Condensed UPPERCASE for headings, nav,
     buttons and labels (self-hosted in /fonts/fonts.css);
   - amber is spent on ONE thing, the primary action; the line colour does
     outlines and secondary buttons; green/red only for status;
   - numbered sections ("01 · WHAT'S IN THE BOX") and a floating
     "Section ▾" menu that follows the scroll (it never takes a column);
   - a slim utility bar above the nav carries the news ticker and the
     Light / Dark / Auto switch;
   - the full width of the screen: fluid page, side gutters only; line
     length is capped on paragraphs, not on the page;
   - things move on their own only where it helps (the box's screens, the
     numbers strip, the ticker). Each holds on hover and focus, has a pause
     button, never scrolls the page, and stays still under reduced motion.

   Two themes, one set of tokens: light (white) and graphite dark. The head
   script on every page sets <html data-theme="light|dark"> before the first
   paint, from the person's pick (localStorage "techops-theme") or, on Auto,
   from the device (prefers-color-scheme). Without script the device decides
   through the media query below.
   Text 4.5:1, control edges 3:1, taps 44 px.
   ───────────────────────────────────────────────────────────────────── */
@import url('/fonts/fonts.css?v=r3');

:root {
  --cond: 'Barlow Condensed', 'Rajdhani', 'Arial Narrow', sans-serif;
  --body: 'Barlow', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --cut: 12px;      /* button chamfer */
  --cut-lg: 18px;   /* panel chamfer */
  --gut: clamp(16px, 4vw, 72px);   /* side gutter: the only margin a page gets */
}

/* ── Light: a cool off-white ground, white panels. Line colour = deep steel
      blue, amber only on the primary action. ─────────────────────────── */
:root {
  --g0: #F3F5FA;
  --g1: #E9EDF5;
  --g2: #FFFFFF;
  --g-util: #1A1D45;    /* the utility bar stays dark: a status strip */
  --g-nav: #FFFFFF;
  --g-hero: #EDF1F8;
  --g-deep: #E3E8F2;
  --g-slips: #DFE5EF;
  --grid: rgba(26, 40, 90, .05);
  --line: #1F5E8C;      /* outlines, secondary buttons: 6.6:1 on ground */
  --line-dim: #C5CEDE;  /* hairlines (decoration) */
  --line-ink: #1B5A86;
  --line-on: #FFFFFF;
  --line-wash: rgba(31, 94, 140, .08);
  --ink: #141833;
  --ink-2: #4A5170;     /* 7.5:1 */
  --ink-3: #5D6483;     /* 5.6:1 */
  --link: #1B5A86;
  --focus: #141833;
  --primary: #F7A600;
  --primary-hi: #FFB929;
  --primary-ink: #141833;
  --ok: #23964A;
  --ok-ink: #1D7A3C;    /* green as words: 5:1 on ground */
  --bad: #C9381A;
  --panel-line: #AEBAD0;
  --ticket-shadow: 0 0 0 1px #C5CEDE, 0 14px 34px rgba(20, 24, 51, .16);
  --menu-shadow: 0 12px 30px rgba(20, 24, 51, .18);
  --hole-shade: rgba(20, 24, 51, .35);
  --badge-filter: none;
  /* The utility bar is dark in both themes, so its words take light ink. */
  --util-ink: #EEF2FF; --util-ink-2: #C3C9E8; --util-ink-3: #A7AED4; --util-line-ink: #8DE0FF; --util-focus: #FFFFFF;
  --util-line-dim: #34386A;

  /* The site's own tokens (styles.css), mapped so its rules follow. */
  --bg: var(--g0); --bg-alt: var(--g1); --card: var(--g2); --border: var(--line-dim); --edge: #7A84A3;
  --text: var(--ink); --text-muted: var(--ink-2); --text-dim: var(--ink-3);
  --accent-cyan: #1B5A86; --accent-orange: #8A5A00; --success: #1D7A3C; --danger: #C9381A;
  --accent-cyan-soft: rgba(31, 94, 140, .09); --accent-orange-soft: rgba(247, 166, 0, .16);
  --navy-0: var(--g-deep); --navy-1: var(--g-nav); --navy-2: var(--g2); --navy-3: var(--g1);
  --amber: #F7A600; --amber-ink: #141833; --teal: #1B5A86; --ink-dark: var(--ink); --muted-dark: var(--ink-2); --dim-dark: var(--ink-3);
  color-scheme: light;
}

/* ── Dark: graphite and steel (Eric asked for steel/grey, not navy). Line
      colour = a light steel blue, kept quiet; amber only on the primary
      action. Written twice: once for the pick, once for the device when
      no script has set a theme. Change one, change both. ────────────── */
:root[data-theme="dark"] {
  --g0: #17191C; --g1: #1C1F23; --g2: #23272C; --g-util: #0F1113; --g-nav: #131518; --g-hero: #1A1D21; --g-deep: #121417; --g-slips: #1C1F23;
  --grid: rgba(255, 255, 255, .035);
  --line: #9DBBDA; --line-dim: #353B43; --line-ink: #A9C5E2; --line-on: #111418; --line-wash: rgba(157, 187, 218, .09);
  --ink: #EDEFF2; --ink-2: #B9C0C9; --ink-3: #9AA2AD; --link: #A9C5E2; --focus: #FFFFFF;
  --primary: #F7A600; --primary-hi: #FFB929; --primary-ink: #17191C;
  --ok: #6FD98A; --ok-ink: #6FD98A; --bad: #FF7A5C; --panel-line: #454C56;
  --ticket-shadow: 0 0 0 1px #353B43, 0 18px 44px rgba(0, 0, 0, .55);
  --menu-shadow: 0 14px 34px rgba(0, 0, 0, .55);
  --hole-shade: rgba(0, 0, 0, .7);
  --badge-filter: saturate(.85) brightness(.92);
  --util-ink: #EDEFF2; --util-ink-2: #B9C0C9; --util-ink-3: #9AA2AD; --util-line-ink: #A9C5E2; --util-focus: #FFFFFF;
  --util-line-dim: #353B43;
  --bg: var(--g0); --bg-alt: var(--g1); --card: var(--g2); --border: var(--line-dim); --edge: #7F8894;
  --text: var(--ink); --text-muted: var(--ink-2); --text-dim: var(--ink-3);
  --accent-cyan: #A9C5E2; --accent-orange: #F7A600; --success: #6FD98A; --danger: #FF7A5C;
  --accent-cyan-soft: rgba(157, 187, 218, .12); --accent-orange-soft: rgba(247, 166, 0, .14);
  --navy-0: var(--g-deep); --navy-1: var(--g-nav); --navy-2: var(--g2); --navy-3: #2A2F35;
  --amber: #F7A600; --amber-ink: #17191C; --teal: #A9C5E2; --ink-dark: var(--ink); --muted-dark: var(--ink-2); --dim-dark: var(--ink-3);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --g0: #17191C; --g1: #1C1F23; --g2: #23272C; --g-util: #0F1113; --g-nav: #131518; --g-hero: #1A1D21; --g-deep: #121417; --g-slips: #1C1F23;
    --grid: rgba(255, 255, 255, .035);
    --line: #9DBBDA; --line-dim: #353B43; --line-ink: #A9C5E2; --line-on: #111418; --line-wash: rgba(157, 187, 218, .09);
    --ink: #EDEFF2; --ink-2: #B9C0C9; --ink-3: #9AA2AD; --link: #A9C5E2; --focus: #FFFFFF;
    --primary: #F7A600; --primary-hi: #FFB929; --primary-ink: #17191C;
    --ok: #6FD98A; --ok-ink: #6FD98A; --bad: #FF7A5C; --panel-line: #454C56;
    --ticket-shadow: 0 0 0 1px #353B43, 0 18px 44px rgba(0, 0, 0, .55);
    --menu-shadow: 0 14px 34px rgba(0, 0, 0, .55);
    --hole-shade: rgba(0, 0, 0, .7);
    --badge-filter: saturate(.85) brightness(.92);
    --util-ink: #EDEFF2; --util-ink-2: #B9C0C9; --util-ink-3: #9AA2AD; --util-line-ink: #A9C5E2; --util-focus: #FFFFFF;
    --util-line-dim: #353B43;
    --bg: var(--g0); --bg-alt: var(--g1); --card: var(--g2); --border: var(--line-dim); --edge: #7F8894;
    --text: var(--ink); --text-muted: var(--ink-2); --text-dim: var(--ink-3);
    --accent-cyan: #A9C5E2; --accent-orange: #F7A600; --success: #6FD98A; --danger: #FF7A5C;
    --accent-cyan-soft: rgba(157, 187, 218, .12); --accent-orange-soft: rgba(247, 166, 0, .14);
    --navy-0: var(--g-deep); --navy-1: var(--g-nav); --navy-2: var(--g2); --navy-3: #2A2F35;
    --amber: #F7A600; --amber-ink: #17191C; --teal: #A9C5E2; --ink-dark: var(--ink); --muted-dark: var(--ink-2); --dim-dark: var(--ink-3);
    color-scheme: dark;
  }
}
/* The utility bar's words, from its own tokens in either theme. */
.ticker, .util-links, .theme-btn { --ink: var(--util-ink); --ink-2: var(--util-ink-2); --ink-3: var(--util-ink-3); --line-ink: var(--util-line-ink); --focus: var(--util-focus); }
.site-nav .nav-toggle span, .site-nav .nav-toggle span::before, .site-nav .nav-toggle span::after { background: var(--ink); }

/* Full width: the page fills the screen, the gutter is the only margin. */
.pv .wrap, .pv .util-inner { max-width: none; padding-left: var(--gut); padding-right: var(--gut); }
.pv .row-head p.sub, .pv p.sub.trial-end { max-width: 68ch; }

html, body { background: var(--g0); color: var(--ink); font: 400 16.5px/1.6 var(--body); letter-spacing: .1px; }
h1, h2, h3, .btn, .nav-links a, .brand span {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .6px;
}
h2 { font-weight: 600; }
a { color: var(--link); }

/* ── Chamfer: drawn by two clipped layers behind the content, so focus
      rings and dropdowns inside are never clipped. ─────────────────── */
.btn, .pv-panel, .access, .plate, .plates .shot, .cta-banner, .badges-sec .badge, .row-nav button {
  position: relative; isolation: isolate; border-color: transparent !important;
  background: transparent !important; border-radius: 0 !important; box-shadow: none !important;
}
.btn::before, .pv-panel::before, .access::before, .plate::before, .plates .shot::before, .badges-sec .badge::before, .row-nav button::before,
.btn::after, .pv-panel::after, .access::after, .plate::after, .plates .shot::after, .badges-sec .badge::after, .row-nav button::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
}
/* Buttons: bottom-left corner cut. */
.btn::before, .row-nav button::before {
  inset: 0; background: var(--btn-line, var(--line));
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.btn::after, .row-nav button::after {
  inset: 1px; background: var(--btn-fill, var(--g0));
  clip-path: polygon(0 0, 100% 0, 100% 100%, calc(var(--cut) - .5px) 100%, 0 calc(100% - var(--cut) + .5px));
}
.btn { border: 0 !important; color: var(--btn-ink, var(--line-ink)); font-weight: 600; font-size: 17px; letter-spacing: .8px; padding: 12px 22px; min-height: 48px; }
.btn:hover { filter: none; text-decoration: none; --btn-fill: var(--line-wash); }
.btn-orange, .hero .btn-orange, .cta-banner .btn-orange { --btn-line: var(--primary); --btn-fill: var(--primary); --btn-ink: var(--primary-ink); color: var(--primary-ink) !important; }
.btn-orange:hover { --btn-fill: var(--primary-hi); --btn-line: var(--primary-hi); }
.btn-cyan, .hero .btn-cyan { --btn-line: var(--line); --btn-fill: var(--line); --btn-ink: var(--line-on); color: var(--line-on) !important; }
.btn-outline, .hero .btn-outline { --btn-line: var(--line); --btn-fill: var(--g0); --btn-ink: var(--ink); color: var(--ink) !important; }
.btn-outline:hover, .hero .btn-outline:hover { --btn-fill: var(--line-wash); }
.btn:focus-visible, .row-nav button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Panels: top-right and bottom-left corners cut, 1px line outline. */
.pv-panel::before, .access::before, .plate::before, .plates .shot::before, .badges-sec .badge::before {
  inset: 0; background: var(--panel-line, var(--line-dim));
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, var(--cut-lg) 100%, 0 calc(100% - var(--cut-lg)));
}
.pv-panel::after, .access::after, .plate::after, .plates .shot::after, .badges-sec .badge::after {
  inset: 1px; background: var(--panel-fill, var(--g2));
  clip-path: polygon(0 0, calc(100% - var(--cut-lg) + .5px) 0, 100% calc(var(--cut-lg) - .5px), 100% 100%, calc(var(--cut-lg) - .5px) 100%, 0 calc(100% - var(--cut-lg) + .5px));
}
.plate, .plates .shot { overflow: visible; }
.shot-img { margin: 1px 1px 0; border-bottom: 1px solid var(--line-dim) !important; }

/* ── Utility bar: the ticker and a few quick links, above the nav ──── */
.util-bar { position: relative; z-index: 55; background: var(--g-util); border-bottom: 1px solid var(--util-line-dim); }
.util-inner { display: flex; align-items: stretch; justify-content: flex-end; margin: 0 auto; min-height: 44px; }
.util-links { flex: none; display: flex; align-items: center; gap: 2px; padding-left: 12px; }
.util-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-family: var(--cond); font-size: 14px; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-2);
}
.util-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .util-links { display: none; } .pv .util-inner { padding: 0; } }

.ticker { flex: 1; min-width: 0; display: flex; align-items: stretch; min-height: 44px; color: var(--ink-2); font-size: 14px; }
.ticker[hidden] { display: none; }
.ticker-tag {
  flex: none; display: flex; align-items: center; padding: 0 12px 0 0;
  font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--line-ink);
}
@media (max-width: 760px) { .ticker-tag { padding-left: 16px; } }
.ticker-tag::before { content: ''; width: 7px; height: 7px; margin-right: 8px; background: var(--ok); border-radius: 50%; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.ticker-track { display: flex; width: max-content; height: 100%; animation: hn-ticker var(--ticker-secs, 60s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px 0 14px; min-height: 44px; white-space: nowrap; color: inherit; }
.ticker-item b { font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: var(--line-ink); }
.ticker-item:hover { text-decoration: none; color: var(--ink); }
.ticker-item:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
.ticker-btn { flex: none; width: 44px; min-height: 40px; border: 0; background: transparent; color: var(--ink-2); font-size: 12px; cursor: pointer; }
.ticker-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
@keyframes hn-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-track { animation: none; }
  .ticker-track [aria-hidden="true"], .ticker-btn { display: none; }
}

/* ── Nav ──────────────────────────────────────────────────────────── */
.site-nav { background: var(--g-nav); border-bottom: 1px solid var(--line-dim); }
.site-nav .wrap { min-height: 68px; }
.brand span { font-size: 22px; font-weight: 700; letter-spacing: 1.5px; color: var(--ink); }
.nav-links a { font-size: 16px; font-weight: 500; color: var(--ink-2); border-radius: 0; }
.nav-links a:hover { color: var(--ink); background: transparent; box-shadow: inset 0 -2px 0 var(--line-dim); }
.nav-links a.is-active { color: var(--ink); background: transparent; box-shadow: inset 0 -2px 0 var(--line); }
.nav-links a.btn { padding: 8px 18px; min-height: 44px; font-size: 16px; box-shadow: none; }
.nav-links a.btn:hover { box-shadow: none; }
.nav-links a.nav-cta { margin-left: 6px; }
/* Tablet: the nav keeps one line; the trial is in the header panel anyway. */
@media (min-width: 821px) and (max-width: 1099px) { .nav-links a.nav-cta.btn-orange { display: none; } }

/* ── Header: ticket, line and version on the left; the way in on the right ── */
.hero.hero-split {
  text-align: left; padding: 36px 0 40px; color: var(--ink); border-bottom: 1px solid var(--line-dim);
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(0deg,  var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--g-hero);
}
.hero.hero-split::after { display: none; }
.hero-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: clamp(40px, 5vw, 96px); align-items: center; } }
@media (min-width: 1600px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 500px; } }
.sec-label {
  display: inline-flex; align-items: baseline; gap: 8px; margin: 0 0 10px;
  font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-2);
}
.sec-label .sec-no { font-family: var(--mono); font-size: 12.5px; color: var(--line-ink); letter-spacing: .5px; }
.hero-split .hero-logo { margin: 0 0 10px; text-align: left; }
.hero-split .hero-logo { line-height: 0; }
/* The badge is the hero piece: full width of the left column, its own design
   untouched (only the frame around it changes). */
.hero-split .hero-logo img { display: block; width: 100%; max-width: 1120px; height: auto; margin: 0; border-radius: 10px; box-shadow: var(--ticket-shadow); }
/* Phone: nearly edge to edge, so the QR keeps as much size as the screen allows. */
@media (max-width: 600px) { .hero-split .hero-logo { margin-left: -10px; margin-right: -10px; } }
.hero-split .make-ticket { margin: 0 0 18px; font-family: var(--mono); font-size: 13px; }
.hero-split .make-ticket a { color: var(--link); }
.hero-split h1.pv-head {
  margin: 0 0 10px; max-width: 24ch; font-family: var(--cond); font-weight: 600; font-size: clamp(30px, 3.4vw + 14px, 64px); line-height: 1.04;
  letter-spacing: .5px; color: var(--ink);
}
.hero-split h1.pv-head em { font-style: normal; color: var(--line-ink); }
.hero-split .hero-sub { margin: 0 0 10px; max-width: 54ch; color: var(--ink-2); font-size: clamp(17px, .6vw + 12px, 21px); line-height: 1.5; }
.hero-split .hero-fine { margin: 0 0 14px; max-width: 58ch; color: var(--ink-3); font-size: 15px; }
.hero-split .version {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-family: var(--mono); font-size: 13px; color: var(--ink-2);
}
.hero-split .version::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero-split .version:empty { display: none; }

.access { padding: 0; }
.access-head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 10px;
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 1px solid var(--line-dim);
}
.access-head b { color: var(--ink); font-weight: 600; }
.access-body { padding: 18px 20px 20px; display: grid; gap: 18px; }
.access-go, .access-app { display: grid; gap: 10px; align-content: start; }
/* Tablet: a square panel, the way in beside the downloads. */
@media (min-width: 600px) and (max-width: 999px) {
  .access-body { grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px 24px 24px; }
  .access-app .access-label { margin-top: 0; }
}
.access-body .btn { width: 100%; }
.access-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; justify-content: stretch; margin: 0; }
.access-row > * { width: 100%; min-width: 0 !important; }
.access-row .dropdown, .access-row .dropdown-toggle { width: 100%; min-width: 0 !important; }
.access-row .btn { padding-left: 8px; padding-right: 8px; font-size: 16px; }
.access-label { margin: 8px 0 0; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2); }
.access-note { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.access-note a { color: var(--link); }
.access .dropdown-menu { left: 0; transform: none; min-width: 300px; }
@media (max-width: 440px) { .access-row { grid-template-columns: 1fr; } .access .dropdown-menu { min-width: 0; width: 100%; } }
.dropdown-menu { background: var(--g2); border: 1px solid var(--line-dim); border-radius: 0; box-shadow: var(--menu-shadow); }
.dropdown-item { color: var(--ink); border-radius: 0; }
.dropdown-item:hover { background: var(--line-wash); }
.dropdown-item .di-note { color: var(--ink-2); }
.dropdown-item .di-step, .di-step { color: var(--link); }

/* ── Readout strip: the numbers, no yellow band ────────────────────── */
.stats { background: var(--g1); color: var(--ink); border: 0; border-bottom: 1px solid var(--line-dim); }
.stats .wrap { padding-top: 0; padding-bottom: 0; }
.stats .wrap > div { border-left: 1px solid var(--line-dim); padding: 16px 0 14px; }
.stats .wrap > div:first-child { border-left: 0; }
.stats b { font-family: var(--cond); font-weight: 600; color: var(--ink); }
.stats span { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 1.6px; color: var(--line-ink); }

/* Wide screens: the header and the numbers strip fill one screen at 100%
   zoom, so the strip sits on the bottom edge (owner 2026-10-30). Sizes
   follow the window height; short laptop windows get a smaller ticket and
   headline instead of pushing the strip below the fold. */
@media (min-width: 1000px) and (min-height: 600px) {
  .hero.hero-split {
    display: flex; align-items: center;
    min-height: calc(100svh - var(--hero-top, 116px) - var(--stats-h, calc(7.6vh + 28px)));
    padding: clamp(14px, 2.6vh, 36px) 0 clamp(14px, 3vh, 40px);
  }
  .hero.hero-split > .wrap { width: 100%; }
  .hero-split .hero-logo img { width: auto; max-width: 100%; max-height: clamp(130px, 21vh, 260px); }
  .hero-split .make-ticket { margin-bottom: clamp(6px, 1.4vh, 18px); }
  .hero-split h1.pv-head { font-size: clamp(30px, min(3.4vw + 14px, 6.6vh), 64px); }
  .hero-split .hero-sub { font-size: clamp(16px, min(.6vw + 12px, 2.4vh), 21px); line-height: 1.45; }
  .hero-split .hero-fine { margin-bottom: 0; }
  .stats .wrap > div { padding: clamp(8px, 1.3vh, 16px) 0 clamp(6px, 1.1vh, 14px); }
  .stats b { font-size: clamp(34px, 5vh, 54px); line-height: 1.05; }
}

/* ── Sections: numbered label, condensed title ─────────────────────── */
.row-sec { background: var(--g0); border-top: 1px solid var(--line-dim) !important; }
.row-sec.alt, .badges-sec { background: var(--g1); }
.row-sec.dark { background: var(--g-deep); color: var(--ink); }
.slips-sec { background: var(--g-slips); }
.row-head .eyebrow { display: none; }
.row-head h2, .row-sec.dark h2 { color: var(--ink); font-size: clamp(28px, 6.4vw, 40px); line-height: 1.05; }
.row-head p.sub, p.sub.trial-end { color: var(--ink-2); }
.row-nav button { width: 44px; height: 44px; color: var(--ink); --btn-fill: var(--g0); }
.row-sec.dark .row-nav button { --btn-fill: var(--g-deep); }

.plate-bar { background: transparent; border-bottom: 1px solid var(--line-dim); margin: 1px 1px 0; }
.plate-no { font-family: var(--mono); color: var(--line-ink); }
.plate-bar h3 { color: var(--ink); font-size: 24px; font-weight: 600; }
.plate-row { border-bottom-color: var(--line-dim); }
.plate-row span { font-family: var(--cond); font-weight: 600; font-size: 12.5px; color: var(--line-ink); }
.plate-row p { color: var(--ink); }
.plate-row i { color: var(--ink-3); }
.plate-list li { color: var(--ink-2); }
.plate-list li::before { background: var(--line); }
.dots span { background: var(--line-dim); }
.dots span.on, .row-sec.dark .dots span.on { background: var(--line); }
.dots[data-counter] { color: var(--ink-2); }
.dots[data-counter] b { color: var(--line-ink); }
.swipe-hint { color: var(--ink-3); }

.badges-sec .badge { padding-top: 0; }
.badge-clip { z-index: 2; } /* the lanyard slot: keep it, and above the filtered band */
/* It reads as a hole punched through the card: the section's own ground
   showing through, with a shadow on its upper lip. */
.badges-sec .badge-clip { background: var(--g1); box-shadow: inset 0 1px 2px var(--hole-shade); }
.badge-top { margin: 1px 1px 0; filter: var(--badge-filter, none); }
.badge-mono { background: var(--g2); position: relative; z-index: 1; } /* the dark band's filter paints it above in-flow siblings; keep the ring on top */
.badges-sec .badge h3 { color: var(--ink); font-size: 22px; }
.badges-sec .badge li { border-top-color: var(--line-dim); }
.badges-sec .badge li.n { color: var(--ink-3); }

.founder-line { color: var(--ink); font-family: var(--body); font-weight: 500; }
.founder-line::before { color: var(--line); }
.founder-line .signoff { color: var(--line-ink); font-family: var(--cond); text-transform: uppercase; letter-spacing: 1px; }

.cta-banner { margin: 56px 0; padding: 44px 32px 40px; color: var(--ink); overflow: visible; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0; top: 0; left: 0; bottom: 0; width: auto; z-index: -1;
  background: var(--line-dim);
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, var(--cut-lg) 100%, 0 calc(100% - var(--cut-lg)));
}
.cta-banner::after {
  content: ''; position: absolute; inset: 1px; top: 1px; right: 1px; width: auto; height: auto; border: 0; border-radius: 0; z-index: -1;
  background: var(--g2);
  clip-path: polygon(0 0, calc(100% - var(--cut-lg) + .5px) 0, 100% calc(var(--cut-lg) - .5px), 100% 100%, calc(var(--cut-lg) - .5px) 100%, 0 calc(100% - var(--cut-lg) + .5px));
}
.cta-banner h2 { color: var(--ink); font-size: 34px; }
.cta-banner p { color: var(--ink-2); }
.cta-banner .cta-stub-tag { color: var(--ink-2); font-family: var(--cond); font-weight: 600; letter-spacing: 1.6px; }
.cta-banner .cta-pricing { color: var(--line-ink); }

.site-footer { background: var(--g-nav); border-top: 1px solid var(--line-dim); color: var(--ink-2); }
.site-footer::before { display: none; }
.site-footer a { color: var(--ink-2); }

/* ── Section ▾: floats, never takes a column or pushes the page ──── */
.sec-pick { position: fixed; top: 0; left: 0; right: 0; z-index: 45; display: none; background: var(--g-nav); border-bottom: 1px solid var(--line-dim); }
.sec-pick.on { display: block; }
.sec-pick .wrap { display: flex; align-items: center; min-height: 44px; position: relative; }
.sec-pick-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--ink);
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer;
}
.sec-pick-btn small { font-family: var(--mono); font-size: 12px; color: var(--line-ink); letter-spacing: .5px; }
.sec-pick-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sec-pick-menu { position: absolute; top: 100%; left: var(--gut); min-width: 240px; margin: 0; padding: 6px; list-style: none; background: var(--g2); border: 1px solid var(--line-dim); box-shadow: var(--menu-shadow); }
.sec-pick-menu[hidden] { display: none; }
.sec-pick-menu a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; color: var(--ink); font-family: var(--cond); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.sec-pick-menu a small { font-family: var(--mono); color: var(--line-ink); }
.sec-pick-menu a[aria-current="true"] { box-shadow: inset 2px 0 0 var(--line); }
.sec-pick-menu a:hover, .sec-pick-menu a:focus-visible { background: var(--line-wash); text-decoration: none; outline: none; }
.pv-page-home .site-nav { position: relative; }
/* Wide: the nav stays put and Section ▾ is a small panel at its right edge. */
@media (min-width: 1000px) {
  .pv .site-nav { position: sticky; top: 0; z-index: 50; }
  .sec-pick { top: 78px; left: auto; right: var(--gut); background: transparent; border: 0; }
  .pv .sec-pick .wrap { padding: 0; }
  .sec-pick-btn { padding: 0 14px; background: var(--g2); border: 1px solid var(--line-dim); box-shadow: var(--menu-shadow); }
  .sec-pick-menu { left: auto; right: 0; }
}

/* Wide: Section ▾ lives in the sticky nav, right after the logo (owner
   2026-10-31: top left, beside the logo, not floating on the right). */
@media (min-width: 1000px) {
  .sec-pick.in-nav { position: relative; top: auto; right: auto; left: auto; z-index: auto; margin: 0 auto 0 22px; background: transparent; border: 0; }
  .sec-pick.in-nav .wrap { padding: 0; margin: 0; max-width: none; min-height: 0; width: auto; }
  .sec-pick.in-nav .sec-pick-btn { box-shadow: none; }
  .sec-pick.in-nav .sec-pick-menu { left: 0; right: auto; }
}

/* The nav's Sign in ▾ (built by js/site-nav.js) in the theme's ink. */
.nav-auth-trigger { color: var(--ink); border: 1px solid var(--edge); border-radius: 0; min-height: 44px;
  font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: .8px; text-transform: uppercase; }
.nav-auth-trigger:hover, .nav-auth-trigger[aria-expanded="true"] { color: var(--ink); background: var(--line-wash); border-color: var(--line); }
.nav-auth-trigger:focus-visible { outline-color: var(--focus); }
.nav-auth-panel { border-radius: 0; border-top-color: var(--line); }
.nav-auth-input { border-radius: 0; }

/* Nav buttons: the site pins .nav-cta to a filled teal plate; here the web
   app is the line-colour secondary and the trial is the one amber action. */
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { background: transparent; border-color: transparent; box-shadow: none; }
.nav-links a.nav-cta.btn-outline { --btn-line: var(--line); --btn-fill: var(--g-nav); color: var(--ink) !important; }
.nav-links a.nav-cta.btn-outline:hover { --btn-fill: var(--line-wash); }
.nav-links a.nav-cta.btn-orange { --btn-line: var(--primary); --btn-fill: var(--primary); color: var(--primary-ink) !important; }
.nav-links a.nav-cta.btn-orange:hover { --btn-line: var(--primary-hi); --btn-fill: var(--primary-hi); }

.pv-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Motion: one vocabulary for everything that moves on its own ──────
   A wipe from the left brings the new content in; its headline slides in
   just behind it. */
@keyframes pv-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pv-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pv-slide { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes pv-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── What's in the box: one screen at a time, every slide the same size ── */
.pv-car .row-head { align-items: flex-end; }
.pv-car-ctl { display: flex; gap: 8px; flex: none; }
.pv-skin { display: inline-flex; border: 1px solid var(--edge); margin-right: 4px; }
.pv-skin button {
  height: 42px; padding: 0 12px; border: 0; border-right: 1px solid var(--edge); border-radius: 0; background: var(--g-deep); color: var(--line-ink);
  font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer;
}
.pv-skin button:last-child { border-right: 0; }
.pv-skin button:hover { background: var(--line-wash); color: var(--ink); }
.pv-skin button[aria-pressed="true"] { background: var(--ink); color: var(--g-deep); }
.pv-skin button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 640px) {
  .pv-car .row-head { flex-wrap: wrap; }
  .pv-car-ctl { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; }
  .pv-skin { width: 100%; margin: 0 0 4px; }
  .pv-skin button { flex: 1; padding: 0 6px; }
}
.pv-car-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  border: 1px solid var(--edge); border-radius: 0; background: var(--g-deep); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.pv-car-pause { font-size: 13px; }
.pv-car-btn:hover { border-color: var(--line); background: var(--line-wash); }
.pv-car-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pv-car-tabs { display: none; }
@media (min-width: 1000px) {
  .pv-car-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); border: 1px solid var(--line-dim); border-bottom: 0; }
}
.pv-car-tabs button {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 52px; padding: 6px 10px;
  border: 0; border-left: 1px solid var(--line-dim); border-radius: 0; background: transparent; color: var(--ink-2); text-align: left; cursor: pointer;
  font: 600 14px/1.1 var(--cond); letter-spacing: .8px; text-transform: uppercase; overflow: hidden;
}
.pv-car-tabs button:first-child { border-left: 0; }
.pv-car-tabs button small { font: 400 11px/1 var(--mono); color: var(--ink-3); letter-spacing: .3px; }
.pv-car-tabs button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pv-car-tabs button:hover { color: var(--ink); background: var(--line-wash); }
.pv-car-tabs button[aria-selected="true"] { color: var(--ink); background: var(--line-wash); }
.pv-car-tabs button[aria-selected="true"] small { color: var(--line-ink); }
.pv-car-tabs button:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.pv-car-timer { height: 3px; margin: 0 0 18px; background: var(--line-dim); overflow: hidden; }
.pv-car-timer i { display: block; height: 100%; background: var(--line); transform-origin: 0 50%; transform: scaleX(0); transition: transform .1s linear; }
.pv-car.is-paused .pv-car-timer i { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .pv-car-timer i { transition: none; } }

.pv-car-stage { display: grid; }
.pv-car-stage > .shot { grid-area: 1 / 1; visibility: hidden; min-width: 0; }
.pv-car-stage > .shot.is-on, .pv-car-stage > .shot.is-out { visibility: visible; }
.pv-car-stage > .shot.is-on { z-index: 2; }
.pv-car-stage > .shot.is-out { z-index: 1; animation: pv-fade-out .7s ease forwards; }
.pv-car-stage > .shot.is-in { animation: pv-wipe .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.pv-car-stage > .shot.is-in .plate-bar h3 { animation: pv-slide .6s .22s cubic-bezier(.2, .7, .2, 1) backwards; }
.pv-car-stage > .shot.is-in .plate-body { animation: pv-rise .55s .32s ease backwards; }
.pv-car-count { margin: 12px 0 0; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); }
.pv-car-count b { color: var(--line-ink); font-weight: 400; }
@media (min-width: 1000px) {
  .pv-car-count { display: none; }
  /* Wide: the screen on the left, its name and cliff notes on the right. */
  .pv-car .shot { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); grid-template-rows: auto 1fr; }
  .pv-car .shot .shot-img { grid-column: 1; grid-row: 1 / 3; margin: 1px 0 1px 1px; border-bottom: 0 !important; border-right: 1px solid var(--line-dim); }
  .pv-car .shot .plate-bar { grid-column: 2; grid-row: 1; margin: 1px 1px 0 0; padding: 24px 28px 16px; }
  .pv-car .shot .plate-body { grid-column: 2; grid-row: 2; padding: 18px 28px 28px; }
  .pv-car .plate-bar h3 { font-size: clamp(32px, 2.8vw, 48px); }
  .pv-car .plate-row { grid-template-columns: 80px 1fr; padding: 10px 0; }
  .pv-car .plate-row p { font-size: 17px; }
  .pv-car .plate-list, .pv-car .shot .plate-list { columns: 2; margin-top: 14px; }
  .pv-car .plate-list li { font-size: 16px; padding: 6px 0 6px 14px; }
  .pv-car .plate-list li::before { top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-car-stage > .shot, .pv-car-stage > .shot * { animation: none !important; }
  .pv-car-stage > .shot.is-out { visibility: hidden; }
}

/* ── The numbers strip trades facts ───────────────────────────────── */
.pv-trade .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 44px; align-items: stretch; }
.pv-trade .tile { display: grid; overflow: hidden; text-align: center; }
.pv-trade .face { grid-area: 1 / 1; visibility: hidden; }
.pv-trade .face.is-on, .pv-trade .face.is-out { visibility: visible; }
.pv-trade .face.is-on { z-index: 1; }
.pv-trade .face.is-in { animation: pv-wipe .6s cubic-bezier(.2, .7, .2, 1) backwards; }
.pv-trade .face.is-in b { animation: pv-slide .5s .12s cubic-bezier(.2, .7, .2, 1) backwards; }
.pv-hold {
  align-self: center; justify-self: end; width: 44px; height: 44px; padding: 0; border: 1px solid var(--edge); border-radius: 0;
  background: transparent; color: var(--ink-2); font-size: 12px; cursor: pointer;
}
.pv-hold:hover { color: var(--ink); border-color: var(--line); }
.pv-hold:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 600px) { .pv-trade span { font-size: 11px; letter-spacing: .8px; } }
@media (prefers-reduced-motion: reduce) { .pv-trade .face, .pv-trade .face b { animation: none !important; } }

/* ── Included: the words on the left, the two receipts beside them ─── */
@media (min-width: 1200px) {
  .slips-sec .wrap { display: grid; grid-template-columns: minmax(300px, 1fr) auto; grid-template-rows: auto 1fr; column-gap: clamp(48px, 6vw, 120px); }
  .slips-sec .row-head { grid-column: 1; grid-row: 1; display: block; margin-top: 12px; }
  .slips-sec .receipts { grid-column: 2; grid-row: 1 / 3; }
  .slips-sec p.sub.trial-end { grid-column: 1; grid-row: 2; align-self: start; margin: 18px 0 0; text-align: left; }
  .slips-sec .row-head p.sub { font-size: 17px; }
}

/* ── From Eric + Get started: one row on a wide screen ────────────── */
.end-grid { display: grid; gap: 28px; }
.pv-end { padding: 40px 0 56px; }
.pv-end .founder-line { margin: 0; max-width: 34ch; }
.pv-end .cta-banner { margin: 0; }
@media (min-width: 1000px) {
  .end-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
  .pv-end .founder-line { font-size: clamp(26px, 2.2vw, 36px); }
}

/* ── Changelog + Manual previews ──────────────────────────────────── */
.pv .hero-compact {
  text-align: left; padding: 36px 0 32px; color: var(--ink); border-bottom: 1px solid var(--line-dim);
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(0deg,  var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--g-hero);
}
.pv .hero-compact::after { display: none; }
.pv .hero-compact h1 { font-family: var(--cond); font-weight: 600; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; color: var(--ink); margin: 0 0 10px; }
.pv .hero-compact .tagline { max-width: 68ch; margin-left: 0; color: var(--ink-2); font-size: 17px; }
.pv .hero-compact .lang-links, .pv .hero-compact .manual-actions { justify-content: flex-start; text-align: left; color: var(--ink-2); }
.pv .hero-compact .lang-links strong { color: var(--ink); }
.pv .hero-compact .lang-links a { color: var(--link); }
.pv-page-changelog section { padding-top: 28px; }
.pv-page-changelog .changelog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 18px; align-items: start; }
.pv-page-changelog .changelog-entry:first-child { grid-column: 1 / -1; }
.pv .changelog-entry, .pv .manual-content, .pv .manual-toc {
  background: var(--g2); border: 1px solid var(--panel-line); border-radius: 0; box-shadow: none; color: var(--ink);
}
.pv .changelog-entry:first-child { border-color: var(--line); }
.pv .changelog-head { border-bottom-color: var(--line-dim); }
.pv .changelog-version { font-family: var(--cond); font-weight: 600; color: var(--ink); letter-spacing: .6px; text-transform: none; }
/* The newest release spans the row; on a wide screen its notes flow in two columns. */
@media (min-width: 1200px) {
  .pv-page-changelog .changelog-entry:first-child .changelog-notes { columns: 2; column-gap: 56px; }
  .pv-page-changelog .changelog-entry:first-child .changelog-notes li { break-inside: avoid; max-width: none; }
  .pv-page-changelog .changelog-entry:first-child .changelog-notes ul { margin-top: 0; }
}
.pv .changelog-meta { color: var(--ink-2); }
.pv .changelog-notes { color: var(--ink-2); }
.pv .changelog-notes p, .pv .changelog-notes li { max-width: 80ch; }
.pv .changelog-notes strong { color: var(--ink); }
.pv .changelog-badge, .pv .changelog-pill { border-radius: 0; }
.pv .changelog-badge-active { background: transparent; color: var(--ok-ink); border: 1px solid var(--ok-ink); }
.pv .changelog-download { border-radius: 0; }

.pv-page-manual .manual-layout { grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); padding-top: 28px; }
@media (max-width: 960px) { .pv-page-manual .manual-layout { grid-template-columns: 1fr; } }
.pv .manual-content h2 { font-family: var(--cond); font-weight: 600; color: var(--ink); letter-spacing: .6px; border-bottom-color: var(--line-dim); }
.pv .manual-content h3 { font-family: var(--cond); font-weight: 600; color: var(--ink); letter-spacing: .5px; font-size: 24px; }
.pv .manual-content p, .pv .manual-content li { max-width: 76ch; }
/* styles.css pads every <section> 60 px; in the manual that put 120 px holes
   between a group and its first topic. Topics space themselves here. */
.pv-page-manual .manual-content section { padding: 0; }
.pv-page-manual .manual-content { padding: 28px clamp(20px, 2.4vw, 40px) 36px; }
.pv-page-manual .group-section + .group-section { margin-top: 44px; }
.pv-page-manual .group-section:first-child > h2 { margin-top: 0; }
.pv-page-manual .group-section .topic-section + .topic-section { margin-top: 28px; padding-top: 24px; border-top-color: var(--line-dim); }
.pv .manual-actions .btn { font-family: var(--cond); font-size: 16px; min-height: 44px; padding: 10px 18px; }
.pv .topic-blurb, .pv .manual-content li { color: var(--ink-2); }
.pv .topic-label { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 1.6px; color: var(--line-ink); }
.pv .topic-tips { background: var(--g1); border-left: 3px solid var(--line); border-radius: 0; }
.pv .topic-tips .topic-label { color: var(--line-ink); }
.pv .related-chips .chip { border-radius: 0; background: transparent; border-color: var(--edge); color: var(--ink); min-height: 32px; display: inline-flex; align-items: center; }
.pv .related-chips .chip:hover { border-color: var(--line); color: var(--ink); background: var(--line-wash); }
.pv .manual-toc-list a { color: var(--ink-2); border-radius: 0; }
.pv .manual-toc-list a.is-active { color: var(--ink); background: var(--line-wash); box-shadow: inset 2px 0 0 var(--line); }
.pv .manual-search-input { border-radius: 0; background: var(--g0); color: var(--ink); border-color: var(--edge); }
.pv .manual-toc-head .eyebrow { font-family: var(--cond); font-weight: 600; letter-spacing: 1.6px; color: var(--ink-2); }
/* Wide: steps keep a reading width; tips, related topics and the in-app
   path sit beside them instead of under them. */
@media (min-width: 1300px) {
  .pv-page-manual .topic-section { display: grid; grid-template-columns: minmax(0, 76ch) minmax(260px, 1fr); column-gap: clamp(32px, 3vw, 64px); align-items: start; }
  .pv-page-manual .topic-side { padding-top: 52px; }
  .pv-page-manual .topic-side .topic-tips { margin-top: 0; }
}

/* ── Light / Dark / Auto: an anchored menu at the right of the utility bar ── */
.theme-pick { position: relative; flex: none; display: flex; align-items: stretch; }
.theme-btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 0 12px 0 14px;
  border: 0; border-left: 1px solid var(--util-line-dim); background: transparent; color: var(--ink-2); cursor: pointer;
  font: 600 14px/1 var(--cond); letter-spacing: .8px; text-transform: uppercase;
}
.theme-btn:hover, .theme-btn[aria-expanded="true"] { color: var(--ink); background: rgba(255, 255, 255, .07); }
.theme-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
.theme-btn .theme-ico { font-size: 15px; line-height: 1; }
.theme-menu {
  position: absolute; top: 100%; right: 0; z-index: 70; min-width: 236px; margin: 0; padding: 6px; list-style: none;
  background: var(--g2); border: 1px solid var(--line-dim); box-shadow: var(--menu-shadow);
}
.theme-menu[hidden] { display: none; }
.theme-menu button {
  display: grid; grid-template-columns: 22px 1fr; align-items: center; column-gap: 8px; width: 100%; min-height: 44px; padding: 6px 10px;
  border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit;
}
.theme-menu button b { font: 600 15px/1.1 var(--cond); letter-spacing: 1px; text-transform: uppercase; }
.theme-menu button small { grid-column: 2; color: var(--ink-2); font-size: 13px; line-height: 1.3; }
.theme-menu button .theme-ico { grid-row: 1 / span 2; color: var(--line-ink); text-align: center; }
.theme-menu button[aria-checked="true"] { box-shadow: inset 2px 0 0 var(--line); background: var(--line-wash); }
.theme-menu button:hover, .theme-menu button:focus-visible { background: var(--line-wash); outline: none; }
.theme-menu button:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
/* Phone: the word goes, the symbol and the caret stay. */
@media (max-width: 420px) { .theme-btn .theme-word { display: none; } }

/* ── Included: a quote on tablet and wide, the receipts on a phone ───── */
.quote { display: none; }
@media (min-width: 700px) {
  .slips-sec .receipts { display: none; }
  .quote { display: block; padding: 0; }
}
@media (min-width: 1200px) {
  .slips-sec .wrap { grid-template-columns: minmax(280px, 1fr) minmax(0, 2.4fr); }
  .slips-sec .quote { grid-column: 2; grid-row: 1 / 3; }
}
.quote-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 24px 12px;
  border-bottom: 1px solid var(--line-dim); font: 600 15px/1.2 var(--cond); letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2);
}
.quote-head b { color: var(--ink); font-weight: 600; font-size: 18px; }
.quote-head span { font-family: var(--mono); font-size: 12.5px; letter-spacing: .5px; color: var(--line-ink); }
.quote-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.quote-table th, .quote-table td { padding: 12px 16px; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--line-dim); }
.quote-table thead th {
  padding-top: 10px; padding-bottom: 10px; font: 600 13px/1.2 var(--cond); letter-spacing: 1.4px; text-transform: uppercase; color: var(--line-ink);
}
.quote-table th:first-child, .quote-table td:first-child { padding-left: 24px; }
.quote-table th:last-child, .quote-table td:last-child { padding-right: 24px; }
.quote-table tbody th { font: 600 19px/1.2 var(--cond); letter-spacing: .6px; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.quote-table td { color: var(--ink-2); }
.quote-table .qty { font-family: var(--mono); font-size: 13.5px; white-space: nowrap; }
.quote-table .num { text-align: right; white-space: nowrap; }
.quote-table td.num { font: 600 26px/1 var(--cond); color: var(--ink); }
.quote-table tr.ai td.num { color: var(--line-ink); }
.quote-table tr.free td.num { color: var(--ok-ink); }
.quote-table tbody tr:hover { background: var(--line-wash); }
.quote-table tfoot td { border-bottom: 0; padding-top: 14px; padding-bottom: 14px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
/* Tablet: the notes get the room; the unit tucks under the item. */
@media (max-width: 999px) {
  .quote-table .qty-col { display: none; }
  .quote-table tbody th small { display: block; margin-top: 4px; font: 400 13px/1.3 var(--mono); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
}
@media (min-width: 1000px) { .quote-table tbody th small { display: none; } }
.quote-incl { padding: 18px 24px 24px; border-top: 1px solid var(--line-dim); }
.quote-incl-head { margin: 0 0 12px; font: 600 14px/1.2 var(--cond); letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2); }
.quote-incl-head b { color: var(--line-ink); font-weight: 600; }
.quote-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 20px; }
.quote-groups h3 { margin: 0 0 6px; font: 600 14px/1.2 var(--cond); letter-spacing: 1.2px; color: var(--line-ink); }
.quote-groups ul { list-style: none; margin: 0; padding: 0; }
.quote-groups li { position: relative; padding: 2px 0 2px 12px; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.quote-groups li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; background: var(--line); }
.quote-groups li.ai { color: var(--ink); }
/* The receipts stay paper in both themes: a slip is a slip. */
.slip { color: #1D2630; }
/* Paper ink is pinned too, so dark mode doesn't swap in its light green. */
.slip li b { color: #1D7A3C; }
.receipt.ai li b, .receipt.ai .slip-total b { color: #6B4FB3; }
.slip-no, .rc-head span, .rc-foot { color: #5C6C7C; }

/* ── Every other page: the same console language ──────────────────── */
/* The page header ("00 · Release history") on the grid ground. */
.pv .hero-compact h1 { text-transform: uppercase; }
.pv .hero-compact .sec-label { margin-bottom: 12px; }
.pv .hero-compact p.tagline { margin-left: 0; margin-right: 0; max-width: 68ch; }
.hero-eyebrow { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 1.6px; color: var(--ink-2); }
.hero-eyebrow::before { content: none; }
section { padding: clamp(36px, 5vw, 64px) 0; }
section.section-alt { background: var(--g1); border-top: 1px solid var(--line-dim); border-bottom: 1px solid var(--line-dim); }
.section-head { text-align: left; }
.section-head .eyebrow, .eyebrow { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 1.6px; color: var(--line-ink); }
.section-head h2, .pv section h2 { color: var(--ink); }
.section-head p { margin-left: 0; color: var(--ink-2); }
.pv p, .pv li { max-width: 80ch; }
.pv .wrap-narrow { max-width: none; }
.pv .wrap-narrow > * { max-width: 920px; }

/* Cards and feature items: chamfered panels. */
.card, .feature-list .item, .role-card, .status-card, .contact-card {
  position: relative; isolation: isolate; background: transparent; border-color: transparent; border-radius: 0; box-shadow: none;
}
.card::before, .feature-list .item::before, .role-card::before, .status-card::before, .contact-card::before,
.card::after, .feature-list .item::after, .role-card::after, .status-card::after, .contact-card::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
}
.card::before, .feature-list .item::before, .role-card::before, .status-card::before, .contact-card::before {
  inset: 0; background: var(--panel-line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.card::after, .feature-list .item::after, .role-card::after, .status-card::after, .contact-card::after {
  inset: 1px; background: var(--g2);
  clip-path: polygon(0 0, calc(100% - var(--cut) + .5px) 0, 100% calc(var(--cut) - .5px), 100% 100%, calc(var(--cut) - .5px) 100%, 0 calc(100% - var(--cut) + .5px));
}
.card:hover { transform: none; box-shadow: none; }
.card h3, .feature-list .item h4, .feature-list .item h3, .role-card h3 { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--ink); }
.feature-list .item h4, .feature-list .item h3 { font-size: 19px; margin: 0 0 6px; font-weight: 600; }
.feature-list .item p, .card p { color: var(--ink-2); font-size: 15.5px; }
.feature-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.feature-group { margin-bottom: clamp(36px, 4vw, 56px); }
.feature-group-head { gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-dim); }
.feature-group-head .badge {
  width: auto; height: auto; padding: 0; background: transparent; border-radius: 0;
  font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--line-ink);
}
.feature-group-head h2 { font-size: clamp(24px, 2.4vw, 32px); color: var(--ink); }

/* The stub at the foot of a page: a chamfered panel, no navy. */
.cta-banner { text-align: left; }
.cta-banner p { margin-left: 0; }
.cta-banner .cta-pricing { font-family: var(--mono); }
.linkout { text-align: left; }
.linkout a { font-family: var(--cond); font-size: 16px; letter-spacing: 1px; color: var(--link); }

/* Prose pages (Terms, Privacy, Delete account, Support): the words stay
   exactly as written; only the type and the rules change. */
.pv .prose h2, .pv .legal h2, .pv-page-legal section h2 { font-size: clamp(22px, 2vw, 28px); margin-top: 1.6em; }
.pv-page-legal section h2:first-of-type { margin-top: .4em; }
.pv-page-legal section p, .pv-page-legal section li { color: var(--ink-2); }
.pv-page-legal section strong { color: var(--ink); }
.pv code, .pv kbd { font-family: var(--mono); }

/* Footer: one quiet strip. */
.site-footer .wrap { padding-top: 22px; padding-bottom: 22px; }
.site-footer .footer-status { color: var(--ink-2); }

/* ── Taps: every control at least 44 px tall ─────────────────────── */
.brand { min-height: 44px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.make-ticket a, .access-note > a.tap, .linkout a { display: inline-flex; align-items: center; min-height: 44px; }
/* Links inside a sentence stay inline (a 44 px box broke the line around
   them); a little padding still widens the tap without moving the text. */
.access-note a:not(.tap), .pv-page-support li a:not(:only-child), .pv-page-support p a { display: inline; padding-block: 6px; }
.site-footer a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
p.sub.trial-end { text-align: left; margin-left: 0; }

/* Dark: the role letters lighten so they read on the graphite card; the
   ring keeps the role's own colour. */
:root[data-theme="dark"] .badge-mono { color: color-mix(in srgb, var(--bc) 55%, #fff); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .badge-mono { color: color-mix(in srgb, var(--bc) 55%, #fff); } }

/* Without script the switch can't work, so it isn't shown. */
:root:not([data-theme]) .theme-pick { display: none; }
.kv .v a { display: inline-flex; align-items: center; min-height: 44px; }
.changelog-pill { border-radius: 0; }
.changelog-pill-android { color: var(--ok-ink); }
/* Screenshots: the Phone / Desktop switch, square and 44 px. */
.dev-btn { min-height: 44px; font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 1px; color: var(--ink-2); border-color: var(--edge); }
.dev-btn.is-on { background: var(--line); color: var(--line-on); border-color: var(--line); }
.dev-btn:focus-visible { outline-color: var(--focus); }
#status-headline.headline-ok { color: var(--ok-ink); }
#status-headline.headline-slow { color: var(--accent-orange); }
#status-headline.headline-down { color: var(--bad); }

/* More 44 px taps: the sign-in panel, form fields, the manual's lists and
   the stand-alone link lists on the prose pages. */
.nav-auth-tab { min-height: 44px; }
.pv input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .pv select, .lang-picker { min-height: 44px; }
.manual-toc-list a { min-height: 44px; display: flex; align-items: center; }
.manual-toc-toggle { min-width: 44px; min-height: 44px; }
.pv .related-chips .chip { min-height: 44px; }
.pv .legal .toc a, .pv .toc a, .pv-page-support li > a:only-child { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.pv .legal .toc { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; }
.pv .legal .toc p { flex-basis: 100%; margin: 0; }
/* Amber is the primary action only: no amber rule under section titles. */
.section-head h2::after { display: none; }
.section-head p { max-width: 68ch; }

/* ── Account and company pages (account.html + portal/) ──────────────
   portal.css lays them out; here they take the theme. */
:root { --alert-err: #8E2C2C; --alert-ok: #206A2B; --alert-info: #1B5A86; --alert-warn: #74490B; }
:root[data-theme="dark"] { --alert-err: #FFB4A6; --alert-ok: #9BE8AE; --alert-info: #C9DCF0; --alert-warn: #FFD58A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --alert-err: #FFB4A6; --alert-ok: #9BE8AE; --alert-info: #C9DCF0; --alert-warn: #FFD58A; } }
.alert { border-radius: 0; }
.alert-error { color: var(--alert-err); background: rgba(201, 56, 26, .08); }
.alert-success { color: var(--alert-ok); }
.alert-info { color: var(--alert-info); }
.alert-warn { color: var(--alert-warn); }
.portal-bar { background: var(--g-nav); border-bottom: 1px solid var(--line-dim); }
.portal-bar .btn-outline, .portal-bar .btn-outline:hover { color: var(--ink) !important; }
.pv .panel, .pv .company-card { border-radius: 0; }
.pv .panel-head h2, .pv .view-head h1, .pv .view-head h2 { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.pv .input, .pv .portal-main select, .pv .portal-main textarea { border-radius: 0; background: var(--g0); color: var(--ink); border-color: var(--edge); }
.pv .data-table tbody tr:hover { background: var(--line-wash); }
.pv .tab-btn:hover { background: var(--line-wash); }
.pv .pill { border-radius: 0; }
.pv .modal, .pv .modal-panel { border-radius: 0; }
.pv .portal-main .wrap { max-width: none; }
/* Signed in: the account menu takes the place of the trial and web-app buttons. */
.nav-links:has(.nav-account-group) .nav-cta { display: none !important; }

/* ── Guest call page (meet/): the lobby takes the theme; the call itself
      stays dark in both, on graphite rather than navy. ──────────────── */
body.meet { font-family: var(--body); background: var(--g0); color: var(--ink); }
.meet-title { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; font-size: 34px; }
.meet-call { background: #121417; color: #EDEFF2; }
.meet-bar { border-bottom-color: #353B43; font-family: var(--cond); text-transform: uppercase; letter-spacing: .6px; }
.meet-tile { background: #23272C; border-radius: 0; }
.meet-tile.talking { outline-color: #9DBBDA; }

/* ── Checkout return pages: the brand strip under the utility bar ─── */
.pv-page-checkout .portal-bar .wrap { min-height: 68px; }
.pv-page-checkout .brand span { color: var(--ink); }

/* Android menu: above the numbers strip that follows the header (the
   panel is its own stacking context), and a light label while it's open. */
.access { z-index: 4; }
.dropdown.open .dropdown-toggle { --btn-fill: var(--line); --btn-line: var(--line); color: var(--line-on) !important; }
/* A deep link (#included, #faq) lands below the sticky section bar. */
.pv [data-sec], .pv [id] { scroll-margin-top: 60px; }
/* The manual's "#" heading links are a mouse nicety; on touch they were
   11 px targets, so they go. */
@media (pointer: coarse) { .heading-anchor { display: none; } }
/* Release platform tags: 44 px taps. */
.changelog-download { min-height: 44px; display: inline-flex; align-items: center; }
/* Store buttons that aren't live yet say so in words, not a tag. */
.dropdown-item.is-soon .di-title::after { content: none; }
.dropdown-item.is-soon { cursor: default; }
.dropdown-item.is-soon:hover { background: transparent; }
.btn.is-soon { cursor: default; color: var(--ink-2) !important; }
.btn.is-soon:hover { --btn-fill: var(--g0); }
.slip li b.soon { color: #8A5A00; }
.quote-groups li.soon { color: var(--ink-3); }
/* ── Talk to Millie (home): her words on the left, the chat on the right;
      stacked on a phone, greeting first. js/millie-chat.js runs the box. ── */
.millie-sec { background: var(--g1); }
.millie-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .millie-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; } }
.millie-words h2 { margin: 0 0 12px; color: var(--ink); font-size: clamp(28px, 6.4vw, 40px); line-height: 1.05; }
.millie-words p:not(.sec-label) { margin: 0 0 10px; max-width: 56ch; color: var(--ink-2); font-size: clamp(16.5px, .4vw + 14px, 19px); line-height: 1.55; }
.millie-side { min-width: 0; }
.millie-chat { display: flex; flex-direction: column; min-width: 0; }
.millie-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 10px;
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 1px solid var(--line-dim);
}
.millie-head b { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.millie-head b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.millie-log {
  display: flex; flex-direction: column; gap: 10px; min-height: 190px; max-height: clamp(280px, 55vh, 440px); overflow-y: auto;
  overscroll-behavior: contain; padding: 14px 16px;
}
@media (min-width: 900px) { .millie-log { height: clamp(260px, 40vh, 380px); max-height: none; } }
.millie-msg { margin: 0; max-width: 90%; padding: 9px 12px; font-size: 16px; line-height: 1.5; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.millie-msg.bot { align-self: flex-start; background: var(--g1); border-left: 3px solid var(--line); }
.millie-msg.me { align-self: flex-end; background: var(--line-wash); border: 1px solid var(--line-dim); }
.millie-msg a { color: var(--link); }
.millie-dots { display: inline-flex; gap: 5px; padding: 4px 0; }
.millie-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: millie-dot 1s infinite ease-in-out; }
.millie-dots i:nth-child(2) { animation-delay: .15s; }
.millie-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes millie-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .millie-dots i { animation: none; opacity: .6; } }
.millie-form { display: flex; gap: 8px; padding: 12px 16px 8px; border-top: 1px solid var(--line-dim); }
.millie-form[hidden], .millie-try[hidden], .millie-nojs[hidden] { display: none; }
.millie-form input {
  flex: 1; min-width: 0; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px;
  color: var(--ink); background: var(--g0); border: 1px solid var(--edge); border-radius: 0;
}
.millie-form input::placeholder { color: var(--ink-3); }
.millie-form input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.millie-form .btn { flex: none; padding-left: 20px; padding-right: 20px; }
.millie-form .btn:disabled, .millie-form input:disabled { opacity: .6; cursor: default; }
.millie-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.millie-try { padding: 2px 16px 14px; font-size: 15px; color: var(--ink-2); }
.millie-try p { margin: 0 0 2px; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
.millie-try ul { list-style: none; margin: 0; padding: 0; }
.millie-try li { padding: 3px 0; }
.millie-try a { color: var(--link); }
.millie-nojs { margin: 0; padding: 12px 16px 16px; border-top: 1px solid var(--line-dim); color: var(--ink-2); font-size: 15px; }
.millie-private { margin: 18px 0 0; max-width: 56ch; padding: 14px 16px; border: 1px solid var(--line-dim); border-left: 3px solid var(--line); background: var(--line-wash); }
.millie-private h3 { margin: 0 0 8px; color: var(--ink); font-size: 17px; }
.millie-private ul { margin: 0; padding: 0 0 0 18px; }
.millie-private li { margin: 0 0 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.millie-private li:last-child { margin-bottom: 0; }
.millie-private b { color: var(--ink); }
.millie-fine { margin: 10px 2px 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.millie-fine a { color: var(--link); }
