/* ------------------------------------------------------------------
   Design tokens — lifted from memorable.sh's compiled CSS
   (Tailwind v4 theme + their:root fluid type scale)
------------------------------------------------------------------- */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-mono.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); }

:root {
  --background: #000;
  --foreground: #ededed;

  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #9f9fa9;
  --zinc-500: #71717b;
  --zinc-600: #52525c;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
  --neutral-300: #d4d4d4;

  /* brand-ish accents used by the shaders + chips */
  --teal: #ffb7c5;
  --teal-300: #ffc9d4;
  --teal-500: #f2c7c7;
  --teal-700: #9c5a68;
  --teal-deep: #2a1418;
  --aqua: #d5f3d8;
  --navy: #040b31;
  --purple: #b19fff;
  --orange: #ff9367;
  --mint: #3ddc97;
  --warm: #e07a4a;
  --lav: #b7a6ff;
  --sky: #38bdf8;
  --green: #27c93f;
  --red: #ef4444;
  --amber: #f59e0b;
  --yellow: #eab308;

  --panel: #131418;
  --panel-deep: #0e0f12;
  --screen: #060608;
  --card-quote: #0a0a0c;

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-serif: "Instrument Serif", "Times New Roman", serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-flex: cubic-bezier(0.25, 1, 0.5, 1);

  /* fluid type scale (desktop ≥ 1280px) */
  --fs-xs: 0.7vw;
  --fs-code: 0.8vw;
  --fs-sm: 0.9vw;
  --fs-md: 1.1vw;
  --fs-lg: 1.6vw;
  --fs-xl: 3.4vw;
  --fs-hero: 4.8vw;
  --radius-card-sm: 4px;
  --radius-card-lg: 10px;
}

/* ------------------------------------------------------------------
   Theme tokens — dark (default) and light. The demo device stays dark
   in both themes, like a real editor screenshot on the page.
------------------------------------------------------------------- */
:root {
  --bg: #000; --bg-rgb: 0 0 0; --fg: #fff;
  --ink: 255 255 255; --hi: 255 255 255;
  --shade: 0 0 0; --shade-k: 1;
  --btn: #fff; --on-btn: #000;
  --surface-0: #0b0c0f; --surface-1: #131418; --surface-2: #1b1d22; --surf-rgb: 13 13 17;
  --accent-soft: #1f1215;
}
[data-theme="light"] {
  color-scheme: light;
  --background: #ffffff; --foreground: #2b1c22;
  --bg: #ffffff; --bg-rgb: 255 255 255; --fg: #2b1c22;
  --ink: 43 28 34; --hi: 255 255 255;
  --shade: 150 80 100; --shade-k: 0.14;
  --btn: #2b1c22; --on-btn: #ffffff;
  --surface-0: #fffafb; --surface-1: #fdf3f5; --surface-2: #fae6eb; --surf-rgb: 255 250 251;
  --accent-soft: #ffe9ee;
  --zinc-100: #1a1015; --zinc-200: #2b1c22; --zinc-300: #3f2f36; --zinc-400: #5c4a52; --zinc-500: #7d6b73; --zinc-600: #a8979e; --zinc-800: #efe4e7; --zinc-900: #f6eef0; --zinc-950: #fbf6f7;
  --teal-300: #b84a66; --aqua: #3f8f55; --panel: #fdf3f5; --screen: #fffafb;
}
/* mobile < 768px */
@media not all and (min-width: 48rem) {
  :root { --fs-xs: 2.9vw; --fs-code: 3.15vw; --fs-sm: 3.4vw; --fs-md: 4vw; --fs-lg: 5.2vw; --fs-xl: 7.4vw; --fs-hero: 8.8vw; }
}
/* tablet / small laptop 768–1279px: fixed px */
@media (min-width: 48rem) and (max-width: 79.99rem) {
  :root { --fs-xs: 11px; --fs-code: 13.5px; --fs-sm: 14px; --fs-md: 16px; --fs-lg: 20px; --fs-xl: 30px; --fs-hero: 44px; }
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  color: var(--foreground);
  background: var(--bg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: inherit; }
button, input { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
img, svg, canvas, video { display: block; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
::selection { background-color: rgb(255 183 197 / 0.35); color: var(--fg); }
:focus-visible { outline: 1px solid rgb(var(--ink) / 0.6); outline-offset: 2px; }

.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: 0.5rem 0.9rem; background: var(--btn); color: var(--on-btn); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; border-radius: 4px; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }

.dim { color: var(--zinc-500); }
.divider { width: 92vw; height: 1px; margin: 0 auto; background: linear-gradient(to right, transparent, rgb(var(--ink) / 0.12), transparent); position: relative; z-index: 10; }

/* eyebrow — memorable's "( LET'S TALK )" mono label, used for browniie's section kickers */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.75vw;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--zinc-300);
  margin-bottom: 1.8vh;
  letter-spacing: 0.16em;
}
.kicker::before { content: ""; width: 0.55em; height: 0.55em; background: var(--teal); box-shadow: 0 0 10px rgb(255 183 197 / 0.7); }
@media (max-width: 79.99rem) { .kicker { font-size: 11px; } }
@media not all and (min-width: 48rem) { .kicker { font-size: 2.6vw; } }

.h-section {
  font-size: var(--fs-xl);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--fg);
}
.lede { font-size: var(--fs-sm); color: var(--zinc-400); line-height: 1.6; }

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------- */
.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5vw;
  padding: 0 1.1vw; height: 3.8vh; min-height: 32px;
  background: var(--btn); color: var(--on-btn);
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 0.25vw;
  box-shadow: 0 4px 6px -1px rgb(var(--shade) / calc(0.1 * var(--shade-k))), 0 2px 4px -2px rgb(var(--shade) / calc(0.1 * var(--shade-k)));
  transition: background-color 0.15s, transform 0.15s;
  white-space: nowrap; user-select: none;
}
.btn-white:hover { background: var(--zinc-200); }
.btn-white:active { transform: scale(0.95); }
.btn-white svg { width: 0.75vw; height: 0.75vw; transition: transform 0.15s; }
.btn-white:hover svg { transform: translateX(2px); }
.btn-white[disabled] { opacity: 0.7; cursor: progress; }

.btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6vw;
  padding: 0.7vh 1.8vw;
  border-radius: 6px;
  background: rgb(var(--ink) / 0.08);
  border: 1px solid rgb(var(--ink) / 0.25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--fg); font-family: var(--font-mono); font-size: 0.8vw;
  box-shadow: inset 0 0.08vw 0.08vw rgb(var(--hi) / 0.25), 0 0.6vw 2vw rgb(var(--shade) / calc(0.6 * var(--shade-k)));
  transition: all 0.3s;
}
.btn-glass:hover { background: rgb(var(--ink) / 0.18); border-color: rgb(var(--ink) / 0.4); }
.btn-glass .arrow { transition: transform 0.3s; color: var(--teal-300); }
.btn-glass:hover .arrow { transform: translateX(3px); }

@media (max-width: 79.99rem) {
  .btn-white { gap: 6px; padding: 0 14px; border-radius: 3px; }
  .btn-white svg { width: 9px; height: 9px; }
  .btn-glass { font-size: 12px; padding: 7px 18px; gap: 8px; }
}
@media not all and (min-width: 48rem) {
  .btn-white { gap: 1.5vw; padding: 0 3.8vw; height: 4.4vh; border-radius: 0.8vw; }
  .btn-white svg { width: 2.5vw; height: 2.5vw; }
  .btn-glass { font-size: 2.9vw; padding: 1vh 5.5vw; gap: 2vw; }
}

/* ------------------------------------------------------------------
   Nav — floating glass bar
------------------------------------------------------------------- */
.nav {
  position: fixed; top: 1.8vh; left: 0; right: 0; margin: 0 auto; z-index: 50; width: 96%;
  user-select: none;
  transform: translateY(-170%);
  transition: transform 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.nav.is-in { transform: translateY(0); pointer-events: auto; }
.nav-bar {
  position: relative; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85vh 1.4vw;
  border-radius: 0.5vw;
  background: rgb(var(--ink) / 0.03);
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgb(var(--ink) / 0.1);
  box-shadow: inset 0 1px 1px rgb(var(--hi) / 0.15), 0 4px 24px rgb(var(--shade) / calc(0.2 * var(--shade-k)));
}
.nav-logo { display: flex; align-items: center; gap: 0.5vw; flex-shrink: 0; color: var(--fg); }
.nav-logo svg { height: 1.5vw; width: 1.5vw; }
.nav-logo .word { font-family: var(--font-sans); font-weight: 500; font-size: 1.3vw; letter-spacing: -0.04em; line-height: 1; }
.nav-logo:hover { opacity: 0.8; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2.4vw; }
.nav-links a { font-family: var(--font-mono); font-size: var(--fs-sm); text-transform: uppercase; color: var(--zinc-400); }
.nav-links a, .nav-fade {
  opacity: 0; transform: translateY(-0.25rem);
  transition: color 0.35s var(--ease-out-expo), opacity 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--fg); }
.nav.is-in .nav-links a, .nav.is-in .nav-fade { opacity: 1; transform: translateY(0); }
.nav-actions { display: flex; align-items: center; gap: 0.7vw; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45vw;
  padding: 0 1.1vw; height: 2.4vw;
  border-radius: 0.25vw; background: var(--btn); color: var(--on-btn);
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase;
  box-shadow: 0 0.2vw 0.6vw rgb(var(--hi) / 0.08);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--zinc-200); transform: scale(1.01); }
.nav-cta svg { width: 0.55vw; height: 0.55vw; }
.nav-cta .short { display: none; }
.nav-burger {
  display: none; position: relative; width: 2.4vw; height: 2.4vw; border-radius: 0.25vw; flex-shrink: 0;
  border: 1px solid rgb(var(--ink) / 0.08); background: rgb(var(--ink) / 0.04); color: var(--zinc-300);
  flex-direction: column; align-items: center; justify-content: center; gap: 0.35vw;
  transition: all 0.2s;
}
.nav-burger span { display: block; width: 1.2vw; height: 0.1vw; background: currentColor; transition: all 0.3s var(--ease-out-expo); transform-origin: center; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(calc(0.35vw / 2 + 0.05vw)) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(calc(-0.35vw / 2 - 0.05vw)) rotate(-45deg); }
.nav-menu { display: none; }

