/* NexaView showcase: one design system for every page.
   Midnight navy and sky blue come from the app's own look (2.9 Midnight glass, 2.11 Chakra Petch + IBM Plex Sans).
   Glass is kept for the floating layer (nav, hero window, dialogs, What's new); content cards use flat translucent fills,
   so scrolling stays smooth on slower devices. */
:root {
  --page: #050913; --bg: #070e22; --bg2: #0a1430;
  --surface: rgba(16, 28, 60, .58); --surface-solid: #0d1838; --surface2: rgba(255, 255, 255, .045); --surface3: rgba(255, 255, 255, .08);
  --line: rgba(150, 180, 255, .14); --line2: rgba(150, 180, 255, .26);
  --ink: #eef3ff; --mute: #aab7d4; --faint: #8492b2;
  --acc: #47c4ff; --acc2: #7f9cff; --acc-ink: #03121e; --link: #74d3ff; --acc-soft: rgba(71, 196, 255, .14);
  --ok: #2fd47c; --warn: #ffb547; --bad: #ff6070; --violet: #b39cff;
  --glass-fill: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 60%), rgba(10, 20, 46, .62);
  --glass-solid: rgba(10, 19, 44, .94);
  --glass-edge: rgba(255, 255, 255, .16); --glass-hi: rgba(255, 255, 255, .28);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); --shadow-sm: 0 12px 30px -16px rgba(0, 0, 0, .7);
  --r: 22px; --r-sm: 14px; --r-xs: 10px;
  --display: "Chakra Petch", "Segoe UI", system-ui, sans-serif; --text: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.3, 1.3, .5, 1);
  --nav-h: 64px; --gutter: max(20px, env(safe-area-inset-left));
  /* names the timeline illustrations were drawn with */
  --w-fg: var(--ink); --w-mute: var(--mute); --w-line: var(--line); --pc: var(--surface2); --pc-edge: var(--line2); --chip: var(--surface2);
  --red: var(--bad); --lime: #d6ff3d; --navy: #0c1060; --ink2: #0b1022; --g-edge: var(--glass-hi); --g-shadow: rgba(0, 0, 0, .6);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --page: #f3f6fc; --bg: #ffffff; --bg2: #edf2fb;
  --surface: rgba(255, 255, 255, .78); --surface-solid: #ffffff; --surface2: rgba(16, 40, 100, .045); --surface3: rgba(16, 40, 100, .08);
  --line: rgba(18, 38, 90, .12); --line2: rgba(18, 38, 90, .22);
  --ink: #0b1630; --mute: #46536f; --faint: #5b6884;
  --acc: #0a6fc2; --acc2: #3d5bd9; --acc-ink: #ffffff; --link: #0a5ea8; --acc-soft: rgba(10, 111, 194, .10);
  --ok: #0d8a4b; --warn: #9a5800; --bad: #c3283a; --violet: #6a4bd3;
  --glass-fill: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .66) 60%), rgba(255, 255, 255, .55);
  --glass-solid: rgba(255, 255, 255, .96);
  --glass-edge: rgba(18, 38, 90, .12); --glass-hi: rgba(255, 255, 255, .95);
  --shadow: 0 30px 60px -30px rgba(20, 40, 100, .35); --shadow-sm: 0 12px 26px -16px rgba(20, 40, 100, .35);
  --g-shadow: rgba(20, 40, 100, .25);
  color-scheme: light;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { background: var(--page); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100vh; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a { color: var(--link); text-underline-offset: 3px; }
img { max-width: 100%; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.005em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--acc); color: var(--acc-ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.anc { display: block; position: relative; top: calc(-1 * var(--nav-h)); height: 0; visibility: hidden; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right)); }
.theming, .theming * { transition: background-color .4s, color .4s, border-color .4s !important; }

