/* ============================================================
   Pinepoint — Design Skill Atlas
   Tokens, themes, primitives, components, sections.
   ============================================================ */

/* ---- TOKENS ------------------------------------------------ */
:root {
  /* Brand palette */
  --brand-50:  #eef3ff;
  --brand-100: #d8e3ff;
  --brand-300: #9cb6ff;
  --brand-500: #5b8cff;
  --brand-700: #3866dd;
  --brand-900: #1f3a8a;

  --warm-300: #ffd29c;
  --warm-500: #ff9a5b;
  --warm-700: #d96a26;

  --pink-500: #ff7ab8;
  --mint-500: #3ddc97;
  --rose-500: #ff5d6a;
  --amber-500:#ffb547;

  /* Easings */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale (1.25 modular) */
  --fs-xs:   12px;
  --fs-sm:   13px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   22px;
  --fs-xl:   28px;
  --fs-2xl:  36px;
  --fs-3xl:  48px;
  --fs-4xl:  64px;

  /* Radius */
  --r-1: 4px; --r-2: 8px; --r-3: 12px; --r-4: 16px; --r-5: 24px; --r-pill: 999px;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;

  /* Motion */
  --t-fast: 150ms;
  --t-mid: 280ms;
  --t-slow: 520ms;
}

/* ---- THEME (dark default) --------------------------------- */
:root, [data-theme="dark"] {
  --bg:        #0b0d12;
  --bg-grad-1: #0b0d12;
  --bg-grad-2: #11141c;
  --surface-1: #14171f;
  --surface-2: #1b1f2a;
  --surface-3: #232836;
  --line:      #2a2f3d;
  --line-soft: #1f232f;

  --text:      #eaecf2;
  --text-mid:  #b8bdc9;
  --text-dim:  #7f8693;
  --text-inverse: #0b0d12;

  --accent:        var(--brand-500);
  --accent-strong: var(--brand-300);
  --accent-warm:   var(--warm-500);

  --success: #3ddc97;
  --warning: #ffb547;
  --danger:  #ff5d6a;
  --info:    #6ec5ff;

  --focus-ring: #ffffff;
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04), 0 8px 24px -16px rgba(0,0,0,0.6);
  --shadow-2: 0 1px 0 rgba(255,255,255,0.05), 0 14px 40px -18px rgba(0,0,0,0.7);
  --shadow-3: 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.85);
  --shadow-glow: 0 0 0 1px rgba(91,140,255,0.5), 0 12px 40px -10px rgba(91,140,255,0.45);
}

[data-theme="light"] {
  --bg:        #f7f8fb;
  --bg-grad-1: #ffffff;
  --bg-grad-2: #eef1f7;
  --surface-1: #ffffff;
  --surface-2: #f1f3f9;
  --surface-3: #e7eaf2;
  --line:      #d8dde8;
  --line-soft: #e7eaf2;

  --text:      #0e1320;
  --text-mid:  #3a4255;
  --text-dim:  #5c6478;
  --text-inverse: #ffffff;

  --accent:        var(--brand-700);
  --accent-strong: var(--brand-900);
  --accent-warm:   var(--warm-700);

  --success: #1a8a5d;
  --warning: #b8761d;
  --danger:  #c33a47;
  --info:    #1f74c4;

  --focus-ring: #0b0d12;
  --shadow-1: 0 1px 0 rgba(15,20,40,0.04), 0 6px 16px -10px rgba(15,20,40,0.18);
  --shadow-2: 0 1px 0 rgba(15,20,40,0.05), 0 14px 32px -16px rgba(15,20,40,0.20);
  --shadow-3: 0 1px 0 rgba(15,20,40,0.06), 0 24px 56px -20px rgba(15,20,40,0.25);
  --shadow-glow: 0 0 0 1px rgba(56,102,221,0.5), 0 12px 32px -10px rgba(56,102,221,0.35);
}

/* ---- RESET / BASE ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: dark light; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(91,140,255,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -40px;
  background: var(--surface-1); color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 14px; border-radius: var(--r-2);
  z-index: 200;
  transition: top var(--t-fast) var(--ease-out-quart);
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---- HEADER / NAV ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; font-size: var(--fs-md);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background:
    conic-gradient(from 220deg, var(--brand-500), var(--pink-500), var(--warm-500), var(--mint-500), var(--brand-500));
  box-shadow: var(--shadow-glow);
}
.brand-mark.sm { width: 14px; height: 14px; border-radius: 4px; }
.brand-suffix { color: var(--text-dim); font-weight: 500; margin-left: 2px; }

.section-nav {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-left: 16px;
}
.section-nav a {
  color: var(--text-mid);
  padding: 6px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 500;
  transition: color var(--t-fast), background var(--t-fast);
}
.section-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }

.header-actions { margin-left: auto; display: inline-flex; gap: 10px; align-items: center; }

.icon-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-1); border: 1px solid var(--line); color: var(--text);
  padding: 6px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 500;
  min-height: 36px;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.icon-btn .icon-moon { display: inline; }
.icon-btn .icon-sun { display: none; }
[data-theme="light"] .icon-btn .icon-moon { display: none; }
[data-theme="light"] .icon-btn .icon-sun { display: inline; fill: currentColor; stroke: currentColor; }

/* ---- BUTTONS ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 16px; min-height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  transition: transform var(--t-fast) var(--ease-out-quart),
              background var(--t-fast),
              border-color var(--t-fast),
              box-shadow var(--t-fast),
              color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.btn-primary {
  background: var(--accent); color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--accent-strong); }

.btn-secondary {
  background: var(--surface-2); color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--surface-3); }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface-1); }

.btn-danger {
  background: transparent; color: var(--danger);
  border-color: var(--danger);
}
.btn-danger:hover { background: color-mix(in oklab, var(--danger) 14%, transparent); }

.btn-lg { padding: 14px 22px; min-height: 48px; font-size: var(--fs-base); }
.btn-sm { padding: 6px 10px; min-height: 32px; font-size: var(--fs-xs); }

/* ---- HERO ------------------------------------------------- */
.hero {
  position: relative;
  padding: 120px var(--gutter) 96px;
  max-width: var(--maxw); margin: 0 auto;
  isolation: isolate;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 30%, transparent 75%);
  opacity: 0.55;
}
.hero-glow {
  --mx: 50%; --my: 30%;
  position: absolute; inset: -10% -10% auto -10%; height: 60%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 60% at var(--mx) var(--my),  rgba(91,140,255,0.32), transparent 60%),
    radial-gradient(50% 70% at calc(100% - var(--mx)) 30%, rgba(255,122,184,0.20), transparent 60%),
    radial-gradient(40% 50% at 50% calc(110% - var(--my)), rgba(255,154,91,0.18), transparent 70%);
  filter: blur(36px);
  animation: heroGlow 14s ease-in-out infinite alternate;
  transition: filter var(--t-mid);
}
@keyframes heroGlow {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, 1%, 0) scale(1.04); }
}

