/* ============================================================
   WEAVER — blueprint edition
   Pixel display type, acid-green grid, terminal windows.
   The orange gradient stays the brand accent.
   ============================================================ */

:root {
  color-scheme: dark;

  --bg: #070907;
  --panel: #0b1009;
  --panel-2: #10160d;
  --ink: #050705;
  --paper: #c9ff5e;
  --paper-soft: #a8e63d;
  --line: rgba(201, 255, 94, 0.16);
  --line-strong: rgba(201, 255, 94, 0.34);
  --text: #edf3e4;
  --muted: #9aa98d;
  --faint: #8a9b7f;

  --orange-1: #f5b73f;
  --orange-2: #ff7a18;
  --orange-3: #ff4d00;
  --grad: linear-gradient(115deg, var(--orange-1), var(--orange-2) 52%, var(--orange-3));

  --red: #ff5f56;
  --amber: #ffbd2e;
  --green: #27c93f;

  --pixel: "Silkscreen", "Courier New", monospace;
  --mono: "Space Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --code: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--paper); color: var(--ink); }

:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* ---------- atmosphere ---------- */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(201, 255, 94, 0.12), transparent 60%),
    radial-gradient(700px 420px at 8% 18%, rgba(245, 183, 63, 0.07), transparent 55%),
    #070907;
}

.grid-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 255, 94, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 255, 94, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.8) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.8) 55%, transparent 100%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.12;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.55) 0,
    rgba(0, 0, 0, 0.55) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* ---------- type ---------- */

