/* Scenalis site styles.
   Rules: one page background for every section, header and footer; no lines between sections;
   no gradients, no transparency, no shadows. Depth comes from solid surface steps only.
   Only form inputs carry a border. Table rows separate by alternating fills.
   Light "Daylight" theme by default; dark "Night drive" theme via OS or [data-theme]. */

:root {
  /* colour: Daylight (light) */
  --bg: #F4F5F0;          /* page, header, footer, every section */
  --raised: #FFFFFF;      /* cards, panels on --bg */
  --sunk: #E8EAE3;        /* wells, table stripes, chips on --bg */
  --sunk-2: #DADDD4;      /* pressed chips, bar tracks on --raised (no small text on it) */
  --ink: #14171A;         /* asphalt: text on every surface */
  --ink-2: #41464C;       /* secondary text on every surface */
  --ink-3: #5A6066;       /* captions, labels on --bg/--raised/--sunk */
  --lime: #CFE21A;        /* crossing-sign lime: fills only, never text on light */
  --on-lime: #14171A;     /* text on --lime, in both themes */
  --lime-soft: #EEF5C2;   /* tinted fill: highlight rows, active nav, example tags */
  --blue: #1F55C9;        /* pass, stopped in time, links */
  --blue-soft: #DEE6F8;   /* tinted fill for pass tags */
  --orange: #AE4508;      /* fail, contact, risk (paired with a word) */
  --orange-soft: #F8E2D2; /* tinted fill for risk tags */
  --field: #7F858A;       /* input borders on --raised (>= 3:1) */
  --go-bg: #14171A;       /* primary button: asphalt with lime label */
  --go-ink: #CFE21A;
  --go-bg-h: #CFE21A;
  --go-ink-h: #14171A;
  --night: #14171A;       /* CTA block and code blocks */
  --night-ink: #F1F2ED;   /* text on --night */
  --night-dim: #A7ACA4;   /* comments on --night */
  --focus: #1F55C9;
  /* scene canvas (the street is asphalt in both themes) */
  --cv-road: #2B3034; --cv-curb: #C9CDC4; --cv-walk: #DCDFD7; --cv-lane: #E9ECE4; --cv-van: #6B737A;
  --cv-path: #8C949A; --cv-ped: #FFFFFF; --cv-ok: #8FB0FF; --cv-bad: #FF9F66;

  /* type */
  --f-display: "Encode Sans", "Arial", system-ui, sans-serif;
  --f-text: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-data: "Victor Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --t-hero: clamp(2.4rem, 1.5rem + 3.9vw, 4.6rem);
  --t-h1: clamp(2.1rem, 1.45rem + 2.7vw, 3.6rem);
  --t-h2: clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem);
  --t-h3: 1.15rem;
  --t-big: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
  --t-body: 1rem;
  --t-sm: 0.875rem;
  --t-xs: 0.78rem;

  /* space (4px scale) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px;
  --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;
  --section-y: clamp(64px, 5vw + 40px, 120px);
  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --wrap: 1200px;

  /* shape: soft rounded rectangles (top-down vehicles), no cut corners */
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --dur: 200ms; --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111315; --raised: #1B1E21; --sunk: #0A0B0C; --sunk-2: #282C30;
    --ink: #EEF0EA; --ink-2: #BEC2BA; --ink-3: #92978F;
    --lime: #D4EA2A; --lime-soft: #2C3309;
    --blue: #8FB0FF; --blue-soft: #1B2950; --orange: #FF9F66; --orange-soft: #3D2110;
    --field: #73787D; --go-bg: #D4EA2A; --go-ink: #14171A; --go-bg-h: #EEF0EA; --go-ink-h: #14171A;
    --night: #1B1E21; --night-ink: #EEF0EA; --night-dim: #9CA199; --focus: #8FB0FF;
    --cv-curb: #3A3F43; --cv-walk: #24282B; --cv-road: #2E3337;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111315; --raised: #1B1E21; --sunk: #0A0B0C; --sunk-2: #282C30;
  --ink: #EEF0EA; --ink-2: #BEC2BA; --ink-3: #92978F;
  --lime: #D4EA2A; --lime-soft: #2C3309;
  --blue: #8FB0FF; --blue-soft: #1B2950; --orange: #FF9F66; --orange-soft: #3D2110;
  --field: #73787D; --go-bg: #D4EA2A; --go-ink: #14171A; --go-bg-h: #EEF0EA; --go-ink-h: #14171A;
  --night: #1B1E21; --night-ink: #EEF0EA; --night-dim: #9CA199; --focus: #8FB0FF;
  --cv-curb: #3A3F43; --cv-walk: #24282B; --cv-road: #2E3337;
  color-scheme: dark;
}

