:root { --lime: #ccff00; --ink: #0b0b0b; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0a0a0a;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.hero-stage {
  position: relative;
  background: var(--lime);
  color: var(--ink);
  min-height: 100vh;
  overflow: hidden;
}
#wire { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-stage .wrap-inner { position: relative; z-index: 1; }
.after {
  background: #0b0d10;
  color: #d7e0ea;
  font-family: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  background-image:
    linear-gradient(rgba(204,255,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,255,0,.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); background: #000; }
.pills { display: flex; gap: 4px; background: rgba(11,11,11,.08); border-radius: 999px; padding: 6px 8px; font-size: 14px; font-weight: 600; }
.pills a { padding: 8px 14px; border-radius: 999px; }
.pills a:hover { background: var(--ink); color: var(--lime); }
.launch { background: var(--ink); color: var(--lime); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.ticker { overflow: hidden; border-top: 1px solid rgba(11,11,11,.12); border-bottom: 1px solid rgba(11,11,11,.12); padding: 10px 0; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .08em; }
.ticker span { display: inline-block; white-space: nowrap; animation: marq 40s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 48px 48px 24px; align-items: center; min-height: calc(100vh - 90px); }
.hero h1 { font-size: clamp(52px, 8vw, 92px); line-height: .92; letter-spacing: -.04em; font-weight: 900; }
.hero p { margin-top: 22px; max-width: 520px; font-size: 18px; font-weight: 500; }
.cta { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.cta .ghost { font-weight: 700; }
.stats { display: flex; gap: 28px; margin-top: 22px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.stats b { display: block; font-size: 16px; letter-spacing: 0; margin-top: 4px; }

.term { background: #111; color: #e8e8e8; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #1a1a1a; color: #8a8a8a; font-size: 11px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.term-tabs { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid #222; background: #141414; }
.term-tabs button { background: transparent; border: 0; color: #888; padding: 7px 12px; border-radius: 8px; font: inherit; cursor: pointer; }
.term-tabs button.on { background: #222; color: var(--lime); }
.term pre { padding: 16px 18px 22px; line-height: 1.7; min-height: 210px; overflow: auto; }
.g { color: #ccff00; } .c { color: #6a6a6a; } .ok { color: #28c840; } .s { color: #e6ff8a; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 40px 48px 48px; border-top: 1px solid #1a2220; }
.features > div { background: #0e1214; border: 1px solid #1c2a22; padding: 18px; }
.features .n { font-size: 11px; color: var(--lime); margin-bottom: 8px; letter-spacing: .08em; }
.features h3 { font-size: 15px; margin-bottom: 6px; font-weight: 500; }
.features p { font-size: 12px; color: #7d8b86; line-height: 1.55; }

.block { padding: 72px 48px; border-top: 1px solid #1a2220; }
.block h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; margin-bottom: 12px; font-weight: 600; color: #e8f5ea; }
.block .lead { max-width: 640px; font-size: 14px; color: #7d8b86; margin-bottom: 24px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.card { background: #0e1214; border: 1px solid #1c2a22; padding: 18px; }
.card h3 { margin-bottom: 8px; font-weight: 500; color: var(--lime); font-size: 13px; }
.card p { color: #7d8b86; font-size: 13px; }
.file { border: 1px solid #1c2a22; background: #0c1012; overflow: hidden; }
.file-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: #10161a; border-bottom: 1px solid #1c2a22;
  color: #6e7c76; font-size: 11px; letter-spacing: .04em;
}
.file-bar .dot { width: 8px; height: 8px; }
.code-lite {
  background: transparent; color: #c8d5ce; border: 0; border-radius: 0;
  padding: 14px 16px 16px; font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px; line-height: 1.7; overflow: auto;
  tab-size: 2; white-space: pre;
}
.faq details { border-bottom: 1px solid #1c2a22; padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: #c8d5ce; }
.faq p { margin-top: 8px; color: #7d8b86; }
footer { padding: 24px 48px 40px; display: flex; justify-content: space-between; font-size: 12px; color: #5c6a64; border-top: 1px solid #1a2220; background: #080a0b; font-family: "IBM Plex Mono", monospace; }

@media (max-width: 900px) {
  .hero, .features, .grid2 { grid-template-columns: 1fr; }
  .pills { display: none; }
  .hero, .block, .features, footer { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: auto; }
  .grid3 { grid-template-columns: 1fr; }
}