@media (max-width: 79.99rem) {
  .nav-bar { padding: 8px 18px; border-radius: 6px; }
  .nav-logo svg { width: 20px; height: 20px; } .nav-logo .word { font-size: 17px; } .nav-logo { gap: 7px; }
  .nav-links { gap: 28px; }
  .nav-cta { height: 30px; padding: 0 14px; gap: 6px; border-radius: 3px; } .nav-cta svg { width: 7px; height: 7px; }
  .nav-actions { gap: 9px; }
}
@media not all and (min-width: 48rem) {
  .nav { top: 1.2vh; }
  .nav-bar { padding: 1vh 3.5vw; border-radius: 1.4vw; }
  .nav-logo svg { width: 5.4vw; height: 5.4vw; } .nav-logo .word { font-size: 5vw; } .nav-logo { gap: 1.6vw; }
  .nav-links { display: none; }
  .nav-actions { gap: 2vw; }
  .nav-cta { padding: 0 3.5vw; height: 8.5vw; border-radius: 0.8vw; gap: 1.2vw; } .nav-cta svg { width: 2.4vw; height: 2.4vw; }
  .nav-cta .full { display: none; } .nav-cta .short { display: inline; }
  .nav-burger { display: flex; width: 8.5vw; height: 8.5vw; border-radius: 0.8vw; gap: 1.1vw; }
  .nav-burger span { width: 4vw; height: 0.35vw; }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(0.72vw) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-0.72vw) rotate(-45deg); }
  .nav-menu { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; pointer-events: none; transition: grid-template-rows 0.3s var(--ease-out-expo), opacity 0.3s var(--ease-out-expo), margin 0.3s var(--ease-out-expo); }
  .nav-menu > div { overflow: hidden; }
  .nav.menu-open .nav-menu { grid-template-rows: 1fr; opacity: 1; margin-top: 1vh; pointer-events: auto; }
  .nav-menu-panel { border-radius: 1.6vw; background: var(--bg); border: 1px solid rgb(var(--ink) / 0.15); padding: 5vw; display: flex; flex-direction: column; gap: 2.5vh; box-shadow: 0 1.5vw 4vw rgb(var(--shade) / calc(0.85 * var(--shade-k))); transform: scale(0.97) translateY(-0.5vh); transition: transform 0.3s var(--ease-out-expo); }
  .nav.menu-open .nav-menu-panel { transform: none; }
  .nav-menu-links { display: flex; flex-direction: column; font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: 0.14em; text-transform: uppercase; }
  .nav-menu-links a { display: flex; align-items: center; justify-content: space-between; padding: 1.4vh 0; border-bottom: 1px solid rgb(var(--ink) / 0.06); color: var(--zinc-400); opacity: 0; transform: translateX(-0.8vw); transition: all 0.3s; }
  .nav.menu-open .nav-menu-links a { opacity: 1; transform: none; }
  .nav-menu-links a .n { display: flex; align-items: center; gap: 3vw; }
  .nav-menu-links a .n small { font-size: var(--fs-xs); color: var(--zinc-500); letter-spacing: 0.14em; }
  .nav-menu-links a svg { width: 3vw; height: 3vw; color: var(--zinc-500); }
  .nav-menu-cta { width: 100%; display: flex; align-items: center; justify-content: center; gap: 1.5vw; padding: 1.3vh 0; border-radius: 0.8vw; background: var(--btn); color: var(--on-btn); font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; box-shadow: 0 0.4vw 1.2vw rgb(var(--hi) / 0.12); }
  .nav-menu-cta svg { width: 2.4vw; height: 2.4vw; }
}

/* ------------------------------------------------------------------
   Hero + scroll-zoom into the demo terminal
------------------------------------------------------------------- */
.hero-wrap { position: relative; z-index: 20; width: 100%; height: 270vh; background: transparent; }
.hero-sticky {
  position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  perspective: 950px; transform-style: preserve-3d; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--bg); pointer-events: auto; overflow: hidden; }
.hero-bg canvas { width: 100%; height: 100%; }
.hero-dim { position: absolute; inset: 0; background: var(--bg); z-index: 1; opacity: 0; pointer-events: none; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 42vh; z-index: 2; pointer-events: none; background: linear-gradient(to top, var(--bg), rgb(var(--bg-rgb) / 0.75), transparent); }

.hero-layer { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: space-between; transform-origin: center; will-change: transform; transform-style: preserve-3d; pointer-events: none; }
.hero {
  position: relative; z-index: 10; width: 100%; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 19vh 5vw 3.5vh; overflow: hidden;
}
.hero-main { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: flex-start; max-width: 70vw; width: 100%; }
.hero h1 {
  font-size: var(--fs-hero); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; color: var(--fg);
  margin-bottom: 2.5vh; user-select: none; opacity: 0;
}
.hero-sub { max-width: 40vw; font-size: var(--fs-md); line-height: 1.55; color: var(--zinc-400); margin-bottom: 3.2vh; }
.hero-sub strong { color: var(--teal-300); font-weight: 400; }
.rise { opacity: 0; transform: translateY(1rem); transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo); pointer-events: auto; }
.revealed .rise { opacity: 1; transform: none; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1vh 1.6vw; margin-top: 2.4vh; user-select: none; }
.hero-meta span, .hero-meta a { font-family: var(--font-mono); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.025em; color: rgb(var(--ink) / 0.85); }
.hero-meta .sep { color: var(--zinc-500); }
.hero-meta a { text-underline-offset: 4px; transition: color 0.15s; }
.hero-meta a:hover { color: var(--fg); text-decoration: underline; }
.hero-meta .lead { font-size: var(--fs-xs); letter-spacing: 0.18em; color: rgb(212 212 216 / 0.8); }

/* waitlist form */
.wl { display: flex; flex-direction: column; gap: 1.2vh; pointer-events: auto; }
.wl-row { display: flex; align-items: center; gap: 0.7vw; }
.wl-field {
  display: inline-flex; align-items: center; height: 3.8vh; min-height: 32px; width: 19vw;
  border-radius: 0.25vw; border: 1px solid rgb(var(--ink) / 0.15);
  background: rgb(var(--ink) / 0.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s, background-color 0.2s;
}
.wl-field:hover { border-color: rgb(var(--ink) / 0.3); background: rgb(var(--ink) / 0.1); }
.wl-field:focus-within { border-color: rgb(var(--ink) / 0.45); }
.wl-field input { width: 100%; height: 100%; padding: 0 1.1vw; outline: none; font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: -0.025em; color: var(--fg); }
.wl-field input::placeholder { color: var(--zinc-500); }
.wl.is-error .wl-field { border-color: rgb(239 68 68 / 0.55); }
.wl-note { font-size: var(--fs-xs); color: var(--zinc-500); line-height: 1.5; max-width: 34vw; }
.wl-note a { color: var(--zinc-300); text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s; }
.wl-note a:hover { color: var(--fg); }
.wl-status { display: none; align-items: center; gap: 0.5vw; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.02em; }
.wl-status .dot { width: 0.42vw; height: 0.42vw; min-width: 6px; min-height: 6px; border-radius: 99px; }
.wl.is-error .wl-status { display: inline-flex; color: #f87171; } .wl.is-error .wl-status .dot { background: var(--red); box-shadow: 0 0 6px rgb(239 68 68 / 0.8); }
.wl.is-done .wl-status { display: inline-flex; color: var(--green); } .wl.is-done .wl-status .dot { background: var(--green); box-shadow: 0 0 6px rgb(39 201 63 / 0.8); }
.wl.is-done .wl-row { display: none; }
.spinner { width: 0.8vw; height: 0.8vw; min-width: 11px; min-height: 11px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* demo "dashboard" that flies in */
.dash-layer { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; transform-origin: center; will-change: transform; transform-style: preserve-3d; pointer-events: none; opacity: 0; }
.dash { position: relative; z-index: 10; width: 100%; height: 100%; min-height: 100vh; padding: 6vh 4vw; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dash-inner { position: relative; z-index: 10; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 5vw; }
.dash-copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 30vw; }
.dash-copy h2 { font-size: var(--fs-xl); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; color: var(--fg); margin-bottom: 2vh; }
.dash-copy p { font-size: var(--fs-md); color: var(--zinc-400); line-height: 1.625; }
.dash-device { width: 58vw; display: flex; align-items: center; justify-content: center; }
.device {
  width: 100%; padding: 0.9vw; border-radius: var(--radius-card-lg); background: var(--zinc-950);
  backdrop-filter: blur(24px); border: 1px solid rgb(var(--ink) / 0.2);
  box-shadow: 0 30px 90px rgb(var(--shade) / calc(0.95 * var(--shade-k))), inset 0 1px 2px rgb(var(--hi) / 0.35), inset 0 -1px 2px rgb(var(--shade) / calc(0.8 * var(--shade-k)));
  transition: all 0.3s;
}
.device:hover { border-color: rgb(var(--ink) / 0.3); transform: scale(1.006); }
.screen {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--screen); border-radius: var(--radius-card-sm); overflow: hidden;
  border: 1px solid rgb(var(--ink) / 0.1); box-shadow: inset 0 2px 15px rgb(var(--shade) / calc(0.95 * var(--shade-k)));
  display: flex; flex-direction: column;
}
.screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 10; background: radial-gradient(ellipse at center, rgb(var(--ink) / 0.03) 0%, rgb(var(--bg-rgb) / 0.55) 100%); }
.screen::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; pointer-events: none; z-index: 10; background: linear-gradient(to bottom, rgb(var(--ink) / 0.04), transparent); }
.dash-bottom-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 38vh; z-index: 0; pointer-events: none; background: linear-gradient(to bottom, transparent, rgb(var(--bg-rgb) / 0.8), var(--bg)); }