/* ------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.6 var(--f-text); overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .vis-cap a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.data { font-family: var(--f-data); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0; font-feature-settings: "zero" 1; }
.sel { user-select: all; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--lime); color: var(--on-lime); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); z-index: 100; font-weight: 600; }
.skip:focus { top: var(--s-2); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.h1, .h2, .h3, .brand span, .metric-v, .prow-name { font-family: var(--f-display); }
.h1 { font-size: var(--t-h1); line-height: 1.03; font-weight: 760; font-stretch: 118%; letter-spacing: -0.025em; }
.hero-h { font-size: var(--t-hero); }
.h1 em, .h2 em { font-style: normal; background: var(--lime); color: var(--on-lime); padding: 0 0.14em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.h2 { font-size: var(--t-h2); line-height: 1.08; font-weight: 720; font-stretch: 112%; letter-spacing: -0.02em; max-width: 24ch; }
.h3 { font-size: var(--t-h3); line-height: 1.28; font-weight: 680; font-stretch: 104%; }
.lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 60ch; }
.big { font-size: var(--t-big); line-height: 1.38; font-weight: 500; letter-spacing: -0.01em; margin-bottom: var(--s-5); }
.vis-cap { font-size: var(--t-sm); color: var(--ink-3); margin-top: var(--s-4); max-width: 75ch; }

/* ------------------------------------------------ the mark */
.mark { width: 30px; height: auto; flex: none; }
.mark .m-i { fill: currentColor; }
.mark .m-e { fill: var(--lime); }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--lime); flex: none; }
.tile svg { width: 26px; height: 26px; }
.tile path { fill: var(--on-lime); }

/* ------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.bar { display: flex; align-items: center; gap: var(--s-6); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 740; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1; }
.brand span { font-stretch: 116%; padding-bottom: 2px; }
.nav-main { flex: 1; }
.nav-links { display: flex; align-items: center; gap: var(--s-1); }
.nav-link, .nav-menu-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; }
.nav-link:hover, .nav-menu-btn:hover, .nav-menu-btn[aria-expanded="true"] { background: var(--sunk); color: var(--ink); }
.nav-link[aria-current="page"], .nav-menu-btn.is-active { color: var(--ink); background: var(--lime-soft); }
.nav-menu-btn svg { width: 11px; height: 11px; transition: transform var(--dur) var(--ease); }
.nav-menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.nav-menu { position: absolute; top: calc(100% + 10px); left: 0; width: 470px; background: var(--raised); border-radius: var(--r); padding: var(--s-2); z-index: 60; outline: 2px solid var(--sunk-2); }
.nav-menu[hidden] { display: none; }
.menu-item { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: center; padding: 10px 12px; border-radius: var(--r-sm); }
.menu-item:hover, .menu-item[aria-current="page"] { background: var(--sunk); }
.menu-item strong { display: block; font-weight: 650; }
.menu-item small { display: block; color: var(--ink-3); font-size: var(--t-sm); line-height: 1.35; }
.menu-st { color: var(--ink-3); }
.menu-foot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-1); padding: 12px; border-radius: var(--r-sm); background: var(--sunk); font-weight: 600; font-size: var(--t-sm); }
.menu-foot:hover { background: var(--lime-soft); }
.nav-tools { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; flex: none; }
.nav-account { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); padding: 8px 6px; white-space: nowrap; }
.nav-account:hover, .nav-account[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.icon-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--sunk); }
.icon-btn svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline; }
.panel-only { display: none; }
.glyph { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; background: var(--sunk); align-items: center; justify-content: center; color: var(--ink); flex: none; }
.glyph svg { width: 20px; height: 20px; }
.glyph .ga { fill: var(--blue); }
.glyph-lg { width: 44px; height: 44px; border-radius: 12px; }
.glyph-lg svg { width: 24px; height: 24px; }
.glyph-xl { width: 64px; height: 64px; border-radius: var(--r); background: var(--bg); }
.glyph-xl svg { width: 36px; height: 36px; }

/* ------------------------------------------------ buttons, chips, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0; font-weight: 650; font-size: 1rem; line-height: 1.1; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 0.9375rem; }
.btn-go { background: var(--go-bg); color: var(--go-ink); }
.btn-go:hover { background: var(--go-bg-h); color: var(--go-ink-h); }
.btn-soft { background: var(--sunk); color: var(--ink); }
.btn-soft:hover { background: var(--sunk-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--sunk); color: var(--ink-2); margin-bottom: var(--s-6); }
.chip-dot { width: 18px; height: 10px; background: var(--lime); border-radius: 5px; }
.chip .chip-g { width: 24px; height: 24px; background: var(--raised); border-radius: 999px; }
.chip .chip-g svg { width: 14px; height: 14px; }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font: 600 var(--t-xs)/1.3 var(--f-data); white-space: nowrap; }
.tag-ex { background: var(--lime-soft); color: var(--ink); }
.tag-risk { background: var(--orange-soft); color: var(--orange); }
.tag-plan { background: var(--sunk); color: var(--ink); }
.tag-hold { background: var(--blue-soft); color: var(--blue); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; margin-top: var(--s-5); color: var(--ink); }
.more .arr, .menu-foot .arr { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.more:hover .arr { transform: translateX(3px); }
.more:hover { color: var(--blue); }

/* ------------------------------------------------ the long-tail eyebrow */
.tl { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s-4); font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
.tl-c { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 6px; background: var(--ink); color: var(--bg); border-radius: 999px; }
.tl-c i { width: 18px; height: 10px; background: var(--lime); border-radius: 5px; }