.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-dim);
  margin: 0 0 12px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(40px, 7vw, var(--fs-4xl));
  line-height: 1.04;
  margin: 0 0 18px;
  color: var(--text);
}
.hero-amp { color: var(--accent); }
.hero-accent {
  background: linear-gradient(120deg, var(--brand-500) 0%, var(--pink-500) 50%, var(--warm-500) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero-sub {
  max-width: 62ch;
  font-size: var(--fs-md); color: var(--text-mid);
  margin: 0 0 28px;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 28px 0 32px;
  padding: 18px;
  background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-2);
}
.stat { display: flex; flex-direction: column; gap: 2px; padding: 4px 8px; border-left: 2px solid var(--accent); }
.stat:first-child { border-color: var(--brand-500); }
.stat:nth-child(2) { border-color: var(--pink-500); }
.stat:nth-child(3) { border-color: var(--warm-500); }
.stat:nth-child(4) { border-color: var(--mint-500); }
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--fs-2xl); line-height: 1; letter-spacing: -0.02em;
  color: var(--text);
}
.stat-label {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- SECTION SHELL ---------------------------------------- */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: 80px var(--gutter);
  border-top: 1px solid var(--line-soft);
}
.section-head { margin-bottom: 32px; max-width: 70ch; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, var(--fs-2xl));
  line-height: 1.1;
  margin: 0 0 12px; color: var(--text);
}
.section-head .lede {
  font-size: var(--fs-md); color: var(--text-mid); margin: 0;
}
.subhead {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin: 32px 0 12px;
}

/* ---- ATLAS ------------------------------------------------ */
.filter-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; min-height: 36px;
  border-radius: var(--r-pill);
  background: var(--surface-1); color: var(--text-mid);
  border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 500;
}
.chip:hover { color: var(--text); background: var(--surface-2); }
.chip.is-on {
  background: var(--text); color: var(--bg);
  border-color: var(--text);
}
.chip.is-on .chip-count {
  background: var(--bg); color: var(--text);
}
.chip-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--surface-3); color: var(--text-mid);
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 700;
}

.atlas-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.atlas-card {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(180deg, var(--surface-1), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-1);
  transition: transform var(--t-fast) var(--ease-out-quart),
              border-color var(--t-fast),
              box-shadow var(--t-fast);
}
.atlas-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
}
.atlas-card[hidden] { display: none !important; }
.atlas-cat {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.atlas-name {
  font-family: var(--font-mono);
  font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 2px 0 4px;
}
.atlas-desc {
  font-size: var(--fs-sm); color: var(--text-mid); margin: 0;
}
.atlas-link {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
}
.atlas-link::after { content: " →"; }
.atlas-card[data-cat="strategy"] { --pin: var(--brand-500); }
.atlas-card[data-cat="research"] { --pin: var(--pink-500); }
.atlas-card[data-cat="system"]   { --pin: var(--warm-500); }
.atlas-card[data-cat="craft"]    { --pin: var(--accent); }
.atlas-card[data-cat="motion"]   { --pin: var(--mint-500); }
.atlas-card[data-cat="quality"]  { --pin: var(--amber-500); }
.atlas-card[data-cat="ship"]     { --pin: var(--rose-500); }
.atlas-card::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px;
  width: 3px; border-radius: var(--r-pill);
  background: var(--pin, var(--accent));
}

/* ---- TOKENS / PALETTE ------------------------------------- */
.palette-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.palette {
  border: 1px solid var(--line);
  border-radius: var(--r-3); overflow: hidden;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
}
.palette-name {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 1px solid var(--line);
}
.swatch-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.swatch {
  --bg: #5b8cff; --fg: #ffffff;
  background: var(--bg);
  color: var(--fg);
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 6px;
  min-height: 96px;
  font-family: var(--font-mono);
  font-size: 11px;
  border: 0; text-align: left; cursor: pointer;
  transition: filter var(--t-fast);
  position: relative;
}
.swatch:hover { filter: brightness(1.05); }
.swatch:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -4px;
}
.sw-hex { font-weight: 700; letter-spacing: 0.04em; }
.sw-meta { display: flex; align-items: center; gap: 6px; font-size: 10.5px; opacity: 0.92; }
.sw-icon { width: 10px; height: 10px; }
.sw-ratio { margin-top: auto; font-size: 11px; opacity: 0.95; }
.sw-pass {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 6px; border-radius: var(--r-pill);
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(0,0,0,0.25); color: #fff;
}
.swatch.light .sw-pass { background: rgba(255,255,255,0.6); color: #0b0d12; }

/* spacing */
.spacing-scale {
  display: grid; grid-auto-flow: column; gap: 14px;
  align-items: end;
  padding: 18px;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow-x: auto;
}
.space-cell { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.space-bar {
  display: block; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--pink-500));
  width: var(--w);
}
.space-label {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--text-dim); letter-spacing: 0.06em;
}

