/* OMEGA STRIKE — omegastrike.app
   Tokens mirror the app's AppTheme (DESIGN.md): near-black surfaces, lime primary,
   cyan structural accent, SF Rounded Black italic display energy via system stacks.
   No webfonts (Apple SF cannot be self-hosted); ui-rounded renders literal SF Rounded
   on Apple devices — the core audience. Zero JS. */

:root {
  --bg: #0e0e0e;
  --surface: #1a1a1a;
  --surface-low: #131313;
  --surface-highest: #262626;
  --lime: #d1ff00;
  --lime-soft: #f4ffc8;
  --cyan: #00eefc;
  --text: #f5f5f5;
  --muted: #adaaaa;
  --outline: #484847;
  --radius-card: 10px;
  --radius-control: 8px;
  --font-display: ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is load-bearing: images carry explicit width/height attributes (for layout
   stability), so without it a grid-shrunk image keeps its attribute height and squishes. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible, .cta:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---- Top bar (all pages) ---- */
.topbar { padding: 18px 0; }
.topbar .wrap { display: flex; align-items: center; gap: 12px; }
.topbar img { width: 34px; height: 34px; border-radius: 8px; }
.topbar a.brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
  text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
.topbar a.brand:hover { text-decoration: none; color: var(--lime); }

/* ---- Type ---- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
}
h1 { font-style: italic; font-size: clamp(40px, 9vw, 76px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 4.5vw, 34px); margin-bottom: 18px; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.lead { color: var(--muted); font-size: clamp(17px, 2.4vw, 20px); max-width: 34em; }

/* ---- Hero ---- */
.hero { padding: 56px 0 40px; text-align: left; }
.hero .app-icon { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 28px; }
.hero h1 .accent { color: var(--lime); }
.hero .lead { margin: 22px 0 34px; }

/* ---- CTA (single-CTA strategy: every .cta points at the same App Store URL) ---- */
.cta {
  display: inline-block;
  background: var(--lime);
  color: #000;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: var(--radius-control);
  text-decoration: none;
}
.cta:hover, .cta:focus-visible { text-decoration: none; background: var(--lime-soft); }
.cta-note { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ---- Sections ---- */
section { padding: 48px 0; }
section.alt { background: var(--surface-low); }

/* ---- Feature grid ---- */
.features { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--surface);
  border: 1px solid var(--surface-highest);
  border-radius: var(--radius-card);
  padding: 22px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
}
.feature p { color: var(--muted); font-size: 15px; }

/* ---- Screenshot strip ---- */
.shots { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.shots img { border-radius: 18px; border: 1px solid var(--surface-highest); }

/* ---- Watch callout ---- */
.watch { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 800px) { .watch { grid-template-columns: 1fr 1fr; } }
.watch img { max-width: 320px; margin: 0 auto; }
.watch-shots { display: flex; gap: 16px; justify-content: center; align-items: center; }
.watch-shots img {
  max-width: min(170px, 42%);
  border-radius: 22px;
  border: 1px solid var(--surface-highest);
  background: #000;
}

/* ---- Premium capsules (text-only v1: names, no prices) ---- */
.plans { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  padding: 20px 22px;
}
.plan strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--text);
}
.plan span { color: var(--muted); font-size: 14px; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--surface-highest); padding: 30px 0 44px; margin-top: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
footer a { color: var(--muted); font-size: 14px; }
footer .copyright { color: var(--outline); font-size: 13px; margin-left: auto; }

/* ---- Light shell (privacy / support / terms / 404): same skin, quiet volume ---- */
.page main { max-width: 68ch; margin: 0 auto; padding: 24px 20px 72px; }
.page h1 { font-size: clamp(26px, 5vw, 34px); font-style: normal; margin-bottom: 6px; }
.page .updated { color: var(--outline); font-size: 13px; margin-bottom: 30px; }
.page h2 { font-size: 16px; letter-spacing: 0.06em; margin: 30px 0 10px; color: var(--lime); }
.page p, .page li { color: var(--muted); font-size: 15px; }
.page ul { padding-left: 20px; margin: 8px 0; }
.page main a { color: var(--cyan); }