/* ------------------------------------------------ sections */
.section { padding: var(--section-y) 0; }
.section + .section { padding-top: 0; }
.sec-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-10); }
.sec-head .lead { margin-top: var(--s-1); }
.sec-aside { margin-top: calc(-1 * var(--s-2)); }
.sec-aside .more { margin-top: 0; }
.grid { display: grid; gap: var(--s-4); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split > div { min-width: 0; }
.split-alt > div:first-child { order: 2; }

/* hero */
.hero { padding-top: clamp(32px, 4vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy .lead { margin-top: var(--s-6); }
.page-hero { padding-top: clamp(40px, 5vw, 88px); }
.ph { display: grid; gap: clamp(32px, 4vw, 64px); }
.page-hero.has-side .ph { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.ph-main .lead { margin-top: var(--s-6); }

/* scene viewport: example output under a scenario ID bar */
.vp { background: var(--raised); border-radius: var(--r); padding: var(--s-2); }
.vp-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px; color: var(--ink-3); }
.vp-dot { display: inline-block; width: 18px; height: 10px; border-radius: 5px; background: var(--lime); flex: none; }
.vp-in { background: var(--bg); border-radius: 10px; padding: var(--s-5); }

/* ------------------------------------------------ scenario console */
.console { background: var(--sunk); border-radius: var(--r-lg); padding: var(--s-3); }
.con-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-3) var(--s-3); color: var(--ink-2); }
.con-bar > .data { display: inline-flex; align-items: center; gap: 8px; }
.con-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-3); }
.con-view { background: var(--cv-walk); border-radius: var(--r); overflow: hidden; }
.con-view { display: flex; align-items: center; justify-content: center; }
.con-view canvas { width: 100%; height: auto; aspect-ratio: 320 / 520; max-height: 100%; }
.con-side { display: flex; flex-direction: column; gap: var(--s-4); background: var(--raised); border-radius: var(--r); padding: var(--s-4); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--sunk); border-radius: 999px; }
.con-side .seg { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-sm); }
.seg-b { border: 0; background: transparent; padding: 8px 12px; border-radius: 999px; font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
.con-side .seg-b { border-radius: 6px; padding: 8px 6px; }
.seg-b:hover { color: var(--ink); background: var(--sunk-2); }
.seg-b[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.ro { display: grid; gap: 2px; }
.ro > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding: 8px 10px; background: var(--bg); border-radius: 6px; }
.ro dt { font-size: var(--t-sm); color: var(--ink-2); }
.ro dd { font-size: 0.9375rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.con-side .ro { grid-template-columns: 1fr 1fr; gap: 4px; }
.con-side .ro > div { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; }
.con-side .ro dt { font-size: var(--t-xs); }
.con-side .ro dd { font-size: 1.125rem; }
.console[data-mode="seed"] .m-vary, .console[data-mode="seed"] .m-hunt,
.console[data-mode="vary"] .m-seed, .console[data-mode="vary"] .m-hunt,
.console[data-mode="hunt"] .m-seed, .console[data-mode="hunt"] .m-vary { display: none; }
.console [data-ro="f"] { color: var(--orange); }
.console[data-mode="seed"] [data-ro="f"] { color: var(--blue); }
.con-state { font-size: var(--t-sm); font-weight: 600; min-height: 4.5em; }
.con-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-3); }
.con-leg span { display: inline-flex; align-items: center; gap: 6px; }
.con-leg i { width: 14px; height: 8px; border-radius: 4px; }
.con-leg .k-ego { background: var(--lime); outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.con-leg .k-ped { background: var(--cv-path); }
.con-leg .k-ok { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.con-leg .k-bad { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.console figcaption { font-size: var(--t-sm); color: var(--ink-3); padding: var(--s-3) var(--s-3) var(--s-1); }

/* ------------------------------------------------ cards, metrics */
.card { position: relative; background: var(--raised); border-radius: var(--r); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); transition: background var(--dur) var(--ease); }
.card p { color: var(--ink-2); }
.card-k { color: var(--ink-3); }
.card-link:hover { background: var(--lime-soft); }
.card-link:hover .card-k { color: var(--ink); }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.metric { background: var(--raised); border-radius: var(--r); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.metric-v { font-size: clamp(1.9rem, 1.45rem + 1.5vw, 2.6rem); font-weight: 760; font-stretch: 118%; line-height: 1.02; letter-spacing: -0.02em; }
.metric-l { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.4; }
.metric-n { color: var(--ink-3); margin-top: auto; padding-top: var(--s-2); }
.metric-hl { background: var(--lime); }
.metric-hl .metric-l, .metric-hl .metric-n, .metric-hl .metric-v { color: var(--on-lime); }

/* ticks */
.ticks { display: grid; gap: var(--s-3); }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; }
.ck { width: 20px; height: 20px; margin-top: 2px; }
.ck rect { fill: var(--lime); }
.ck .ck-m { fill: var(--on-lime); }

/* product rows */
.prows { display: grid; gap: 4px; }
.prow { display: grid; grid-template-columns: 40px auto 150px 100px 1fr 24px; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); background: var(--raised); border-radius: var(--r); transition: background var(--dur) var(--ease); }
.prow:hover { background: var(--lime); }
.prow:hover .glyph { background: var(--raised); }
.prow:hover .prow-n, .prow:hover .prow-verb, .prow:hover .prow-line, .prow:hover .prow-name, .prow:hover .prow-go { color: var(--on-lime); }
.prow-n, .prow-verb { color: var(--ink-3); }
.prow-name { font-size: 1.45rem; font-weight: 720; font-stretch: 116%; }
.prow-line { color: var(--ink-2); }
.prow-go .arr { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.prow:hover .prow-go .arr { transform: translateX(4px); }

/* steps: stops along a lane */
.steps { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: var(--s-3); }
.step { background: var(--raised); border-radius: var(--r); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.step p:last-child { color: var(--ink-2); font-size: 0.9375rem; }
.step-t { display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); }
.step-n { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-weight: 600; }

/* code */
.code { background: var(--night); color: var(--night-ink); border-radius: var(--r); overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: var(--s-3); padding: 10px 12px 10px 16px; color: var(--night-dim); }
.code-bar .data:first-child { margin-right: auto; }
.copy { border: 0; background: var(--lime); color: var(--on-lime); font: 600 var(--t-xs) var(--f-data); padding: 6px 12px; border-radius: 999px; }
.copy:hover { background: var(--night-ink); }
.code pre { margin: 0; padding: 4px 16px 20px; overflow-x: auto; font: 400 0.8125rem/1.7 var(--f-data); }
.code .c { color: var(--night-dim); }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--raised); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
caption { text-align: left; padding: var(--s-4) var(--s-5) var(--s-2); font: 600 var(--t-xs) var(--f-data); color: var(--ink-3); }
thead th { background: var(--ink); color: var(--bg); font-weight: 600; text-align: left; padding: 12px 20px; font-size: var(--t-sm); }
tbody th, tbody td { text-align: left; padding: 12px 20px; vertical-align: top; }
tbody th { font-weight: 600; }
tbody td { color: var(--ink-2); }
tbody tr:nth-child(even) { background: var(--sunk); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-items: start; }
.qa { background: var(--raised); border-radius: var(--r); }
.qa summary { display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-5); font-weight: 650; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--sunk); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; background: var(--ink); border-radius: 1px; }
.qa summary i::before { left: 6px; top: 10px; width: 10px; height: 2px; }
.qa summary i::after { left: 10px; top: 6px; width: 2px; height: 10px; transition: transform var(--dur) var(--ease); }
.qa[open] summary i { background: var(--lime); }
.qa[open] summary i::before { background: var(--on-lime); }
.qa[open] summary i::after { transform: scaleY(0); }
.qa[open] summary { padding-bottom: var(--s-2); }
.qa p { padding: 0 var(--s-5) var(--s-5); color: var(--ink-2); }