/* ---------- small type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.label { font: 600 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.muted { color: var(--mute); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 15.5px/1 var(--text); text-decoration: none; color: var(--ink); background: none; transition: transform .25s var(--spring), background-color .2s, border-color .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-pri { background: var(--acc); color: var(--acc-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 30px -14px rgba(71, 196, 255, .65); }
:root[data-theme="light"] .btn-pri { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 24px -12px rgba(10, 111, 194, .55); }
.btn-pri:hover { background: color-mix(in srgb, var(--acc) 88%, #fff); }
.btn-sec { background: var(--surface2); border-color: var(--line2); }
.btn-sec:hover { background: var(--surface3); border-color: var(--acc); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: default; transform: none; }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--link); min-height: 32px; }
.tlink:hover { text-decoration: underline; }
.tlink::after { content: "→"; transition: transform .2s var(--ease); }
.tlink:hover::after { transform: translateX(3px); }

/* ---------- glass (floating layer only) ---------- */
.glass { position: relative; background: var(--glass-fill); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
:root[data-theme="light"] .card { box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 30px -22px rgba(20, 40, 100, .35); }
/* older illustration styles (timeline): light inner panels */
.lite { background: var(--surface2); border: 1px solid var(--line); }

/* ---------- status pills: the word and the dot shape carry the meaning, colour only helps ---------- */
.stat { display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--ink); white-space: nowrap; background: var(--surface2); }
.stat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, currentColor); flex: none; }
.stat.released { --c: var(--ok); }
.stat.preview { --c: var(--acc); }
.stat.included { --c: var(--acc2); }
.stat.pending, .stat.in-development { --c: var(--warn); }
.stat.scheduled { --c: var(--violet); }
.stat.planned { --c: transparent; } .stat.planned::before { box-shadow: inset 0 0 0 2px var(--violet); }
.stat.considering { --c: transparent; border-style: dashed; } .stat.considering::before { box-shadow: inset 0 0 0 2px var(--faint); border-radius: 2px; }
.tag-demo, .tag-concept { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; white-space: nowrap; }
.tag-demo { color: var(--acc-ink); background: var(--acc); }
.tag-concept { color: var(--violet); border: 1px dashed currentColor; }
.tag-demo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 60; height: var(--nav-h); padding-top: env(safe-area-inset-top); box-sizing: content-box; transition: background-color .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.open { background: var(--glass-solid); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.nav.open { background: var(--page) !important; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav.scrolled, .nav.open { background: color-mix(in srgb, var(--page) 72%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 18px/1 var(--display); letter-spacing: .01em; min-height: 44px; flex: none; }
.brand svg { width: 28px; height: 28px; }
.nav .wrap > nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.navlinks { display: flex; align-items: center; gap: 2px; margin: 0; padding: 4px; border-radius: 999px; list-style: none; }
.navlinks a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; color: var(--mute); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s, background-color .2s; }
.navlinks a:hover { color: var(--ink); background: var(--surface2); }
.navlinks a[aria-current] { color: var(--ink); background: var(--acc-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 40%, transparent); }
.navend { display: flex; align-items: center; gap: 8px; flex: none; }
.iconbtn { appearance: none; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; color: var(--ink); background: var(--surface2); border: 1px solid var(--line2); transition: background-color .2s, border-color .2s; }
.iconbtn:hover { border-color: var(--acc); }
.iconbtn svg { width: 18px; height: 18px; }
.iconbtn .sun { display: none; }
:root[data-theme="light"] .iconbtn .sun { display: block; } :root[data-theme="light"] .iconbtn .moon { display: none; }
.menubtn { display: none; }
.navpanel { display: none; }
@media (max-width: 980px) {
  .navlinks { display: none; }
  .nav .wrap > nav { display: none; }
  .navend { margin-left: auto; }
  .menubtn { display: inline-grid; }
  .navend .btn-pri { display: none; }
  .navpanel { position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top)); z-index: 59; background: var(--page); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 20px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
  .navpanel.show { display: block; }
  .navpanel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .navpanel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px; }
  .navpanel a:hover, .navpanel a[aria-current] { background: var(--surface2); }
  .navpanel .btn { width: 100%; margin-top: 12px; }
}
@media (min-width: 981px) and (max-width: 1120px) { .navlinks a { padding: 0 10px; } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 136px) 0; }
.sec.alt { background: linear-gradient(180deg, var(--bg), var(--page)); }
.sec + .sec { border-top: 1px solid var(--line); }
.shead { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.shead h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.shead p { font-size: 1.1rem; color: var(--mute); max-width: 62ch; }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--page); }
.foot .wrap { display: grid; gap: 40px; }
.fcols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.fcols h3 { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fcols ul a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.fcols ul a:hover { color: var(--acc); }
.fbrand p { margin-top: 12px; color: var(--mute); max-width: 34ch; font-size: .95rem; }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--mute); }
@media (max-width: 820px) { .fcols { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }
.totop { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.wn-open .totop { opacity: 0; pointer-events: none; }

/* ---------- reveal on scroll (only with JavaScript and motion allowed) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- stopping points: a swipe, flick or wheel turn settles at the start of the next animated section,
   so its animation plays in place. The browser's own scroll snapping does it: nothing listens to touches or the wheel,
   the next swipe always carries on, and a section taller than the screen scrolls freely inside. ---------- */
html { scroll-snap-type: y proximity; }
.hero, main > .sec, .tlhero { scroll-snap-align: start; scroll-snap-stop: always; }
#tl .ev { scroll-snap-align: center; }
/* the animated blocks inside a section are stopping points too (only when the scroll ends close to one) */
.fgrid, .gm, .steps, .pg, .tlp, .rmcols, .devrow1, .devrow2, .plats2, .princ, .vision, .dls { scroll-snap-align: start; }
.foot { scroll-snap-align: end; }

/* ---------- animation play / pause (motion.js): a small pill at the bottom left ---------- */
.motion { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--glass-solid); border: 1px solid var(--line2); box-shadow: var(--shadow-sm); transition: opacity .3s; }
.motion button { appearance: none; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; background: var(--acc); color: var(--acc-ink); transition: background-color .2s, color .2s; }
.motion button svg { width: 16px; height: 16px; }
.motion[data-state="paused"] button { background: var(--surface3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.motion .mlab { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); min-width: 9.5em; font-variant-numeric: tabular-nums; }
.motion[data-state="paused"] .mlab { color: var(--ink); }
.motion input[type=range] { width: 120px; min-height: 28px; margin: 0; accent-color: var(--acc); cursor: pointer; }
@media (max-width: 560px) { .motion .mlab { min-width: 0; } .motion[data-state="playing"] .mlab { display: none; } .motion input[type=range] { width: 92px; } }
@media (max-width: 520px) { .wn-open .motion { opacity: 0; pointer-events: none; } }
@media (pointer: coarse) { .motion button { width: 44px; height: 44px; } .motion input[type=range] { min-height: 44px; } }
/* paused: whatever comes on screen appears at rest instead of animating in; frozen loops keep their frame */
.motion-paused [data-reveal], .motion-paused .ev .txt, .motion-paused .ev .mock, .motion-paused .ev .node b, .motion-paused .ev [style*="--i"] { transition: none !important; }
.ev.still .node::after { animation: none !important; }

/* ---------- What's new announcement ---------- */
.wn { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70; width: min(372px, calc(100vw - 32px)); max-height: calc(100vh - var(--nav-h) - 40px); overflow-x: hidden; overflow-y: auto; border-radius: 24px; padding: 0;
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .35s var(--ease), transform .45s var(--spring); }
.wn[hidden] { display: none; }
.wn.show { opacity: 1; transform: none; }
.wn .glass, .wn.glass { background: var(--glass-solid); }
.wnimg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 6; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); background: var(--surface2); }
.wnbody { padding: 16px 18px 18px; display: grid; gap: 10px; }
.wntop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wntop h2 { font-size: 1.25rem; margin-top: 8px; }
.wn ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink); font-size: .92rem; line-height: 1.45; }
.wn li::marker { color: var(--acc); }
.wnnext { font-size: .9rem; color: var(--mute); border-top: 1px solid var(--line); padding-top: 12px; }
.wnact { display: flex; gap: 8px; flex-wrap: wrap; }
.wnact .btn { flex: 1 1 auto; }
.xbtn { appearance: none; cursor: pointer; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: var(--surface2); color: var(--ink); display: inline-grid; place-items: center; font-size: 16px; line-height: 1; }
.xbtn:hover { border-color: var(--acc); color: var(--acc); }
@media (max-width: 520px) { .wn { left: 12px; right: 12px; width: auto; bottom: max(12px, env(safe-area-inset-bottom)); } .wnimg { display: none; } .wn li:nth-child(n+3) { display: none; } .wnbody { gap: 8px; } }

