:root {
  --ink: #101416;
  --ink-soft: #171d1f;
  --paper: #ede9dc;
  --paper-deep: #ded8c7;
  --amber: #ffb000;
  --amber-soft: #f1c85b;
  --green: #b9f46a;
  --muted: #86897f;
  --line: rgba(16, 20, 22, 0.2);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.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: -5rem; z-index: 99; background: var(--amber); padding: .75rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header {
  height: 74px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; color: inherit; text-decoration: none; font: 800 1.1rem/1 var(--mono); letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; background: var(--ink); color: var(--amber); font-size: .8rem; }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a { font: 700 .76rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.site-header nav a:hover { color: #896000; }
.build-tag { justify-self: end; font: 700 .68rem/1 var(--mono); color: #5e615c; border: 1px solid var(--line); padding: .55rem .7rem; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: .65rem; }
.theme-picker { min-height: 38px; display: inline-flex; align-items: center; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); font: 700 .875rem/1 var(--mono); letter-spacing: .05em; }
.theme-picker > span { padding: 0 .55rem; color: var(--muted); }
.theme-picker select { min-height: 36px; max-width: 150px; padding: 0 2rem 0 .65rem; border: 0; border-left: 1px solid var(--line); border-radius: 0; color: var(--ink); background-color: var(--paper); font: 800 .875rem/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.theme-picker select:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.hero {
  min-height: 720px;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 4rem) clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(560px, 1.15fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.eyebrow, .section-index { margin: 0 0 1.5rem; font: 800 .72rem/1 var(--mono); letter-spacing: .14em; }
.eyebrow span { color: #278a55; margin-right: .4rem; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; font-size: clamp(3.7rem, 7vw, 7.4rem); line-height: .86; letter-spacing: -.075em; font-weight: 900; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 em { color: #996b00; }
.hero-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(.65rem,2vw,1.25rem); }
.hero-title-row h1 { min-width: 0; }
.hero-try-button { flex: 0 0 auto; margin: .4rem 0 0 auto; white-space: nowrap; }
.lede { max-width: 560px; margin: 2rem 0 0; font-size: clamp(1rem, 1.35vw, 1.22rem); color: #404543; }
.lede span { font-family: var(--mono); font-size: .82em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { min-height: 48px; padding: .85rem 1.1rem; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; text-decoration: none; font: 800 .73rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button-primary { background: var(--amber); color: var(--ink); }
.button-quiet { background: transparent; }
.button kbd { border: 0; background: transparent; padding: 0; }
.quick-facts { list-style: none; margin: 3.2rem 0 0; padding: 1.2rem 0 0; display: flex; gap: clamp(1.2rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.quick-facts li { display: flex; flex-direction: column; gap: .2rem; }
.quick-facts strong { font: 800 1.25rem/1 var(--mono); }
.quick-facts span { color: #656861; font: 600 .67rem/1.3 var(--mono); text-transform: uppercase; }

.terminal-wrap { position: relative; min-width: 0; }
.product-shot { position: relative; min-width: 0; margin: 0; padding: .55rem; color: #d6e0d7; background: #0a0e0f; border: 1px solid #283033; box-shadow: 14px 16px 0 rgba(16,20,22,.12), 0 32px 70px rgba(16,20,22,.25); }
.product-shot::before { content: ""; position: absolute; z-index: -1; inset: 8% -8%; background: var(--amber); filter: blur(70px); opacity: .14; }
.product-shot img { display: block; width: 100%; height: auto; border: 1px solid #30393c; }
.shot-label { min-height: 40px; padding: 0 .6rem; display: flex; align-items: center; justify-content: space-between; color: #8d9892; font: 700 .64rem/1 var(--mono); letter-spacing: .08em; }
.shot-label b { color: var(--amber); }
.product-shot figcaption { margin: .8rem .35rem .35rem; color: #909995; font: 600 .64rem/1.4 var(--mono); }
.product-shot figcaption span { color: var(--amber); }
.terminal-glow { position: absolute; inset: 8% -8%; background: var(--amber); filter: blur(70px); opacity: .14; }
.terminal { position: relative; overflow: hidden; color: #d6e0d7; background: #0a0e0f; border: 1px solid #283033; box-shadow: 14px 16px 0 rgba(16,20,22,.12), 0 32px 70px rgba(16,20,22,.25); font-family: var(--mono); outline: none; }
.terminal:focus { border-color: var(--amber); box-shadow: 14px 16px 0 rgba(16,20,22,.12), 0 32px 70px rgba(16,20,22,.25), 0 0 0 3px rgba(255,176,0,.18); }
.terminal::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,.025) 4px); }
.terminal-bar, .pathbar, .terminal-status, .key-strip { display: flex; align-items: center; justify-content: space-between; }
.terminal-bar { height: 44px; padding: 0 .85rem 0 1rem; background: #1b2224; border-bottom: 1px solid #343c3e; font-size: .71rem; color: #9da7a0; }
.terminal-title b { color: var(--amber); margin-right: .4rem; }
.window-controls { word-spacing: .55rem; }
.pathbar { background: var(--amber); color: var(--ink); font: 800 .7rem/1 var(--mono); }
.pathbar span { width: 50%; padding: .65rem .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pathbar span + span { border-left: 1px solid rgba(16,20,22,.35); }
.panes { display: grid; grid-template-columns: 1fr 1fr; height: 322px; }
.pane { min-width: 0; padding: .55rem; border-right: 1px solid #343c3e; }
.pane:last-child { border-right: 0; }
.pane.active { background: #101617; }
.pane-head, .file-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.pane-head { padding: .45rem .55rem .65rem; color: #66716b; font-size: .62rem; letter-spacing: .1em; }
.file-row { width: 100%; padding: .62rem .55rem; border: 0; color: #aeb8b2; background: transparent; font: inherit; font-size: .74rem; text-align: left; cursor: pointer; }
.file-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-row:hover { color: white; background: #1b2425; }
.pane.active .file-row.selected { color: var(--ink); background: var(--amber-soft); }
.pane:not(.active) .file-row.selected { color: #d9e3dc; background: #283031; }
.terminal-status { padding: .48rem .65rem; background: #222a2b; border-top: 1px solid #343c3e; color: var(--green); font-size: .63rem; }
.key-strip { padding: .7rem .65rem; gap: .65rem; background: #111617; color: #89928d; font-size: .58rem; }
kbd { display: inline-flex; min-width: 1.65em; justify-content: center; padding: .22rem .38rem; color: inherit; background: rgba(16,20,22,.05); border: 1px solid currentColor; border-radius: 2px; font: 700 .78em/1 var(--mono); box-shadow: 0 1px 0 currentColor; }
.key-strip kbd { color: #d4dad7; }
.demo-hint { position: relative; margin: 1.7rem 0 0; color: #6b6f69; font: 600 .68rem/1.4 var(--mono); text-align: center; }
.demo-hint span { color: #9e7005; }
.command-panel { position: absolute; z-index: 2; inset: 44px 0 57px; padding: 1.2rem; background: rgba(10,14,15,.97); }
.command-panel[hidden] { display: none; }
.command-panel-head { display: flex; justify-content: space-between; padding-bottom: .65rem; color: var(--amber); border-bottom: 1px solid #3b4446; font-size: .66rem; letter-spacing: .08em; }
.command-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem 1.5rem; margin-top: 1rem; }
.command-grid span { display: flex; align-items: center; justify-content: space-between; color: #aeb8b2; font-size: .7rem; }
.command-list { display: grid; gap: .55rem; padding-top: 1rem; }
.command-list span { display: flex; justify-content: space-between; padding: .55rem .65rem; background: #151c1d; color: #c4ccc7; font-size: .7rem; }
.command-list b { color: var(--amber); }

.marquee { overflow: hidden; padding: 1rem 0; color: var(--paper); background: var(--ink); border-block: 1px solid var(--ink); }
.marquee div { display: flex; width: max-content; gap: 2rem; align-items: center; animation: marquee 24s linear infinite; }
.marquee span { font: 800 .7rem/1 var(--mono); letter-spacing: .12em; }
.marquee i { color: var(--amber); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .marquee div { animation: none; } }

.section-shell { max-width: 1320px; margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 4vw, 4rem); }
.section-heading { display: grid; grid-template-columns: .45fr 1fr .65fr; gap: 3rem; align-items: start; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-index { color: #7e6a36; }
.section-heading h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .95; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: .2rem 0 0; color: #555a56; }
.section-heading.compact { grid-template-columns: .55fr 1.45fr; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { grid-column: span 4; min-height: 350px; padding: clamp(1.4rem, 2.4vw, 2.2rem); position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.feature-card-wide { grid-column: span 8; }
.feature-card h3 { margin: 2.2rem 0 .7rem; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.03em; }
.feature-card p { max-width: 500px; margin: 0; color: #565b57; }
.feature-number { position: absolute; top: 1rem; right: 1rem; color: #777a73; font: 700 .64rem/1 var(--mono); }
.feature-icon { font: 400 2rem/1 var(--mono); color: #805b00; }
.key-demo { margin-top: 3rem; display: flex; align-items: center; gap: .45rem; }
.key-demo kbd { width: 38px; height: 38px; align-items: center; font-size: .85rem; background: var(--ink); color: var(--paper); box-shadow: 2px 2px 0 var(--amber); border: 0; }
.key-demo span { margin-left: .5rem; color: #777a73; font: 700 .62rem/1 var(--mono); letter-spacing: .1em; }
.compact-keys { flex-wrap: wrap; margin-top: 2.4rem; }
.compact-keys kbd { width: auto; min-width: 46px; padding-inline: .55rem; }
.feature-card-tall { grid-row: span 2; background: var(--amber); }
.feature-card-tall p { color: #403608; }
.feature-card ul { margin: 2.2rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(16,20,22,.3); }
.feature-card li { padding: .75rem 0; border-bottom: 1px solid rgba(16,20,22,.3); font: 700 .7rem/1 var(--mono); text-transform: uppercase; }
.mini-panes { margin-top: 2.6rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .7rem; }
.mini-panes div { padding: .45rem; border: 2px solid var(--ink); }
.mini-panes span { display: block; height: 6px; margin: 5px 0; background: rgba(16,20,22,.25); }
.mini-panes .hot { width: 75%; background: var(--ink); }
.mini-panes b { font-size: 1.3rem; }
.bookmark-empty { margin-top: 2.4rem; min-height: 78px; padding: .85rem; display: grid; gap: .7rem; border: 1px dashed rgba(16,20,22,.35); background: rgba(16,20,22,.035); font-family: var(--mono); }
.bookmark-empty span { color: #74776f; font-size: .62rem; letter-spacing: .1em; }
.bookmark-empty b { display: flex; align-items: center; gap: .65rem; font-size: .66rem; }
.bookmark-empty i { padding: .35rem .45rem; color: #8c6300; border: 1px solid currentColor; font-style: normal; }
.load-meter { height: 7px; margin-top: 3rem; border: 1px solid var(--ink); }
.load-meter span { display: block; width: 63%; height: 100%; background: var(--amber); }
.feature-card small { display: block; margin-top: .7rem; font: 700 .58rem/1 var(--mono); color: #6f726c; }
.feature-card-dark { color: var(--paper); background: var(--ink); }
.feature-card-dark p { color: #a8aca4; }
.feature-card-dark .feature-number { color: #777e79; }
.feature-card-dark .feature-icon { color: var(--green); }
.drive-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.3rem; }
.drive-chips span { border: 1px solid #525b57; padding: .5rem .65rem; font: 700 .63rem/1 var(--mono); color: var(--green); }
.metric-strip, .persistence-line { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2.5rem; }
.metric-strip span, .persistence-line span { padding: .45rem .6rem; border: 1px solid rgba(16,20,22,.28); font: 700 .61rem/1 var(--mono); letter-spacing: .06em; }
.metric-strip span:nth-child(3), .persistence-line span:nth-child(3) { background: var(--amber); border-color: var(--ink); }

.interface-section { color: var(--paper); background: #0f1416; border-block: 1px solid #30383a; }
.interface-inner { max-width: 1440px; }
.interface-section .section-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.interface-section .section-index { color: var(--amber); }
.detail-shot { margin: 0; border: 1px solid #3b4446; background: #090d0e; box-shadow: 12px 14px 0 rgba(255,176,0,.12); }
.detail-shot img { display: block; width: 100%; height: auto; }
.detail-shot figcaption { min-height: 64px; padding: .85rem 1rem; display: flex; align-items: center; gap: 1rem; color: #b5bdb8; font: 600 .75rem/1.4 var(--mono); border-top: 1px solid #3b4446; }
.detail-shot figcaption kbd { flex: 0 0 auto; color: var(--ink); background: var(--amber); border: 0; box-shadow: none; }

.platforms { color: var(--paper); background: #171c1e; }
.platform-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.platform-inner .section-heading { display: block; margin: 0; }
.platform-inner .section-index { color: var(--amber); }
.release-note { max-width: 330px; margin: 1.5rem 0 0; color: #969d99; }
.platform-list { border-top: 1px solid #42494a; }
.platform-list article { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.6rem .25rem; border-bottom: 1px solid #42494a; }
.platform-glyph { display: grid; place-items: center; width: 46px; height: 46px; color: var(--green); border: 1px solid #4d5754; font: 500 1.4rem/1 var(--mono); }
.platform-glyph.windows { color: var(--amber); }
.platform-list h3 { margin: 0; font-size: 1.1rem; }
.platform-list p { margin: .2rem 0 0; color: #969d99; font-size: .85rem; }
.download-link { min-height: 40px; padding: .7rem .8rem; display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); background: var(--amber); text-decoration: none; font: 800 .64rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: transform .18s ease, box-shadow .18s ease; }
.download-link:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--green); }
.all-releases { padding: 1.2rem .25rem 0; display: inline-flex; gap: .7rem; color: #c0c7c3; font: 700 .68rem/1.4 var(--mono); text-decoration-thickness: 1px; text-underline-offset: .25rem; }
.all-releases:hover { color: var(--amber); }

.keyboard-section .section-heading { margin-bottom: 3rem; }
.command-table { border-top: 2px solid var(--ink); }
.command-row { min-height: 68px; display: grid; grid-template-columns: 1fr 1fr 1.5fr; align-items: center; gap: 2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.command-head { min-height: 46px; font: 800 .64rem/1 var(--mono); color: #777b74; letter-spacing: .1em; }
.command-row span:first-child { font-weight: 750; }
.command-row > span:nth-child(2) { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.command-row span:last-child { color: #62665f; }
.command-row kbd { background: var(--ink); color: var(--paper); border: 0; padding: .42rem .55rem; box-shadow: 2px 2px 0 #a87908; font-size: .72rem; }

.final-callout { min-height: 560px; padding: clamp(5rem, 10vw, 10rem) 1rem; position: relative; overflow: hidden; text-align: center; color: var(--ink); background: var(--amber); }
.final-callout > p { margin: 0 0 1.3rem; font: 800 .7rem/1 var(--mono); letter-spacing: .15em; }
.final-callout h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(3rem, 7vw, 7rem); line-height: .88; letter-spacing: -.07em; }
.button-light { position: relative; z-index: 1; margin-top: 2.5rem; background: var(--paper); }
.archive-lines { position: absolute; inset: auto 0 0; height: 120px; display: flex; justify-content: center; align-items: flex-end; gap: clamp(.4rem, 1vw, 1rem); opacity: .18; }
.archive-lines span { width: clamp(18px, 3.5vw, 56px); height: 100%; border: 6px solid var(--ink); border-bottom: 0; }
.archive-lines span:nth-child(2), .archive-lines span:nth-child(4) { height: 70%; }
.archive-lines span:nth-child(3) { height: 135%; }
footer { max-width: 1440px; margin: 0 auto; min-height: 90px; padding: 1.5rem clamp(1rem, 4vw, 4rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; font: 700 .64rem/1.4 var(--mono); color: #636760; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }

/* Theme lab: one layout, four distinct terminal futures. */
body[data-theme="night-city"] {
  --ink: #08090d;
  --ink-soft: #11131a;
  --paper: #f3e600;
  --paper-deep: #d7ca00;
  --amber: #00e7f0;
  --amber-soft: #ff2bd6;
  --green: #9dff00;
  --muted: #4c4800;
  --line: rgba(8, 9, 13, .34);
}
body[data-theme="night-city"]::after { content: ""; position: fixed; inset: 0; z-index: 19; pointer-events: none; opacity: .16; background: repeating-linear-gradient(135deg, transparent 0 28px, #050609 29px 30px); }
body[data-theme="night-city"] .site-header { background: rgba(243, 230, 0, .92); }
body[data-theme="night-city"] h1 em,
body[data-theme="night-city"] .section-index,
body[data-theme="night-city"] .feature-icon { color: #d0009f; }
body[data-theme="night-city"] .eyebrow span { color: #005b64; }
body[data-theme="night-city"] .lede,
body[data-theme="night-city"] .section-heading > p:last-child,
body[data-theme="night-city"] .feature-card p,
body[data-theme="night-city"] .command-row span:last-child,
body[data-theme="night-city"] footer { color: #2b2900; }
body[data-theme="night-city"] .feature-card-tall { background: var(--amber); }
body[data-theme="night-city"] .feature-card-tall p { color: #063135; }
body[data-theme="night-city"] .button,
body[data-theme="night-city"] .download-link,
body[data-theme="night-city"] .theme-picker { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
body[data-theme="night-city"] .command-row kbd { box-shadow: 2px 2px 0 #d0009f; }
body[data-theme="night-city"] .product-shot { box-shadow: 14px 16px 0 #d0009f, 0 32px 70px rgba(8, 9, 13, .32); }

body[data-theme="neon-grid"] {
  --ink: #ecfbff;
  --ink-soft: #142531;
  --paper: #071018;
  --paper-deep: #0d1a25;
  --amber: #00e5ff;
  --amber-soft: #ff31c6;
  --green: #00ff88;
  --muted: #7eabb8;
  --line: rgba(0, 229, 255, .24);
}
body[data-theme="neon-grid"] { background-image: linear-gradient(rgba(0,229,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,.055) 1px, transparent 1px); background-size: 34px 34px; }
body[data-theme="neon-grid"] .brand-mark { background: #00e5ff; color: #061018; box-shadow: 3px 3px 0 #ff31c6; }
body[data-theme="neon-grid"] .site-header { background: rgba(7, 16, 24, .92); }
body[data-theme="neon-grid"] .lede,
body[data-theme="neon-grid"] .section-heading > p:last-child,
body[data-theme="neon-grid"] .feature-card p,
body[data-theme="neon-grid"] .command-row span:last-child,
body[data-theme="neon-grid"] footer { color: #9ebdc6; }
body[data-theme="neon-grid"] .section-index,
body[data-theme="neon-grid"] h1 em,
body[data-theme="neon-grid"] .feature-icon { color: #00e5ff; }
body[data-theme="neon-grid"] .feature-card-tall { color: #041019; background: #00e5ff; }
body[data-theme="neon-grid"] .feature-card-tall p { color: #083442; }
body[data-theme="neon-grid"] .feature-card-dark { color: #eaffff; background: #101f2b; }
body[data-theme="neon-grid"] .feature-card-dark p { color: #9ebdc6; }
body[data-theme="neon-grid"] .interface-section,
body[data-theme="neon-grid"] .platforms { color: #eaffff; }
body[data-theme="neon-grid"] .final-callout { color: #041019; background: linear-gradient(135deg, #00e5ff 0 62%, #ff31c6 62%); }
body[data-theme="neon-grid"] .button-primary,
body[data-theme="neon-grid"] .download-link,
body[data-theme="neon-grid"] .detail-shot figcaption kbd { color: #041019; }
body[data-theme="neon-grid"] .product-shot { border-color: #00e5ff; box-shadow: 10px 12px 0 #ff31c6, 0 0 55px rgba(0,229,255,.18); }

body[data-theme="crt-green"] {
  --ink: #b8ffac;
  --ink-soft: #0d2012;
  --paper: #061008;
  --paper-deep: #0a180d;
  --amber: #64ff73;
  --amber-soft: #a6ff9c;
  --green: #d0ff74;
  --muted: #6ca873;
  --line: rgba(100, 255, 115, .25);
}
body[data-theme="crt-green"] { text-shadow: 0 0 8px rgba(100,255,115,.12); }
body[data-theme="crt-green"]::before { opacity: .38; mix-blend-mode: screen; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(100,255,115,.08) 4px); }
body[data-theme="crt-green"] .site-header { background: rgba(6, 16, 8, .94); }
body[data-theme="crt-green"] .brand-mark { color: #061008; background: #64ff73; box-shadow: 0 0 18px rgba(100,255,115,.4); }
body[data-theme="crt-green"] .lede,
body[data-theme="crt-green"] .section-heading > p:last-child,
body[data-theme="crt-green"] .feature-card p,
body[data-theme="crt-green"] .command-row span:last-child,
body[data-theme="crt-green"] footer { color: #82bd88; }
body[data-theme="crt-green"] .section-index,
body[data-theme="crt-green"] h1 em,
body[data-theme="crt-green"] .feature-icon { color: #64ff73; }
body[data-theme="crt-green"] .feature-card-tall { color: #061008; background: #64ff73; }
body[data-theme="crt-green"] .feature-card-tall p { color: #133a19; }
body[data-theme="crt-green"] .feature-card-dark { color: #d8ffd2; background: #0b1b0f; }
body[data-theme="crt-green"] .feature-card-dark p { color: #82bd88; }
body[data-theme="crt-green"] .interface-section,
body[data-theme="crt-green"] .platforms { color: #d8ffd2; background: #040b06; }
body[data-theme="crt-green"] .final-callout { color: #061008; background: #64ff73; }
body[data-theme="crt-green"] .button-primary,
body[data-theme="crt-green"] .download-link,
body[data-theme="crt-green"] .detail-shot figcaption kbd { color: #061008; }
body[data-theme="crt-green"] .product-shot { border-color: #64ff73; box-shadow: 0 0 0 1px #64ff73, 0 0 48px rgba(100,255,115,.22); }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading > p:last-child { max-width: 560px; }
  .feature-card { grid-column: span 6; }
  .feature-card-wide { grid-column: span 12; }
  .platform-inner { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: auto; padding-top: 4.5rem; }
  h1 { font-size: clamp(3.25rem, 17vw, 5.8rem); }
  .terminal-wrap { margin-inline: -.25rem; }
  .product-shot { margin-inline: -.25rem; }
  .terminal-bar { font-size: .62rem; }
  .key-strip { flex-wrap: wrap; justify-content: flex-start; }
  .panes { height: 300px; }
  .file-row { font-size: .63rem; padding-inline: .35rem; }
  .pathbar { font-size: .58rem; }
  .demo-hint { display: none; }
  .quick-facts { justify-content: space-between; }
  .feature-card, .feature-card-wide { grid-column: span 12; min-height: 320px; }
  .feature-card-tall { grid-row: auto; }
  .command-row { grid-template-columns: .9fr .8fr; gap: 1rem; }
  .command-row span:last-child { display: none; }
  footer { grid-template-columns: 1fr auto; }
  footer p:first-of-type { display: none; }
}
@media (max-width: 420px) {
  .build-tag { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .header-tools { width: 100%; }
  .theme-picker { margin-left: auto; }
  .theme-picker > span { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-title-row h1 { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .hero-try-button { min-height: 42px; padding: .72rem .8rem; gap: .55rem; font-size: .68rem; }
  .quick-facts span { max-width: 78px; }
  .pane-head { font-size: .54rem; }
  .file-row span:last-child { display: none; }
  .key-strip span:nth-child(3), .key-strip span:nth-child(4) { display: none; }
  .platform-list article { grid-template-columns: auto 1fr; }
  .download-link { grid-column: 1 / -1; width: 100%; justify-content: space-between; }
}