/* cta */
.cta-block { display: grid; grid-template-columns: 1fr auto; gap: var(--s-8); align-items: center; background: var(--night); color: var(--night-ink); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 72px); }
.cta-block .tl { color: var(--night-ink); }
.cta-block .tl-c { background: var(--lime); color: var(--on-lime); }
.cta-block .tl-c i { background: var(--on-lime); }
.cta-block .h2 { color: var(--night-ink); }
.cta-copy > p:not(.tl) { margin-top: var(--s-4); max-width: 60ch; color: var(--night-ink); }
.cta-block .btn-go { background: var(--lime); color: var(--on-lime); }
.cta-block .btn-go:hover { background: var(--night-ink); color: var(--night); }
.cta-block .btn-soft { background: var(--night-ink); color: var(--night); }
.cta-block .btn-soft:hover { background: var(--lime); color: var(--on-lime); }
.cta-mark { width: clamp(100px, 11vw, 160px); color: var(--night-ink); }

/* loop strip: five stops on a road, results drive back */
.loop { background: var(--raised); border-radius: var(--r); padding: var(--s-4); }
.loop-l { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.loop-l a { display: grid; gap: 6px; padding: var(--s-4); border-radius: var(--r-sm); background: var(--bg); height: 100%; }
.loop-l a:hover { background: var(--lime-soft); }
.loop-l .is-on a { background: var(--lime); color: var(--on-lime); }
.loop-l .is-on .glyph { background: var(--raised); color: var(--ink); }
.loop-l .data { color: var(--ink-3); }
.loop-l .is-on .data { color: var(--on-lime); }
.loop-back { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-2) var(--s-1); color: var(--ink-2); }
.loop-ret { flex: 1; height: 4px; min-width: 24px; position: relative; }
.loop-ret svg { width: 100%; height: 4px; }
.loop-ret line { stroke: var(--ink-3); stroke-width: 8; stroke-dasharray: 14 10; }
.loop-ret::before { content: ""; position: absolute; left: -2px; top: -5px; width: 0; height: 0; border-style: solid; border-width: 7px 10px 7px 0; border-color: transparent var(--ink-3) transparent transparent; }

