/* VIALTIC website · tokens, components and layout (spec §8). Plain CSS, no framework.
   Fonts are self-hosted from assets/fonts; relative URLs keep every path prefix working. */

/* 1. Fonts ------------------------------------------------------------ */
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("../assets/fonts/atkinson-hyperlegible-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("../assets/fonts/atkinson-hyperlegible-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../assets/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("../assets/fonts/silkscreen-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* 2. Tokens ----------------------------------------------------------- */
:root {
  color-scheme: light;
  --cream: #f1e7d2; --paper: #faf5ea; --line: #d3c4a5; --ink: #102f3a; --ink-muted: #3f5a63;
  --petrol: #285c70; --on-petrol: #f1e7d2; --shell: #3d8f99; --orange: #ed9257; --orange-ink: #8a4214;
  --orange-soft: #f7dfc6; --petrol-soft: #dcebee; --lettuce: #8fb65a; --lettuce-ink: #3f6420; --lettuce-soft: #e3edcf;
  --terminal: #102f3a; --on-terminal: #f1e7d2; --on-terminal-muted: #a9c2c4; --terminal-line: #2a4d59;
  --key-edge: #102f3a; --focus: #285c70; --card-edge: #d3c4a5;
  --key-depth: 0 3px 0 0 var(--key-edge); --key-pressed: 0 1px 0 0 var(--key-edge); --card-depth: 0 4px 0 0 var(--card-edge);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-key: 6px; --radius-card: 14px; --radius-round: 999px;
  --stroke-outline: 2px; --stroke-hairline: 1px;
  --font-display: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --font-pixel: Silkscreen, "Atkinson Hyperlegible Mono", ui-monospace, monospace;
  --gutter: var(--space-12);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --cream: #0f2a33; --paper: #163a45; --line: #2c5260; --ink: #f1e7d2; --ink-muted: #b8c7c4;
    --petrol: #7dbcc8; --on-petrol: #0f2a33; --orange-ink: #f2a877; --orange-soft: #3a2a1e; --petrol-soft: #1d4653;
    --lettuce-ink: #a9cf77; --lettuce-soft: #24361f; --terminal: #0a222a; --terminal-line: #1c3b45;
    --key-edge: #7fa0a6; --focus: #f2a877; --card-edge: #071c23;
  }
}

/* 3. Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; position: relative; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 27px; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--petrol); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.vt-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.vt-wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.vt-section { padding-block: var(--space-24); }
.vt-section--paper { background: var(--paper); border-block: var(--stroke-outline) solid var(--line); }
.vt-section--last { border-bottom: 0; }
.vt-stack { display: flex; flex-direction: column; gap: var(--space-8); }
.vt-heading { display: flex; flex-direction: column; gap: var(--space-3); }
.vt-heading__row { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }

/* 4. Type ------------------------------------------------------------- */
.vt-eyebrow { font-family: var(--font-pixel); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.vt-h1 { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 68px; letter-spacing: -0.02em; text-wrap: balance; }
.vt-h2 { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 42px; letter-spacing: -0.01em; text-wrap: balance; }
.vt-h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 28px; text-wrap: balance; }
.vt-lead { font-size: 20px; line-height: 31px; max-width: 60ch; }
.vt-p { max-width: 65ch; }
.vt-small, .vt-caption { font-size: 14px; line-height: 21px; }
.vt-small-lead { font-size: 15px; line-height: 23px; }
.vt-muted { color: var(--ink-muted); }
.vt-link { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; font-family: var(--font-display); font-size: 15px; }
.vt-link:hover { color: var(--ink); }
.vt-caption { color: var(--ink-muted); }

/* 5. Keycaps, buttons, badges, chips --------------------------------- */
.vt-key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 var(--space-3);
  background: var(--paper); color: var(--ink);
  border: var(--stroke-outline) solid var(--key-edge); border-radius: var(--radius-key);
  box-shadow: var(--key-depth);
  font-family: var(--font-pixel); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  transition: transform 80ms ease-out, box-shadow 80ms ease-out;
}
.vt-key--big { min-width: 72px; min-height: 72px; font-size: 28px; }
.vt-key--accent { position: relative; }
.vt-key--accent::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; background: var(--orange); }
.vt-key--pressed, .vt-key:active { transform: translateY(2px); box-shadow: var(--key-pressed); }

