:root {
  --ink: #0b0d0c;
  --paper: #f2eee3;
  --acid: #d9ff43;
  --orange: #ff6b35;
  --line: rgba(242, 238, 227, .18);
  --muted: #aaa89f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: "IBM Plex Sans", "Segoe UI", sans-serif; }
a { color: inherit; }
.site-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.site-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(11,13,12,.9); backdrop-filter: blur(16px); }
.nav-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: Georgia, serif; font-size: 22px; font-weight: 700; text-decoration: none; }
.brand-mark { color: var(--acid); }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { text-decoration: none; color: #d4d1c8; }
.nav-links a:hover { color: var(--acid); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--paper); text-decoration: none; font-weight: 700; cursor: pointer; background: transparent; color: var(--paper); }
.button-acid { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button-dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.eyebrow { color: var(--acid); font: 700 12px/1.2 monospace; letter-spacing: .14em; text-transform: uppercase; }
.display { margin: 16px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 8vw, 108px); line-height: .91; letter-spacing: -.055em; font-weight: 500; }
.display em { color: var(--acid); font-weight: 500; }
.hero { position: relative; overflow: hidden; padding: 92px 0 72px; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -170px; top: 20px; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 80px rgba(217,255,67,.025), 0 0 0 160px rgba(217,255,67,.018); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; }
.hero-copy { max-width: 700px; color: #c3c0b7; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.signal-card { position: relative; z-index: 1; border: 1px solid var(--line); background: #111411; padding: 18px; transform: rotate(2deg); }
.signal-card video { width: 100%; height: auto; aspect-ratio: 376 / 128; object-fit: contain; background: #1b1e1b; display: block; }
.motion-strip { display: grid; gap: 10px; }
.motion-frame { position: relative; overflow: hidden; border: 1px solid rgba(242, 238, 227, .12); background: #070807; }
.motion-frame span { position: absolute; right: 7px; bottom: 6px; padding: 3px 5px; background: rgba(11, 13, 12, .78); color: var(--acid); font: 9px/1 monospace; letter-spacing: .08em; }
.signal-meta { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); font: 12px monospace; }
.section { padding: 86px 0; }
.section-light { background: var(--paper); color: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-title { max-width: 760px; margin: 8px 0 0; font-family: Georgia, serif; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; }
.section-note { max-width: 360px; color: #77736b; line-height: 1.6; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { min-height: 260px; padding: 28px; background: var(--ink); text-decoration: none; transition: background .2s, transform .2s; }
.section-light .card { background: var(--paper); }
.card:hover { background: #171b16; transform: translateY(-4px); }
.section-light .card:hover { background: #e4dfd2; }
.card-index { color: var(--acid); font: 12px monospace; }
.section-light .card-index { color: #586c00; }
.card h3 { margin: 64px 0 12px; font: 400 27px/1.05 Georgia, serif; }
.card p { color: var(--muted); line-height: 1.55; }
.section-light .card p { color: #69665f; }
.template-tag { display: inline-block; margin-bottom: 18px; padding: 6px 9px; border: 1px solid currentColor; font: 11px monospace; text-transform: uppercase; }
.tool-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.panel { border: 1px solid var(--line); background: #101310; padding: 28px; }
.panel-light { background: var(--paper); color: var(--ink); border-color: rgba(11,13,12,.18); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font: 700 11px monospace; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #474a45; border-radius: 0; background: #171a17; color: var(--paper); padding: 13px 14px; font: inherit; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--acid); outline-offset: 1px; }
.result-box { min-height: 180px; padding: 20px; background: #050605; border-left: 4px solid var(--acid); color: #e4e0d7; white-space: pre-wrap; font: 14px/1.65 "IBM Plex Mono", Consolas, monospace; }
.tool-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.tool-tab { padding: 11px 14px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.tool-tab.active { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.status { margin-top: 12px; min-height: 20px; color: var(--acid); font-size: 13px; }
.provider { margin-top: 16px; padding: 18px; border: 1px solid var(--line); }
.provider h3 { margin: 0 0 8px; font: 25px Georgia, serif; }
.provider p { color: var(--muted); line-height: 1.5; }
.fact { display: inline-block; margin: 4px 5px 4px 0; padding: 5px 7px; background: rgba(217,255,67,.12); color: var(--acid); font: 11px monospace; }
.template-hero { padding: 78px 0 45px; border-bottom: 1px solid var(--line); }
.template-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; padding: 56px 0 90px; }
.prompt-block { padding: 24px; border-left: 4px solid var(--acid); background: #111411; white-space: pre-wrap; line-height: 1.7; }
.check-list { padding: 0; list-style: none; }
.check-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "+"; color: var(--acid); margin-right: 10px; }
.source-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner a { margin-left: 18px; }
@media (max-width: 800px) {
  .nav-inner { align-items: center; flex-wrap: wrap; padding: 14px 0; gap: 10px; }
  .brand { font-size: 18px; }
  .nav-links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a:not(.button) { display: none; }
  .nav-links .button { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .hero { padding-top: 62px; }
  .hero-grid, .tool-layout, .template-layout { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .section-head, .footer-inner { align-items: flex-start; flex-direction: column; }
  .display { font-size: clamp(48px, 15vw, 78px); }
}
@media (max-width: 350px) {
  .site-shell { width: min(100% - 24px, 1180px); }
  .brand { font-size: 16px; }
  .nav-links .button { padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