/* stack */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stack li { display: grid; gap: 4px; background: var(--raised); border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); }
.stack strong { font-family: var(--f-data); font-size: var(--t-sm); font-weight: 600; }
.stack span { color: var(--ink-2); font-size: var(--t-sm); }

/* chart bits */
.ch-axis { fill: none; stroke: var(--ink-3); stroke-width: 1.5; }
.ch-txt { fill: var(--ink-3); font: 500 11px var(--f-data); }

/* coverage matrix */
.cover-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); }
.cover-sum { color: var(--ink-2); font-size: var(--t-sm); }
.cover-sum b { color: var(--ink); font-size: 1rem; }
.cv-grid { display: grid; grid-template-columns: minmax(120px, 1.3fr) repeat(6, minmax(0, 1fr)); gap: 4px; align-items: center; }
.cv-h { color: var(--ink-3); text-align: center; padding-bottom: 4px; }
.cv-r { font-size: var(--t-sm); font-weight: 600; padding-right: var(--s-2); }
.cv-c { display: block; height: 40px; border-radius: 8px; background: var(--sunk); position: relative; overflow: hidden; }
.cv-c i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--ink); transition: transform 360ms var(--ease), background 360ms var(--ease); }
.cover[data-view="l"] .cv-c[data-l="1"] i, .cover[data-view="s"] .cv-c[data-s="1"] i, .cover[data-view="a"] .cv-c[data-a="1"] i { transform: scaleX(0.34); background: var(--orange); }
.cover[data-view="l"] .cv-c[data-l="2"] i, .cover[data-view="s"] .cv-c[data-s="2"] i, .cover[data-view="a"] .cv-c[data-a="2"] i { transform: scaleX(0.67); background: var(--blue); }
.cover[data-view="l"] .cv-c[data-l="3"] i, .cover[data-view="s"] .cv-c[data-s="3"] i, .cover[data-view="a"] .cv-c[data-a="3"] i { transform: scaleX(1); background: var(--lime); }
.cv-key { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-3); margin-top: var(--s-4); }
.cv-key span { display: inline-flex; align-items: center; gap: 6px; }
.cv-key i { position: relative; width: 22px; height: 10px; border-radius: 5px; background: var(--sunk-2); overflow: hidden; }
.cv-key i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.cv-key .lv1::after { width: 34%; background: var(--orange); }
.cv-key .lv2::after { width: 67%; background: var(--blue); }
.cv-key .lv3::after { width: 100%; background: var(--lime); }

/* long tail */
.lt-svg { width: 100%; height: auto; }
.lt-real { fill: var(--sunk-2); }
.lt-tail { fill: var(--lime); }
.lt-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.lt-lab { fill: var(--ink); font: 600 12px var(--f-data); }
.vp + .chat { margin-top: var(--s-6); }

