/* Zynu site. Liquid Glass treatment: glass is chrome only, content stays opaque.
   Web approximation of Apple's material: blur, saturation lift, specular edge. No refraction. */

:root {
  color-scheme: light;
  --font-sans: "SF Pro Text", "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "SF Pro Display", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Consolas", monospace;

  --ink: #12151a;
  --ink-soft: #3f4753;
  --ink-faint: #5f6875;
  --line: rgba(18, 21, 26, 0.12);
  --line-strong: rgba(18, 21, 26, 0.26);

  --page: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f6f7f9;

  --accent: #0b5f8a;
  --accent-ink: #ffffff;
  --accent-soft: rgba(11, 95, 138, 0.1);

  --glass-fill: rgba(255, 255, 255, 0.62);
  --glass-fill-strong: rgba(255, 255, 255, 0.86);
  --glass-blur: 18px;
  --glass-sat: 1.7;
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --glass-hair: 0 0 0 0.5px rgba(255, 255, 255, 0.45), 0 0 0 1px rgba(18, 21, 26, 0.08);
  --glass-shadow: 0 10px 34px rgba(20, 30, 48, 0.12), 0 2px 8px rgba(20, 30, 48, 0.06);

  --scene-base: radial-gradient(120% 90% at 50% -20%, rgba(255, 255, 255, 0.9), transparent 60%),
    linear-gradient(180deg, #e9edf3 0%, #e4e9f0 55%, #dfe5ee 100%);
  --scene-grid-line: rgba(18, 21, 26, 0.05);
  --orb-a: #a9c8e6;
  --orb-b: #c9d6c2;
  --orb-c: #e2cdb8;
  --orb-opacity: 0.5;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --measure: 68ch;
  --shell: 1120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f4f7;
  --ink-soft: #c3c9d3;
  --ink-faint: #9aa3b0;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --page: #0b0d10;
  --surface: #14171c;
  --surface-2: #1a1e24;
  --accent: #7cc4ec;
  --accent-ink: #07141c;
  --accent-soft: rgba(124, 196, 236, 0.14);
  --glass-fill: rgba(26, 30, 36, 0.58);
  --glass-fill-strong: rgba(26, 30, 36, 0.86);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --glass-hair: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.4);
  --glass-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35);
  --scene-base: radial-gradient(120% 90% at 50% -20%, rgba(46, 62, 84, 0.55), transparent 60%),
    linear-gradient(180deg, #0a0c0f 0%, #0d1014 60%, #0a0c10 100%);
  --scene-grid-line: rgba(255, 255, 255, 0.045);
  --orb-a: #2e4a66;
  --orb-b: #33463a;
  --orb-c: #5a4632;
  --orb-opacity: 0.32;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f2f4f7;
    --ink-soft: #c3c9d3;
    --ink-faint: #9aa3b0;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.28);
    --page: #0b0d10;
    --surface: #14171c;
    --surface-2: #1a1e24;
    --accent: #7cc4ec;
    --accent-ink: #07141c;
    --accent-soft: rgba(124, 196, 236, 0.14);
    --glass-fill: rgba(26, 30, 36, 0.58);
    --glass-fill-strong: rgba(26, 30, 36, 0.86);
    --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    --glass-hair: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.4);
    --glass-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35);
    --scene-base: radial-gradient(120% 90% at 50% -20%, rgba(46, 62, 84, 0.55), transparent 60%),
      linear-gradient(180deg, #0a0c0f 0%, #0d1014 60%, #0a0c10 100%);
    --scene-grid-line: rgba(255, 255, 255, 0.045);
    --orb-a: #2e4a66;
    --orb-b: #33463a;
    --orb-c: #5a4632;
    --orb-opacity: 0.32;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--page); text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* Scene: the surface the glass floats above */
.scene {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none;
  background: var(--scene-base);
}
.scene-orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: var(--orb-opacity); }
.scene-orb-a { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: var(--orb-a); }
.scene-orb-b { width: 38vw; height: 38vw; right: -8vw; top: 18vh; background: var(--orb-b); }
.scene-orb-c { width: 34vw; height: 34vw; left: 30vw; bottom: -18vw; background: var(--orb-c); }
.scene-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--scene-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--scene-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 18%, #000 30%, transparent 100%);
  mask-image: radial-gradient(80% 60% at 50% 18%, #000 30%, transparent 100%);
}

/* Glass: controls and chrome only */
.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow: var(--glass-edge), var(--glass-hair), var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-fill-strong); }
}