/* elevation */
.elevation-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.elev {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3);
  height: 70px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-dim);
}
.elev-0 { box-shadow: none; }
.elev-1 { box-shadow: var(--shadow-1); }
.elev-2 { box-shadow: var(--shadow-2); }
.elev-3 { box-shadow: var(--shadow-3); }
.elev-4 { box-shadow: var(--shadow-3), var(--shadow-glow); }

/* ---- TYPE RAMP -------------------------------------------- */
.type-ramp {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 8px;
}
.ramp-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.ramp-row:last-child { border-bottom: 0; }
.ramp-label {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim);
  letter-spacing: 0.06em;
}
.ramp-sample { color: var(--text); }
.type-d1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.type-d2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.type-h1 { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1.2; }
.type-h2 { font-weight: 700; font-size: 28px; line-height: 1.25; letter-spacing: -0.01em; }
.type-h3 { font-weight: 600; font-size: 22px; line-height: 1.3; }
.type-body { font-size: 16px; line-height: 1.6; color: var(--text-mid); max-width: 60ch; }
.type-small { font-size: 13px; line-height: 1.5; color: var(--text-mid); }
.type-mono { font-family: var(--font-mono); font-size: 13px; color: var(--text-mid); }

/* ---- MOTION ----------------------------------------------- */
.motion-controls {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 14px;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3);
  margin-bottom: 18px;
}
.range-control { display: inline-flex; flex-direction: column; gap: 4px; min-width: 200px; }
.range-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.06em; }
.range-value { color: var(--text); }
.range-control input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px; background: transparent;
}
.range-control input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; background: var(--surface-3); border-radius: var(--r-pill);
}
.range-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--surface-1);
  margin-top: -7px;
  box-shadow: var(--shadow-1);
}
.range-control input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--focus-ring); outline-offset: 2px;
}
.range-control input[type="range"]::-moz-range-track {
  height: 4px; background: var(--surface-3); border-radius: var(--r-pill);
}
.range-control input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface-1);
  background: var(--accent);
}

.motion-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.motion-tile {
  margin: 0;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); overflow: hidden;
}
.motion-stage {
  position: relative; aspect-ratio: 1.4 / 1;
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface-1));
  display: flex; align-items: center; justify-content: center;
}
.motion-block {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brand-500), var(--pink-500));
  border-radius: var(--r-3);
  box-shadow: var(--shadow-glow);
}
.motion-stage[data-anim="reveal"] .motion-block.reveal-mask {
  width: 80%; height: 60%;
  background: repeating-linear-gradient(45deg, var(--brand-500) 0 8px, var(--pink-500) 8px 16px);
  border-radius: var(--r-2);
}
.motion-tile figcaption {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  text-align: center; padding: 8px 0 12px;
  color: var(--text-dim); letter-spacing: 0.06em;
}

/* ---- BEFORE / AFTER --------------------------------------- */
.ba-stack { display: grid; gap: 18px; }
.ba-card {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.ba-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.ba-head h3 { margin: 0; font-size: var(--fs-md); letter-spacing: -0.01em; }
.ba-skill { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--accent); }
.ba-note { margin: 0; color: var(--text-mid); font-size: var(--fs-sm); }

.ba-frame {
  --pos: 50%;
  position: relative;
  height: 280px;
  overflow: hidden;
  isolation: isolate;
}
.ba-before, .ba-after {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
}
.ba-after {
  clip-path: inset(0 0 0 var(--pos));
}
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-frame::after {
  content: ""; position: absolute; left: var(--pos); top: 0; bottom: 0;
  width: 2px; background: var(--accent);
  pointer-events: none;
}
.ba-handle {
  position: absolute; left: var(--pos); top: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--text-inverse);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  box-shadow: 0 0 0 4px var(--surface-1), 0 0 0 5px var(--accent);
}
.ba-handle::before {
  content: "↔"; font-weight: 700; font-size: 18px; line-height: 1;
}
.ba-range {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  width: 100%; height: 100%;
  background: transparent;
  appearance: none; -webkit-appearance: none;
  margin: 0; padding: 0;
  cursor: ew-resize;
  z-index: 3;
}
.ba-range::-webkit-slider-runnable-track { background: transparent; height: 100%; }
.ba-range::-moz-range-track { background: transparent; height: 100%; }
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 36px; height: 36px;
  border-radius: 50%; background: transparent; border: 0;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb { width: 36px; height: 36px; background: transparent; border: 0; }
.ba-range:focus-visible {
  outline: none;
}
.ba-range:focus-visible + .ba-handle {
  box-shadow: 0 0 0 4px var(--surface-1), 0 0 0 6px var(--focus-ring);
}
.ba-tag {
  position: absolute; top: 12px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--r-pill);
  background: rgba(0,0,0,0.6); color: #fff;
  z-index: 2;
}
.ba-tag-before { left: 12px; }
.ba-tag-after  { right: 12px; }