/* histogram (Hardix latency) */
.hist-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); align-items: center; }
.ro-row { grid-auto-flow: column; gap: 4px; }
.ro-row > div { background: var(--raised); }
.hist[data-state="before"] .v-on, .hist[data-state="after"] .v-off { display: none; }
.hist[data-state="before"] .ro dd { color: var(--blue); }
.hist[data-state="after"] .ro dd { color: var(--orange); }
.hist-bars { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 220px; }
.hb { display: flex; align-items: flex-end; height: 100%; }
.hb i { display: block; width: 100%; height: 100%; background: var(--blue); border-radius: 6px 6px 2px 2px; transform-origin: bottom; transform: scaleY(var(--a)); transition: transform 400ms var(--ease); }
.hb.late i { background: var(--orange); }
.hist[data-state="after"] .hb i { transform: scaleY(var(--b)); }
.hist-dl { position: absolute; top: 0; bottom: 0; left: calc(100% * 9 / 12 - 1.5px); width: 3px; border-radius: 2px; background: var(--ink); }
.hist-axis { position: relative; display: flex; justify-content: space-between; color: var(--ink-3); padding-top: var(--s-2); }
.hist-axis span:nth-child(2) { position: absolute; left: 75%; transform: translateX(-50%); }

/* filters and lists */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s-4); }
.fchip { border: 0; background: var(--sunk); color: var(--ink-2); font-weight: 600; font-size: var(--t-sm); padding: 8px 16px; border-radius: 999px; }
.fchip:hover { background: var(--sunk-2); color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.q-list { display: grid; gap: 4px; }
.q-row { display: grid; grid-template-columns: 90px 220px 110px 1fr 60px; gap: var(--s-4); align-items: center; padding: 14px var(--s-5); background: var(--raised); border-radius: var(--r-sm); font-size: 0.9375rem; }
.q-row[hidden] { display: none; }
.q-id, .q-c { color: var(--ink-3); }
.q-loc { color: var(--ink-2); font-size: var(--t-sm); }
.sc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.sc { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: var(--s-5); }
.sc .data { color: var(--ink-3); }
.sc-k { padding: 2px 10px; background: var(--ink); color: var(--bg) !important; border-radius: 999px; }
.sc-out { margin-top: auto; font-size: var(--t-sm); color: var(--ink-2); }

/* Transim confidence */
.cf-in { max-width: 560px; margin-bottom: var(--s-4); background: var(--raised); border-radius: var(--r); padding: var(--s-5); }
.cf-list { display: grid; gap: 4px; }
.cf-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 48px 56px; gap: var(--s-4); align-items: center; padding: 10px 12px; background: var(--raised); border-radius: var(--r-sm); font-size: 0.9375rem; transition: background var(--dur) var(--ease); }
.cf-bar { height: 10px; border-radius: 5px; background: var(--sunk); overflow: hidden; }
.cf-bar i { display: block; height: 100%; width: calc(var(--c) * 100%); background: var(--ink-3); border-radius: 5px; }
.cf-row.is-ev .cf-bar i { background: var(--lime); }
.cf-row:not(.is-ev) .cf-n, .cf-row:not(.is-ev) .cf-v { color: var(--ink-3); }
.cf-v { text-align: right; }
.cf-sum { margin-top: var(--s-4); font-weight: 500; }
.cf-sum b { font-size: 1.15rem; }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s-4); }
.calc-in { background: var(--raised); border-radius: var(--r); padding: var(--s-6); display: grid; gap: var(--s-5); align-content: start; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); align-items: start; }
.calc .vis-cap { grid-column: 1 / -1; margin-top: 0; }
.calc label, .cf-in label { display: flex; justify-content: space-between; gap: var(--s-3); }
.calc output, .cf-in output { color: var(--ink); font-weight: 600; font-size: var(--t-sm); }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }

/* ladder, roadmap, roles */
.ladder { display: grid; gap: 4px; }
.ladder li { display: grid; grid-template-columns: 44px 1fr; gap: 4px var(--s-3); padding: var(--s-4) var(--s-5); background: var(--raised); border-radius: var(--r-sm); }
.ladder li .data { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 28px; border-radius: 999px; background: var(--sunk); color: var(--ink-2); font-weight: 600; }
.ladder li p { color: var(--ink-2); font-size: 0.9375rem; }
.ladder .is-on { background: var(--lime-soft); }
.ladder .is-on .data { background: var(--lime); color: var(--on-lime); }
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-3); }
.roadmap li { background: var(--raised); border-radius: var(--r); padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.roadmap li > .data { color: var(--ink-3); }
.roadmap li p { color: var(--ink-2); font-size: 0.9375rem; }
.roadmap .is-now { background: var(--lime); }
.roadmap .is-now > .data, .roadmap .is-now p, .roadmap .is-now .h3 { color: var(--on-lime); }
.roles { display: grid; gap: 4px; }
.role { display: grid; grid-template-columns: 1fr 110px 180px; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); background: var(--raised); border-radius: var(--r-sm); }
.role .data { color: var(--ink-3); }
.role span:last-child { color: var(--ink-2); font-size: var(--t-sm); }