/* Masthead */
.masthead {
  position: sticky; top: 0; z-index: 40;
  padding: 14px clamp(14px, 4vw, 28px);
}
.navbar {
  max-width: var(--shell); margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: var(--radius);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 210deg at 50% 50%, #0b5f8a, #3f7d5a, #b0813c, #0b5f8a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 1px 2px rgba(0, 0, 0, 0.25);
}
.brand-name { font-family: var(--font-display); font-weight: 650; letter-spacing: -0.01em; font-size: 1.06rem; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 0.95rem; color: var(--ink-soft);
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.nav-links a:hover { background: var(--accent-soft); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(18, 21, 26, 0.06); }
:root[data-theme="dark"] .nav-links a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-links a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); }
}
.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 12px; cursor: pointer; color: var(--ink);
  transition: transform 160ms var(--ease);
}
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* Layout */
main { max-width: var(--shell); margin: 0 auto; padding: 0 clamp(18px, 4vw, 28px); }
.section { padding: clamp(36px, 6vw, 68px) 0; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 620; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px;
}

/* Hero */
.hero { padding: clamp(44px, 8vw, 96px) 0 clamp(30px, 5vw, 56px); max-width: 880px; }
.hero h1 { font-size: clamp(2.15rem, 5.6vw, 4.1rem); font-weight: 680; letter-spacing: -0.032em; }
.lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* Buttons: rectangular with a 12px radius. Not pills. */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 0.98rem; font-weight: 580; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease),
    border-color 160ms var(--ease), box-shadow 160ms var(--ease), filter 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 18px rgba(11, 95, 138, 0.28);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn-small { padding: 8px 14px; font-size: 0.9rem; }

/* Project cards: opaque content */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 10px 28px rgba(20, 30, 48, 0.08); transform: translateY(-2px); }
:root[data-theme="dark"] .card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-name { font-family: var(--font-display); font-size: 1.16rem; font-weight: 640; letter-spacing: -0.015em; }
.card-desc { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.55; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag {
  font-size: 0.76rem; font-weight: 580; letter-spacing: 0.01em;
  padding: 3px 9px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft);
}
.tag-live { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

/* Prose */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.14rem; margin-top: 1.9em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 620; }
.prose code {
  font-family: var(--font-mono); font-size: 0.9em; padding: 0.12em 0.36em;
  border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
}
.prose pre {
  font-family: var(--font-mono); font-size: 0.88rem; line-height: 1.55;
  padding: 16px 18px; border-radius: var(--radius-sm); overflow-x: auto;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
}
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }

/* Inner page header */
.page-head { padding: clamp(30px, 6vw, 64px) 0 8px; max-width: 840px; }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 660; }
.page-head .lede { margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--ink-faint); margin-bottom: 16px; list-style: none; padding: 0; }
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

/* Spec list: facts with labels */
.specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 0;
}
.spec { background: var(--surface); padding: 18px 20px; }
.spec dt { font-size: 0.74rem; font-weight: 620; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); }
.spec dd { margin: 6px 0 0; font-weight: 560; font-size: 0.98rem; color: var(--ink); }

/* Feature list */
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 22px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.feature h3 { font-size: 1rem; font-weight: 620; font-family: var(--font-sans); letter-spacing: 0; margin-bottom: 6px; }
.feature p { font-size: 0.94rem; color: var(--ink-soft); }

/* Note: an honest caveat */
.note {
  border-left: 3px solid var(--accent);
  background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 26px 0;
  font-size: 0.96rem; color: var(--ink-soft);
}
.note p + p { margin-top: 0.6em; }
.note strong { color: var(--ink); }

/* CTA band */
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 28px; margin: 20px 0 8px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
}
.cta h2 { font-size: 1.25rem; }
.cta p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 4px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 12px; margin-top: 20px; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 16px 20px 16px 58px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink-soft); font-size: 0.96rem;
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 15px;
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 680; font-size: 0.85rem;
  font-family: var(--font-display);
}
.steps strong { color: var(--ink); }

/* Footer */
.site-foot { margin-top: clamp(50px, 9vw, 110px); border-top: 1px solid var(--line); }
.foot-inner {
  max-width: var(--shell); margin: 0 auto; padding: 34px clamp(18px, 4vw, 28px) 44px;
  display: grid; gap: 14px;
}
.foot-mark { font-family: var(--font-display); font-weight: 650; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.94rem; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-note { font-size: 0.86rem; color: var(--ink-faint); max-width: 70ch; }
.u-updated { margin-top: 14px; }

/* Stat strip: real counts, no decoration */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  margin-top: clamp(26px, 4vw, 40px);
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 18px 20px; }
.stat b {
  display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 660; letter-spacing: -0.03em; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 8px; font-size: 0.84rem; color: var(--ink-faint); line-height: 1.4; }

