/* DALIL investor page, v2.
   Dark and cinematic: the product glows in the dark, so the page lives there too.
   One accent: DALIL yellow. Green appears only as the product's own glow.
   Shape rule: buttons and chips are full pills, cards are 24px, media 20px, inputs 14px.
   Contrast on --bg (#0B0C0E): --fg 17.3:1, --fg-2 9.0:1, --fg-3 6.2:1, --accent 12.5:1, ink on accent 12.5:1.
   z-index scale: content 1, grain 40, nav 50, skip link 60. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: optional; /* preloaded, so it is almost always ready for the first paint; never swaps mid-read */
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/plex-arabic-dalil.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #0B0C0E;
  --bg-2: #121418;
  --bg-3: #1A1D22;
  --fg: #F2F1EC;
  --fg-2: #A9B0BA;
  --fg-3: #8A929D;
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --control: #747C87;
  --accent: #FFC700;
  --accent-2: #FFD84D;
  --ink: #0B0C0E;
  --glow: #8BF5B0;
  --error: #FF8A7A;
  --steel-1: #3D434B;
  --steel-2: #C9CED6;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-card: 24px;
  --r-media: 20px;
  --r-input: 14px;
  --gutter: 20px;
  --max: 1240px;
  --section: clamp(96px, 13vw, 176px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgb(255 199 0 / 0.25);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.st-on { scroll-behavior: auto; }
[tabindex="-1"]:focus { outline: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: clip;
}
/* Fine grain over everything, fixed so it never repaints on scroll */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 40;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 5.6vw, 4.25rem); max-width: 18ch; }
h3 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
p { text-wrap: pretty; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
em { font-style: normal; color: var(--accent); }
a, button, summary, label, input, select, textarea, [role="slider"] { touch-action: manipulation; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -200px; z-index: 60;
  padding: 12px 18px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.lede { color: var(--fg-2); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 46ch; }
.eyebrow {
  font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }

/* ---------- Buttons: full pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 8px 10px 8px 26px;
  border: 0; border-radius: 999px;
  font: 600 1.0625rem/1.1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.5s var(--spring), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.45); }
.btn-primary:hover { background: var(--accent-2); }
.btn-orb {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  background: rgb(11 12 14 / 0.1);
  transition: transform 0.5s var(--spring);
}
.btn:hover .btn-orb { transform: translateX(3px) scale(1.06); }
.btn-ghost {
  padding: 8px 24px; color: var(--fg);
  background: rgb(18 20 24 / 0.55); box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 0.9375rem; }

/* ---------- Floating nav ---------- */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin-inline: auto;
  min-height: 60px; padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgb(18 20 24 / 0.62);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / 0.06);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav-brand { display: block; width: 116px; }
.nav-brand img { width: 100%; }
.nav-links { display: none; gap: 4px; }
.nav-links a {
  display: block; padding: 10px 16px; border-radius: 999px;
  color: var(--fg-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--fg); background: rgb(255 255 255 / 0.06); }
@media (prefers-reduced-transparency: reduce) {
  .nav, .btn-ghost { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; min-height: 100dvh;
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(48px, 9vh, 112px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-poster img, .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-poster { position: absolute; inset: 0; }
.hero-poster img { height: 100%; }
.hero-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgb(11 12 14 / 0.75) 30%, rgb(11 12 14 / 0.15) 65%, rgb(11 12 14 / 0.35) 100%),
    linear-gradient(to right, rgb(11 12 14 / 0.7) 0%, rgb(11 12 14 / 0) 70%);
}
.hero-inner {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  display: grid; gap: 22px;
}
.hero-title {
  font-size: clamp(2.75rem, 8.4vw, 6.75rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 0.98;
  max-width: 11.5ch;
}
.scramble.is-scrambling { white-space: pre; }
.hero-sub { color: var(--fg); opacity: 0.86; font-size: clamp(1.0625rem, 1.8vw, 1.3125rem); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------- Problem ---------- */
.problem { padding-top: var(--section); }
.problem-grid { display: grid; gap: 48px; }
.problem-copy { display: grid; gap: 20px; align-content: start; }
.stat { display: grid; gap: 14px; align-content: end; }
.stat-number {
  font-size: clamp(5rem, 19vw, 12.5rem); font-weight: 300; line-height: 0.85; letter-spacing: -0.06em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--fg-2); max-width: 30ch; font-size: 1.125rem; }
.blank-rail { position: relative; margin-top: clamp(64px, 9vw, 120px); }
.blank-rail img { width: 100%; height: clamp(420px, 82vh, 860px); object-fit: cover; object-position: 50% 45%; }
.blank-rail::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 4%, rgb(11 12 14 / 0.25) 45%, var(--bg) 100%);
}
.blank-words {
  position: absolute; left: 0; right: 0; bottom: clamp(32px, 8vh, 96px); z-index: 1;
  font-size: clamp(1.9rem, 5vw, 4rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em;
}
.blank-words > span { display: block; max-width: 20ch; }
/* Words light up as you scroll, only once the script has taken over */
.reveal-words.is-scrubbing .w { opacity: 0.18; transition: opacity 0.25s linear; }
.reveal-words.is-scrubbing .w.on { opacity: 1; }

/* ---------- Film ---------- */
.film { padding-top: var(--section); }
.film-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -40px rgb(255 199 0 / 0.18);
  transform-origin: 50% 0;
}
.film-poster, .video-poster { position: absolute; inset: 0; }
.film-poster img, .video-poster img { width: 100%; height: 100%; object-fit: cover; }
.film-video, .glow-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.film-video.is-playing, .glow-video.is-playing { opacity: 1; }

/* ---------- Small video controls (pause, sound) ---------- */
.vid-toggle, .vid-sound {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgb(11 12 14 / 0.6); color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.2s var(--ease), transform 0.4s var(--spring);
}
.vid-toggle:hover, .vid-sound:hover { background: rgb(11 12 14 / 0.85); }
.vid-toggle:active, .vid-sound:active { transform: scale(0.94); }
.vid-toggle .icon, .vid-sound .icon { width: 18px; height: 18px; }
.vid-toggle .vt-play, .vid-toggle[aria-pressed="true"] .vt-pause { display: none; }
.vid-toggle[aria-pressed="true"] .vt-play { display: inline-flex; }
.vid-sound .vs-on, .vid-sound[aria-pressed="true"] .vs-off { display: none; }
.vid-sound[aria-pressed="true"] .vs-on { display: inline-flex; }
.vid-sound[aria-pressed="true"] { background: var(--accent); color: var(--ink); box-shadow: none; }
.hero-toggle { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: clamp(48px, 9vh, 112px); z-index: 1; }
.film-controls { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.step-toggle { position: absolute; top: 14px; right: 14px; z-index: 2; }

/* ---------- Product: the rail demo ---------- */
.product { padding-top: var(--section); }
.product-title { max-width: 16ch; }
.rail-demo {
  margin-top: 48px; padding: clamp(20px, 4vw, 40px);
  border-radius: var(--r-card);
  background: radial-gradient(120% 140% at 50% 0%, rgb(255 199 0 / 0.07), transparent 55%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 28px;
}
.rail-hint { display: flex; gap: 10px; align-items: center; color: var(--fg-2); font-size: 0.9375rem; }
.rail-hint .icon { color: var(--accent); width: 1.5em; height: 1.5em; }
.rail-stage { position: relative; height: 150px; margin-inline: 24px; touch-action: pan-y; }
.rail-bar {
  position: absolute; left: -24px; right: -24px; top: 64px; height: 22px; border-radius: 999px;
  background: linear-gradient(to bottom, #E3E7EC 0%, #9AA1AA 35%, #4B5159 70%, #2A2E34 100%);
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.5);
}
.rail-clip {
  --x: 50;
  position: absolute; top: 48px; left: calc(var(--x) * 1%); transform: translateX(-50%);
  width: 58px; height: 54px; border-radius: 10px;
  display: grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(to bottom, #FFD84D, #E0AE00);
  color: rgb(11 12 14 / 0.62); font: 700 1.125rem/1 var(--font);
  box-shadow: inset 0 -6px 0 rgb(0 0 0 / 0.18), 0 8px 18px rgb(0 0 0 / 0.45);
  transition: transform 0.45s var(--spring), box-shadow 0.45s var(--ease);
}
.rail-clip[data-at="22"] { --x: 22; }
.rail-clip[data-at="54"] { --x: 54; }
.rail-clip[data-at="84"] { --x: 84; }
@media (max-width: 639px) {
  .rail-stage { margin-inline: 18px; }
  .rail-clip { width: 44px; height: 46px; top: 52px; gap: 3px; font-size: 0.9375rem; border-radius: 8px; }
  .rail-clip .ribs { gap: 2px; height: 18px; }
  .rail-clip .ribs i { width: 3px; }
  .rail-hand { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
}
.rail-clip.is-touched { transform: translateX(-50%) scale(1.12); box-shadow: inset 0 -6px 0 rgb(0 0 0 / 0.18), 0 0 0 6px rgb(255 199 0 / 0.22), 0 0 40px rgb(255 199 0 / 0.45); }
.ribs { display: inline-flex; gap: 3px; height: 22px; }
.ribs i { display: block; width: 4px; height: 100%; border-radius: 2px; background: currentColor; }
.rail-hand {
  --x: 4;
  position: absolute; top: 75px; left: calc(var(--x) * 1%);
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 999px; cursor: grab;
  background: rgb(242 241 236 / 0.08);
  box-shadow: inset 0 0 0 2px var(--fg), 0 0 0 8px rgb(242 241 236 / 0.06);
  display: grid; place-items: center;
}
.rail-hand:active { cursor: grabbing; }
.rail-hand-dot { width: 12px; height: 12px; border-radius: 999px; background: var(--fg); }
.rail-hand:focus-visible { outline-offset: 6px; border-radius: 999px; }
.rail-demo.is-idle .rail-hand { animation: nudge 2.4s var(--ease) 1.2s 2; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(26px); } }
.rail-readout {
  display: grid; gap: 6px; min-height: 132px; padding: 20px 22px;
  border-radius: 18px; background: rgb(11 12 14 / 0.6); box-shadow: inset 0 0 0 1px var(--line);
}
.readout-kind { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.readout-ribs { display: inline-flex; gap: 3px; height: 14px; }
.readout-ribs i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; }
.readout-msg { font-size: clamp(1.5rem, 3.4vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.readout-braille { font-size: 1.75rem; letter-spacing: 0.12em; color: var(--fg-2); min-height: 1.3em; line-height: 1.2; font-family: "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", sans-serif; }
.rail-demo.has-touch .readout-msg { animation: pop 0.5s var(--spring); }
@keyframes pop { from { opacity: 0.2; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.steps { display: grid; gap: 16px; margin-top: 16px; }
.step {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  min-height: 340px; display: grid; align-items: end;
}
.step > picture, .step > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop-video { opacity: 0; transition: opacity 0.6s var(--ease); }
.loop-video.is-playing { opacity: 1; }
.step > picture img, .step > video { width: 100%; height: 100%; object-fit: cover; }
.step-read { background: #E9E6DF; }
.step-read > picture img { object-fit: contain; padding: 28px 28px 120px; }
.step::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(11 12 14 / 0.92) 0%, rgb(11 12 14 / 0.4) 38%, transparent 62%);
}
.step-text { position: relative; z-index: 1; padding: 24px; display: grid; gap: 4px; }
.step-text h3 { font-size: 1.625rem; }
.step-text p { color: var(--fg-2); max-width: 32ch; }
.step-n { font-family: var(--mono); font-size: 0.875rem; color: var(--accent); }
.manifesto {
  margin-top: clamp(64px, 9vw, 120px);
  font-size: clamp(2.25rem, 6.6vw, 5.25rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1;
  max-width: 14ch;
}
.manifesto-sm { font-size: clamp(1.875rem, 4.6vw, 3.5rem); max-width: 22ch; margin-top: clamp(48px, 7vw, 88px); }

/* ---------- Grammar ---------- */
.grammar { padding-top: var(--section); }
.grammar-grid { display: grid; gap: 40px; }
.grammar-key { display: grid; gap: 20px; align-content: start; }
.rib-keys { display: grid; gap: 10px; margin-top: 8px; }
.rib-key {
  display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px;
  min-height: 64px; padding: 10px 22px 10px 18px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg-2); color: var(--fg); font: 600 1.125rem/1.2 var(--font); text-align: left;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.5s var(--spring);
}
.rib-key .ribs { height: 28px; gap: 5px; justify-self: center; }
.rib-key .ribs i { width: 6px; }
.rib-key:hover { background: var(--bg-3); }
.rib-key:active { transform: scale(0.98); }
.rib-key[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.module {
  display: grid; gap: 6px; align-content: start;
  padding: 18px; border-radius: var(--r-card);
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.015));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--spring), box-shadow 0.4s var(--ease);
}
.module img { width: 100%; height: auto; max-height: 96px; object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 12px 18px rgb(0 0 0 / 0.5)); }
.module p { font-weight: 600; }
.module span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.modules.is-filtered .module { opacity: 0.28; }
.modules.is-filtered .module.is-match { opacity: 1; transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- Every level of sight ---------- */
.sight { position: relative; isolation: isolate; margin-top: var(--section); padding-block: var(--section); transition: background-color 1.2s var(--ease); }
.sight[data-lights="off"] { background: #040505; }
.sight-ambient {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 55% at 70% 45%, rgb(139 245 176 / 0.16), transparent 70%);
  transition: opacity 1.4s var(--ease);
}
.sight[data-lights="off"] .sight-ambient { opacity: 1; }
.sight-grid { display: grid; gap: 48px; align-items: center; }
.sight-copy { display: grid; gap: 32px; }
.sight-list { display: grid; gap: 0; }
.sight-list div { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.sight-list dt { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.sight-list dd { font-size: 1.25rem; font-weight: 500; }
.sight[data-lights="off"] .sight-dark-row dt { color: var(--glow); }
.btn-switch { padding: 8px 24px 8px 10px; background: var(--bg-3); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); justify-self: start; }
.switch-track { position: relative; width: 56px; height: 34px; border-radius: 999px; background: var(--accent); transition: background-color 0.4s var(--ease); }
.switch-knob { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 999px; background: var(--ink); transition: transform 0.5s var(--spring); }
.btn-switch[aria-pressed="true"] .switch-track { background: #2B3036; }
.btn-switch[aria-pressed="true"] .switch-knob { transform: translateX(22px); background: var(--glow); box-shadow: 0 0 14px var(--glow); }
.sight-media { position: relative; }
.glow-frame { position: relative; border-radius: var(--r-media); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 16 / 10; background: #111; }
.dark-stairs {
  position: absolute; right: -8px; bottom: -48px; width: 42%; max-width: 280px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px rgb(0 0 0 / 0.6);
  opacity: 0; transform: translateY(16px) scale(0.96);
  transition: opacity 0.9s var(--ease) 0.6s, transform 0.9s var(--spring) 0.6s;
}
.dark-stairs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dark-stairs figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgb(11 12 14 / 0.75); font-size: 0.75rem; font-family: var(--mono); letter-spacing: 0.06em;
}
.sight[data-lights="off"] .dark-stairs { opacity: 1; transform: none; }

/* ---------- Places: horizontal pan ---------- */
.places { padding-top: var(--section); }
.places-head { display: grid; gap: 18px; }
.places-track-wrap {
  margin-top: 40px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-padding-inline: var(--gutter);
}
.places-track-wrap::-webkit-scrollbar { display: none; }
.places-track-wrap:focus-visible { outline-offset: -3px; }
.places-track {
  display: flex; gap: 16px; width: max-content;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.place { width: min(82vw, 440px); scroll-snap-align: start; display: grid; gap: 4px; }
.place img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-media); margin-bottom: 14px; background: var(--bg-2); }
.place h3 { font-size: 1.375rem; }
.place p { color: var(--fg-2); font-size: 0.9375rem; }
.places.is-pinned .places-track-wrap { overflow: visible; scroll-snap-type: none; }
/* Room for the sideways walk: the pinned block stays put while the page scrolls this far. */
.places.has-pan { padding-bottom: var(--pan, 0px); }

/* ---------- Competition ---------- */
.compare { padding-top: var(--section); }
.table-scroll { margin-top: 48px; overflow-x: auto; }
.compare-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 1.0625rem; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-size: 1.0625rem; font-weight: 600; color: var(--fg-2); border-bottom: 0; padding-top: 24px; }
.compare-table tbody th { color: var(--fg-3); font-weight: 500; width: 22%; }
.compare-table td { color: var(--fg-2); }
.compare-table .col-dalil { background: var(--bg-3); color: var(--fg); font-weight: 600; border-bottom-color: rgb(255 255 255 / 0.06); }
.compare-table thead .col-dalil { color: var(--accent); letter-spacing: 0.12em; font-size: 1.25rem; border-radius: 20px 20px 0 0; box-shadow: inset 0 3px 0 var(--accent); }
.compare-table tbody tr:last-child .col-dalil { border-radius: 0 0 20px 20px; border-bottom: 0; }

/* ---------- Market chart ---------- */
.market { padding-top: var(--section); }
.market-grid { display: grid; gap: 48px; align-items: end; }
.bars { display: grid; gap: 18px; margin-top: 44px; }
.bar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name value" "track track" "count count"; gap: 6px 16px; align-items: baseline; }
.bar-name { grid-area: name; font-weight: 600; }
.bar-value { grid-area: value; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--fg); }
.bar-count { grid-area: count; color: var(--fg-3); font-size: 0.875rem; font-family: var(--mono); }
.bar-track { grid-area: track; height: 14px; }
.bar-fill {
  display: block; height: 100%; width: calc(var(--v) / 62 * 100%); min-width: 6px;
  border-radius: 2px 4px 4px 2px; background: var(--accent);
  transform-origin: left center;
  transition: transform 1.1s var(--ease);
}
.bar[data-v="62"] { --v: 62; } .bar[data-v="33"] { --v: 33; } .bar[data-v="28"] { --v: 28; }
.bar[data-v="9"] { --v: 9; } .bar[data-v="5"] { --v: 5; }
.bar:hover .bar-fill { background: var(--accent-2); }
.bars.will-grow .bar-fill { transform: scaleX(0); }
.bars.will-grow.is-in .bar-fill { transform: none; }
.bars.is-in .bar:nth-child(2) .bar-fill { transition-delay: 80ms; }
.bars.is-in .bar:nth-child(3) .bar-fill { transition-delay: 160ms; }
.bars.is-in .bar:nth-child(4) .bar-fill { transition-delay: 240ms; }
.bars.is-in .bar:nth-child(5) .bar-fill { transition-delay: 320ms; }
.bars.is-in .bar:nth-child(6) .bar-fill { transition-delay: 400ms; }
.per-building {
  padding: 32px; border-radius: var(--r-card); display: grid; gap: 10px;
  background: linear-gradient(160deg, rgb(255 199 0 / 0.14), rgb(255 199 0 / 0.02) 60%), var(--bg-2);
  box-shadow: inset 0 0 0 1px rgb(255 199 0 / 0.25);
}
.pb-label { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.pb-number { font-size: clamp(3.5rem, 8vw, 5.5rem); font-weight: 300; letter-spacing: -0.05em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.pb-note { color: var(--fg-2); }
.pb-margin { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.5rem; font-weight: 600; }
.pb-margin .count { color: var(--accent); }

/* ---------- Pricing ---------- */
.pricing { padding-top: var(--section); }
.price-pair { display: grid; gap: 28px; margin-top: 44px; }
.price { font-size: clamp(3.5rem, 10vw, 7.5rem); font-weight: 300; letter-spacing: -0.055em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.price-note { color: var(--fg-2); margin-top: 8px; }
.price-grid { display: grid; gap: 20px; margin-top: 56px; }
.range-chart, .included { padding: clamp(22px, 3.5vw, 36px); border-radius: var(--r-card); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.range-chart { display: grid; gap: 26px; align-content: start; }
.range-chart figcaption { font-weight: 600; font-size: 1.125rem; }
.range-row { display: grid; gap: 8px; }
.range-name { font-weight: 600; }
.range-dalil .range-name { color: var(--accent); letter-spacing: 0.08em; }
.range-lane { position: relative; height: 16px; }
.range-fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; transform-origin: left center; transition: transform 1.1s var(--ease); }
.range-dalil .range-fill { left: 0; width: 33%; background: var(--accent); }
.range-wall .range-fill { left: 45%; width: 55%; background: #8A93A0; }
.range-chart.will-grow .range-fill { transform: scaleX(0); }
.range-chart.will-grow.is-in .range-fill { transform: none; }
.range-value { font-family: var(--mono); font-size: 0.9375rem; color: var(--fg-2); }
.included { display: grid; gap: 18px; align-content: start; }
.included h3 { font-size: 1.125rem; }
.included ul { display: grid; gap: 14px; }
.included li { display: flex; gap: 12px; align-items: center; font-size: 1.0625rem; }
.included .icon { color: var(--accent); width: 1.4em; height: 1.4em; }
.care { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); color: var(--accent); font-weight: 600; }

/* ---------- Roadmap ---------- */
.roadmap { padding-top: var(--section); }
.road { position: relative; margin-top: 48px; }
.road-rail { display: none; }
.road-progress { stroke-dasharray: 1; stroke-dashoffset: 0; }
.milestones { display: grid; gap: 0; position: relative; padding-left: 64px; }
.milestones::before {
  content: ""; position: absolute; left: 22px; top: 12px; bottom: 12px; width: 8px; border-radius: 999px;
  background: linear-gradient(to bottom, var(--steel-1), var(--steel-2));
}
.ms { position: relative; padding: 0 0 40px; }
.ms-text { display: grid; gap: 2px; }
.ms:last-child { padding-bottom: 0; }
.ms-clip {
  position: absolute; left: -64px; top: 0; width: 60px; height: 36px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--ink); font: 700 1rem/1 var(--mono);
  box-shadow: inset 0 -4px 0 rgb(0 0 0 / 0.16);
}
.ms-24 .ms-clip { background: var(--ink); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.ms-when { font-family: var(--mono); font-size: 0.875rem; color: var(--fg-3); }
.ms-what { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); }
.ms-note { color: var(--fg-2); }
/* Months not reached yet are drawn in grey, then light up yellow (colour, not opacity, so text keeps its contrast) */
.road.is-live .ms-clip, .road.is-live .ms-what { transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.road.is-live .ms:not(.on) .ms-clip { background: var(--bg-3); color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.road.is-live .ms:not(.on) .ms-what { color: var(--fg-2); }

/* ---------- First customers ---------- */
.customers { padding-top: var(--section); }
.customers .lede { margin-top: 18px; }
.marquee { margin-top: 48px; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  padding: 14px 28px; border-radius: 999px; white-space: nowrap;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2);
}
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Team ---------- */
.team { padding-top: var(--section); }
.founders { display: grid; gap: 16px; margin-top: 48px; }
.founder {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start;
  padding: 18px; border-radius: var(--r-card); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
}
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; filter: saturate(0.8); }
.founder h3 { font-size: 1.5rem; }
.founder .role { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 6px 0 12px; }
.founder p:not(.role) { color: var(--fg-2); font-size: 0.9375rem; }
.team-note { margin-top: 18px; color: var(--fg-2); max-width: 56ch; }

/* ---------- Join + form ---------- */
.join { position: relative; padding-bottom: var(--section); margin-top: var(--section); }
.join-strip img { width: 100%; height: clamp(160px, 26vw, 320px); object-fit: cover; opacity: 0.55; mask-image: linear-gradient(to bottom, #000 30%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.join-grid { display: grid; gap: 40px; margin-top: -40px; position: relative; }
.join-intro { display: grid; gap: 20px; align-content: start; }
.join-intro h2 { color: var(--accent); max-width: 14ch; }
.join-mail { display: flex; gap: 10px; align-items: center; color: var(--fg-2); }
.join-mail a { color: var(--fg); font-weight: 600; }

.lead-form {
  display: grid; gap: 22px; padding: clamp(20px, 4vw, 36px);
  border-radius: 28px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / 0.05), 0 40px 120px -50px rgb(255 199 0 / 0.25);
}
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label:not(.consent), .field legend { font-weight: 600; font-size: 0.9375rem; padding: 0; }
.optional { font-weight: 400; color: var(--fg-3); font-size: 0.8125rem; margin-left: 6px; }
.field-hint { font-size: 0.875rem; color: var(--fg-3); margin-top: -2px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1.5px solid var(--control); border-radius: var(--r-input);
  background: var(--bg); color: var(--fg);
  font: 500 1.0625rem/1.4 var(--font);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 104px; resize: vertical; }
.field select {
  appearance: none; background-color: var(--bg); color: var(--fg);
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px;
}
.field input:not([type="checkbox"]):focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 199 0 / 0.35);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: flex; gap: 8px; color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.field-error::before { content: ""; flex: none; width: 3px; align-self: stretch; border-radius: 2px; background: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--control); font-weight: 500;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.chip .icon { width: 0; opacity: 0; transition: width 0.3s var(--spring), opacity 0.2s var(--ease); }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--fg); }
.chip input:checked + span { background: var(--accent); color: var(--ink); box-shadow: none; }
.chip input:checked + span .icon { width: 1.1em; opacity: 1; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
#f-interest[aria-invalid="true"] .chip span { box-shadow: inset 0 0 0 1.5px var(--error); }
.optional-fields { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.optional-fields summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-weight: 600; cursor: pointer; list-style: none;
}
.optional-fields summary::-webkit-details-marker { display: none; }
.optional-fields summary::after {
  content: ""; width: 10px; height: 10px; border-right: 2px solid var(--fg); border-bottom: 2px solid var(--fg);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.3s var(--spring);
}
.optional-fields[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.optional-fields summary:hover > span { text-decoration: underline; text-underline-offset: 0.2em; }
.optional-fields .field-row { padding-bottom: 22px; }
.consent { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 0.9375rem; line-height: 1.5; color: var(--fg-2); }
.consent input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--accent); }
.consent-link { font-size: 0.9375rem; font-weight: 600; margin-left: 38px; }
.error-summary { padding: 18px 20px; border-radius: 18px; background: rgb(255 138 122 / 0.08); box-shadow: inset 0 0 0 1.5px var(--error); }
.error-summary:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.error-summary-title { font-size: 1.0625rem; color: var(--error); }
.error-summary ul { display: grid; gap: 6px; margin-top: 10px; }
.error-summary a { color: var(--error); font-weight: 600; }
.btn-submit { width: 100%; position: relative; justify-content: space-between; min-height: 60px; font-size: 1.125rem; }
.btn-busy { display: none; }
.btn-submit[aria-busy="true"] { cursor: progress; }
.btn-submit[aria-busy="true"] .btn-busy { display: block; position: absolute; left: 26px; right: 26px; bottom: 9px; height: 3px; border-radius: 2px; overflow: hidden; }
.btn-submit[aria-busy="true"] .btn-busy::before { content: ""; display: block; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--ink), transparent); animation: busy 1.1s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 12px; }
.footer-logo { width: 168px; margin-bottom: 8px; }
.footer p { color: var(--fg-2); }
.footer a { color: var(--fg); font-weight: 600; }
.footer-meta { font-size: 0.9375rem; }

/* ---------- Reveal on scroll (only added by JS, only below the fold) ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--spring); }
li.reveal.is-in:nth-child(2) { transition-delay: 80ms; }
li.reveal.is-in:nth-child(3) { transition-delay: 160ms; }
li.reveal.is-in:nth-child(4) { transition-delay: 240ms; }

/* ---------- Simple pages (thanks, privacy, 404) ---------- */
.page { padding: 140px 0 var(--section); min-height: 70vh; }
.page h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); max-width: 16ch; letter-spacing: -0.045em; }
.page .lede { margin-top: 20px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.prose { max-width: 64ch; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); margin-top: 44px; max-width: none; }
.prose p, .prose ul { margin-top: 12px; color: var(--fg-2); }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--fg); }
.thanks-mark { width: 64px; height: 64px; border-radius: 999px; background: var(--accent); color: var(--ink); display: grid; place-items: center; margin-bottom: 28px; }
.thanks-mark .icon { width: 30px; height: 30px; }
.page-nav .nav-links { display: none !important; }