/* mini hero contents */
.mini-hero { width: 100%; max-width: 480px; text-align: left; }
.mh-eyebrow { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-dim); letter-spacing: 0.14em; margin: 0 0 6px; text-transform: uppercase; }
.mini-hero-tame .mh-title { font-family: var(--font-sans); font-weight: 600; font-size: 22px; color: var(--text-mid); margin: 0 0 6px; line-height: 1.2; }
.mini-hero-tame .mh-sub   { font-size: 13px; color: var(--text-dim); margin: 0; }
.mini-hero-bold .mh-title { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 8px;
  background: linear-gradient(120deg, var(--brand-500), var(--pink-500), var(--warm-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mini-hero-bold .mh-title em { font-style: italic; }
.mini-hero-bold .mh-sub   { font-size: 14px; color: var(--text); margin: 0; max-width: 44ch; }

/* mini settings */
.mini-settings { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r-3); border: 1px solid var(--line); }
.mini-settings.loud { background: linear-gradient(180deg, #2a0c2c, #1a0218); border-color: #ff7ab8; }
.mini-settings.loud .ms-row { padding: 8px; border-radius: var(--r-2); background: rgba(255,122,184,0.12); }
.mini-settings.loud .loud-pill { background: var(--pink-500); color: #fff; }
.mini-settings.loud .ms-pill.on { background: var(--mint-500); color: #001a10; }
.mini-settings.calm { background: var(--surface-1); border-color: var(--line); }
.mini-settings.calm .ms-row { padding: 8px; border-radius: var(--r-2); background: var(--surface-2); }
.mini-settings.calm .calm-pill { background: var(--surface-3); color: var(--text-mid); border: 1px solid var(--line); }
.ms-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text); }
.ms-pill { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; padding: 3px 8px; border-radius: var(--r-pill); }

/* mini pricing */
.mini-price { width: 100%; max-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mp-tier { padding: 14px; background: var(--surface-2); border-radius: var(--r-3); border: 1px solid var(--line); }
.mp-tier h4 { margin: 0 0 6px; font-size: 14px; }
.mp-tier .mp-list { font-size: 11px; color: var(--text-mid); margin: 8px 0 0; line-height: 1.6; }
.mini-price.loud .mp-tier { background: linear-gradient(180deg, #1a0218, #2a0c2c); border-color: var(--pink-500); }
.mini-price.loud p:nth-child(2) { color: var(--pink-500); font-weight: 700; }
.mini-price.calm .mp-tier.featured { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.mp-price { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin: 6px 0 0; letter-spacing: -0.02em; }
.mp-price span { font-family: var(--font-sans); font-size: 12px; color: var(--text-dim); font-weight: 500; margin-left: 4px; }

/* ---- COMPONENT LIBRARY ------------------------------------ */
.library {
  display: grid; gap: 14px;
  grid-template-columns: repeat(12, 1fr);
}
.lib-tile {
  grid-column: span 6;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 18px;
  box-shadow: var(--shadow-1);
}
.lib-tile-wide { grid-column: span 12; }
.lib-h { margin: 0 0 12px; font-size: var(--fs-md); }
.lib-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lib-row.column { flex-direction: column; align-items: stretch; max-width: 360px; }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: var(--fs-sm); color: var(--text-mid); font-weight: 500; }
.input {
  font: inherit;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-2);
  padding: 10px 12px; min-height: 40px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent);
}
.field.error .input { border-color: var(--danger); }
.field-msg { font-size: 12px; color: var(--danger); }

/* badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text-mid);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { color: var(--success); background: color-mix(in oklab, var(--success) 14%, var(--surface-2)); border-color: color-mix(in oklab, var(--success) 40%, var(--line)); }
.badge-warning { color: var(--warning); background: color-mix(in oklab, var(--warning) 14%, var(--surface-2)); border-color: color-mix(in oklab, var(--warning) 40%, var(--line)); }
.badge-info    { color: var(--info);    background: color-mix(in oklab, var(--info) 14%, var(--surface-2));    border-color: color-mix(in oklab, var(--info) 40%, var(--line)); }
.badge-danger  { color: var(--danger);  background: color-mix(in oklab, var(--danger) 14%, var(--surface-2));  border-color: color-mix(in oklab, var(--danger) 40%, var(--line)); }
.badge-neutral { color: var(--text-mid); }

/* insight */
.insight { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-3); padding: 14px; }
.insight-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.insight-title { margin: 0; font-size: var(--fs-md); }
.insight-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin-left: auto; }
.insight-body { color: var(--text-mid); font-size: 14px; margin: 0 0 12px; }
.insight-foot { display: flex; justify-content: space-between; align-items: center; }
.insight-actions { display: flex; gap: 8px; }

.avatars { display: inline-flex; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  margin-left: -8px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: inline-flex; align-items: center; justify-content: center;
  color: #0b0d12; font-weight: 700; font-size: 12px;
  border: 2px solid var(--surface-1);
}
.avatar:first-child { margin-left: 0; }

/* trend */
.trend { display: flex; gap: 16px; align-items: center; }
.trend-meta { min-width: 140px; }
.trend-num { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; margin: 0; letter-spacing: -0.02em; }
.trend-sub { font-size: 12px; color: var(--text-dim); margin: 4px 0 0; }
.delta-up { color: var(--success); font-weight: 600; }
.spark { width: 220px; height: 60px; }

/* empty */
.empty {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  padding: 14px; background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--r-3);
}
.empty-glyph { color: var(--text-dim); width: 44px; height: 44px; }
.empty-title { font-weight: 600; margin: 4px 0 0; font-size: var(--fs-md); }
.empty-sub   { color: var(--text-mid); font-size: var(--fs-sm); margin: 0 0 8px; max-width: 30ch; }

/* ---- PERSONAS --------------------------------------------- */
.persona-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.persona {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 18px;
  box-shadow: var(--shadow-1);
}
.persona-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.persona-avatar {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: inline-flex; align-items: center; justify-content: center;
  color: #0b0d12; font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-1);
}
.persona-head h3 { margin: 0; font-size: var(--fs-md); letter-spacing: -0.01em; }
.persona-role { margin: 2px 0 0; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.persona-jtbd { color: var(--text); font-size: var(--fs-md); margin: 0 0 12px; line-height: 1.45; font-family: var(--font-display); }
.persona-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-mid); }
.persona-list span { display: inline-block; min-width: 44px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-right: 6px; }

/* ---- AUDITS ----------------------------------------------- */
.audit-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.audit {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 18px;
  box-shadow: var(--shadow-1);
}
.audit-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.audit-head h3 { margin: 0; font-size: var(--fs-md); }
.audit-method { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.audit-score { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.score-ring { width: 80px; height: 80px; }
.score-arc { transition: stroke-dasharray var(--t-slow) var(--ease-out-quart); }
.score-meta { display: flex; flex-direction: column; gap: 2px; }
.score-num { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.score-of  { font-family: var(--font-sans); font-size: 13px; color: var(--text-dim); font-weight: 500; margin-left: 4px; }
.score-band {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 4px 0 0;
}
.band-pass { color: var(--success); }

.audit-findings { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.audit-findings li {
  display: flex; align-items: flex-start; gap: 8px;
  padding-left: 18px; position: relative;
  font-size: 13px; color: var(--text-mid);
}
.audit-findings li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
}
.audit-findings li.ok::before   { background: var(--success); box-shadow: 0 0 0 2px color-mix(in oklab, var(--success) 30%, transparent); }
.audit-findings li.warn::before { background: var(--warning); box-shadow: 0 0 0 2px color-mix(in oklab, var(--warning) 30%, transparent); }
.audit-findings li.fail::before { background: var(--danger);  box-shadow: 0 0 0 2px color-mix(in oklab, var(--danger) 30%, transparent); }

/* ---- TIMELINE --------------------------------------------- */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.phase {
  display: grid; grid-template-columns: 100px 1fr; gap: 18px;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 18px;
}
.phase-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 56px; line-height: 1; letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--pink-500));
  -webkit-background-clip: text; background-clip: text;
}
.phase-body h3 { margin: 0 0 6px; font-size: var(--fs-lg); letter-spacing: -0.01em; }
.phase-body p { margin: 0 0 10px; color: var(--text-mid); font-size: var(--fs-sm); max-width: 70ch; }
.phase-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.kbd {
  display: inline-block;
  padding: 3px 8px;
  background: var(--surface-2); color: var(--text-mid);
  border: 1px solid var(--line); border-radius: var(--r-2);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: -0.01em;
}

/* ---- FOOTER ----------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px var(--gutter) 56px;
  margin-top: 40px;
  background:
    linear-gradient(180deg, transparent, color-mix(in oklab, var(--accent) 6%, transparent));
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.foot-brand { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.foot-meta, .foot-credits { color: var(--text-dim); font-size: var(--fs-sm); margin: 0; }
.foot-credits { margin-top: 6px; }

/* ---- RESPONSIVE ------------------------------------------- */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .lib-tile { grid-column: span 12; }
  .elevation-row { grid-template-columns: repeat(3, 1fr); }
  .ramp-row { grid-template-columns: 1fr; gap: 4px; }
  .phase { grid-template-columns: 70px 1fr; }
  .phase-num { font-size: 40px; }
  .header-inner { gap: 12px; }
  .section-nav { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 80px var(--gutter) 64px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .ba-frame { height: 220px; }
  .mini-price { grid-template-columns: 1fr; }
  .elevation-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ADDITIONAL SECTIONS
   ============================================================ */

/* ---- DATA TABLE ------------------------------------------- */
.table-wrap {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.rice-table { width: 100%; border-collapse: collapse; }
.rice-table thead th {
  background: var(--surface-2);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.rice-table thead button {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 12px 14px; min-height: 44px;
  font: inherit; color: inherit;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
}
.rice-table thead button::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: auto;
  opacity: 0.4;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.rice-table thead th[aria-sort="ascending"]  button::after { opacity: 1; transform: rotate(-135deg) translate(2px, 2px); }
.rice-table thead th[aria-sort="descending"] button::after { opacity: 1; transform: rotate(45deg)   translate(-2px, -2px); }
.rice-table thead th.is-sorted { color: var(--text); }
.rice-table thead button:hover { color: var(--text); background: var(--surface-3); }
.rice-table thead button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.rice-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  color: var(--text);
  vertical-align: middle;
}
.rice-table tbody tr:last-child td { border-bottom: 0; }
.rice-table tbody tr:hover td { background: var(--surface-2); }
.rice-table .num { font-family: var(--font-mono); text-align: right; color: var(--text-mid); }
.rice-table .num.score { color: var(--text); font-weight: 700; }
.rice-table .feature { font-weight: 600; }
.rice-table .feature span { display: block; font-weight: 400; color: var(--text-dim); font-size: 12px; margin-top: 2px; }

/* ---- MOBILE MOCKUPS --------------------------------------- */
.phone-row {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-items: center;
}
.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  margin: 0;
  background: linear-gradient(180deg, #2a2f3d, #14171f);
  border-radius: 38px;
  padding: 8px;
  box-shadow: var(--shadow-3), inset 0 0 0 1.5px rgba(255,255,255,0.06);
}
.phone-notch {
  position: absolute; left: 50%; top: 12px;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #0b0d12;
  border-radius: var(--r-pill);
  z-index: 2;
}
.phone-screen {
  position: relative;
  height: 100%;
  background: linear-gradient(180deg, #0e1320, #14171f);
  border-radius: 30px;
  padding: 36px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
  color: #eaecf2;
}
[data-theme="light"] .phone { background: linear-gradient(180deg, #d8dde8, #b6becd); }
[data-theme="light"] .phone-screen { background: linear-gradient(180deg, #ffffff, #f1f3f9); color: #0e1320; }
[data-theme="light"] .phone-notch { background: #0e1320; }

.ios-status { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; opacity: 0.85; padding: 0 4px; }
.ios-status-icons { letter-spacing: 0.5px; }

.ios-large-title .ios-eyebrow { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; margin: 0 0 4px; }
.ios-large-title h3 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.ios-large-title .ios-search { margin: 6px 0 0; font-size: 12px; opacity: 0.65; padding: 6px 10px; background: rgba(255,255,255,0.06); border-radius: var(--r-pill); }
[data-theme="light"] .ios-large-title .ios-search { background: rgba(15,20,40,0.06); }

.ios-list { list-style: none; padding: 0; margin: 4px 0 auto; display: flex; flex-direction: column; gap: 2px; }
.ios-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-3);
  font-size: 12px;
}
[data-theme="light"] .ios-list li { background: rgba(15,20,40,0.05); }
.ios-list li > div { flex: 1; min-width: 0; }
.ios-list li p { margin: 0; font-weight: 600; line-height: 1.3; }
.ios-list li span { font-family: var(--font-mono); font-size: 10px; opacity: 0.6; }
.ios-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand-500)); flex: 0 0 auto; }
.ios-chev { font-size: 16px; opacity: 0.5; line-height: 1; }

.ios-tabbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 8px; margin-top: auto;
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-3);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
}
[data-theme="light"] .ios-tabbar { background: rgba(15,20,40,0.05); }
.ios-tab { text-align: center; padding: 6px 4px; border-radius: var(--r-2); opacity: 0.55; }
.ios-tab.is-on { background: var(--accent); color: #0b0d12; opacity: 1; font-weight: 700; }

/* kanban inside phone */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 6px 0 auto; }
.kanban-col h4 { margin: 0 0 4px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.kanban-card { background: rgba(255,255,255,0.05); border-radius: var(--r-2); padding: 6px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
[data-theme="light"] .kanban-card { background: rgba(15,20,40,0.05); }
.kanban-card p { margin: 0; font-size: 11px; line-height: 1.25; font-weight: 600; }
.kanban-card .badge { font-size: 9px; padding: 1px 6px; }

/* thread inside phone */
.thread { list-style: none; padding: 0; margin: 4px 0 auto; display: flex; flex-direction: column; gap: 6px; }
.thread li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: flex-start; padding: 8px; background: rgba(255,255,255,0.04); border-radius: var(--r-3); font-size: 11px; }
[data-theme="light"] .thread li { background: rgba(15,20,40,0.05); }
.thread strong { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; margin-bottom: 2px; }
.thread p { margin: 0; line-height: 1.35; }
.thread-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand-500)); margin-top: 5px; }