.pixel {
  font-family: var(--pixel);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.gradient {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pulse {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 12px var(--paper);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

h2.pixel {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 64px);
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.copy {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.copy strong { color: var(--text); font-weight: 700; }
.copy code { color: var(--paper); font-family: var(--code); font-size: 0.92em; }
.fine { margin: 16px 0 0; color: var(--faint); font-size: 12px; line-height: 1.7; }
.fine a { color: var(--paper); text-decoration: underline; text-underline-offset: 2px; }
.fine code { color: var(--paper); font-family: var(--code); font-size: 0.95em; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(201, 255, 94, 0.03);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--paper);
  background: rgba(201, 255, 94, 0.07);
}

.btn-orange {
  border-color: transparent;
  background: var(--grad);
  color: #160c02;
  box-shadow: 0 4px 24px rgba(255, 122, 24, 0.28);
}

.btn-orange:hover {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 8px 34px rgba(255, 122, 24, 0.42);
}

.btn-sm { padding: 9px 13px; border-radius: 8px; font-size: 9.5px; }

.btn-ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover { background: #111a0c; border-color: #111a0c; }

.btn-ink-outline {
  border-color: rgba(5, 7, 5, 0.45);
  background: transparent;
  color: var(--ink);
}

.btn-ink-outline:hover { background: rgba(5, 7, 5, 0.08); border-color: var(--ink); }

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 7, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 6px;
  background: var(--grad);
  color: #160c02;
  font-family: var(--pixel);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(255, 122, 24, 0.28);
}

.brand-copy { display: flex; flex-direction: column; gap: 1px; }

.brand-name {
  font-family: var(--pixel);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-sub {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--paper); }

.head-actions { display: flex; align-items: center; gap: 9px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) clamp(56px, 8vw, 96px);
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-ticker span:nth-child(even) { color: var(--faint); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-top: clamp(48px, 7vw, 84px);
}

.hero-copy { max-width: 680px; }

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 12vw, 148px);
  letter-spacing: -0.035em;
  line-height: 0.82;
}

.hero-sub {
  margin: 12px 0 0;
  font-size: clamp(22px, 3.6vw, 45px);
  line-height: 1;
}

.lede {
  max-width: 56ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.72;
}

.lede strong { color: var(--text); font-weight: 700; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-meta {
  margin: 22px 0 0;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta span { color: rgba(201, 255, 94, 0.35); margin: 0 6px; }

.hero-visual { position: relative; }

.pixel-blocks {
  position: absolute;
  right: -22px;
  bottom: -24px;
  z-index: -1;
  width: 180px;
  height: 130px;
  background-image: repeating-conic-gradient(var(--paper) 0% 25%, transparent 0% 50%);
  background-size: 24px 24px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 78%);
  mask-image: linear-gradient(135deg, #000, transparent 78%);
}

/* ---------- terminal ---------- */

.terminal {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #050805;
  box-shadow: 0 0 50px rgba(201, 255, 94, 0.07), 0 26px 60px rgba(0, 0, 0, 0.55);
  font-family: var(--code);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(201, 255, 94, 0.025);
}

.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.red { background: var(--red); }
.dot.amber { background: var(--amber); }
.dot.green { background: var(--green); }

.term-title {
  margin-left: 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terminal pre {
  margin: 0;
  padding: 20px 20px 16px;
  overflow-x: auto;
  color: #d8e4cc;
  font-family: var(--code);
  font-size: 11.5px;
  line-height: 1.78;
  white-space: pre-wrap;
}

.terminal .cmd { color: var(--paper); }
.terminal .ok { color: var(--green); }
.terminal .warn { color: var(--orange-1); }
.terminal .dim { color: var(--faint); }
.terminal .accent { color: var(--orange-2); }

.term-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.term-foot .ok { color: var(--green); }

/* ---------- TUI replay ---------- */

.tui-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #050805;
  box-shadow: 0 0 60px rgba(201, 255, 94, 0.06), 0 30px 80px rgba(0, 0, 0, 0.5);
}

.tui-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(201, 255, 94, 0.025);
}

.tui-badge {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tui-screen {
  overflow-x: auto;
  padding: 12px 0;
  background: #050805;
}

.tui-pre {
  margin: 0;
  padding: 0 14px;
  min-width: 640px;
  color: #d8e4cc;
  font-family: var(--code);
  font-size: 9.5px;
  line-height: 1.3;
  white-space: pre;
}

.tui-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.tui-hint { color: var(--faint); font-size: 9.5px; }
.tui-hint code { color: var(--paper); font-family: var(--code); }

.tui-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
}

.tui-legend b {
  margin-right: 6px;
  color: var(--orange-2);
  font-family: var(--pixel);
  font-size: 9px;
}

/* ---------- live interactive TUI ---------- */

.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;
}

.tui-live-body {
  position: relative;
  display: flex;
  flex-direction: column;
  height: min(560px, 68vh);
  min-height: 420px;
}

.tui-transcript {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  color: #d8e4cc;
  font-family: var(--code);
  font-size: 11px;
  line-height: 1.68;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}

.tui-line {
  margin: 0 0 2px;
  white-space: pre-wrap;
  word-break: break-word;
}

.tui-line.user { color: #63c7d6; }
.tui-line.heading { color: var(--orange-1); font-weight: 700; }
.tui-line.weaver { color: #d8e4cc; }
.tui-line.tool { color: var(--muted); }
.tui-line.ok { color: #5fbf7f; }
.tui-line.fail { color: #e05a5a; }
.tui-line.warn { color: var(--orange-1); }
.tui-line.dim { color: var(--faint); }
.tui-line.accent { color: #61afef; }
.tui-line.notice { color: var(--paper); }
.tui-line .paper { color: var(--paper); }
.tui-line .tui-brand { font-family: var(--pixel); color: var(--paper); letter-spacing: 0.04em; }
.tui-line .tui-prompt-inline { color: #63c7d6; font-weight: 700; }

.tui-block {
  margin: 7px 0 9px;
  padding: 10px 12px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #070c06;
  color: #c9d7bd;
  font-family: var(--code);
  font-size: 10.5px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.tui-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #050805;
}

.tui-prompt {
  flex: none;
  color: var(--paper);
  font-family: var(--code);
  font-size: 12px;
  font-weight: 500;
}

#tui-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--code);
  font-size: 12px;
  caret-color: var(--paper);
}

#tui-input::placeholder { color: var(--faint); }

.tui-input-hint {
  flex: none;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tui-statusbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 6px 14px 9px;
  border-top: 1px solid rgba(201, 255, 94, 0.06);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.tui-statusbar .busy { color: var(--orange-1); }

.tui-palette {
  position: absolute;
  right: 14px;
  bottom: 72px;
  left: 14px;
  z-index: 10;
  max-height: 230px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0a1008;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.tui-palette[hidden] { display: none; }

.tui-palette button {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  text-align: left;
  cursor: pointer;
}

.tui-palette button b { color: var(--paper); font-weight: 700; }
.tui-palette button span { color: var(--faint); }
.tui-palette button.active,
.tui-palette button:hover { background: rgba(201, 255, 94, 0.08); }
.tui-palette button.active span,
.tui-palette button:hover span { color: var(--muted); }

.tui-live .tui-controls { flex-wrap: wrap; }

.tui-chip {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgba(201, 255, 94, 0.03);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tui-chip:hover {
  border-color: var(--paper);
  background: rgba(201, 255, 94, 0.07);
  color: var(--paper);
}

.tui-demo-note { margin-top: 12px; }

/* ---------- acid open-source band ---------- */

.acid {
  position: relative;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.acid::before,
.acid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  pointer-events: none;
  background-image: repeating-conic-gradient(var(--ink) 0% 25%, transparent 0% 50%);
  background-size: 12px 12px;
  opacity: 0.9;
}

.acid::before { top: -1px; }
.acid::after { bottom: -1px; }

.acid-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 76px) clamp(20px, 4vw, 40px);
}

.acid-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.acid .kicker { color: rgba(5, 7, 5, 0.68); }

.acid h2 {
  margin: 0;
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 0.88;
}

.acid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(5, 7, 5, 0.28);
  background: rgba(5, 7, 5, 0.28);
}

.acid-grid > div { background: var(--paper); padding: 22px; }

.acid-num {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.65;
}

.acid h3 {
  margin: 10px 0 7px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.acid p {
  margin: 0;
  color: rgba(5, 7, 5, 0.76);
  font-size: 12.5px;
  line-height: 1.65;
}

.acid-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }

/* ---------- sections ---------- */

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 40px);
}

.section-head { max-width: 880px; margin-bottom: clamp(32px, 4vw, 48px); }

/* ---------- capabilities ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cap {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(201, 255, 94, 0.035), rgba(255, 255, 255, 0.008));
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.cap::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 5px;
  height: 5px;
  background: var(--paper);
  opacity: 0.45;
}

.cap:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 0 30px rgba(201, 255, 94, 0.06);
}

.cap-num {
  color: var(--orange-2);
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.cap h3 {
  margin: 14px 0 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cap p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.cap p code { color: var(--paper); font-family: var(--code); font-size: 0.92em; }

.also {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.also span {
  color: var(--orange-2);
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.also p {
  margin: 0;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.6;
}

.core-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.core-strip > div {
  padding: 18px 20px;
  background: var(--panel);
}

.core-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange-2);
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.core-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- proof ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

.receipt {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #050805;
  box-shadow: 0 0 50px rgba(201, 255, 94, 0.05);
}

.receipt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.badge {
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--code);
  font-size: 11.5px;
}

th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

td {
  padding: 10px;
  border-bottom: 1px solid rgba(201, 255, 94, 0.07);
  color: var(--muted);
}

tr:last-child td { border-bottom: 0; }
td.ok { color: var(--paper); }
td.warn { color: var(--orange-1); }
td.no { color: var(--faint); }

.receipt .fine { margin-top: 14px; }

.proof-points { display: grid; gap: 12px; }

.proof-point {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(201, 255, 94, 0.025);
}

.proof-point h3 {
  margin: 0 0 7px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proof-point p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.proof-point strong { color: var(--paper); font-weight: 700; }

.pull {
  margin: 0;
  padding: 20px;
  border-left: 3px solid var(--orange-2);
  background: rgba(245, 183, 63, 0.05);
  color: var(--text);
  font-family: var(--pixel);
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.5;
}

.pull span { color: var(--orange-1); }

/* ---------- comparison ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

table.compare { min-width: 920px; }

table.compare th,
table.compare td { padding: 12px 14px; }

table.compare thead th {
  border-bottom: 1px solid var(--line-strong);
  color: var(--faint);
  font-size: 8.5px;
}

table.compare th.us,
table.compare td.us {
  background: rgba(245, 183, 63, 0.07);
  color: var(--orange-1);
}

table.compare th.us { border-bottom-color: rgba(245, 183, 63, 0.35); }

table.compare td.us.yes { color: var(--orange-1); font-weight: 700; }

table.compare td.yes { color: var(--paper); }
table.compare td.no { color: var(--faint); }
table.compare td.partial { color: var(--orange-1); }

table.compare tbody tr:hover td { background: rgba(201, 255, 94, 0.03); }
table.compare tbody tr:hover td.us { background: rgba(245, 183, 63, 0.1); }

/* ---------- download ---------- */

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(26px, 4vw, 48px);
  padding: clamp(28px, 4.5vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(rgba(201, 255, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 255, 94, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(245, 183, 63, 0.08), rgba(201, 255, 94, 0.03) 55%, rgba(255, 255, 255, 0.01));
  background-size: 28px 28px, 28px 28px, auto;
}

.download-panel h2 { font-size: clamp(30px, 4.3vw, 50px); }

.download-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgba(201, 255, 94, 0.04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag.paper { color: var(--paper); border-color: rgba(201, 255, 94, 0.35); }
.tag.orange { color: var(--orange-1); border-color: rgba(245, 183, 63, 0.35); }

.download-install .code {
  margin: 0;
  max-width: none;
  font-size: 10.5px;
  white-space: pre-wrap;
  word-break: break-all;
}

.download-install .fine { margin-top: 12px; }

.code {
  max-width: 660px;
  margin: 24px 0 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #050805;
  color: #d8e4cc;
  font-family: var(--code);
  font-size: 11.5px;
  line-height: 1.85;
  white-space: pre;
  box-shadow: inset 0 0 40px rgba(201, 255, 94, 0.025);
}

.download-install .code { border-color: var(--line); }
.download-install .code.small { margin-top: 12px; font-size: 10.5px; }

/* ---------- source / quickstart ---------- */

.source-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201, 255, 94, 0.035), rgba(255, 255, 255, 0.008));
}

.source-panel .code {
  margin: 0;
  max-width: none;
  font-size: 11px;
  white-space: pre-wrap;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 68px) clamp(20px, 4vw, 40px) 28px;
}

.footer-brand .brand-name { display: block; margin-bottom: 12px; font-size: 20px; }
.footer-brand p { max-width: 36ch; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.footer-brand .footer-loc { margin-top: 16px; color: var(--faint); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }

.footer-col .footer-heading {
  margin: 0 0 14px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 40px) 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10.5px;
}

.footer-bottom .mono { color: rgba(201, 255, 94, 0.7); letter-spacing: 0.08em; }

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .nav { gap: 16px; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 720px; }
  .acid-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; }
  .source-panel { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .brand-sub { display: none; }
  .head-actions .btn-ghost { display: none; }
  .hero h1 { font-size: clamp(52px, 17vw, 92px); }
  .acid-grid,
  .cap-grid { grid-template-columns: 1fr; }
  .core-strip { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .terminal pre { font-size: 10px; }
  .code { font-size: 10.5px; }
  .download-panel { padding: 24px; }
  .source-panel { padding: 24px; }
  .pixel-blocks { display: none; }
  .tui-live-body { height: 500px; min-height: 380px; }
  .tui-transcript { font-size: 10px; padding: 12px; }
  #tui-input { font-size: 16px; }
  .tui-statusbar { font-size: 8px; }
  .tui-palette { bottom: 76px; }
}

@media (max-width: 430px) {
  .brand-copy { display: none; }
  .actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