/* ---------- 640 px and up ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-pair { grid-template-columns: repeat(2, max-content); gap: 64px; }
  .founder { grid-template-columns: 180px 1fr; padding: 22px; gap: 28px; }
  .bar { grid-template-columns: 200px 90px 1fr 92px; grid-template-areas: "name count track value"; align-items: center; }
  .bar-count { font-size: 0.8125rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-find { grid-column: 1 / -1; min-height: 420px; }
}

/* ---------- 960 px and up ---------- */
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .problem-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; }
  .steps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 300px 300px; }
  .step-clip { grid-column: 1; grid-row: 1; }
  .step-read { grid-column: 1; grid-row: 2; }
  .step-find { grid-column: 2; grid-row: 1 / span 2; min-height: 0; }
  .grammar-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .sight-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .places-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 88px 40px; }
  .place { width: min(30vw, 440px); }
  .market-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; }
  .price-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; margin-top: -80px; }
  .join-intro { position: sticky; top: 120px; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 8px 48px; }
  .footer-logo { grid-row: span 3; }

  /* Roadmap as a rising handrail. Clips sit on the rail at 6%, 36%, 64% and 94% of its length;
     labels sit above-left or below-right of each clip, where the rail never runs. */
  .road { aspect-ratio: 1000 / 460; }
  .road-rail { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .milestones { position: absolute; inset: 0; padding: 0; }
  .milestones::before { display: none; }
  .ms { position: static; padding: 0; }
  .ms-clip { left: 0; top: 0; transform: translate(-50%, -50%); }
  .ms-text { position: absolute; width: 21%; display: grid; gap: 2px; }
  .ms-1 .ms-clip { left: 9.5%; top: 69.1%; }
  .ms-1 .ms-text { left: 6.5%; top: 75%; }
  .ms-6 .ms-clip { left: 37.1%; top: 56.1%; }
  .ms-6 .ms-text { right: 59.9%; bottom: 50%; text-align: right; }
  .ms-12 .ms-clip { left: 62.9%; top: 43.9%; }
  .ms-12 .ms-text { left: 59.9%; top: 50%; }
  .ms-24 .ms-clip { left: 90.5%; top: 30.9%; }
  .ms-24 .ms-text { right: 6.5%; bottom: 75%; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--gutter); }
  .marquee-track span:nth-child(n+9) { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}
@media (forced-colors: active) {
  .btn-primary, .rib-key[aria-pressed="true"], .chip input:checked + span { border: 2px solid ButtonText; }
  .bar-fill, .range-fill { background: CanvasText; forced-color-adjust: none; }
}