/* ---- EMAIL ------------------------------------------------ */
.email-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.email-card {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); overflow: hidden;
  box-shadow: var(--shadow-2);
}
.email-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.email-chrome .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f56; } .dot-y { background: #ffbd2e; } .dot-g { background: #27c93f; }
.email-url { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }

.email-meta {
  padding: 10px 18px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 12px; color: var(--text-mid);
}
.email-meta p { margin: 2px 0; }
.email-meta strong { color: var(--text-dim); display: inline-block; min-width: 60px; }

.email-body {
  padding: 22px;
  font-family: Georgia, serif; /* email-safe */
  background: #fff;
  color: #0b0d12;
  font-size: 14px; line-height: 1.6;
}
[data-theme="dark"] .email-body { background: #f7f8fb; }
.email-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; color: #0b0d12; }
.email-steps { margin: 0 0 14px; padding-left: 22px; }
.email-steps li { margin: 6px 0; }
.email-cta {
  display: inline-block;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: #1f3a8a; color: #fff !important;
  font-weight: 700; text-decoration: none;
  font-family: var(--font-sans);
}
.email-cta:hover { background: #3866dd; text-decoration: none; }
.email-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.email-list li { display: flex; gap: 12px; align-items: center; padding: 10px; background: #eef3ff; border-radius: var(--r-3); }
.email-rank { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #1f3a8a; min-width: 28px; text-align: center; }
.email-list strong { display: block; }
.email-list span { display: block; color: #5c6478; font-size: 12px; font-family: var(--font-sans); }
.email-foot { color: #5c6478; font-size: 11.5px; margin: 10px 0 0; font-family: var(--font-sans); }
.email-body hr { border: 0; border-top: 1px solid #d8dde8; margin: 14px 0; }

/* ---- MICROCOPY -------------------------------------------- */
.microcopy-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
.micro-card {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 18px;
  box-shadow: var(--shadow-1);
}
.micro-cat {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.micro-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.micro-pane {
  padding: 14px; border-radius: var(--r-2);
  font-size: var(--fs-sm); line-height: 1.45;
  min-height: 110px;
  display: flex; flex-direction: column; gap: 6px;
}
.micro-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0;
}
.micro-text { margin: 0; }
.micro-before {
  background: color-mix(in oklab, var(--danger) 8%, var(--surface-2));
  border: 1px solid color-mix(in oklab, var(--danger) 30%, var(--line));
  color: var(--text-mid);
}
.micro-before .micro-tag { color: var(--danger); }
.micro-after {
  background: color-mix(in oklab, var(--success) 10%, var(--surface-2));
  border: 1px solid color-mix(in oklab, var(--success) 30%, var(--line));
  color: var(--text);
}
.micro-after .micro-tag { color: var(--success); }
@media (max-width: 540px) {
  .micro-row { grid-template-columns: 1fr; }
}

/* ---- STATES GALLERY --------------------------------------- */
.states-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.state-card {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-1);
}
.state-cat {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}
.state-art {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border-radius: var(--r-2);
  color: var(--text-mid);
}
.state-art svg { width: 60%; height: 60%; }
.state-title { margin: 4px 0 0; font-weight: 700; font-size: var(--fs-md); }
.state-sub { margin: 0; color: var(--text-mid); font-size: var(--fs-sm); }
.state-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.state-card-error .state-art { color: var(--danger); background: color-mix(in oklab, var(--danger) 10%, var(--surface-2)); }
.state-card-success .state-art { color: var(--success); background: color-mix(in oklab, var(--success) 10%, var(--surface-2)); }

.shimmer-art { display: flex; flex-direction: column; gap: 8px; padding: 14px; align-items: stretch; }
.shimmer-line {
  height: 10px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--surface-3) 0%, var(--surface-2) 40%, var(--surface-3) 80%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.shimmer-line.w80 { width: 80%; } .shimmer-line.w60 { width: 60%; } .shimmer-line.w40 { width: 40%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* toasts */
.toast-controls { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.toast-tray {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 100;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 48px));
}
.toast {
  pointer-events: auto;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-3);
  padding: 12px 14px;
  display: grid; grid-template-columns: 22px 1fr auto; gap: 10px;
  align-items: start;
  transform: translateX(20px); opacity: 0;
  transition: transform var(--t-mid) var(--ease-out-quart), opacity var(--t-mid);
}
.toast.is-in { transform: translateX(0); opacity: 1; }
.toast.is-out { transform: translateX(40px); opacity: 0; }
.toast-icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
  color: #fff;
}
.toast-success .toast-icon { background: var(--success); color: #001a10; }
.toast-info    .toast-icon { background: var(--info);    color: #00203d; }
.toast-warning .toast-icon { background: var(--warning); color: #2a1a00; }
.toast-error   .toast-icon { background: var(--danger);  color: #fff; }
.toast-body p { margin: 0; }
.toast-title { font-weight: 700; font-size: var(--fs-sm); color: var(--text); }
.toast-msg   { font-size: 12px; color: var(--text-mid); margin-top: 2px !important; }
.toast-close {
  background: transparent; border: 0; color: var(--text-dim);
  width: 28px; height: 28px; border-radius: var(--r-pill);
  cursor: pointer; font-size: 16px; line-height: 1;
}
.toast-close:hover { background: var(--surface-2); color: var(--text); }
.toast-close:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ---- JOURNEY MAP ------------------------------------------ */
.journey-wrap {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 22px;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 18px;
}
.journey-stages {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  position: relative;
}
.journey-stages::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--pink-500), var(--warm-500), var(--accent), var(--mint-500));
  opacity: 0.5;
  z-index: 0;
}
.jstage {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 12px 14px;
  position: relative;
  z-index: 1;
}
.jnum {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.jstage h3 { margin: 4px 0 4px; font-size: var(--fs-md); }
.jstage p  { margin: 0; font-size: 12.5px; color: var(--text-mid); line-height: 1.4; }
.jstage[data-stage="1"] { border-left: 3px solid var(--brand-500); }
.jstage[data-stage="2"] { border-left: 3px solid var(--pink-500); }
.jstage[data-stage="3"] { border-left: 3px solid var(--warm-500); }
.jstage[data-stage="4"] { border-left: 3px solid var(--accent); }
.jstage[data-stage="5"] { border-left: 3px solid var(--mint-500); }

.journey-lanes { display: flex; flex-direction: column; gap: 6px; }
.jlane { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; }
.jlane-label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 10px;
}
.jlane-cells {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
.jlane-cells span {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-mid);
}
.jlane-pain .jlane-cells span {
  background: color-mix(in oklab, var(--danger) 8%, var(--surface-2));
  border-color: color-mix(in oklab, var(--danger) 25%, var(--line));
  color: var(--text);
}
.jlane-win .jlane-cells span {
  background: color-mix(in oklab, var(--success) 10%, var(--surface-2));
  border-color: color-mix(in oklab, var(--success) 30%, var(--line));
  color: var(--text);
}
.emo-strip {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 10px;
  height: 100px;
}
.emo-strip svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  .journey-stages { grid-template-columns: 1fr; }
  .journey-stages::before { display: none; }
  .jlane { grid-template-columns: 1fr; }
  .jlane-cells { grid-template-columns: 1fr 1fr; }
  .phone-row { grid-template-columns: 1fr; }
  .toast-tray { bottom: 12px; right: 12px; }
}

/* ---- CHARTS ----------------------------------------------- */
.charts-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.chart-card {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 18px;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 12px;
}
.chart-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.chart-head h3 { margin: 0; font-size: var(--fs-md); }
.chart-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 22px; letter-spacing: -0.02em; color: var(--text);
}
.chart-num-sub {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 11.5px; color: var(--text-dim); margin-left: 4px;
}
.chart-svg { width: 100%; height: 140px; display: block; }
.donut-svg { width: 120px; height: 120px; flex: 0 0 auto; }
.donut-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.chart-legend {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-mid);
}
.chart-legend.col { flex-direction: column; gap: 6px; flex: 1; min-width: 130px; }
.chart-legend li { display: inline-flex; align-items: center; gap: 6px; }
.lg-sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.lg-meta { color: var(--text-dim); font-family: var(--font-mono); font-size: 11px; }
.lg-pct { margin-left: auto; font-family: var(--font-mono); color: var(--text); font-weight: 700; }
.bar-chart { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.bar-row { display: grid; grid-template-columns: 32px 1fr 56px; align-items: center; gap: 10px; }
.bar-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.bar { background: var(--surface-2); border-radius: var(--r-pill); height: 10px; overflow: hidden; }
.bar > span { display: block; height: 100%; width: var(--w); border-radius: var(--r-pill); transition: width var(--t-slow) var(--ease-out-quart); }
.bar-num { font-family: var(--font-mono); font-size: 11px; color: var(--text); text-align: right; }

/* ---- DIALOG ----------------------------------------------- */
.dialog-demo {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3);
  align-items: flex-start;
}
.dialog-hint { color: var(--text-dim); font-size: 13px; margin: 0; }
.dialog-hint kbd {
  background: var(--surface-3); color: var(--text); border: 1px solid var(--line);
  border-bottom-width: 2px;
  padding: 1px 6px; border-radius: var(--r-2);
  font-family: var(--font-mono); font-size: 11px;
}
.dialog {
  margin: auto;
  border: 1px solid var(--line);
  background: var(--surface-1); color: var(--text);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-3);
  padding: 0;
  max-width: 460px; width: calc(100% - 32px);
}
.dialog::backdrop { background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px 8px;
}
.dialog-head h3 { margin: 0; font-size: var(--fs-md); font-weight: 700; }
.dialog-x {
  background: transparent; border: 0; color: var(--text-dim);
  width: 32px; height: 32px; border-radius: var(--r-pill);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.dialog-x:hover { background: var(--surface-2); color: var(--text); }
.dialog-body {
  margin: 0; padding: 0 18px 12px;
  color: var(--text-mid); font-size: var(--fs-sm); line-height: 1.5;
}
.dialog-list {
  margin: 0; padding: 0 18px 12px;
  list-style: none; display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-mid);
}
.dialog-list li { padding: 6px 10px; background: var(--surface-2); border-radius: var(--r-2); }
.dialog-actions {
  display: flex; gap: 8px; justify-content: flex-end;
  padding: 8px 18px 18px;
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
}

/* ---- STRATEGY DOC ----------------------------------------- */
.strategy-doc {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 28px;
  box-shadow: var(--shadow-2);
}
.strat-head { margin-bottom: 22px; }
.strat-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dim); margin: 0 0 10px;
}
.strat-head h3 {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em;
}
.strat-sub { color: var(--text-mid); margin: 0; max-width: 60ch; }