/* ======================================================================
   Timeline page (timeline.html + timeline.js): cards, filters, notes, compare
   ====================================================================== */
.tlhero { padding: clamp(56px, 8vw, 96px) 0 0; }
.tlhero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-top: 18px; }
.tlhero .lede { margin-top: 18px; font-size: 1.1rem; color: var(--mute); max-width: 64ch; }
.tlkey { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; color: var(--mute); font-size: .9rem; align-items: center; }
.tlwrap { position: relative; padding-bottom: clamp(72px, 10vw, 120px); }
.tlbar { position: relative; z-index: 3; margin-top: 40px; border-radius: var(--r); padding: 14px; display: grid; gap: 12px; }
.tlq { display: flex; align-items: center; gap: 10px; border-radius: 999px; padding: 0 16px; background: var(--surface2); border: 1px solid var(--line2); }
.tlq svg { width: 18px; height: 18px; color: var(--mute); flex: none; }
.tlq input { flex: 1; min-width: 0; min-height: 46px; border: 0; background: none; color: var(--ink); font: 400 16px/1 var(--text); }
.tlq input::placeholder { color: var(--faint); }
.tlq input:focus { outline: none; } .tlq:focus-within { box-shadow: 0 0 0 3px var(--acc); }
.tlf { display: flex; flex-wrap: wrap; gap: 10px; }
.tlf label { display: grid; gap: 5px; flex: 1 1 130px; min-width: 0; }
.tlf label span, .cmpsel label span { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.tlf select, .cmpsel select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 44px; border-radius: 12px; padding: 0 34px 0 12px; font: 500 15px/1 var(--text); color: var(--ink); border: 1px solid var(--line2);
  background: var(--surface2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238aa0c8' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.tlf select option, .cmpsel select option { color: #0b1630; background: #fff; }
.tlact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#fcount { margin-right: auto; font: 600 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tbtn { appearance: none; cursor: pointer; min-height: 40px; padding: 0 16px; border-radius: 999px; font: 600 14px/1 var(--text); color: var(--ink); background: var(--surface2); border: 1px solid var(--line2); transition: transform .2s var(--spring), border-color .2s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tbtn:hover { transform: translateY(-1px); border-color: var(--acc); }
.tbtn.pri, .tbtn[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.tbtn.sm { min-height: 36px; padding: 0 13px; font-size: 13.5px; }
.tbtn:disabled { opacity: .5; cursor: default; transform: none; }
.tlempty { margin-top: 30px; border-radius: 18px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tlempty[hidden] { display: none; }

#tl.tl { position: relative; margin-top: 56px; display: grid; gap: clamp(34px, 6vw, 72px); }
.rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); overflow: hidden; border-radius: 2px; }
.rail i { position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); background: linear-gradient(var(--acc), var(--acc2)); }
.ev { content-visibility: auto; contain-intrinsic-block-size: auto 420px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.ev .txt { grid-column: 1; grid-row: 1; border-radius: var(--r); padding: 22px 24px; display: grid; gap: 10px; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .3s var(--ease); }
.ev .txt:hover { border-color: var(--line2); }
.ev .node { grid-column: 2; grid-row: 1; justify-self: center; z-index: 2; position: relative; }
.ev .mock { grid-column: 3; grid-row: 1; }
.ev.alt .txt { grid-column: 3; } .ev.alt .mock { grid-column: 1; }
.ev .txt h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.ev .txt h3 button { appearance: none; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ev .txt h3 button:hover { color: var(--acc); }
.ev .txt p { color: var(--mute); }
.ev .txt:has(:focus-visible) { box-shadow: 0 0 0 3px var(--acc); }
.ev .date { font: 600 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.ev .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ev .tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kind { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line2); color: var(--mute); }
.kind.major { color: var(--acc-ink); background: var(--acc); border-color: transparent; }
.patches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; color: var(--mute); }
.patches span { font: 600 11.5px/1 var(--mono); padding: 5px 7px; border-radius: 6px; background: var(--surface2); border: 1px solid var(--line); color: var(--ink); }
.node b { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font: 700 14px/1 var(--mono); color: var(--ink); background: var(--surface-solid);
  box-shadow: 0 0 0 6px var(--page), 0 0 0 7px var(--line2); transition: background-color .5s, color .5s, transform .6s var(--spring); }
.ev.in .node b, .no-anim .node b { background: var(--acc); color: var(--acc-ink); }
.ev.major .node b { width: 74px; height: 74px; font-size: 16px; }
.ev.planned .node b, .ev.scheduled .node b, .ev.pending .node b, .ev.in-development .node b { background: var(--surface-solid); color: var(--ink); box-shadow: 0 0 0 6px var(--page), 0 0 0 7px var(--line2), inset 0 0 0 2px var(--acc); }
.ev .node.now b { box-shadow: 0 0 0 6px var(--page), 0 0 0 8px var(--acc), 0 0 26px rgba(71, 196, 255, .55); }
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cat { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--mono); padding: 6px 9px; border-radius: 8px; background: var(--surface2); color: var(--ink); border: 1px solid var(--line); }
.cat b { color: var(--acc); }
.cat.known b { color: var(--bad); }
.tacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.thumb { appearance: none; border: 1px solid var(--line2); padding: 0; cursor: zoom-in; border-radius: 12px; overflow: hidden; width: 112px; aspect-ratio: 16 / 10; background: var(--surface2); flex: none; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.thumb.tall { aspect-ratio: 10 / 16; width: 62px; }
.thumb .tag2 { position: absolute; left: 4px; bottom: 4px; font: 600 9px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(3, 8, 20, .85); color: #fff; padding: 3px 5px; border-radius: 4px; }
.cmpck { display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); cursor: pointer; min-height: 36px; }
.cmpck input { width: 18px; height: 18px; accent-color: var(--acc); margin: 0; }
.ev[hidden] { display: none; }
.mock.none { display: grid; place-items: center; min-height: 160px; border-radius: var(--r); border: 2px dashed var(--line2); color: var(--mute); font: 600 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 20px; }
@media (max-width: 860px) {
  .rail { left: 29px; }
  .ev, .ev.alt { contain-intrinsic-block-size: auto 640px; grid-template-columns: 60px minmax(0, 1fr); row-gap: 14px; align-items: start; }
  .ev .node { grid-column: 1; grid-row: 1; justify-self: start; }
  .ev .txt, .ev.alt .txt { grid-column: 2; grid-row: 1; padding: 18px; }
  .ev .mock, .ev.alt .mock { grid-column: 2; grid-row: 2; }
  .node b, .ev.major .node b { width: 52px; height: 52px; font-size: 12.5px; }
}
/* timeline entrance: cards fade up, the dot fills in; nothing moves for reduced motion */
.js .ev .txt, .js .ev .mock { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .ev .mock { transition-delay: .12s; }
.js .ev.in .txt, .js .ev.in .mock { opacity: 1; transform: none; }
.js .ev .node b { transform: scale(.6); }
.js .ev.in .node b { transform: none; }
.ev .node::after { content: ""; position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 2px solid var(--acc); opacity: 0; pointer-events: none; }
.js .ev.in .node::after { animation: ripple 1.1s var(--ease) .2s 1 both; }
@keyframes ripple { 0% { opacity: .8; transform: scale(.7); } 100% { opacity: 0; transform: scale(2.1); } }
@media (max-width: 860px) { .ev .node::after { left: 26px; width: 52px; height: 52px; margin: -26px 0 0 -26px; } }

/* release notes, compare and the larger screenshot: one dialog each, scrolls inside */
.rdlg { width: min(860px, calc(100vw - 24px)); max-height: min(88vh, 900px); padding: 0; border: 1px solid var(--line2); border-radius: 26px; color: var(--ink); overflow: hidden; background: var(--glass-solid); box-shadow: var(--shadow); }
.rdlg[open] { display: flex; flex-direction: column; }
.rdlg::backdrop { background: rgba(2, 5, 14, .66); }
.rdhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 24px 14px; border-bottom: 1px solid var(--line); }
.rdhead h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 8px; }
.rdbody { overflow: auto; padding: 18px 24px 26px; display: grid; gap: 16px; overscroll-behavior: contain; }
.rdbody h4 { margin: 0 0 8px; font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.rdbody ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.rdbody li::marker { color: var(--acc); }
.rdbody .small { font-size: .9rem; color: var(--mute); }
.sec2 { border-radius: 16px; padding: 14px 16px; }
.sec2.known { box-shadow: inset 3px 0 0 var(--bad); }
.vlist { display: flex; flex-wrap: wrap; gap: 8px; }
.vlist a, .vlist span { font: 600 12px/1 var(--mono); padding: 9px 10px; border-radius: 8px; background: var(--surface2); border: 1px solid var(--line2); color: var(--ink); text-decoration: none; }
.vlist a:hover { border-color: var(--acc); color: var(--acc); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.shots figure { margin: 0; display: grid; gap: 6px; }
.shots button { appearance: none; padding: 0; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--surface2); }
.shots img { display: block; width: 100%; height: auto; }
.shots figcaption { font: 500 12px/1.4 var(--mono); color: var(--mute); }
.plats { display: flex; flex-wrap: wrap; gap: 6px; }
.plats span { font-size: .9rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface2); }
.lnks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lnks a { font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.cmpsel { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.cmpsel label { display: grid; gap: 5px; flex: 1 1 200px; }
.cmpsel .arr { font: 600 20px/44px var(--display); color: var(--mute); }
.cmprange { font: 600 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.cmpgrid { display: grid; gap: 12px; }
.cmpgrid .ver { font: 600 11px/1 var(--mono); color: var(--acc); margin-right: 6px; white-space: nowrap; }
.unknown { color: var(--mute) !important; font-style: italic; }
.lbx { padding: 0; border: 0; background: none; max-width: min(1200px, 96vw); max-height: 94vh; overflow: visible; }
.lbx::backdrop { background: rgba(2, 4, 12, .88); }
.lbx figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.lbx img { display: block; max-width: min(1200px, 96vw); max-height: 84vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lbx figcaption { font: 500 13px/1.4 var(--mono); color: #fff; text-align: center; }
.lbx .xbtn { position: fixed; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.imgmiss { display: grid; place-items: center; min-height: 120px; padding: 12px; font: 600 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); border: 2px dashed var(--line2); border-radius: 12px; text-align: center; }
.tacts .imgmiss { min-height: 0; width: 112px; aspect-ratio: 16 / 10; padding: 6px; font-size: 9px; }
@media (prefers-reduced-motion: no-preference) {
  .rdlg[open], .lbx[open] { animation: dlgIn .35s var(--ease); }
  @keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) { .tlbar { margin-top: 28px; } .tlf label { flex-basis: 140px; } .rdhead { padding: 18px 18px 12px; } .rdbody { padding: 14px 18px 22px; } }
@media (max-width: 460px) { .cmpsel .arr { display: none; } .tlf label { flex-basis: calc(50% - 5px); } .tlact .tbtn { flex: 1 1 auto; justify-content: center; } #fcount { flex-basis: 100%; } }
.trydemo { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- drawn illustrations on the timeline (always labelled "Illustration") ---------- */
.mock { border-radius: var(--r); overflow: hidden; color: var(--ink); font-size: .88rem; background: var(--surface); border: 1px solid var(--line); }
.mock.bare { background: none; border: 0; display: grid; place-items: center; overflow: visible; }
.mbar, .menubar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--mono); color: var(--ink); }
.mbar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6159; } .mbar i:nth-child(2) { background: #ffbd2e; } .mbar i:nth-child(3) { background: #28c840; }
.mbar span { margin-left: 8px; }
.mbar em, .menubar em, .il { margin-left: auto; font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--mute); }
.menubar svg { width: 14px; height: 14px; color: var(--ink); } .menubar span { color: var(--mute); }
.mk { padding: 14px; display: grid; gap: 8px; }
.mk.g2 { grid-template-columns: 1fr 1fr; }
.mk.side { grid-template-columns: 120px 1fr; }
.mt { border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; background: var(--surface2); border: 1px solid var(--line); }
.mt.row { display: flex; align-items: center; gap: 10px; } .mt.row > div { display: grid; gap: 2px; } .mt.sp { justify-content: space-between; }
.mt b { font-weight: 600; color: var(--ink); }
.mk-k { font: 600 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.mv { font: 600 1.35rem/1.1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
.mv.sm { font-size: .98rem; }
.pad { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); font-weight: 700; flex: none; }
.pad.r { background: var(--bad); color: #fff; }
.cores { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.cores i { flex: 1; height: var(--h); background: var(--acc); border-radius: 2px; transform-origin: bottom; }
.qr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; width: 64px; }
.qr i { aspect-ratio: 1; background: var(--ink); border-radius: 2px; }
.qr i:nth-child(3n+2), .qr i:nth-child(7) { background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }
.list { display: grid; gap: 4px; } .list span { display: flex; justify-content: space-between; color: var(--ink); } .list b { color: var(--ink); }
.sb { display: grid; gap: 3px; align-content: start; }
.sb button { appearance: none; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; padding: 6px 8px; border-radius: 8px; color: var(--mute); font-size: .8rem; min-height: 32px; }
.sb button:hover { color: var(--ink); }
.sb button.on { background: var(--surface3); color: var(--ink); }
.pane { display: grid; gap: 8px; align-content: start; }
.pane[hidden] { display: none; }
.mk.side .pane { grid-column: 2; grid-row: 1; }
.pane.show { animation: paneIn .4s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.say { font-style: italic; color: var(--ink); }
.phone { width: 200px; border-radius: 30px; padding: 26px 12px 14px; display: grid; gap: 8px; position: relative; }
.notch { position: absolute; top: 9px; left: 50%; width: 60px; height: 8px; margin-left: -30px; border-radius: 8px; background: var(--line2); }
.meter { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; } .meter.big { height: 12px; }
.meter i { display: block; height: 100%; width: var(--w); background: var(--acc); border-radius: 8px; }
.field { display: grid; gap: 3px; border-radius: 10px; padding: 8px 11px; background: var(--surface2); border: 1px solid var(--line); }
.field span { font: 600 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.mbtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 999px; font-weight: 600; background: var(--surface2); border: 1px solid var(--line2); color: var(--ink); }
.mbtn.acc { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.mbtn.gg { background: #fff; color: #1f1f1f; border-color: #dadce0; } .mbtn svg { width: 18px; height: 18px; }
button.mbtn, button.look, button.sw { appearance: none; font: inherit; cursor: pointer; }
button.mbtn { font-weight: 600; width: 100%; transition: transform .2s var(--spring), filter .2s; }
button.mbtn:hover { transform: translateY(-1px); filter: brightness(1.05); }
button.mbtn:disabled { cursor: default; filter: saturate(.7); }
.or { display: flex; align-items: center; gap: 10px; color: var(--mute); font-size: .8rem; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.look { display: grid; gap: 8px; border-radius: 12px; padding: 10px; background: var(--surface2); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink); text-align: left; transition: transform .25s var(--spring), box-shadow .25s; }
.look i { height: 46px; border-radius: 8px; background: radial-gradient(circle at 75% 35%, var(--b) 0 14px, transparent 15px), var(--a); }
button.look:hover { transform: translateY(-2px); }
button.look[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--acc); }
.sw { width: 46px; height: 28px; border-radius: 999px; background: var(--line2); position: relative; flex: none; border: 0; padding: 0; transition: background-color .3s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: translate .35s var(--spring); }
.sw.on { background: var(--acc); } .sw.on::after { translate: 18px 0; }
.ipad { width: 230px; aspect-ratio: 3 / 4; border-radius: 26px; border: 3px dashed var(--line2); display: grid; place-items: center; align-content: center; gap: 12px; padding: 18px; position: relative; text-align: center; }
.ipad .rib { width: 70px; height: 70px; } .ipad .il { position: absolute; bottom: 12px; right: 14px; }
.soon { font: 600 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--bad); color: #fff; padding: 6px 10px; border-radius: 999px; }
.toast { display: flex; align-items: center; gap: 10px; border-radius: 14px; padding: 10px 12px; background: var(--surface2); border: 1px solid var(--line2); }
.toast > div { display: grid; gap: 2px; } .toast b { color: var(--ink); }
.week { width: 100%; height: 60px; } .week path { stroke: var(--acc); }
.days { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); color: var(--ink); }
.search { display: flex; justify-content: space-between; align-items: center; border-radius: 999px; padding: 9px 14px; background: var(--surface2); border: 1px solid var(--line); color: var(--mute); }
.search kbd { font: 600 11.5px/1 var(--mono); border: 1px solid var(--line2); border-radius: 6px; padding: 4px 6px; color: var(--ink); }
.scrub { position: relative; height: 28px; } .scrub .trk { position: absolute; left: 0; right: 0; top: 13px; height: 3px; background: var(--line2); border-radius: 3px; }
.scrub span { position: absolute; top: 2px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; font: 600 11.5px/1 var(--mono); background: var(--acc); color: var(--acc-ink); left: 22%; }
.scrub .b { left: 78%; background: var(--bad); color: #fff; }
.mk-msg { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 12px; padding: 10px 12px; background: var(--surface2); border: 1px solid var(--acc); color: var(--ink); font-weight: 600; animation: paneIn .4s var(--ease); }
.mk-msg[hidden] { display: none; }
.mini { appearance: none; border: 0; cursor: pointer; border-radius: 999px; min-height: 34px; padding: 0 13px; background: var(--acc); color: var(--acc-ink); font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.mini.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.mini:disabled { opacity: .6; cursor: default; }
.gwrap { position: relative; width: 22px; height: 22px; display: grid; place-items: center; flex: none; }
.gwrap svg { transition: opacity .2s, scale .3s var(--spring); }
.gspin { position: absolute; inset: -3px; border-radius: 50%; opacity: 0; background: conic-gradient(#4285F4 0 25%, #EA4335 0 50%, #FBBC05 0 75%, #34A853 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); }
.gok { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: #34A853; color: #fff; font-style: normal; font-weight: 900; font-size: 13px; scale: 0; transition: scale .4s var(--spring); }
.gg.busy .gspin { opacity: 1; animation: gspin .8s linear infinite; } .gg.busy svg { scale: .7; }
.gg.done .gok { scale: 1; } .gg.done svg { opacity: 0; }
@keyframes gspin { to { rotate: 360deg; } }
.meter .grow.go { transition: width 1.4s cubic-bezier(.4, 0, .2, 1) !important; }
.meter .grow.full { background: var(--ok); }
.mock.reload { animation: reload .7s var(--ease); }
@keyframes reload { 0% { filter: none; } 35% { filter: blur(6px) brightness(1.4); opacity: .4; } 100% { filter: none; opacity: 1; } }
.ctabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); justify-self: start; }
.ctabs button { appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 7px 14px; font: 600 .84rem var(--text); color: var(--mute); background: none; min-height: 34px; }
.ctabs button.on { background: var(--acc); color: var(--acc-ink); }
.cpane { display: grid; gap: 8px; } .cpane[hidden] { display: none; }
.crow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .crow b { font-variant-numeric: tabular-nums; }
.cbar { transition: width .9s var(--ease); }
.clist { display: grid; gap: 6px; } .clist[hidden] { display: none; }
.citem { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; border-radius: 12px; padding: 8px 10px; background: var(--surface2); border: 1px solid var(--line); transition: opacity .4s, transform .4s; }
.citem[hidden] { display: none; }
.citem > span:first-child { display: grid; gap: 2px; min-width: 0; } .citem b { color: var(--ink); }
.citem .csz { font: 600 .84rem var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.citem input { width: 20px; height: 20px; accent-color: var(--acc); }
.citem.gone { opacity: 0; transform: translateX(14px); }
.citem.shrink { border-style: dashed; }
.cask { border-radius: 12px; padding: 10px 12px; background: var(--surface2); border: 1px solid var(--acc); color: var(--ink); font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cask[hidden] { display: none; }
/* illustration motion: small parts settle in once the card reaches the screen */
.js .ev [style*="--i"] { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.3s + var(--i) * .07s); }
.js .ev.in [style*="--i"] { opacity: 1; transform: none; }
.js .ev .cores i { transform: scaleY(0); transition: transform .7s var(--spring) .5s; }
.js .ev.in .cores i { transform: none; }
.js .ev .week .draw { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease) .6s; }
.js .ev.in .week .draw { stroke-dashoffset: 0; }

/* the four looks of 2.6, tried on the timeline page (tap a look to try it) */
:root[data-look]:not(#_) { color-scheme: dark; --ink: #ffffff; --mute: #d0d5e4; --faint: #a0a7bc; --line: rgba(255, 255, 255, .14); --line2: rgba(255, 255, 255, .24); --surface2: rgba(255, 255, 255, .06); --surface3: rgba(255, 255, 255, .1); --acc-ink: #0d0d10; }
:root[data-look="midnight"]:not(#_) { --page: #050913; --bg: #0a1a3a; --surface: rgba(16, 36, 84, .5); --surface-solid: #0e1e46; --glass-solid: rgba(14, 30, 70, .95); --acc: #47c4ff; --link: #47c4ff; }
:root[data-look="cockpit"]:not(#_) { --page: #0a0b0d; --bg: #16181c; --surface: rgba(36, 38, 44, .6); --surface-solid: #1e2025; --glass-solid: rgba(30, 32, 37, .96); --acc: #f2b84b; --link: #f2b84b; }
:root[data-look="neon"]:not(#_) { --page: #05040b; --bg: #160c2e; --surface: rgba(44, 18, 88, .5); --surface-solid: #1d0f3a; --glass-solid: rgba(36, 14, 72, .95); --acc: #c86bff; --link: #d695ff; }
:root[data-look="studio"]:not(#_) { --page: #12100e; --bg: #241c16; --surface: rgba(56, 42, 30, .55); --surface-solid: #2a2119; --glass-solid: rgba(46, 35, 26, .96); --acc: #e8a46a; --link: #e8a46a; }

/* ---------- accessibility preferences ---------- */
@media (pointer: coarse) {
  .navlinks a, .tbtn, .tbtn.sm, .mini, .sb button, .ctabs button { min-height: 44px; }
  .iconbtn, .xbtn { width: 44px; height: 44px; }
  .cmpck { min-height: 44px; }
  .fcols ul a { min-height: 44px; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .nav.scrolled, .nav.open { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: var(--glass-solid) !important; }
}
@media (prefers-contrast: more) {
  :root:not(#_) { --mute: var(--ink); --faint: var(--ink); --line: currentColor; --line2: currentColor; }
  .card, .glass, .mt, .tbtn, .btn-sec { border-width: 1.5px; }
}
@media (forced-colors: active) {
  .btn, .tbtn, .stat, .kind, .tag-demo, .tag-concept { border: 1px solid ButtonText; }
  .node b { border: 2px solid CanvasText; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