/* leaders */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.leader { flex-direction: row; gap: var(--s-5); align-items: flex-start; }
.avatar { width: 96px; height: 96px; border-radius: var(--r); background: var(--sunk); color: var(--ink-3); overflow: hidden; flex: none; display: flex; align-items: flex-end; justify-content: center; }
.avatar svg { width: 84px; height: 84px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader > div:last-child { display: grid; gap: var(--s-2); }
.leader-vision { background: var(--sunk); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); }
.leader-links { display: flex; gap: var(--s-2); }
.icon-link { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 999px; background: var(--sunk); color: var(--ink); }
.icon-link:hover { background: var(--lime); color: var(--on-lime); }
.icon-link svg { width: 18px; height: 18px; }

/* forms */
.form { display: grid; gap: var(--s-4); background: var(--raised); border-radius: var(--r); padding: var(--s-6); }
.form .btn { justify-self: start; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.opt { font-weight: 400; color: var(--ink-3); font-size: var(--t-sm); }
.field input:not([type="range"]), .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--raised); border: 1.5px solid var(--field); border-radius: var(--r-sm); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:not([type="range"]):hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.hint { font-size: var(--t-sm); color: var(--ink-3); }
.err { font-size: var(--t-sm); color: var(--orange); font-weight: 600; }
.err:empty { display: none; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--orange) !important; }
.form-ok { padding: var(--s-4); border-radius: var(--r-sm); background: var(--lime-soft); font-weight: 500; }
.mails { display: grid; gap: 4px; }
.mails li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-2); padding: var(--s-4) var(--s-5); background: var(--raised); border-radius: var(--r-sm); }
.mails .data { font-size: var(--t-sm); }
.signin .form { max-width: 460px; margin-left: auto; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: stretch; }
.plan { background: var(--raised); border-radius: var(--r); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.plan > p:not(.card-k) { color: var(--ink-2); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .ticks { font-size: 0.9375rem; }
.plan-hl { background: var(--night); color: var(--night-ink); }
.plan-hl > p:not(.card-k), .plan-hl .card-k { color: var(--night-ink); }
.plan-hl .btn-go { background: var(--lime); color: var(--on-lime); }
.plan-hl .btn-go:hover { background: var(--night-ink); color: var(--night); }

/* mini panels and segment cards */
.mini { display: grid; gap: 4px; }
.mini-r { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--s-3); align-items: center; padding: 10px 12px; background: var(--raised); border-radius: 6px; font-size: 0.9375rem; }
.mini-r > .data:first-child { color: var(--ink-3); }
.mini-r b { font-weight: 600; color: var(--blue); }
.mini-s { color: var(--ink-3); font-size: var(--t-sm); }
.mini .vis-cap { margin-top: var(--s-3); }
.seg-vp .vp-in { padding: var(--s-8); }
.seg-card { display: grid; gap: var(--s-2); justify-items: start; }
.seg-card .glyph-xl { margin-bottom: var(--s-3); background: var(--raised); }
.seg-card .data { color: var(--ink-3); }
.seg-card p:last-child { color: var(--ink-2); }
.chat { max-width: 760px; margin-top: var(--s-6); }

/* ------------------------------------------------ footer */
.site-footer { background: var(--bg); padding: var(--s-16) 0 var(--s-10); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s-8); }
.foot-brand p { color: var(--ink-2); margin-top: var(--s-4); max-width: 30ch; }
.foot-mail { display: flex; align-items: center; gap: 8px; }
.foot-mail svg { width: 18px; height: 18px; color: var(--ink); }
.foot-mail .data { font-size: var(--t-sm); color: var(--ink); }
.foot-col h2 { font: 600 var(--t-xs) var(--f-data); color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--s-4); }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { color: var(--ink-2); font-size: 0.9375rem; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-road { margin: var(--s-12) 0 var(--s-6); }
.foot-road svg { width: 100%; height: auto; }
.foot-road .fw { font-family: var(--f-display); font-weight: 800; font-stretch: 122%; letter-spacing: -8px; fill: var(--ink); }
.foot-road .rw-d { fill: var(--ink-3); }
.foot-road .rw-car { fill: var(--lime); }
.foot-base { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); color: var(--ink-3); font-size: var(--t-sm); }