.okr-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 18px;
}
.okr {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.okr header { display: flex; gap: 10px; align-items: flex-start; }
.okr-tag {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--accent); color: var(--text-inverse);
  font-weight: 700;
  flex: 0 0 auto;
}
.okr h4 { margin: 0; font-size: var(--fs-md); line-height: 1.3; }
.okr ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-mid); }
.okr li { display: grid; grid-template-columns: 36px 1fr; gap: 6px; }
.kr-num {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--accent); padding: 2px 6px; height: 20px; line-height: 16px;
  background: color-mix(in oklab, var(--accent) 14%, var(--surface-1));
  border-radius: var(--r-2);
  text-align: center;
}
.okr-foot {
  display: flex; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.okr-foot span { text-transform: uppercase; }

.experiment {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--accent) 10%, var(--surface-1)),
    color-mix(in oklab, var(--accent) 4%, var(--surface-1)));
  border: 1px solid color-mix(in oklab, var(--accent) 35%, var(--line));
  border-radius: var(--r-3); padding: 18px;
}
.experiment header { margin-bottom: 12px; }
.exp-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  padding: 2px 8px; border: 1px solid color-mix(in oklab, var(--accent) 50%, transparent);
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.experiment h4 { margin: 0; font-size: var(--fs-md); line-height: 1.4; max-width: 70ch; }
.exp-grid {
  display: grid; gap: 10px 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0;
}
.exp-grid > div { display: flex; flex-direction: column; gap: 2px; }
.exp-grid dt {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
}
.exp-grid dd { margin: 0; color: var(--text); font-size: 13px; }