/* terminal chrome (shared) */
.term-bar { display: flex; align-items: center; justify-content: space-between; padding: 1.1vh 1.2vw; border-bottom: 1px solid rgb(var(--ink) / 0.08); background: var(--bg); flex-shrink: 0; }
.term-bar .left { display: flex; align-items: center; gap: 0.7vw; }
.lights { display: flex; align-items: center; gap: 0.35vw; }
.lights i { display: block; width: 0.55vw; height: 0.55vw; min-width: 7px; min-height: 7px; border-radius: 99px; }
.lights i:nth-child(1) { background: var(--red); } .lights i:nth-child(2) { background: var(--yellow); } .lights i:nth-child(3) { background: var(--green); }
.term-bar .title { font-family: var(--font-mono); font-size: 0.82vw; color: var(--zinc-300); margin-left: 0.3vw; }
.term-bar .meta { display: flex; gap: 1.2vw; font-family: var(--font-mono); font-size: 0.75vw; color: var(--zinc-500); }
.term-body {
  flex: 1; padding: 1.3vw 1.4vw; overflow: hidden;
  font-family: var(--font-mono); font-size: 0.82vw; line-height: 1.7; color: var(--zinc-400);
  white-space: pre;
}
.term-body .ln { display: block; min-height: 1.7em; opacity: 0; }
.term-body.play .ln { animation: codeLineFade 0.22s cubic-bezier(0.16, 1, 0.3, 1) both; }
.term-body .p { color: var(--zinc-500); }
.term-body .cmd { color: var(--zinc-200); }
.term-body .warn { color: var(--orange); }
.term-body .ok { color: var(--aqua); }
.term-body .acc { color: var(--sky); }
.term-body .w { color: var(--fg); }
.term-body .add { color: var(--green); }
.term-body .del { color: #f87171; }
.cursor { display: inline-block; width: 0.42vw; height: 0.95vw; margin-left: 0.2vw; background: var(--teal); box-shadow: 0 0 8px rgb(255 183 197 / 0.7); vertical-align: middle; animation: cursorBlink 1s step-start infinite; }
@keyframes codeLineFade { 0% { opacity: 0; transform: translateY(0.4vh); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ---------------- demo film inside the device ---------------- */
.screen.demo { container-type: inline-size; }
.term-bar .meta { align-items: center; }
.live { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.1em 0.6em; border-radius: 99px; border: 1px solid rgb(255 183 197 / 0.35); color: var(--teal-300); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9em; }
.live b { font-weight: 500; }
.live i { width: 0.5em; height: 0.5em; border-radius: 99px; background: var(--teal); box-shadow: 0 0 6px var(--teal); animation: pulse 1.6s ease-in-out infinite; }
.is-paused .live { color: var(--zinc-400); border-color: rgb(var(--ink) / 0.15); }
.is-paused .live i { background: var(--zinc-500); box-shadow: none; animation: none; }

.demo-stage { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: 41% 1fr; cursor: pointer; }
.demo-log {
  margin: 0; padding: 1.6cqw 1.4cqw; overflow: hidden; border-right: 1px solid rgb(var(--ink) / 0.06);
  font-family: var(--font-mono); font-size: 1.12cqw; line-height: 1.62; color: var(--zinc-400); white-space: pre;
}
.demo-log .dl { display: block; min-height: 1.62em; }
.demo-log .p { color: var(--zinc-500); } .demo-log .cmd { color: var(--zinc-200); }
.demo-log .warn { color: #fb923c; } .demo-log .ok { color: var(--aqua); } .demo-log .w { color: var(--fg); }
.demo-log .cursor { width: 0.55em; height: 1.05em; }
.demo-view { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 70% 0%, rgb(255 183 197 / 0.06), transparent 60%); }
.dv { position: absolute; inset: 0; padding: 1.8cqw; display: flex; flex-direction: column; gap: 1.2cqw; font-size: 1.12cqw; transform-origin: 50% 40%; }
.dv-head { display: flex; align-items: center; gap: 0.7em; font-family: var(--font-mono); font-size: 1.02cqw; letter-spacing: 0.1em; text-transform: uppercase; color: var(--zinc-400); }
.dv-head svg { width: 1.1em; height: 1.1em; color: var(--teal-300); }
.dv-right { margin-left: auto; font-family: var(--font-mono); color: var(--zinc-500); letter-spacing: 0.04em; text-transform: none; }
.pulse-dot { width: 0.6em; height: 0.6em; border-radius: 99px; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: pulse 1.2s ease-in-out infinite; }

/* catch: provider grid */
.scan-bar { height: 2px; background: rgb(var(--ink) / 0.06); border-radius: 2px; overflow: hidden; }
.scan-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-700), var(--teal), #fff); transform-origin: left; box-shadow: 0 0 10px rgb(255 183 197 / 0.7); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8cqw; }
.chip { --bad: 0; position: relative; display: flex; align-items: center; gap: 0.6em; padding: 0.75cqw 0.8cqw; border-radius: var(--radius-card-sm); border: 1px solid rgb(var(--ink) / 0.08); background: var(--surface-0); font-family: var(--font-mono); font-size: 1.02cqw; color: var(--zinc-300); }
.chip .cd { width: 1.4em; height: 1.4em; border-radius: 4px; background: linear-gradient(145deg, var(--surface-2), var(--surface-1)); border: 1px solid rgb(var(--ink) / 0.12); flex-shrink: 0; }
.chip .ok-dot { margin-left: auto; width: 0.55em; height: 0.55em; border-radius: 99px; background: var(--teal); box-shadow: 0 0 6px rgb(255 183 197 / 0.8); opacity: 0; }
.chip.stripe { border-color: rgb(239 68 68 / calc(0.08 + var(--bad) * 0.6)); background: color-mix(in oklab, var(--surface-0), rgb(239 68 68 / 0.18) calc(var(--bad) * 100%)); color: color-mix(in oklab, var(--zinc-300), #fff calc(var(--bad) * 100%)); z-index: 2; }
.chip.stripe .cd { background: color-mix(in oklab, var(--surface-2), #635bff calc(var(--bad) * 100%)); }
.bad-tag { margin-left: auto; font-size: 0.82em; font-weight: 700; color: #f87171; text-transform: uppercase; letter-spacing: 0.06em; }
.chip .ring { position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgb(239 68 68 / 0.8); pointer-events: none; opacity: 0; }

.specdiff { order: 5; margin-top: auto; border-radius: var(--radius-card-sm); border: 1px solid rgb(239 68 68 / 0.35); background: linear-gradient(180deg, rgb(239 68 68 / 0.08), var(--surface-0) 70%); font-family: var(--font-mono); font-size: 1.05cqw; overflow: hidden; visibility: hidden; box-shadow: 0 1cqw 3cqw rgb(var(--shade) / calc(0.5 * var(--shade-k))); }
.sd-head { display: flex; align-items: center; gap: 0.6em; padding: 0.7cqw 0.9cqw; border-bottom: 1px solid rgb(var(--ink) / 0.06); color: var(--zinc-200); }
.sd-head .mute { color: var(--zinc-500); }
.sd-dot { width: 0.55em; height: 0.55em; border-radius: 99px; background: #f87171; box-shadow: 0 0 8px #f87171; }
.sd-l { display: flex; align-items: center; gap: 0.6em; padding: 0.45cqw 0.9cqw; color: var(--zinc-300); }
.sd-l > span:first-child { width: 1em; color: var(--zinc-600); }
.sd-l .ty { color: var(--zinc-500); }
.sd-l.del { background: rgb(239 68 68 / 0.1); color: #fca5a5; text-decoration: line-through; text-decoration-color: rgb(248 113 113 / 0.6); }
.sd-l.del > span:first-child { color: #f87171; text-decoration: none; }
.sd-l.hit { color: var(--teal-300); }
.tag-r, .tag-k { margin-left: auto; font-size: 0.85em; padding: 0.05em 0.6em; border-radius: 99px; text-decoration: none; display: inline-block; }
.tag-r { color: #f87171; border: 1px solid rgb(239 68 68 / 0.4); }
.tag-k { color: var(--teal-300); border: 1px solid rgb(255 183 197 / 0.4); }
.dv-scan .chips { order: 3; } .dv-scan .scan-bar { order: 2; } .dv-scan .dv-head { order: 1; }

/* fix: editor */
.tabs { display: flex; align-items: center; gap: 0.3cqw; border-bottom: 1px solid rgb(var(--ink) / 0.07); margin: -0.4cqw -1.8cqw 0; padding: 0 1.8cqw; font-family: var(--font-mono); font-size: 1.02cqw; }
.tab { padding: 0.7cqw 1cqw; color: var(--zinc-500); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tab.on { color: var(--fg); border-bottom-color: var(--teal); }
.tabs .path { font-size: 0.95em; }
.code { position: relative; font-family: var(--font-mono); font-size: 1.32cqw; line-height: 1.75; color: var(--zinc-200); padding-top: 0.6cqw; }
.cl { --bad: 0; --strike: 0; --settle: 0; position: relative; display: flex; height: 1.75em; overflow: hidden; white-space: pre; }
.cl .gut { width: 1.4em; flex-shrink: 0; text-align: center; color: var(--zinc-600); }
.cl .ln { width: 2.4em; flex-shrink: 0; text-align: right; padding-right: 1em; color: var(--zinc-600); }
.cl .src { flex: 1; }
.cl.bad { background: rgb(239 68 68 / calc(var(--bad) * 0.16)); box-shadow: inset 2px 0 0 rgb(239 68 68 / var(--bad)); }
.cl.bad .gut { color: #f87171; opacity: var(--bad); }
.cl.bad .src { text-decoration: line-through; text-decoration-color: rgb(248 113 113 / var(--strike)); text-decoration-thickness: 1px; }
.cl.bad .src::after { content: ""; position: absolute; left: 3.8em; right: 30%; bottom: 0.2em; height: 2px; opacity: calc(var(--bad) - var(--strike)); background: repeating-linear-gradient(90deg, #f87171 0 3px, transparent 3px 6px); }
.cl.fix { height: 0; opacity: 0; background: rgb(255 183 197 / calc(0.14 - var(--settle) * 0.1)); box-shadow: inset 2px 0 0 rgb(255 183 197 / calc(1 - var(--settle) * 0.6)); }
.cl.fix .gut { color: var(--teal-300); }
.cl.fix .typed { color: var(--teal-300); }
.caret { display: inline-block; width: 0.5em; height: 1.1em; vertical-align: -0.2em; background: var(--teal); animation: cursorBlink 0.9s step-start infinite; opacity: calc(1 - var(--settle)); }
.code kw { color: #f0abfc; } .code fn { color: #7dd3fc; } .code st { color: #86efac; } .code ty { color: #fcd34d; } .code pu { color: var(--zinc-500); }
.notes { display: grid; margin: 1.1em 0 0 3.8em; }
.note { grid-area: 1 / 1; position: relative; justify-self: start; z-index: 3; padding: 0.35em 0.7em; border-radius: var(--radius-card-sm); font-size: 0.86em; background: #1a0d0e; border: 1px solid rgb(239 68 68 / 0.45); color: var(--zinc-300); box-shadow: 0 8px 24px rgb(var(--shade) / calc(0.6 * var(--shade-k))); white-space: normal; line-height: 1.5; visibility: hidden; }
.note b { color: #f87171; font-weight: 600; margin-right: 0.5em; }
.note.rule { background: #1a0f12; border-color: rgb(255 183 197 / 0.45); }
.note::before { content: ""; position: absolute; left: 1.2em; bottom: 100%; width: 1px; height: 1.2em; background: currentColor; opacity: 0.4; }
.note.rule b { color: var(--teal-300); }
.toast { position: absolute; right: 1.8cqw; bottom: 1.8cqw; display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.9em; border-radius: var(--radius-card-sm); background: var(--surface-0); border: 1px solid rgb(255 183 197 / 0.4); font-family: var(--font-mono); font-size: 1.02cqw; color: var(--zinc-200); box-shadow: 0 10px 30px rgb(var(--shade) / calc(0.6 * var(--shade-k))), 0 0 20px rgb(255 183 197 / 0.15); visibility: hidden; }
.toast .tk { color: var(--teal-300); }
.add { color: var(--green); } .del { color: #f87171; }

/* verify: tests */
.tests { display: flex; flex-direction: column; gap: 0.5cqw; font-family: var(--font-mono); font-size: 1.1cqw; }
.tests li { --done: 0; display: flex; align-items: center; gap: 0.8em; padding: 0.7cqw 0.9cqw; border-radius: var(--radius-card-sm); border: 1px solid rgb(var(--ink) / 0.07); background: color-mix(in oklab, var(--surface-0), rgb(255 183 197 / 0.08) calc(var(--done) * 100%)); }
.tests .st { position: relative; width: 1.2em; height: 1.2em; flex-shrink: 0; }
.tests .spin { position: absolute; inset: 0; border-radius: 99px; border: 1.5px solid rgb(var(--ink) / 0.15); border-top-color: var(--teal); animation: spin 0.7s linear infinite; }
.tests .chk { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; color: var(--on-btn); background: var(--aqua); border-radius: 99px; font-size: 0.75em; font-weight: 700; visibility: hidden; }
.tests .tf { color: var(--zinc-200); } .tests .tn { margin-left: auto; color: var(--zinc-500); }
.tsum { margin-top: auto; display: flex; align-items: center; gap: 1.4em; font-family: var(--font-mono); font-size: 1.1cqw; color: var(--zinc-400); }
.tsum b { color: var(--aqua); font-weight: 500; font-size: 1.5em; font-variant-numeric: tabular-nums; }
.tsum .z { color: var(--zinc-500); }
.tbar { flex: 1; height: 3px; border-radius: 3px; background: rgb(var(--ink) / 0.07); overflow: hidden; }
.tbar i { display: block; height: 100%; background: var(--teal); transform-origin: left; box-shadow: 0 0 10px var(--teal); }

/* pr: pull request card */
.dv-pr { justify-content: center; perspective: 800px; }
.pr { border-radius: var(--radius-card-lg); border: 1px solid rgb(var(--ink) / 0.12); background: linear-gradient(180deg, rgb(var(--ink) / 0.04), rgb(var(--surf-rgb) / 0.95) 40%); box-shadow: 0 2cqw 5cqw rgb(var(--shade) / calc(0.85 * var(--shade-k))), inset 0 1px 1px rgb(var(--hi) / 0.12); padding: 1.6cqw; display: flex; flex-direction: column; gap: 0.9cqw; }
.pr-top { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-mono); font-size: 1cqw; }
.pr-ico { width: 1.9em; height: 1.9em; border-radius: 99px; display: flex; align-items: center; justify-content: center; background: rgb(255 183 197 / 0.12); color: var(--teal-300); border: 1px solid rgb(255 183 197 / 0.4); }
.pr-ico svg { width: 1.1em; height: 1.1em; }
.pill.draft { padding: 0.15em 0.7em; border-radius: 99px; border: 1px solid rgb(var(--ink) / 0.2); color: var(--zinc-300); font-size: 0.9em; }
.pr-num { color: var(--zinc-400); } .pr-when { font-size: 0.9em; }
.pr h4 { font-size: 1.55cqw; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; line-height: 1.3; }
.pr-branch { font-family: var(--font-mono); font-size: 0.98cqw; color: var(--zinc-500); }
.pr-branch code { color: var(--teal-300); background: rgb(255 183 197 / 0.08); padding: 0.1em 0.4em; border-radius: 3px; font-family: inherit; }
.labels { display: flex; gap: 0.5em; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.95cqw; }
.lb { padding: 0.2em 0.7em; border-radius: 99px; border: 1px solid; }
.lb.t { color: var(--teal-300); border-color: rgb(255 183 197 / 0.4); background: rgb(255 183 197 / 0.08); }
.lb.g { color: var(--green); border-color: rgb(39 201 63 / 0.4); background: rgb(39 201 63 / 0.08); }
.lb.r { color: #f87171; border-color: rgb(239 68 68 / 0.35); background: rgb(239 68 68 / 0.08); }
.pr-rows { border: 1px solid rgb(var(--ink) / 0.07); border-radius: var(--radius-card-sm); overflow: hidden; }
.pr-rows .row { display: flex; align-items: center; gap: 0.7em; padding: 0.65cqw 0.9cqw; border-top: 1px solid rgb(var(--ink) / 0.06); font-size: 1.05cqw; color: var(--zinc-300); }
.pr-rows .row:first-child { border-top: 0; }
.ok-c { width: 1.3em; height: 1.3em; border-radius: 99px; background: var(--green); color: var(--on-btn); font-size: 0.75em; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fi { width: 1.3em; text-align: center; color: var(--zinc-500); font-family: var(--font-mono); }
.pr-foot { display: flex; align-items: center; justify-content: space-between; font-size: 1.02cqw; }
.pr-foot .mute { color: var(--zinc-500); }
.rfr { --glow: 0; padding: 0.45em 1em; border-radius: 0.3em; background: var(--btn); color: var(--on-btn); font-family: var(--font-mono); font-size: 0.95em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; box-shadow: 0 0 calc(var(--glow) * 22px) rgb(255 183 197 / calc(var(--glow) * 0.9)); }

/* paused overlay */
.demo-paused { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgb(var(--bg-rgb) / 0.35); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 20; }
.demo-paused svg { width: 5cqw; height: 5cqw; padding: 1.2cqw; border-radius: 99px; color: var(--on-btn); background: var(--btn); box-shadow: 0 0 30px rgb(255 183 197 / 0.5); }
.is-paused .demo-paused { opacity: 1; }

/* player bar */
.demo-player { position: relative; z-index: 30; display: flex; align-items: center; gap: 1.2cqw; padding: 0.8cqw 1.2cqw; border-top: 1px solid rgb(var(--ink) / 0.08); background: var(--bg); font-family: var(--font-mono); font-size: 0.95cqw; }
.dp-btn { width: 2.4cqw; height: 2.4cqw; min-width: 22px; min-height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 99px; color: var(--zinc-300); border: 1px solid rgb(var(--ink) / 0.12); transition: all 0.2s; flex-shrink: 0; }
.dp-btn:hover { color: var(--on-btn); background: var(--teal); border-color: var(--teal); }
.dp-btn svg { width: 50%; height: 50%; }
.dp-btn .i-play { display: none; } .is-paused .dp-btn .i-play { display: block; } .is-paused .dp-btn .i-pause { display: none; }
.dp-chapters { flex: 1; display: flex; gap: 0.5cqw; touch-action: none; cursor: pointer; }
.dp-ch { display: flex; flex-direction: column; gap: 0.4cqw; text-align: left; min-width: 0; }
.dp-lbl { text-transform: uppercase; letter-spacing: 0.12em; color: var(--zinc-500); transition: color 0.2s; }
.dp-ch.on .dp-lbl, .dp-ch:hover .dp-lbl { color: var(--fg); }
.dp-ch.on .dp-lbl::before { content: "▸ "; color: var(--teal); }
.dp-track { display: block; height: 3px; border-radius: 3px; background: rgb(var(--ink) / 0.1); overflow: hidden; }
.dp-track i { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 8px var(--teal); }
.dp-time { color: var(--zinc-500); font-variant-numeric: tabular-nums; flex-shrink: 0; }

@container (max-width: 640px) {
  .demo-stage { grid-template-columns: 1fr; grid-template-rows: 76cqw auto; }
  .demo-view { grid-row: 1; border-bottom: 1px solid rgb(var(--ink) / 0.06); }
  .demo-log { grid-row: 2; border-right: 0; font-size: 2.2cqw; padding: 2.6cqw 3cqw; white-space: pre-wrap; }
  .demo-log .dl:empty, .demo-log .dl:has(> :only-child:empty) { min-height: 0.6em; }
  .dv { padding: 3.2cqw; gap: 2cqw; font-size: 2.6cqw; }
  .dv-head, .chip, .tabs, .toast, .tsum, .pr-top, .pr-branch, .labels, .pr-foot { font-size: 2.3cqw; }
  .chips { grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; } .chip { padding: 1.4cqw; } .chip:nth-child(n+10) { display: none; }
  .specdiff { font-size: 2.2cqw; } .sd-head .dv-right, .sd-head .mute { display: none; } .sd-head, .sd-l { padding: 1.2cqw 1.8cqw; }
  .tabs { margin: -0.8cqw -3.2cqw 0; padding: 0 3.2cqw; } .tab { padding: 1.4cqw 1.6cqw; } .tabs .path { display: none; }
  .code { font-size: 2.5cqw; } .notes { margin-left: 1.4em; } .note { font-size: 0.8em; }
  .pr .pr-foot .mute { display: none; } .pr-foot { justify-content: flex-end; }
  .toast { right: 3.2cqw; bottom: 3.2cqw; }
  .tests { font-size: 2.4cqw; gap: 1cqw; } .tests li { padding: 1.4cqw 1.8cqw; }
  .pr { padding: 3cqw; gap: 1.8cqw; } .pr h4 { font-size: 3.2cqw; } .pr-rows .row { font-size: 2.3cqw; padding: 1.4cqw 1.8cqw; } .pr-when { display: none; }
  .demo-player { font-size: 2.2cqw; gap: 2.4cqw; padding: 2cqw 2.6cqw; }
  .dp-btn { width: 6cqw; height: 6cqw; } .dp-time { display: none; }
  .demo-paused svg { width: 12cqw; height: 12cqw; padding: 3cqw; }
}

@media (max-width: 79.99rem) {
  .hero-sub { max-width: 520px; }
  .wl-field { width: 260px; } .wl-field input { padding: 0 12px; } .wl-row { gap: 9px; }
  .wl-note { max-width: 460px; } .wl-status { gap: 7px; }
  .dash-copy { max-width: 34vw; }
  .term-bar .title, .term-body { font-size: 1.15vw; } .term-bar .meta { font-size: 1.05vw; }
}
@media not all and (min-width: 64rem) {
  .dash-inner { flex-direction: column; gap: 4vh; }
  .dash-copy { max-width: 100%; }
  .dash-device { width: 100%; }
  .term-bar .title, .term-body { font-size: 1.45vw; } .term-bar .meta { font-size: 1.3vw; }
  .cursor { width: 0.8vw; height: 1.6vw; }
}
@media not all and (min-width: 48rem) {
  .hero { padding-top: 16vh; }
  .hero-wrap { height: 220vh; }
  .hero-fade { height: 32vh; }
  .hero { padding: 14vh 4.5vw 3vh; }
  .hero-main { max-width: 100%; }
  .hero h1 { font-size: 10.1vw; }
  .hero h1 br { display: none; }
  .hero-sub { max-width: 100%; }
  .hero-meta { gap: 1vh 3vw; }
  .wl-row { flex-wrap: wrap; gap: 2vw; }
  .wl-field { width: 100%; height: 5.4vh; border-radius: 0.8vw; } .wl-field input { padding: 0 3.6vw; }
  .wl .btn-white { height: 5vh; }
  .wl-note { max-width: 100%; } .wl-status { gap: 2vw; }
  .dash { padding: 9vh 5vw 3vh; }
  .dash-inner { gap: 2.4vh; }
  .dash-copy h2 { margin-bottom: 1.2vh; } .dash-copy p { font-size: 3.4vw; }
  .dash-copy h2 { width: 85%; }
  .device { padding: 2.2vw; }
  .screen { aspect-ratio: auto; }
  .term-body { flex: none; }
  .hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(var(--bg-rgb) / 0.72) 0%, rgb(var(--bg-rgb) / 0.55) 45%, rgb(var(--bg-rgb) / 0) 75%); }
  .term-bar { padding: 1.2vh 3vw; } .term-bar .meta { display: none; }
  .term-bar .title { font-size: 2.8vw; } .lights { gap: 1vw; }
  .term-body { font-size: 2.35vw; padding: 3vw; white-space: pre-wrap; }
  .cursor { width: 1.4vw; height: 2.8vw; }
  .dash-bottom-fade { height: 26vh; }
}

/* ------------------------------------------------------------------
   How it works — sticky layered scroll
------------------------------------------------------------------- */
.layers { position: relative; width: 100%; height: 450vh; background: var(--bg); }
.layers-sticky { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bg); isolation: isolate; }
.layers-fade-t, .layers-fade-b { position: absolute; left: 0; right: 0; height: 14vh; z-index: 10; pointer-events: none; }
.layers-fade-t { top: 0; background: linear-gradient(to bottom, var(--bg), rgb(var(--bg-rgb) / 0.5), transparent); }
.layers-fade-b { bottom: 0; background: linear-gradient(to top, var(--bg), rgb(var(--bg-rgb) / 0.5), transparent); }
.layers canvas#layerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.core-wrap { position: absolute; inset: 0; margin: auto; display: flex; align-items: center; justify-content: center; z-index: 30; transform: translateY(-1.3vh); pointer-events: none; }
.core {
  position: relative; width: 66.5vh; height: 66.5vh; background: var(--bg); border: 1px solid rgb(var(--ink) / 0.4); border-radius: 3.8vh;
  box-shadow: 0 0 8vh rgb(var(--shade) / calc(0.95 * var(--shade-k))); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.core .pin { position: absolute; width: 1.4vh; height: 1.4vh; background: var(--btn); transform: translateY(-50%); }
.core .pin.l { left: -0.7vh; } .core .pin.r { right: -0.7vh; }
.core .pin.a { top: 30%; } .core .pin.b { top: 70%; }
.core .glyphs { position: absolute; inset: 0; padding: 3vh; opacity: 0.15; font-size: 1.4vh; line-height: 1.25; color: var(--fg); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; user-select: none; }
.core .glyphs div { display: flex; justify-content: space-between; }
.core .logo { position: relative; z-index: 10; width: 54%; height: 54%; overflow: visible; filter: drop-shadow(0 0 1.2vh rgb(255 183 197 / 0.55)) drop-shadow(0 0 2.6vh rgb(213 243 216 / 0.3)); }
.scroll-hint { position: absolute; bottom: 4.5vh; font-family: var(--font-mono); font-size: 0.82vw; color: var(--neutral-300); text-transform: uppercase; user-select: none; }

.layers-ui { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.layers-head { position: absolute; top: 10vh; left: 4vw; max-width: 30vw; user-select: none; }
.layers-head h2 { font-size: var(--fs-xl); font-weight: 300; letter-spacing: -0.035em; line-height: 1.25; color: var(--fg); }
.layers-head p { margin-top: 1.6vh; font-size: var(--fs-sm); color: var(--zinc-400); line-height: 1.6; max-width: 24vw; }

.lc { position: absolute; width: 25vw; pointer-events: auto; background: var(--bg); border: 0.06vw solid rgb(var(--ink) / 0.1); border-radius: var(--radius-card-sm); box-shadow: 0 1.5vw 4vw rgb(var(--shade) / calc(0.9 * var(--shade-k))); }
.lc[data-side="r"] { right: 4vw; } .lc[data-side="l"] { left: 4vw; }
.lc-link { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; pointer-events: none; z-index: 20; }
.lc[data-side="r"] .lc-link { right: 100%; } .lc[data-side="l"] .lc-link { left: 100%; flex-direction: row-reverse; }
.lc-link .dot { width: 0.42vw; height: 0.42vw; border-radius: 99px; background: var(--btn); box-shadow: 0 0 0 0.15vw rgb(var(--hi) / 0.25); }
.lc[data-side="r"] .lc-link .dot { margin-right: -0.2vw; } .lc[data-side="l"] .lc-link .dot { margin-left: -0.2vw; }
.lc-link .line { width: 7vw; height: 0.1vh; min-height: 1px; background: rgb(var(--ink) / 0.4); }
.lc-body {
  position: relative; overflow: hidden; border-radius: var(--radius-card-sm); padding: 1.15vw;
  background-image: linear-gradient(to bottom, rgb(var(--surf-rgb) / 0.95), rgb(var(--surf-rgb) / 0.92), rgb(var(--surf-rgb) / 0.96));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgb(var(--ink) / 0.09);
}
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8vw; }
.badge { background: var(--btn); color: var(--on-btn); font-family: var(--font-mono); font-size: 0.82vw; font-weight: 500; padding: 0.3vh 0.65vw; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.lc-top h3 { color: var(--fg); font-family: var(--font-mono); font-size: 1.1vw; letter-spacing: -0.025em; line-height: 1; text-align: right; }
.lc-body p { margin-top: 2.6vh; color: var(--zinc-200); font-size: 0.9vw; line-height: 1.375; }
.lc { transition: border-color 0.3s, box-shadow 0.3s; cursor: default; }
.lc.is-active { border-color: rgb(255 183 197 / 0.55); box-shadow: 0 1.5vw 4vw rgb(var(--shade) / calc(0.9 * var(--shade-k))), 0 0 0 1px rgb(255 183 197 / 0.15), 0 0 32px rgb(255 183 197 / 0.12); }
.lc.is-active .badge { background: var(--teal); }
.lc.is-active .lc-link .dot { background: var(--teal); box-shadow: 0 0 0 0.15vw rgb(255 183 197 / 0.3), 0 0 10px rgb(255 183 197 / 0.8); }
.lc.is-active .lc-link .line { background: rgb(255 183 197 / 0.6); }
.badge .rest { opacity: 0.55; }
.lc-chip { margin-top: 1.4vh; padding: 0.7vh 0.7vw; border-radius: var(--radius-card-sm); background: rgb(var(--ink) / 0.03); border: 1px solid rgb(var(--ink) / 0.07); font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.625; color: var(--zinc-400); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.swarm { display: flex; gap: 0.4vw; margin-top: 2.4vh; pointer-events: auto; }
.swarm button { position: relative; width: 2.6vw; height: 2.6vw; min-width: 34px; min-height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid rgb(var(--ink) / 0.14); background: rgb(var(--ink) / 0.03); border-radius: var(--radius-card-sm); font-family: var(--font-mono); font-size: var(--fs-md); color: var(--zinc-400); transition: all 0.25s var(--ease-out-expo); }
.swarm button:hover { color: var(--fg); border-color: rgb(var(--ink) / 0.35); transform: translateY(-2px); }
.swarm button.on { color: var(--on-btn); background: var(--teal); border-color: var(--teal); box-shadow: 0 0 18px rgb(255 183 197 / 0.55); }
.swarm-cap { margin-top: 1.2vh; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--zinc-500); min-height: 1.6em; }
.swarm-cap b { color: var(--teal-300); font-weight: 500; }
.lc-chip .del { color: #f87171; } .lc-chip .add { color: var(--green); } .lc-chip .sgn { display: inline-block; width: 1.2em; }

@media (max-width: 79.99rem) {
  .lc-top h3 { font-size: 13px; } .badge { font-size: 10px; } .lc-body p { font-size: 13px; } .scroll-hint { font-size: 11px; }
  .layers-head { max-width: 36vw; } .layers-head p { max-width: 32vw; }
}
@media not all and (min-width: 64rem) {
  /* stacked, non-sticky layout below lg */
  .layers { height: auto; padding: 8vh 0 6vh; }
  .layers-sticky { position: relative; height: auto; flex-direction: column; overflow: visible; padding: 0 5vw; }
  .layers-fade-t, .layers-fade-b { display: none; }
  .layers-sticky { gap: 2.4vh; }
  .layers-ui { display: contents; }
  .layers-head { position: relative; top: auto; left: auto; max-width: 100%; order: 1; }
  .layer-stage { order: 2; }
  .lc { order: 3; }
  .layers-head p { max-width: 100%; }
  .layer-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 70vh; }
  .layers canvas#layerCanvas { opacity: 1; }
  .core-wrap { display: none; }
  .scroll-hint { display: none; }
  .lc { position: relative; width: 100%; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; }
  .lc-link { display: none; }
  .lc-top h3 { font-size: 15px; } .badge { font-size: 11px; padding: 4px 8px; } .lc-body { padding: 18px; } .lc-body p { font-size: 14px; margin-top: 16px; } .lc-chip { padding: 8px 10px; font-size: 11px; }
}
@media not all and (min-width: 48rem) {
  .lc-top h3 { font-size: 3.6vw; } .badge { font-size: 2.8vw; padding: 0.6vh 2vw; } .lc-body { padding: 4.5vw; } .lc-body p { font-size: 3.4vw; } .lc-chip { font-size: 2.6vw; padding: 1vh 2.6vw; }
}
@media (min-width: 64rem) { .layer-stage { position: absolute; inset: 0; } }

/* ------------------------------------------------------------------
   Section shells
------------------------------------------------------------------- */
.sec { position: relative; z-index: 10; width: 100%; background: var(--bg); padding: 12vh 4vw; user-select: none; isolation: isolate; }
.sec-head { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 8vh; }
.sec-head h2 { max-width: 56vw; font-size: var(--fs-xl); font-weight: 400; line-height: 1.12; letter-spacing: -0.03em; color: var(--fg); }
.sec-head h2.light { font-weight: 300; letter-spacing: -0.035em; line-height: 1.1; }
.sec-head .lede { max-width: 40vw; margin-top: 2vh; }
.sec-head .btn-glass { margin-top: 3vh; }
@media (max-width: 79.99rem) { .sec-head h2 { max-width: 760px; } .sec-head .lede { max-width: 600px; } }
@media not all and (min-width: 48rem) {
  .sec { padding: 6vh 4vw; }
  .sec-head { margin-bottom: 3.5vh; }
  .sec-head h2, .sec-head .lede { max-width: 100%; }
}

/* reveal mask wrappers (inner slides up from 110%) */
.mask { overflow: hidden; border-radius: var(--radius-card-lg); }

/* ------------------------------------------------------------------
   The gap — bento
------------------------------------------------------------------- */
.bento { position: relative; z-index: 10; width: 100%; max-width: 86vw; margin: 0 auto; display: flex; flex-direction: column; gap: 1.3vw; }
.bento-row { display: flex; gap: 1.3vw; align-items: stretch; }
.bento-row > .mask { display: flex; flex-direction: column; }
.w41 { width: 41%; } .w59 { width: 59%; } .w65 { width: 65%; } .w35 { width: 35%; }
.card {
  position: relative; width: 100%; height: 100%; border-radius: var(--radius-card-lg);
  border: 1px solid rgb(var(--ink) / 0.11);
  background: linear-gradient(180deg, rgb(var(--ink) / 0.035) 0%, rgb(var(--surf-rgb) / 0.9) 35%, rgb(var(--surf-rgb) / 0.98) 100%);
  box-shadow: 0 2vw 5vw rgb(var(--shade) / calc(0.85 * var(--shade-k))), inset 0 1px 1px rgb(var(--hi) / 0.16);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  padding: 1.8vw; transition: border-color 0.2s;
}
.card:hover { border-color: rgb(var(--ink) / 0.25); }
/* cursor-tracked rim light */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(16vw circle at var(--mx, -50%) var(--my, -50%), rgb(var(--ink) / 0.06), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: var(--fs-lg); color: var(--fg); letter-spacing: -0.01em; margin-bottom: 0.6vh; line-height: 1.25; }
.card p { font-size: var(--fs-sm); color: var(--zinc-200); line-height: 1.6; max-width: 96%; }
.panel {
  position: relative; margin-top: 2.4vh; width: 100%; border-radius: var(--radius-card-sm); background: var(--panel);
  border: 1px solid rgb(var(--ink) / 0.08); overflow: hidden;
  box-shadow: 0 1vw 3vw rgb(var(--shade) / calc(0.5 * var(--shade-k))), inset 0 1px 1px rgb(var(--hi) / 0.06);
}
.dither-field { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0.3; -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(120% 120% at 100% 0%, #000 0%, transparent 72%); }
.dither-field canvas { width: 100%; height: 100%; image-rendering: pixelated; }

/* ASCII wave band behind the bento */
.band-bg { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; z-index: 0; pointer-events: none; }
.band-bg canvas { width: 100%; height: 100%; }
.band-fade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 85%, var(--bg) 100%); }

/* rings visual */
.v-rings { min-height: 24vh; display: flex; align-items: center; justify-content: center; }
.rings { position: relative; width: 10vw; height: 10vw; border-radius: 99px; border: 1px solid rgb(var(--ink) / 0.12); display: flex; align-items: center; justify-content: center; }
.rings .r2 { position: absolute; width: 7.2vw; height: 7.2vw; border-radius: 99px; border: 1px solid rgb(var(--ink) / 0.09); }
.rings .r3 { position: absolute; width: 4.6vw; height: 4.6vw; border-radius: 99px; border: 1px solid rgb(var(--ink) / 0.08); }
.rings svg.arc { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.rings .spin5 { animation: spin 5s linear infinite; } .rings .spin7 { animation: spin 7s linear infinite reverse; } .rings .spin4 { animation: spin 4s linear infinite; }
.rings .node { position: absolute; width: 2vw; height: 2vw; border-radius: 99px; background: var(--surface-1); display: flex; align-items: center; justify-content: center; }
.rings .node i { width: 0.5vw; height: 0.5vw; border-radius: 99px; }
.rings .n1 { top: 0; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgb(56 189 248 / 0.4); box-shadow: 0 0.4vw 1vw rgb(var(--shade) / calc(0.8 * var(--shade-k))), 0 0 12px rgb(56 189 248 / 0.25); } .rings .n1 i { background: var(--sky); }
.rings .n2 { top: 50%; right: 0; transform: translate(50%, -50%); border: 1px solid rgb(234 88 12 / 0.4); box-shadow: 0 0.4vw 1vw rgb(var(--shade) / calc(0.8 * var(--shade-k))), 0 0 12px rgb(234 88 12 / 0.25); } .rings .n2 i { background: #ea580c; }
.rings .n3 { bottom: 0; left: 50%; transform: translate(-50%, 50%); border: 1px solid rgb(var(--ink) / 0.3); box-shadow: 0 0.4vw 1vw rgb(var(--shade) / calc(0.8 * var(--shade-k))), 0 0 12px rgb(var(--hi) / 0.2); } .rings .n3 i { background: var(--btn); }
.rings .n4 { top: 50%; left: 0; transform: translate(-50%, -50%); border: 1px solid rgb(61 220 151 / 0.4); box-shadow: 0 0.4vw 1vw rgb(var(--shade) / calc(0.8 * var(--shade-k))), 0 0 12px rgb(61 220 151 / 0.25); } .rings .n4 i { background: var(--mint); }
.rings .hub { position: relative; z-index: 10; width: 3.2vw; height: 3.2vw; border-radius: 0.7vw; background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface-1) 100%); border: 1px solid rgb(var(--ink) / 0.25); display: flex; align-items: center; justify-content: center; box-shadow: 0 1vw 2.5vw rgb(var(--shade) / calc(0.9 * var(--shade-k))), inset 0 1px 1px rgb(var(--hi) / 0.35); color: var(--fg); }
.rings .hub svg { width: 1.6vw; height: 1.6vw; }

/* uptime visual */
.v-uptime { min-height: 24vh; padding: 1.2vw; display: flex; flex-direction: column; justify-content: space-between; }
.v-uptime .top { display: flex; align-items: center; justify-content: space-between; }
.v-uptime .pulse { position: relative; display: flex; width: 0.5vw; height: 0.5vw; }
.v-uptime .pulse i { position: absolute; inset: 0; border-radius: 99px; background: var(--green); }
.v-uptime .pulse i:first-child { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; opacity: 0.75; }
.v-uptime .pulse i:last-child { box-shadow: 0 0 6px rgb(39 201 63 / 0.8); }
@keyframes ping { 75%, 100% { opacity: 0; transform: scale(2); } }
.v-uptime .bars { display: flex; align-items: flex-end; gap: 0.25vw; height: 12vh; margin-top: 1.6vh; }
.v-uptime .bars i { flex: 1; border-radius: 1px; background: linear-gradient(to top, rgb(39 201 63 / 0.12), rgb(39 201 63 / 0.55)); border-top: 1px solid rgb(39 201 63 / 0.9); transform-origin: bottom; }
.v-uptime .bars i.blip { background: var(--orange); box-shadow: 0 0 8px rgb(255 147 103 / 0.6); }
.v-uptime .axis { height: 1px; margin-top: 0.6vh; background: rgb(var(--ink) / 0.08); }
.v-uptime .meter { display: flex; align-items: center; gap: 0.45vw; }
.v-uptime .meter span { width: 0.22vw; height: 1.5vw; border-radius: 99px; background: var(--green); box-shadow: 0 0 8px rgb(39 201 63 / 0.8); }

/* dots countdown visual */
.v-dots { min-height: 22vh; padding: 1.4vw; display: flex; align-items: center; justify-content: center; }
.dots { display: grid; grid-template-columns: repeat(15, 1fr); gap: 0.55vw; width: 100%; }
.dots i { aspect-ratio: 1; border-radius: 99px; background: rgb(var(--ink) / 0.08); transition: background-color 0.4s, box-shadow 0.4s; }
.dots i.on { background: rgb(var(--ink) / 0.55); }
.dots i.hot { background: var(--orange); box-shadow: 0 0 8px rgb(255 147 103 / 0.7); }

/* change feed table */
.feed-card { padding: 1.8vw; }
.feed-card .panel { margin-top: 0; }
.feed-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1vh 1.4vw; border-bottom: 1px solid rgb(var(--ink) / 0.06); }
.feed-head .l { display: flex; align-items: center; gap: 0.5vw; font-family: var(--font-mono); font-size: 0.78vw; color: var(--green); }
.feed-head .l .gd { width: 0.4vw; height: 0.4vw; border-radius: 99px; background: var(--green); box-shadow: 0 0 6px rgb(39 201 63 / 0.8); }
.feed-head .r { display: flex; align-items: center; gap: 0.9vw; font-family: var(--font-mono); font-size: 0.78vw; color: var(--zinc-500); }
.feed-head .lights i { width: 0.4vw; height: 0.4vw; }
.feed-list li { display: grid; grid-template-columns: 7vw 7.2vw 1fr; align-items: center; gap: 1vw; padding: 1.25vh 1.4vw; border-bottom: 1px solid rgb(var(--ink) / 0.06); font-family: var(--font-mono); font-size: 0.78vw; }
.feed-list li:last-child { border-bottom: 0; }
.feed-list .prov { color: var(--zinc-300); }
.feed-list .msg { color: var(--zinc-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { justify-self: start; padding: 0.25vh 0.6vw; border-radius: 0.25vw; font-weight: 700; font-size: 0.68vw; letter-spacing: 0.02em; border: 1px solid; }
.tag.breaking { color: #f87171; background: rgb(239 68 68 / 0.12); border-color: rgb(239 68 68 / 0.3); }
.tag.deprecated { color: #fbbf24; background: rgb(245 158 11 / 0.12); border-color: rgb(245 158 11 / 0.3); }
.tag.added { color: var(--green); background: rgb(39 201 63 / 0.12); border-color: rgb(39 201 63 / 0.3); }
.feed-foot { display: flex; justify-content: flex-end; margin-top: 1.4vh; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--zinc-500); }

@media (max-width: 79.99rem) {
  .feed-head .l, .feed-head .r, .feed-list li { font-size: 12px; } .tag { font-size: 10.5px; padding: 2px 7px; }
  .feed-list li { grid-template-columns: 84px 96px 1fr; gap: 12px; }
}
@media not all and (min-width: 48rem) {
  .bento { max-width: 100%; gap: 3vh; }
  .bento-row { flex-direction: column; gap: 3vh; }
  .w41, .w59, .w65, .w35 { width: 100%; }
  .card, .feed-card { padding: 4vw; }
  .rings { width: 40vw; height: 40vw; } .rings .r2 { width: 28vw; height: 28vw; } .rings .r3 { width: 18vw; height: 18vw; }
  .rings .node { width: 8vw; height: 8vw; } .rings .node i { width: 2vw; height: 2vw; }
  .rings .hub { width: 12vw; height: 12vw; border-radius: 2.4vw; } .rings .hub svg { width: 5.8vw; height: 5.8vw; }
  .v-rings { min-height: 28vh; }
  .v-uptime { padding: 3.5vw; } .v-uptime .pulse { width: 1.4vw; height: 1.4vw; } .v-uptime .bars { gap: 0.8vw; } .v-uptime .meter span { width: 0.7vw; height: 4.5vw; }
  .v-dots { padding: 4vw; } .dots { gap: 1.6vw; }
  .feed-head { padding: 1.2vh 3.5vw; } .feed-head .l, .feed-head .r { font-size: 2.6vw; } .feed-head .l .gd { width: 1.2vw; height: 1.2vw; } .feed-head .r .lights { display: none; }
  .feed-list li { grid-template-columns: 1fr auto; gap: 0.6vh 2vw; padding: 1.5vh 3.5vw; font-size: 2.8vw; }
  .feed-list .msg { grid-column: 1 / -1; white-space: normal; }
  .tag { font-size: 2.4vw; padding: 0.4vh 2vw; border-radius: 0.8vw; }
}

/* ------------------------------------------------------------------
   Modes — accordion + showcase
------------------------------------------------------------------- */
.modes { min-height: 100vh; padding: 14vh 4vw; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.modes-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; }
.modes-copy h2 { font-size: var(--fs-xl); font-weight: 300; line-height: 1.12; letter-spacing: -0.03em; color: var(--fg); }
.modes-copy .lede { margin-top: 1.4vh; margin-bottom: 4.2vh; max-width: 36vw; }
.acc { width: 100%; border: 1px solid rgb(var(--ink) / 0.15); background: var(--bg); box-shadow: 0 1.5vw 4vw rgb(var(--shade) / calc(0.8 * var(--shade-k))); overflow: hidden; }
.acc-item { border-top: 1px solid rgb(var(--ink) / 0.1); padding: 1.8vh 1.8vw; cursor: pointer; transition: background-color 0.3s; }
.acc-item:first-child { border-top: 0; }
.acc-item:hover { background: rgb(var(--ink) / 0.02); }
.acc-item.open { background: radial-gradient(ellipse at top, rgb(255 183 197 / 0.1) 0%, rgb(var(--ink) / 0.02) 50%, transparent 100%) var(--surface-0); box-shadow: inset 2px 0 0 var(--teal); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.acc-btn .name { display: flex; align-items: baseline; gap: 1vw; font-size: var(--fs-md); letter-spacing: -0.025em; color: var(--zinc-400); transition: color 0.3s; }
.acc-btn .name small { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--zinc-600); letter-spacing: 0.1em; transition: color 0.3s; }
.acc-btn .pm { font-size: var(--fs-md); color: var(--zinc-400); transition: color 0.3s; font-family: var(--font-mono); }
.acc-item:hover .name, .acc-item:hover .pm { color: var(--zinc-200); }
.acc-item.open .name { color: var(--fg); font-weight: 500; } .acc-item.open .pm { color: var(--fg); } .acc-item.open .name small { color: var(--zinc-400); }
.acc-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.3s ease-out, opacity 0.3s ease-out, margin 0.3s; }
.acc-item.open .acc-body { grid-template-rows: 1fr; opacity: 1; margin-top: 1.4vh; }
.acc-body > div { overflow: hidden; }
.acc-body h3 { font-size: var(--fs-md); color: var(--zinc-100); letter-spacing: -0.025em; margin-bottom: 0.6vh; }
.acc-body p { font-size: var(--fs-sm); color: var(--zinc-400); line-height: 1.625; max-width: 32vw; }
.acc-body .pill { display: inline-block; margin-top: 1.4vh; padding: 0.35vh 1vw; border-radius: 0.25vw; background: rgb(var(--ink) / 0.04); border: 1px solid rgb(var(--ink) / 0.1); color: var(--zinc-400); font-family: var(--font-mono); font-size: 0.62vw; letter-spacing: 0.05em; text-transform: uppercase; }

.show-wrap { width: 100%; display: flex; align-items: center; justify-content: center; }
.show { position: relative; width: 100%; max-width: 40vw; aspect-ratio: 1; border-radius: var(--radius-card-lg); overflow: hidden; border: 1px solid rgb(var(--ink) / 0.1); box-shadow: 0 2vw 5vw rgb(var(--shade) / calc(0.95 * var(--shade-k))); display: flex; align-items: center; justify-content: center; }
.show > canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.show-card { position: relative; z-index: 10; width: 85%; aspect-ratio: 16 / 10.5; padding: 0.9vw; border-radius: var(--radius-card-sm); background: rgb(var(--ink) / 0.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgb(var(--ink) / 0.1); transition: border-color 0.3s; }
.show-card:hover { border-color: rgb(var(--ink) / 0.25); }
.show-screen { position: relative; width: 100%; height: 100%; background: var(--bg); border-radius: var(--radius-card-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.counter { position: absolute; top: 0.5vw; right: 0.5vw; z-index: 20; display: flex; align-items: center; gap: 0.35vw; padding: 0.25vh 0.55vw; border-radius: 99px; background: rgb(var(--bg-rgb) / 0.7); backdrop-filter: blur(12px); border: 1px solid rgb(var(--ink) / 0.15); font-family: var(--font-mono); font-size: 0.65vw; color: var(--zinc-300); letter-spacing: 0.05em; text-transform: uppercase; }
.counter i { width: 0.3vw; height: 0.3vw; border-radius: 99px; background: var(--teal); animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }
.flow { width: 82%; height: auto; overflow: visible; }
.flow .rail { stroke: rgb(var(--ink) / 0.12); stroke-width: 1.5; fill: none; }
.flow .rail-on { stroke: var(--teal); stroke-width: 1.5; fill: none; stroke-dasharray: 4 6; filter: drop-shadow(0 0 4px rgb(255 183 197 / 0.7)); transition: opacity 0.5s var(--ease-out-expo); animation: dashflow 1s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -20; } }
.flow .nd rect { fill: var(--surface-1); stroke: rgb(var(--ink) / 0.18); transition: stroke 0.5s var(--ease-out-expo), fill 0.5s; }
.flow .nd path, .flow .nd circle { stroke: var(--zinc-600); transition: stroke 0.5s var(--ease-out-expo); }
.flow .nd.on rect { stroke: rgb(255 183 197 / 0.85); fill: var(--accent-soft); }
.flow .nd.on path, .flow .nd.on circle { stroke: var(--fg); }
.flow .nd.on .halo { opacity: 1; }
.flow .halo { opacity: 0; fill: rgb(255 183 197 / 0.16); transition: opacity 0.5s; }
.flow .src rect { stroke: rgb(var(--ink) / 0.5); fill: var(--surface-1); }
.flow .src path { stroke: var(--fg); }

@media (max-width: 79.99rem) {
  .counter { font-size: 10px; padding: 2px 8px; gap: 5px; } .counter i { width: 5px; height: 5px; }
  .acc-body .pill { font-size: 10px; padding: 3px 10px; }
  .modes-copy .lede, .acc-body p { max-width: 100%; }
}
@media not all and (min-width: 64rem) {
  .modes-grid { grid-template-columns: 1fr; gap: 6vh; }
  .show { max-width: 100%; }
}
@media not all and (min-width: 48rem) {
  .modes { padding: 8vh 4vw; min-height: 0; }
  .modes-copy .lede { margin-bottom: 3vh; }
  .acc-item { padding: 2.2vh 4.5vw; }
  .acc-btn .name { gap: 3vw; }
  .show-card { width: 92%; padding: 1vw; }
  .counter { top: 1.2vw; right: 1.2vw; font-size: 2.2vw; padding: 0.4vh 1.8vw; gap: 1vw; } .counter i { width: 1vw; height: 1vw; }
  .acc-body .pill { font-size: 2.4vw; padding: 0.5vh 2.6vw; border-radius: 0.8vw; }
}

/* ------------------------------------------------------------------
   Boundaries — expanding dither cards (case-study pattern)
------------------------------------------------------------------- */
.bounds { overflow: hidden; }
.bx-row { display: flex; gap: 1vw; width: 100%; max-width: 92vw; margin: 0 auto; }
.bx { min-width: 0; height: 24vw; overflow: hidden; border-radius: var(--radius-card-lg); transition: flex 0.65s var(--ease-flex); }
.bx-card { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius-card-lg); border: 1px solid rgb(var(--ink) / 0.1); transition: border-color 0.3s; }
.bx-card:hover { border-color: rgb(var(--ink) / 0.2); }
.bx-media { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--bg); }
.bx-media canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.bx-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgb(var(--bg-rgb) / 0.85), rgb(var(--bg-rgb) / 0.35), rgb(var(--bg-rgb) / 0.1)); transition: opacity 0.4s 0.35s; }
.bx-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.4vw; transition: opacity 0.4s 0.55s, transform 0.4s 0.55s; }
.bx-content .lbl { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.18em; color: var(--zinc-300); margin-bottom: 1.2vh; }
.bx-content h3 { font-size: var(--fs-lg); color: var(--fg); line-height: 1.25; letter-spacing: -0.025em; margin-bottom: 1.5vh; max-width: 85%; text-wrap: balance; }
.bx-content p { color: var(--zinc-400); font-size: var(--fs-sm); line-height: 1.625; max-width: 85%; }
.bx-vert { position: absolute; top: 1.4vw; right: 1.2vw; z-index: 10; pointer-events: none; font-family: var(--font-mono); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.22em; color: var(--fg); writing-mode: vertical-rl; filter: drop-shadow(0 0 0.6vw rgb(var(--shade) / calc(0.9 * var(--shade-k)))); opacity: 0; transition: opacity 0.15s; }
.bx-plus { position: absolute; bottom: 1.4vw; right: 1.4vw; z-index: 20; display: flex; align-items: center; justify-content: center; width: 2.4vw; height: 2.4vw; border-radius: 99px; background: rgb(var(--ink) / 0.06); backdrop-filter: blur(12px); border: 1px solid rgb(var(--ink) / 0.2); color: var(--fg); opacity: 0; box-shadow: inset 0 0.08vw 0.08vw rgb(var(--hi) / 0.25), 0 0.6vw 2vw rgb(var(--shade) / calc(0.6 * var(--shade-k))); transition: all 0.3s; }
.bx-card:hover .bx-plus { opacity: 1; }
.bx-plus:hover { background: rgb(var(--ink) / 0.12); border-color: rgb(var(--ink) / 0.4); }
.bx-plus svg { width: 0.9vw; height: 0.9vw; }
.bx-plus .p { display: none; font-size: var(--fs-md); font-weight: 300; line-height: 1; }
.bx.collapsed .bx-content { opacity: 0; transform: translateY(1vh); pointer-events: none; transition: opacity 0.15s 0s, transform 0.15s 0s; }
.bx.collapsed .bx-shade { opacity: 0.3; transition-delay: 0s; transition-duration: 0.2s; }
.bx.collapsed .bx-vert { opacity: 1; transition: opacity 0.4s 0.35s; }
.bx.collapsed .bx-plus { opacity: 0.7; } .bx.collapsed .bx-plus svg { display: none; } .bx.collapsed .bx-plus .p { display: block; }

@media not all and (min-width: 64rem) {
  .bx-row { flex-direction: column; gap: 3.5vw; max-width: 100%; }
  .bx { height: auto; min-height: 58vw; flex: none !important; }
  .bx-card { min-height: 58vw; }
  .bx-content { padding: 5vw; padding-right: 16vw; justify-content: flex-end; min-height: 58vw; opacity: 1 !important; transform: none !important; }
  .bx-content p { color: rgb(var(--ink) / 0.8); max-width: 100%; }
  .bx-content h3 { max-width: 100%; }
  .bx-vert { display: none; }
  .bx-shade { opacity: 1 !important; }
  .bx-plus { opacity: 1; width: 9vw; height: 9vw; bottom: 3.5vw; right: 3.5vw; } .bx-plus svg { width: 3.4vw; height: 3.4vw; display: block !important; } .bx-plus .p { display: none !important; }
}
@media (min-width: 48rem) and (max-width: 63.99rem) { .bx, .bx-card, .bx-content { min-height: 34vw; } .bx-plus { width: 40px; height: 40px; bottom: 18px; right: 18px; } .bx-plus svg { width: 14px; height: 14px; } }

/* ------------------------------------------------------------------
   Pull quote (extension of the CTA type style)
------------------------------------------------------------------- */
.quote { padding: 16vh 4vw; display: flex; justify-content: center; overflow: hidden; }
.quote figure { position: relative; z-index: 10; max-width: 64vw; text-align: center; }
.quote blockquote { font-size: var(--fs-xl); font-weight: 300; letter-spacing: -0.035em; line-height: 1.12; color: var(--fg); }
.quote blockquote .dim { display: block; }
.quote .qmark { font-family: var(--font-serif); font-style: italic; font-size: 6vw; line-height: 0.6; color: var(--zinc-600); display: block; margin-bottom: 2vh; user-select: none; }
.quote figcaption { margin: 3.2vh auto 0; max-width: 40vw; font-size: var(--fs-sm); color: var(--zinc-400); line-height: 1.6; }
.quote figcaption em { font-style: normal; color: var(--teal-300); }
@media not all and (min-width: 48rem) { .quote figcaption { max-width: 100%; } }
.quote-field { position: absolute; inset: 0; z-index: 0; opacity: 0.35; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 55% at 50% 50%, #000 0%, transparent 75%); }
.quote-field canvas { width: 100%; height: 100%; image-rendering: pixelated; }
@media not all and (min-width: 48rem) { .quote { padding: 10vh 5vw; } .quote figure { max-width: 100%; } .quote .qmark { font-size: 18vw; } }

/* ------------------------------------------------------------------
   CTA — perspective tunnel
------------------------------------------------------------------- */
.cta { position: relative; z-index: 10; width: 100%; height: 100vh; min-height: 46vw; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg); }
.cta-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-box { position: absolute; border: 1px solid rgb(var(--ink) / 0.2); overflow: hidden; box-shadow: 0 1.4vw 4.2vw rgb(var(--shade) / calc(0.9 * var(--shade-k))); z-index: 10; }
.cta-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.cta-box::after { content: ""; position: absolute; inset: 0; background: rgb(var(--bg-rgb) / 0.55); }
.cta-content { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 4vw; pointer-events: none; }
.cta-content h2 { font-size: 3.2vw; font-weight: 300; letter-spacing: -0.035em; line-height: 1.12; color: var(--fg); margin-bottom: 2vh; }
.cta-content p { max-width: 38vw; font-size: var(--fs-sm); color: var(--zinc-300); line-height: 1.6; margin-bottom: 3vh; }
.cta-content .wl { align-items: center; text-align: center; }
.cta-content .wl-note { max-width: 32vw; }
@media (max-width: 79.99rem) { .cta-content h2 { font-size: 36px; } .cta-content p { max-width: 520px; } .cta-content .wl-note { max-width: 440px; } }
@media not all and (min-width: 48rem) {
  .cta { height: 92vh; min-height: 150vw; }
  .cta-content h2 { font-size: 7vw; }
  .cta-content p { max-width: 100%; }
  .cta-content .wl { width: 100%; padding: 0 2vw; } .cta-content .wl-row { justify-content: center; } .cta-content .wl-note { max-width: 100%; }
}

/* ------------------------------------------------------------------
   Footer — simple
------------------------------------------------------------------- */
.footer { position: relative; z-index: 10; width: 100%; color: var(--fg); padding: 12vh 4vw 4vh; background: var(--bg); border-top: 1px solid rgb(var(--ink) / 0.06); overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: 40vw; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--teal), transparent); box-shadow: 0 0 18px rgb(255 183 197 / 0.6); }
.footer-top { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: flex-start; gap: 4vw; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2.2vh; max-width: 24vw; }
.footer-logo { display: flex; align-items: center; gap: 0.5vw; color: var(--fg); }
.footer-logo svg { width: 1.5vw; height: 1.5vw; }
.footer-logo span { font-weight: 500; font-size: 1.3vw; letter-spacing: -0.04em; }
.footer-brand p { font-size: var(--fs-sm); color: var(--zinc-400); line-height: 1.6; }
.mail-pill { display: inline-flex; align-items: center; gap: 0.6vw; padding: 0.65vh 1.1vw; border-radius: 0.25rem; background: rgb(var(--ink) / 0.04); backdrop-filter: blur(12px); border: 1px solid rgb(var(--ink) / 0.15); color: var(--zinc-200); font-family: var(--font-mono); font-size: var(--fs-sm); transition: all 0.3s; }
.mail-pill:hover { background: rgb(255 183 197 / 0.08); border-color: rgb(255 183 197 / 0.45); color: var(--fg); }
.mail-pill svg { width: 0.9vw; height: 0.9vw; color: var(--teal-300); }
.footer-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 3.5vw; text-align: left; }
.footer-cols h4 { font-family: var(--font-mono); color: var(--zinc-200); font-size: var(--fs-sm); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.4vh; font-weight: 400; }
.footer-cols ul { display: flex; flex-direction: column; gap: 0.8vh; color: var(--zinc-400); font-size: var(--fs-sm); }
.footer-cols a { transition: color 0.15s; } .footer-cols a:hover { color: var(--teal-300); }
.folk { position: relative; z-index: 10; margin-top: 10vh; display: flex; align-items: center; gap: 1.2vw; padding: 2.2vh 0; border-top: 1px solid rgb(var(--ink) / 0.06); border-bottom: 1px solid rgb(var(--ink) / 0.06); }
.folk svg { width: 1.6vw; height: 1.6vw; min-width: 20px; min-height: 20px; color: var(--teal-300); flex-shrink: 0; }
.folk p { font-family: var(--font-serif); font-size: 1.35vw; color: var(--zinc-300); line-height: 1.35; }
.folk p em { font-style: italic; color: var(--fg); }
.folk p span { color: var(--zinc-500); }
.footer-bottom { position: relative; z-index: 10; margin-top: 3vh; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5vh; font-size: var(--fs-sm); color: var(--zinc-500); }
.footer-bottom .links { display: flex; align-items: center; gap: 1.8vw; flex-wrap: wrap; justify-content: flex-end; }
.footer-bottom a { transition: color 0.15s; } .footer-bottom a:hover { color: var(--zinc-300); }
.footer-legal { position: relative; z-index: 10; margin-top: 2vh; font-size: var(--fs-xs); color: var(--zinc-600); line-height: 1.6; max-width: 70vw; }

@media (max-width: 79.99rem) { .footer-logo svg { width: 20px; height: 20px; } .footer-logo span { font-size: 17px; } .footer-logo { gap: 7px; } .mail-pill { gap: 8px; padding: 6px 14px; } .mail-pill svg { width: 12px; height: 12px; } .footer-brand { max-width: 320px; } .folk p { font-size: 19px; } .folk { gap: 14px; } }
@media not all and (min-width: 64rem) { .footer-top { flex-direction: column; gap: 5vh; } .footer-brand { max-width: 100%; } }
@media not all and (min-width: 48rem) {
  .footer { padding: 8vh 5vw 4vh; }
  .footer::before { width: 80vw; }
  .footer-logo svg { width: 5.4vw; height: 5.4vw; } .footer-logo span { font-size: 5vw; } .footer-logo { gap: 1.6vw; }
  .mail-pill { gap: 2vw; padding: 1vh 3.8vw; } .mail-pill svg { width: 3.2vw; height: 3.2vw; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 4vh 8vw; }
  .folk { margin-top: 6vh; gap: 3vw; align-items: flex-start; } .folk p { font-size: 4.6vw; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; } .footer-bottom .links { justify-content: center; gap: 3.5vw; }
  .footer-legal { max-width: 100%; text-align: center; }
}

/* ------------------------------------------------------------------
   Reduced motion
------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero h1 { opacity: 1; }
  .rise { opacity: 1; transform: none; }
  .term-body .ln { opacity: 1; animation: none !important; }
  .rings .spin5, .rings .spin7, .rings .spin4, .cursor, .flow .rail-on { animation: none; }
}

/* ------------------------------------------------------------------
   Theme toggle + light-mode refinements
------------------------------------------------------------------- */
.theme-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 2.4vw; height: 2.4vw; min-width: 30px; min-height: 30px; border-radius: 0.25vw;
  border: 1px solid rgb(var(--ink) / 0.1); background: rgb(var(--ink) / 0.04); color: var(--zinc-300);
  transition: all 0.2s; flex-shrink: 0;
}
.theme-toggle:hover { color: var(--fg); border-color: rgb(var(--ink) / 0.25); background: rgb(var(--ink) / 0.08); }
.theme-toggle svg { width: 50%; height: 50%; transition: transform 0.5s var(--ease-out-expo), opacity 0.3s; }
.theme-toggle .sun { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="light"] .theme-toggle .sun { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle .moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
@media (max-width: 79.99rem) { .theme-toggle { border-radius: 3px; } }
@media not all and (min-width: 48rem) { .theme-toggle { width: 8.5vw; height: 8.5vw; border-radius: 0.8vw; } }

html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

[data-theme="light"] ::selection { background-color: rgb(255 183 197 / 0.5); color: var(--fg); }
[data-theme="light"] .nav-bar { background: rgb(255 255 255 / 0.72); border-color: rgb(var(--ink) / 0.08); box-shadow: 0 6px 24px rgb(150 80 100 / 0.08); }
[data-theme="light"] .kicker::before { box-shadow: none; background: #f08aa2; }
[data-theme="light"] .dither-field, [data-theme="light"] .quote-field { mix-blend-mode: multiply; opacity: 0.45; }
[data-theme="light"] .card { box-shadow: 0 1.2vw 3vw rgb(150 80 100 / 0.07), inset 0 1px 0 rgb(255 255 255 / 0.9); }
[data-theme="light"] .card:hover { border-color: rgb(240 138 162 / 0.45); }
[data-theme="light"] .panel { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9); }
[data-theme="light"] .bx-shade { background: linear-gradient(to top, rgb(255 255 255 / 0.92), rgb(255 255 255 / 0.45) 55%, rgb(255 255 255 / 0)); }
[data-theme="light"] .bx-content p { color: var(--zinc-300); }
[data-theme="light"] .cta-box::after { background: rgb(255 255 255 / 0.5); }
[data-theme="light"] .lc.is-active .badge, [data-theme="light"] .swarm button.on { color: var(--fg); }
[data-theme="light"] .lc.is-active { border-color: rgb(240 138 162 / 0.7); box-shadow: 0 1.2vw 3vw rgb(150 80 100 / 0.1), 0 0 0 3px rgb(255 183 197 / 0.3); }
[data-theme="light"] .acc-item.open { background: radial-gradient(ellipse at top, rgb(255 183 197 / 0.22) 0%, rgb(255 183 197 / 0.06) 50%, transparent 100%) var(--surface-0); box-shadow: inset 2px 0 0 #f08aa2; }
[data-theme="light"] .tag.breaking { color: #c53030; background: rgb(239 68 68 / 0.08); }
[data-theme="light"] .tag.deprecated { color: #a16207; background: rgb(245 158 11 / 0.1); }
[data-theme="light"] .tag.added { color: #2f8a46; background: rgb(39 201 63 / 0.1); }
[data-theme="light"] .v-uptime .bars i { background: linear-gradient(to top, rgb(111 180 127 / 0.15), rgb(111 180 127 / 0.6)); border-top-color: #6fb47f; box-shadow: none; }
[data-theme="light"] .dots i.on { background: rgb(var(--ink) / 0.35); }
[data-theme="light"] .cursor { box-shadow: none; }
[data-theme="light"] .device { border-color: rgb(43 28 34 / 0.15); box-shadow: 0 30px 70px rgb(150 80 100 / 0.22), inset 0 1px 2px rgb(255 255 255 / 0.25); }
[data-theme="light"] .footer::before { box-shadow: none; }
[data-theme="light"] .btn-glass { background: rgb(255 255 255 / 0.7); }
[data-theme="light"] #coreGrad stop:nth-child(1) { stop-color: #f08aa2; }
[data-theme="light"] #coreGrad stop:nth-child(2) { stop-color: #c9637c; stop-opacity: 1; }
[data-theme="light"] #coreGrad stop:nth-child(3) { stop-color: #6fb47f; }
[data-theme="light"] .core .logo { filter: drop-shadow(0 0 1.4vh rgb(255 183 197 / 0.7)); }
[data-theme="light"] .core { border-color: rgb(var(--ink) / 0.18); box-shadow: 0 2vh 6vh rgb(150 80 100 / 0.12); }
[data-theme="light"] .scroll-hint { color: var(--zinc-500); }

/* light demo screen */
[data-theme="light"] .device { background: #f7eef1; border-color: rgb(43 28 34 / 0.12); box-shadow: 0 30px 70px rgb(150 80 100 / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.9); }
[data-theme="light"] .screen { border-color: rgb(43 28 34 / 0.1); box-shadow: inset 0 1px 6px rgb(150 80 100 / 0.06); }
[data-theme="light"] .screen::before { background: none; }
[data-theme="light"] .term-bar, [data-theme="light"] .demo-player { background: #fbf5f7; }
[data-theme="light"] .demo-view { background: radial-gradient(120% 90% at 70% 0%, rgb(255 183 197 / 0.14), transparent 60%); }
[data-theme="light"] .demo-log .warn { color: #c2410c; }
[data-theme="light"] .demo-log .ok { color: #2f7d47; }
[data-theme="light"] .chip { background: #fff; }
[data-theme="light"] .chip.stripe { background: color-mix(in oklab, #fff, rgb(239 68 68 / 0.12) calc(var(--bad) * 100%)); color: var(--fg); }
[data-theme="light"] .bad-tag, [data-theme="light"] .cl.bad .gut { color: #c53030; }
[data-theme="light"] .code kw { color: #a21caf; } [data-theme="light"] .code fn { color: #0369a1; } [data-theme="light"] .code st { color: #15803d; } [data-theme="light"] .code ty { color: #b45309; }
[data-theme="light"] .lb.r { color: #c53030; } [data-theme="light"] .lb.g { color: #2f7d47; }
[data-theme="light"] .tests li { background: color-mix(in oklab, #fff, rgb(111 180 127 / 0.14) calc(var(--done) * 100%)); }
[data-theme="light"] .toast, [data-theme="light"] .pr { background: #fff; }
[data-theme="light"] .lc-chip .del { color: #c53030; } [data-theme="light"] .lc-chip .add { color: #2f7d47; }

/* light hero: keep the glyphs visible almost to the bottom edge */
[data-theme="light"] .hero-fade { height: 12vh; background: linear-gradient(to top, var(--bg), rgb(var(--bg-rgb) / 0)); }