.vt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-6);
  border: var(--stroke-outline) solid var(--key-edge); border-radius: var(--radius-key);
  box-shadow: var(--key-depth);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 20px;
  text-decoration: none; cursor: pointer;
  transition: transform 80ms ease-out, box-shadow 80ms ease-out;
}
.vt-btn--primary { background: var(--petrol); color: var(--on-petrol); }
.vt-btn--primary:hover { color: var(--on-petrol); }
.vt-btn--ghost { background: var(--paper); color: var(--ink); }
.vt-btn--ghost:hover { color: var(--petrol); }
.vt-btn--small { min-height: 44px; padding: var(--space-2) var(--space-4); font-size: 14px; }
.vt-btn:active, .vt-btn.vt-key--pressed { transform: translateY(2px); box-shadow: var(--key-pressed); }

.vt-badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: var(--space-1) var(--space-2); border-radius: var(--radius-key);
  font-family: var(--font-pixel); font-size: 11px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.vt-badge::before { content: ""; width: 7px; height: 7px; flex: none; }
.vt-badge--available { background: var(--lettuce-soft); color: var(--lettuce-ink); }
.vt-badge--available::before { background: var(--lettuce-ink); }
.vt-badge--planned { background: var(--orange-soft); color: var(--orange-ink); }
.vt-badge--planned::before { border: 2px solid var(--orange-ink); }
.vt-badge--source { background: var(--petrol-soft); color: var(--petrol); }
.vt-badge--source::before { background: var(--petrol); }
.vt-badge--review { background: var(--petrol-soft); color: var(--petrol); }
.vt-badge--review::before { border: 2px dashed var(--petrol); }

.vt-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 1px var(--space-2); font-family: var(--font-display); font-size: 15px; line-height: 22px; background: var(--paper); border: var(--stroke-hairline) solid var(--line); border-radius: 4px; }
.vt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }

/* 6. Header ----------------------------------------------------------- */
.vt-skip { position: absolute; left: var(--space-4); top: -80px; z-index: 10; display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-2) var(--space-4); background: var(--petrol); color: var(--on-petrol); border-radius: var(--radius-key); font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.vt-skip:focus { top: var(--space-4); }
.vt-header { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.vt-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); flex-wrap: wrap; padding-block: var(--space-4); }
.vt-brand { display: inline-flex; align-items: center; min-height: 44px; }
.vt-wordmark img { height: 28px; width: auto; }
.vt-wordmark--32 img { height: 32px; }
.vt-nav__links { display: flex; gap: 0 var(--space-3); flex-wrap: wrap; font-family: var(--font-display); font-size: 15px; }
.vt-nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.vt-nav__links a:hover { color: var(--petrol); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.vt-nav__end { display: flex; align-items: center; gap: var(--space-3); }

/* 7. First screen ----------------------------------------------------- */
.vt-fold { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-block: 112px; }
.vt-fold__inner { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-8); text-align: center; width: 100%; }
.vt-fold__art { position: relative; width: clamp(280px, calc((100svh - 400px) * 2), min(760px, 100%)); aspect-ratio: 2 / 1; }
.vt-fold__disc { position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 1 / 1; transform: translateX(-50%); border-radius: var(--radius-round); background: var(--paper); border: var(--stroke-outline) solid var(--line); }
.vt-fold__dot { position: absolute; border-radius: var(--radius-round); }
.vt-fold__dot--orange { top: 6%; left: 24%; width: 36px; height: 36px; background: var(--orange); }
.vt-fold__dot--shell { top: 20%; left: 18%; width: 14px; height: 14px; background: var(--shell); }
.vt-fold__img { position: absolute; left: 0; bottom: 6%; width: 100%; height: auto; }
.vt-fold__title { max-width: 17ch; }
.vt-fold__cue { position: absolute; left: 50%; bottom: var(--space-8); transform: translateX(-50%); color: var(--ink); text-decoration: none; }
.vt-fold__cue .vt-key { animation: vt-bob 1.6s ease-in-out 3; }
.vt-fold__cue:hover .vt-key { color: var(--petrol); }
@keyframes vt-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* 8. Intro ------------------------------------------------------------ */
.vt-section--intro { padding-block: var(--space-16) var(--space-24); }
.vt-intro { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; }
.vt-intro .vt-lead { max-width: 56ch; }
.vt-status { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); font-size: 15px; line-height: 22px; }
.vt-status li, .vt-status { align-items: center; }
.vt-status li { display: flex; gap: var(--space-2); }
p.vt-status { gap: var(--space-2); }

