/* ============ Sideline Studio — the Spaikz house style ============ */
/* Same bones as spaikz.com and throughball.spaikz.com (fonts, grid/glow background, kicker pills, cards,
   reveal-on-scroll), in the Spaikz palette. Poster art keeps the app's gold team accent. */
:root {
  --bg: #0b0f1a;
  --bg-soft: #10162a;
  --panel: rgba(232, 238, 255, 0.04);
  --panel-brd: rgba(232, 238, 255, 0.10);
  --text: #eef2fb;
  --muted: #98a3bd;
  --brand: #22e3c3;
  --brand-2: #6ea8fe;
  --violet: #a06bff;
  --gold: #f5c542;
  --on-brand: #06131a;
  --grad: linear-gradient(115deg, #6ea8fe 0%, #a06bff 50%, #22e3c3 100%);
  --radius: 16px;
  --maxw: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, .brand-name { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(110,168,254,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(110,168,254,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -1; top: -20%; left: 50%; width: 900px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(circle at 30% 30%, rgba(110,168,254,.20), transparent 60%),
              radial-gradient(circle at 70% 40%, rgba(160,107,255,.16), transparent 55%),
              radial-gradient(circle at 50% 60%, rgba(34,227,195,.14), transparent 60%);
  filter: blur(30px); animation: float 16s var(--ease) infinite alternate;
}
@keyframes float { from { transform: translateX(-50%) translateY(0) scale(1); } to { transform: translateX(-45%) translateY(40px) scale(1.08); } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; max-width: var(--maxw); margin: 0 auto; padding: 16px 24px; transition: background .3s var(--ease); }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--panel-brd); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand-mark-sm { width: 24px; height: 24px; border-radius: 6px; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { color: var(--text) !important; border: 1px solid var(--panel-brd); background: var(--panel); padding: 8px 14px; border-radius: 999px; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--panel-brd); color: var(--text); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; place-items: center; justify-content: center; align-items: center; padding: 0; }
.nav-toggle span { width: 16px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: .98rem; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(160,107,255,.6); }
.btn-ghost { border: 1px solid var(--panel-brd); background: var(--panel); color: var(--text); }

/* ---------- hero ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 20px; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.03; margin: 0 0 20px; }
.lead { color: var(--muted); font-size: 1.13rem; max-width: 31rem; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--muted); font-size: .88rem; margin: 18px 0 0; }
.hero-visual { display: flex; justify-content: center; }

/* the phone + poster illustration (drawn, so no real photos) */
.phone { width: min(320px, 80vw); border-radius: 40px; background: #05070d; border: 1px solid var(--panel-brd); padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.02); display: flex; flex-direction: column; }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 10px; color: #cfd6e6; font-size: .72rem; font-weight: 600; }
.phone-top b { font-family: "Space Grotesk", sans-serif; font-size: .82rem; }
.poster { width: 100%; height: auto; display: block; border-radius: 18px; }
.phone-bar { margin-top: 16px; display: flex; gap: 6px; padding: 0 4px; }
.phone-bar span { flex: 1; text-align: center; font-size: .68rem; color: #8d97ad; padding: 7px 0; border-radius: 10px; background: rgba(255,255,255,.04); }
.phone-bar span.on { color: #fff; background: rgba(160,107,255,.28); }
.phone-share { margin: 10px 4px 2px; text-align: center; font-weight: 700; font-size: .85rem; padding: 11px; border-radius: 14px; background: var(--grad); color: #fff; }

/* ---------- strip ---------- */
.strip { max-width: var(--maxw); margin: 0 auto; padding: 26px 24px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; border-top: 1px solid var(--panel-brd); }
.strip p { color: var(--muted); font-size: .9rem; margin: 0; }
.strip-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.strip-tags span { font-size: .8rem; color: var(--muted); border: 1px solid var(--panel-brd); background: var(--panel); padding: 4px 11px; border-radius: 999px; }

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 92px 24px; }
.section-alt { background: var(--bg-soft); }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 92px 24px; }
.section-head { max-width: 660px; margin-bottom: 46px; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); padding: 6px 12px; border: 1px solid var(--panel-brd); border-radius: 999px; background: var(--panel); margin-bottom: 18px; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin: 0 0 14px; line-height: 1.12; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius); padding: 26px 26px 26px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius); padding: 26px; transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--violet) 45%, transparent); }
.card-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--panel-brd); font-size: 1.1rem; margin-bottom: 16px; }
.card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

.prices { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 640px; }
.price { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-brd); position: relative; }
.price b { display: block; font-family: "Space Grotesk", "Inter", sans-serif; font-size: 2rem; }
.price span { color: var(--muted); font-size: .92rem; }
.price.best { border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.price .tag { position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-brand); background: var(--brand); padding: 3px 8px; border-radius: 999px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; max-width: 640px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li strong { color: var(--text); font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.fineprint { color: var(--muted); font-size: .85rem; margin-top: 18px; max-width: 640px; }
.fineprint a { color: var(--brand); }

/* ---------- get it ---------- */
.contact-card { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 22px; padding: 52px 40px; text-align: center; }
.contact-card p { color: var(--muted); max-width: 34rem; margin: 0 auto 26px; }
.contact-alt { font-size: .9rem; margin-top: 22px !important; }
.contact-alt a { color: var(--brand); }
.stores { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin: 4px 0 6px; }
.store-soon { display: inline-flex; align-items: center; height: 46px; padding: 0 16px; border-radius: 12px; border: 1px dashed var(--panel-brd); color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--panel-brd); margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-tag { color: var(--muted); font-size: .92rem; margin: 0; margin-right: auto; }
.footer-tag a { color: var(--brand); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--text); }
.copyright { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 34px; color: var(--muted); font-size: .84rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bg-glow { animation: none; } }

/* ---------- legal + support pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 24px 60px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin: 0 0 30px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.doc p, .doc li { color: #c3cbdc; }
.doc a { color: var(--brand); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius); padding: 18px 22px; margin: 18px 0; }
.doc .box p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 14px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--panel-brd); vertical-align: top; color: #c3cbdc; }
.doc th { color: var(--text); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .phone { width: min(270px, 74vw); border-radius: 34px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--panel-brd); padding: 8px 24px 18px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-cta { text-align: center; margin-top: 8px; }
}
@media (min-width: 640px) and (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