/* ------------------------------------------------ reveal (transform only; content is always visible) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { transform: translateY(18px); transition: transform 600ms var(--ease); }
  .js .rv.is-in { transform: none; }
  .foot-road .rw-car { animation: drive 9s linear infinite; }
}
@keyframes drive { from { transform: translateX(-1120px); } to { transform: translateX(80px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------ responsive */
@media (max-width: 1480px) {
  .theme-t { display: none; }
  .theme { padding: 0 10px; }
}
@media (max-width: 1180px) {
  .prow { grid-template-columns: 32px auto 1fr 90px 24px; }
  .prow-line { display: none; }
  .q-row { grid-template-columns: 90px 1fr 110px 60px; }
  .q-row .q-loc { display: none; }
}
@media (max-width: 1200px) {
  .icon-btn { display: inline-flex; }
  .nav-main { position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: var(--s-4) var(--gutter) var(--s-10); overflow-y: auto; display: none; z-index: 49; }
  .nav-main.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link, .nav-menu-btn { width: 100%; justify-content: space-between; padding: 14px 14px; font-size: 1.0625rem; border-radius: var(--r-sm); }
  .nav-menu { position: static; width: auto; outline: 0; background: var(--sunk); margin: 4px 0 8px; }
  .panel-only { display: block; }
  .panel-only .btn { width: 100%; margin-top: var(--s-3); }
  .site-header .nav-tools .nav-account, .site-header .nav-tools .nav-cta { display: none; }
  .hero-grid, .page-hero.has-side .ph { grid-template-columns: 1fr; }
  .g-4, .stack, .sc-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .loop-l { grid-template-columns: repeat(3, 1fr); }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .con-view canvas { width: auto; height: 420px; max-width: 100%; }
  .g-3, .plans, .leaders, .faq, .split { grid-template-columns: 1fr; }
  .split-alt > div:first-child { order: 0; }
  .cta-block { grid-template-columns: 1fr; }
  .cta-mark { width: 80px; }
  .con-body { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr auto; }
  .role span:last-child { grid-column: 1 / -1; }
  .foot-base { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr; }
  .signin .form { margin-left: 0; }
  .cv-grid { grid-template-columns: minmax(84px, 1fr) repeat(6, minmax(0, 1fr)); }
  .cv-r { font-size: var(--t-xs); }
  .cf-row { grid-template-columns: 1fr 48px 56px; }
  .cf-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .g-2, .g-4, .stack, .sc-list, .steps, .form-2, .loop-l { grid-template-columns: 1fr; }
  .prow { grid-template-columns: auto 1fr 24px; padding: var(--s-4); }
  .prow-n, .prow-verb { display: none; }
  .q-row { grid-template-columns: 1fr auto; gap: var(--s-2) var(--s-3); }
  .q-row .q-sig { grid-column: 1 / -1; }
  .q-row .q-c { display: none; }
  .theme-t { display: none; }
  .theme { padding: 0 10px; }
  .bar { gap: var(--s-3); }
  .ro-row { grid-auto-flow: row; }
  .hist-bars { height: 160px; gap: 3px; }
  .hist-axis span:nth-child(2) { display: none; }
  .mini-r { grid-template-columns: 1fr auto; }
  .mini-r > :first-child { grid-column: 1 / -1; }
  .vp-in { padding: var(--s-3); }
  .cv-h { writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; height: 64px; text-align: left; }
  .cv-c { height: 30px; border-radius: 6px; }
  .foot { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .leader { flex-direction: column; }
  .btn-row .btn { flex: 1 1 auto; }
  .con-side .seg-b { font-size: var(--t-xs); }
}

/* ================================================ brand icons + theme toggle (Scenalis) */
/* Icons: lane-line menu (dashed centre line), road-sign double chevron caret, envelope with a dashed lane flap,
   "in" in a top-down vehicle capsule, avatar with fanned-lane shoulders. All carry data-icon and inherit currentColor. */
[data-icon] { flex: none; }
[data-icon="menu"] { width: 22px; height: 22px; }
[data-icon="caret"] { width: 11px; height: 11px; }
[data-icon="mail"], [data-icon="linkedin"] { width: 18px; height: 18px; }

/* Theme toggle: the headlamp tell-tale. Daylight = lamp outline lit, beams off.
   Night drive = beams lit lime, the lamp pointing into the dark. */
.theme { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: var(--sunk); color: var(--ink); font-size: var(--t-sm); font-weight: 600; white-space: nowrap; }
.theme:hover { background: var(--sunk-2); }
.theme-k { display: inline-flex; flex: none; }
.theme-k svg { width: 22px; height: 20px; }
.theme-k .tk-l { fill: var(--ink); }
.theme-k .tk-b { fill: var(--sunk-2); transition: fill var(--dur) var(--ease); }
.theme:hover .tk-b { fill: var(--ink-3); }
.theme-t .t-d { display: none; }
.theme[aria-pressed="true"] .tk-b { fill: var(--lime); }
.theme[aria-pressed="true"] .t-l { display: none; }
.theme[aria-pressed="true"] .t-d { display: inline; }