/* ---- COMPETITIVE MATRIX ----------------------------------- */
.compete-table { width: 100%; border-collapse: collapse; }
.compete-table thead th {
  background: var(--surface-2);
  text-align: left;
  padding: 12px 14px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 1px solid var(--line);
}
.compete-table thead th.us {
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 14%, var(--surface-2));
}
.compete-table tbody th {
  text-align: left; padding: 12px 14px;
  font-weight: 600; font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-1);
}
.compete-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.compete-table tbody tr:last-child th,
.compete-table tbody tr:last-child td { border-bottom: 0; }
.compete-table td.us { background: color-mix(in oklab, var(--accent) 8%, var(--surface-1)); }
.ind {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em;
}
.ind svg { width: 14px; height: 14px; }
.ind-full { color: var(--success); }
.ind-part { color: var(--warning); }
.ind-none { color: var(--text-dim); }
.compete-key {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim);
  margin: 14px 0 0;
}
.ind-mini { font-size: 14px; }
.ind-mini.ind-full { color: var(--success); }
.ind-mini.ind-part { color: var(--warning); }
.ind-mini.ind-none { color: var(--text-dim); }

/* ---- TOKEN JSON ------------------------------------------- */
.code-card {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-3); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.code-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.code-file { font-family: var(--font-mono); font-size: 12px; color: var(--text-mid); }
.code-pre {
  margin: 0;
  padding: 18px;
  background:
    radial-gradient(1200px 200px at 0% 0%, rgba(91,140,255,0.06), transparent 60%),
    var(--surface-1);
  overflow-x: auto;
  max-height: 420px;
}
.code-pre code {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre;
}
.tok-key   { color: var(--accent-strong); }
.tok-str   { color: var(--mint-500); }
.tok-num   { color: var(--warm-500); }
.tok-punct { color: var(--text-dim); }

/* ---- REDUCED MOTION GUARD --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-glow { animation: none !important; }
  .motion-block { transform: none !important; opacity: 1 !important; }
  .shimmer-line { animation: none !important; background: var(--surface-3); }
  .toast { transition: none !important; }
}