/* 9. Grids ------------------------------------------------------------ */
.vt-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-12); align-items: start; }
.vt-split--story { align-items: center; }
.vt-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.vt-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.vt-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); }
.vt-half { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.vt-milestones { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--space-2); }

/* 10. Cards, steps, feature keys ------------------------------------- */
.vt-card { background: var(--paper); border: var(--stroke-outline) solid var(--line); border-radius: var(--radius-card); box-shadow: var(--card-depth); padding: var(--space-6); min-width: 0; }
.vt-card--cream { background: var(--cream); }
.vt-card--stack { display: flex; flex-direction: column; gap: var(--space-4); }
.vt-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.vt-pillar { display: flex; flex-direction: column; gap: var(--space-4); }
.vt-pillar__text { font-size: 16px; line-height: 25px; }
.vt-pillar__badge { align-self: flex-start; margin-top: auto; }
.vt-icon { color: var(--petrol); }

.vt-steps { display: grid; gap: var(--space-4); }
.vt-steps--tight { gap: var(--space-3); }
.vt-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.vt-step__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 24px; }
.vt-step__text { display: block; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.vt-steps--tight .vt-step__text { padding-top: 10px; }

.vt-fkey { display: flex; flex-direction: column; gap: var(--space-2); min-height: 132px; padding: var(--space-4); background: var(--paper); color: var(--ink); border: var(--stroke-outline) solid var(--key-edge); border-radius: var(--radius-key); box-shadow: var(--key-depth); }
.vt-fkey__legend { font-family: var(--font-pixel); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); }
.vt-fkey__legend--muted { color: var(--ink-muted); }
.vt-fkey__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 21px; }
.vt-fkey__name--small { font-size: 14px; line-height: 19px; }
.vt-fkey__desc { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.vt-fkey--save { border-color: var(--orange-ink); }
.vt-fkey--save .vt-fkey__legend { color: var(--orange-ink); }
.vt-fkey--review { border-style: dashed; }
.vt-fkey--milestone { min-height: 120px; padding: var(--space-3); }
.vt-fkey--next { border-color: var(--petrol); box-shadow: 0 3px 0 0 var(--petrol); }
/* Milestones: done ones are pressed in and struck through, reviewed ones are dashed like the feature keys. */
.vt-fkey--done { background: var(--cream); color: var(--ink-muted); transform: translateY(2px); box-shadow: var(--key-pressed); }
.vt-fkey--done .vt-fkey__legend { color: var(--lettuce-ink); }
.vt-fkey--done s { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
.vt-fkey--milestone.vt-fkey--review .vt-fkey__legend { color: var(--petrol); }
.vt-notin { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.vt-notin .vt-eyebrow { margin-right: var(--space-1); }
.vt-doclist { display: grid; gap: 10px; }
.vt-doclist li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.vt-linkrow { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.vt-linkrow .vt-link, .vt-doclist .vt-link, .vt-release__links .vt-link { display: inline-flex; align-items: center; min-height: 44px; }

/* 11. Prompt blocks and notice --------------------------------------- */
.vt-prompt { position: relative; background: var(--terminal); color: var(--on-terminal); border-radius: var(--radius-key); padding: var(--space-6); padding-right: 112px; font-family: var(--font-display); font-size: 15px; line-height: 24px; }
.vt-prompt--compact { padding: var(--space-4); padding-right: 104px; font-size: 14px; line-height: 22px; }
.vt-prompt__label { display: block; margin-bottom: var(--space-2); color: var(--on-terminal-muted); font-family: var(--font-pixel); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.vt-prompt__text { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.vt-prompt__text::before { content: "> "; color: var(--orange); }
.vt-prompt__text--code { white-space: pre; overflow-x: auto; }
.vt-prompt__text--code::before { content: ""; }
.vt-copy { position: absolute; top: var(--space-4); right: var(--space-4); min-width: 44px; min-height: 44px; padding: 0 var(--space-3); background: var(--terminal); color: var(--on-terminal); border: var(--stroke-outline) solid var(--on-terminal-muted); border-radius: var(--radius-key); box-shadow: 0 3px 0 0 var(--on-terminal-muted); font-family: var(--font-pixel); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform 80ms ease-out, box-shadow 80ms ease-out; }
.vt-copy:active, .vt-copy.vt-key--pressed { transform: translateY(2px); box-shadow: 0 1px 0 0 var(--on-terminal-muted); }
.vt-copy[data-state="copied"] { border-color: var(--lettuce); color: var(--lettuce); box-shadow: 0 3px 0 0 var(--lettuce); }
.vt-prompt__leaf { position: absolute; top: var(--space-4); right: 100px; width: 48px; height: auto; }
.vt-prompt--compact .vt-prompt__leaf { right: 92px; width: 40px; }

.vt-notice { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) var(--space-6); background: var(--orange-soft); color: var(--ink); border-radius: var(--radius-card); }
.vt-notice img { flex: none; width: 64px; height: auto; margin-top: 2px; }
.vt-notice__body { display: flex; flex-direction: column; gap: var(--space-1); }
.vt-notice__title { font-family: var(--font-display); font-weight: 700; }
.vt-notice__text { font-size: 16px; line-height: 25px; }

/* 12. Release card and platforms ------------------------------------- */
.vt-release { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.vt-release__main { display: flex; flex-direction: column; gap: var(--space-1); }
.vt-release__version { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 38px; }
.vt-release__meta { font-size: 15px; line-height: 22px; }
.vt-release__links { display: flex; gap: var(--space-2) var(--space-6); flex-wrap: wrap; }
.vt-platforms { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.vt-chip--platform { min-height: 36px; border: var(--stroke-outline) solid var(--line); border-radius: var(--radius-key); }
.vt-chip--detected { border-color: var(--petrol); box-shadow: 0 3px 0 0 var(--petrol); font-weight: 700; }
.vt-platforms__note { color: var(--ink-muted); }

/* 13. Console --------------------------------------------------------- */
.vt-demo { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.vt-term { background: var(--terminal); color: var(--on-terminal); border: var(--stroke-outline) solid var(--key-edge); border-radius: var(--radius-card); box-shadow: var(--key-depth); overflow: hidden; font-family: var(--font-display); font-size: 14px; line-height: 22px; }
.vt-term__bar { display: flex; align-items: center; gap: var(--space-3); padding: 10px var(--space-4); border-bottom: var(--stroke-hairline) solid var(--terminal-line); font-family: var(--font-pixel); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-terminal-muted); }
.vt-term__dots { display: inline-flex; gap: 6px; }
.vt-term__dots i { width: 10px; height: 10px; border-radius: var(--radius-round); background: var(--terminal-line); }
.vt-term__body { display: grid; gap: 6px; padding: var(--space-6); }
.vt-term__line { white-space: pre-wrap; overflow-wrap: anywhere; }
.vt-term__you { color: var(--orange); font-weight: 700; }
.vt-term__tool { color: var(--on-terminal-muted); }
.vt-term__out { color: var(--on-terminal-muted); padding-left: 2ch; }
.vt-term__ok { color: var(--lettuce); font-weight: 700; }
.vt-term__diff { margin: 4px 0 4px 2ch; padding: var(--space-3) var(--space-4); border: var(--stroke-hairline) solid var(--terminal-line); border-radius: var(--radius-key); white-space: pre; overflow-x: auto; font: inherit; color: var(--on-terminal); }
.vt-term__head, .vt-term__before, .vt-term__foot { color: var(--on-terminal-muted); }
.vt-term__after { color: var(--lettuce); font-weight: 700; }
.vt-term__cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: text-bottom; background: var(--on-terminal); animation: vt-blink 1s steps(1) infinite; }
/* The last prompt is a real text field: type, press Enter, and the console answers. */
.vt-term__prompt { display: flex; align-items: center; gap: 0 1ch; }
.vt-term__prompt .vt-term__cursor { flex: none; margin-right: -1ch; }
.vt-term__prompt:focus-within .vt-term__cursor, .vt-term__prompt:has(.vt-term__input:not(:placeholder-shown)) .vt-term__cursor { display: none; }
.vt-term__input { flex: 1 1 4ch; min-width: 4ch; min-height: 24px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--on-terminal); caret-color: var(--on-terminal); font: inherit; }
.vt-term__input:focus-visible { outline: 2px solid var(--lettuce); outline-offset: 3px; }
@keyframes vt-blink { 50% { opacity: 0; } }
.vt-term[data-reveal="pending"] .vt-term__body > * { opacity: 0; }
.vt-term[data-reveal="go"] .vt-term__body > * { animation: vt-reveal 240ms ease-out both; animation-delay: var(--vt-delay, 0ms); }
@keyframes vt-reveal { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* 14. Story, FAQ ------------------------------------------------------ */
.vt-story__art { display: flex; justify-content: center; min-width: 0; }
.vt-turtle { width: 100%; max-width: 440px; height: auto; animation: vt-step 1.2s ease-out 1; }
.vt-story__text { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.vt-quote { padding: var(--space-6); background: var(--cream); border: var(--stroke-outline) solid var(--line); border-radius: var(--radius-card); font-size: 17px; line-height: 28px; }
.vt-faq { display: grid; gap: var(--space-3); }
.vt-faq__item { background: var(--cream); border: var(--stroke-outline) solid var(--line); border-radius: var(--radius-card); padding: var(--space-3) var(--space-6); }
.vt-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 44px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 26px; }
.vt-faq__item summary::-webkit-details-marker { display: none; }
.vt-faq__item summary::after { content: "+"; flex: none; font-family: var(--font-pixel); font-size: 16px; color: var(--petrol); }
.vt-faq__item[open] summary::after { content: "–"; }
.vt-faq__item p { margin: var(--space-2) 0 var(--space-3); color: var(--ink-muted); max-width: 70ch; }

/* 15. Footer ---------------------------------------------------------- */
.vt-footer { background: var(--terminal); color: var(--on-terminal); padding-block: var(--space-16); }
.vt-foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.vt-foot__brand { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.vt-foot__brand img { height: 32px; width: auto; }
.vt-motto { font-family: var(--font-display); color: var(--on-terminal-muted); }
.vt-motto--ink { color: var(--ink-muted); }
.vt-foot__title { margin: 0 0 var(--space-2); font-family: var(--font-pixel); font-weight: 400; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-terminal-muted); }
.vt-foot__col ul { display: grid; gap: 0; font-size: 15px; }
.vt-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-terminal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.vt-footer a:hover { color: var(--lettuce); }
.vt-foot__bottom .vt-foot__acp { min-height: 0; font-family: var(--font-display); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.vt-foot__bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: var(--stroke-hairline) solid var(--terminal-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: 14px; line-height: 21px; color: var(--on-terminal-muted); }

/* 16. Toast ----------------------------------------------------------- */
.vt-toast { position: fixed; left: 50%; bottom: var(--space-6); z-index: 20; transform: translate(-50%, 8px); padding: var(--space-3) var(--space-6); background: var(--terminal); color: var(--on-terminal); border: var(--stroke-outline) solid var(--key-edge); border-radius: var(--radius-key); box-shadow: var(--key-depth); font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 22px; opacity: 0; visibility: hidden; transition: opacity 160ms ease-out, transform 160ms ease-out, visibility 0s linear 160ms; }
.vt-toast--show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

/* 17. 404 ------------------------------------------------------------- */
.vt-lost { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 128px var(--space-16); }
.vt-lost__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; width: 100%; }
.vt-lost__code { display: flex; gap: var(--space-2); }
.vt-lost__art { width: min(100%, 320px); }
.vt-lost__title { max-width: 20ch; }

/* 18. Motion ---------------------------------------------------------- */
@keyframes vt-step { 0% { transform: translateX(-4px); } 100% { transform: translateX(0); } }
@keyframes vt-tug { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }
@keyframes vt-tug-again { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }
.vt-tug { animation: vt-tug 0.9s ease-in-out 2; }
.vt-tug--again { animation: vt-tug-again 0.9s ease-in-out 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .vt-term[data-reveal] .vt-term__body > * { opacity: 1; }
}

/* 19. Tablet and phone ------------------------------------------------ */
/* Below 1120px the nav links wrap under the wordmark, so the first screen needs the taller top padding. */
@media (max-width: 1120px) {
  .vt-nav__links { order: 3; width: 100%; }
  .vt-fold { padding-top: 184px; }
}
@media (max-width: 900px) {
  .vt-split, .vt-board, .vt-foot, .vt-3 { grid-template-columns: minmax(0, 1fr); }
  .vt-board { gap: var(--space-6); }
  .vt-milestones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vt-fold__title { font-size: 48px; line-height: 54px; }
}
@media (max-width: 600px) {
  :root { --gutter: var(--space-4); }
  body { font-size: 17px; line-height: 27px; }
  .vt-section { padding-block: var(--space-16); }
  .vt-section--intro { padding-block: var(--space-12) var(--space-16); }
  .vt-h1, .vt-fold__title { font-size: 36px; line-height: 40px; }
  .vt-h2 { font-size: 28px; line-height: 34px; }
  .vt-lead { font-size: 18px; line-height: 28px; }
  .vt-fold { padding-block: 184px 96px; }
  .vt-fold__art { width: clamp(240px, calc((100svh - 420px) * 2), 100%); }
  .vt-fold__dot--orange { width: 24px; height: 24px; }
  .vt-fold__dot--shell { width: 10px; height: 10px; }
  .vt-2 { grid-template-columns: minmax(0, 1fr); }
  .vt-half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt-nav { padding-block: var(--space-3); gap: var(--space-2) var(--space-4); }
  .vt-nav__links { gap: 0 10px; font-size: 13px; }
  .vt-prompt, .vt-prompt--compact { padding-right: var(--space-4); padding-bottom: 72px; }
  .vt-copy { top: auto; bottom: var(--space-4); }
  .vt-prompt__leaf, .vt-prompt--compact .vt-prompt__leaf { top: auto; bottom: var(--space-4); right: 76px; }
  .vt-term { font-size: 13px; line-height: 20px; }
  .vt-term__body { padding: var(--space-4); }
  .vt-term__diff { margin-left: 0; }
  .vt-notice { padding: var(--space-4); }
  .vt-faq__item { padding-inline: var(--space-4); }
  .vt-faq__item summary { font-size: 17px; line-height: 24px; }
  .vt-quote { padding: var(--space-4); }
  .vt-lost { padding-top: 112px; }
  .vt-key--big { min-width: 56px; min-height: 56px; font-size: 22px; }
}