/* Comparison table */
.table-wrap {
  margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  overflow-x: auto; background: var(--surface);
  background-image: linear-gradient(to right, transparent 92%, var(--surface-2));
  background-repeat: no-repeat; background-position: right; background-size: 36px 100%;
  scrollbar-width: thin;
}
.table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.table-hint { display: none; margin-top: 10px; font-size: 0.82rem; color: var(--ink-faint); }
.table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 640px; }
.table caption {
  text-align: left; padding: 16px 20px 0; font-size: 0.84rem; color: var(--ink-faint);
}
.table th, .table td { text-align: left; padding: 13px 20px; vertical-align: top; }
.table thead th {
  font-size: 0.74rem; font-weight: 620; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-faint); border-bottom: 1px solid var(--line);
}
.table tbody tr + tr th, .table tbody tr + tr td { border-top: 1px solid var(--line); }
.table tbody th { font-weight: 620; color: var(--ink); white-space: nowrap; }
.table tbody th a { text-decoration: none; }
.table tbody th a:hover { text-decoration: underline; text-underline-offset: 3px; }
.table tbody td { color: var(--ink-soft); }
.table tbody tr:hover { background: var(--surface-2); }

/* Numbered section markers on project pages */
.numbered { counter-reset: sect; }
.numbered > h2 { counter-increment: sect; position: relative; padding-left: 0; }
.numbered > h2::before {
  content: counter(sect, decimal-leading-zero);
  display: block; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--accent);
}

/* Pipeline diagram */
.diagram {
  margin-top: 24px; padding: 22px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { margin-top: 14px; font-size: 0.86rem; color: var(--ink-faint); }

/* Narrow screens: the two-row canvas is replaced by a readable list */
.diagram-list { display: none; margin: 0; padding: 0; list-style: none; }
.diagram-list li {
  position: relative; padding: 0 0 14px 34px;
  font-size: 0.92rem; color: var(--ink-soft);
}
.diagram-list li:last-child { padding-bottom: 0; }
.diagram-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  border-radius: 5px; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.diagram-list li::after {
  content: ""; position: absolute; left: 7.5px; top: 21px; bottom: 0; width: 1px;
  background: var(--line);
}
.diagram-list li:last-child::after { display: none; }
.diagram-list .is-audit::before { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.diagram-list b { display: block; font-weight: 620; color: var(--ink); }
.diagram-list span { display: block; margin-top: 2px; font-size: 0.86rem; color: var(--ink-faint); }
.d-node { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1; }
.d-node-accent { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1; }
.d-label { font-family: var(--font-sans); font-size: 11.5px; font-weight: 580; fill: var(--ink); }
.d-num { font-family: var(--font-mono); font-size: 9.5px; fill: var(--ink-faint); }
.d-wire { stroke: var(--line-strong); stroke-width: 1.2; fill: none; }

/* Footer legend */
.foot-legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: 0.84rem; color: var(--ink-faint);
}
.foot-legend .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 2px;
  margin-right: 6px; vertical-align: 1px; background: var(--accent);
}

/* Responsive */
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .navbar { padding: 6px 6px 6px 12px; }
  .nav-links a { padding: 8px 10px; font-size: 0.9rem; }
  .nav-links li[data-hide-sm] { display: none; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .cta { padding: 22px; }
  .stat { padding: 15px 16px; }
  .stat b { font-size: 1.5rem; }
  .diagram { padding: 18px 16px; }
  .diagram svg { display: none; }
  .diagram-list { display: block; }
  .table-hint { display: block; }
}

/* Forced accessibility settings */
@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: var(--surface);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: 0 0 0 1px var(--line);
  }
  .scene { display: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(18, 21, 26, 0.45); --line-strong: rgba(18, 21, 26, 0.75); --ink-soft: #12151a; --ink-faint: #3f4753; }
  .glass {
    background: var(--surface);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: 0 0 0 1.5px var(--ink);
  }
  .card, .feature, .steps li, .cta { border-color: var(--ink); }
}
@media print {
  .scene, .masthead, .hero-actions, .cta-actions { display: none; }
  body { background: #fff; color: #000; }
}
