:root {
  --bg: #05060f;
  --bg2: #0b0e22;
  --panel: #10142e;
  --line: #262c5a;
  --text: #e6e9ff;
  --muted: #9aa2d4;
  --gold: #ffd23c;
  --cyan: #6ae0ff;
  --violet: #b45cff;
  --hot: #ff7a2a;
  --px: 4px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Space Grotesk", system-ui, sans-serif; }
img { max-width: 100%; }
a { color: var(--cyan); }
.px { font-family: "Pixelify Sans", "Space Grotesk", monospace; letter-spacing: .04em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold); color: #000; padding: 8px 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 10px 20px;
  background: rgba(5, 6, 15, .82); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { image-rendering: pixelated; }
.top nav { display: flex; gap: 18px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--text); }
#lang { background: var(--panel); color: var(--text); border: 2px solid var(--line); padding: 4px 6px; font: inherit; font-size: 16px; }

/* hero */
.hero { position: relative; min-height: 92vh; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, #2a1450 0%, transparent 60%), var(--bg); }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; text-align: center; padding: 96px 20px 60px; max-width: 900px; }
.tag { display: inline-block; color: transparent; padding: 4px 12px; font-size: 14px; user-select: none; }
h1 { margin: 18px 0 8px; font-size: clamp(48px, 10vw, 112px); line-height: .95; display: flex; flex-direction: column; }
h1 .px { color: #fff; text-shadow: var(--px) var(--px) 0 #2a1f6a, calc(var(--px) * 2) calc(var(--px) * 2) 0 #120c30; }
h1 .gold { color: var(--gold); }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: #cfd4ff; max-width: 720px; margin: 18px auto 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; font-weight: 700; text-decoration: none; color: var(--text);
  background: var(--panel); border: 2px solid var(--line); box-shadow: var(--px) var(--px) 0 #000; transition: transform .08s, box-shadow .08s; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--px) + 2px) calc(var(--px) + 2px) 0 #000; }
.btn:active { transform: translate(var(--px), var(--px)); box-shadow: none; }
.btn.primary { background: var(--hot); border-color: #ffb050; color: #1a0800; }
.btn.ghost { background: transparent; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 0; margin: 36px 0 0; }
.stats li { min-width: 130px; padding: 12px 16px; background: rgba(16, 20, 46, .78); border: 2px solid var(--line); }
.stats b { display: block; font-family: "Pixelify Sans", monospace; font-size: 30px; color: var(--gold); }
.stats span { color: var(--muted); font-size: 14px; }

/* how */
.how { padding: 64px 0; background: var(--bg2); border-block: 2px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 22px; background: var(--panel); border: 2px solid var(--line); }
.step i { display: inline-grid; place-items: center; width: 40px; height: 40px; font: 700 22px "Pixelify Sans", monospace; font-style: normal;
  color: #000; background: var(--gold); box-shadow: var(--px) var(--px) 0 #6a4a00; }
.step h3 { margin: 14px 0 6px; }
.step p { margin: 0; color: var(--muted); }

/* sections */
section { padding: 80px 0; }
.h { font-size: clamp(30px, 5vw, 48px); margin: 0 0 6px; color: #fff; }
.h .px { text-shadow: 3px 3px 0 #2a1f6a; }
.sub { color: var(--muted); margin: 0 0 26px; }

/* arsenal */
.tools { display: flex; flex-direction: column; gap: 14px; }
#q { width: 100%; max-width: 440px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--panel); border: 2px solid var(--line); }
#q:focus { outline: 2px solid var(--cyan); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat { padding: 6px 12px; font: 600 14px "Space Grotesk", sans-serif; color: var(--muted); background: transparent; border: 2px solid var(--line); cursor: pointer; }
.cat[aria-selected="true"] { color: #000; background: var(--c, var(--gold)); border-color: var(--c, var(--gold)); }
.count { color: var(--muted); font-size: 14px; margin: 14px 0; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.card { display: flex; gap: 14px; padding: 14px; background: var(--panel); border: 2px solid var(--line); border-left: 6px solid var(--c, var(--line)); }
.card img { width: 64px; height: 64px; image-rendering: pixelated; flex: none; background: #000; }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.card .fam { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--c); }

/* gallery */
.gallery { background: var(--bg2); border-block: 2px solid var(--line); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.shots button { padding: 0; border: 2px solid var(--line); background: #000; cursor: zoom-in; aspect-ratio: 16 / 9; overflow: hidden; }
.shots img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.shots button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0, 0, 0, .9); padding: 20px; }
.lightbox img { max-height: 90vh; border: 2px solid var(--line); }
.lightbox button { position: absolute; top: 14px; right: 18px; font-size: 36px; color: #fff; background: none; border: 0; cursor: pointer; }

/* features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feats article { padding: 20px; border: 2px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg)); }
.feats h3 { margin: 0 0 8px; color: var(--gold); font-size: 18px; }
.feats p { margin: 0; color: var(--muted); font-size: 15px; }

/* versions */
.vt { width: 100%; max-width: 640px; border-collapse: collapse; margin: 0 0 26px; background: var(--panel); border: 2px solid var(--line); }
.vt th, .vt td { padding: 12px 14px; border: 2px solid var(--line); text-align: center; }
.vt tbody th { text-align: left; }
.vt small { color: var(--muted); font-weight: 400; }
.vt .ok { color: #5aff7a; font-weight: 700; }
.vt .no { color: #4a5080; }
.center { justify-content: flex-start; }

/* faq */
.faq details { max-width: 820px; margin: 0 0 10px; background: var(--panel); border: 2px solid var(--line); }
.faq summary { padding: 14px 16px; cursor: pointer; font-weight: 600; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--muted); }

.foot { padding: 34px 0; border-top: 2px solid var(--line); color: var(--muted); text-align: center; }
.foot .small { font-size: 13px; opacity: .7; }

@media (max-width: 900px) {
  .feats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top nav { display: none; }
  #lang { margin-left: auto; }
  .feats { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .stats li { min-width: 42%; }
  section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shots img { transition: none; }
}

/* what is it: the answer block AI answers quote */
.about { padding: 70px 0; }
.about-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.answer { font-size: 19px; color: #e6e9ff; }
.about p { color: var(--muted); }
.facts { margin: 0; padding: 18px; background: var(--panel); border: 2px solid var(--line); display: grid; gap: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.facts div:last-child { border: 0; padding: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 900px) { .about-in { grid-template-columns: 1fr; } }

/* the railgun in the hero */
.hero { cursor: crosshair; touch-action: manipulation; }
.hero a, .hero select { cursor: pointer; }
.hero-in { will-change: transform; }
.hint { margin: 18px 0 0; font: 600 13px "Pixelify Sans", monospace; letter-spacing: .08em; color: #ff8a5a; text-transform: uppercase; opacity: .85; }
