/* Strathlon — shared styles
   Brand gradient: azure #00AEFF → neon-red #F71216
   Dark, premium, athletic. Plain CSS, no build step. */

:root {
  --azure: #00AEFF;
  --neon-red: #F71216;
  --bg: #07090D;
  --bg-elev: #0E1218;
  --bg-card: #121823;
  --line: #1E2430;
  --txt: #E8EDF5;
  --txt-mut: #93A0B3;
  --txt-dim: #6B7688;
  --radius: 16px;
  --maxw: 1080px;
  --grad: linear-gradient(100deg, var(--azure) 0%, var(--neon-red) 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--azure); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Brand wordmark ─────────────────────────────── */
.wordmark {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Header / nav ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav .brand { font-size: 22px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--txt-mut);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--txt); text-decoration: none; }
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 0;
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 30px rgba(0, 174, 255, 0.25), 0 8px 30px rgba(247, 18, 22, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary[disabled], .btn-primary.is-soon {
  opacity: 0.92;
  cursor: default;
}
.btn-primary.is-soon:hover { transform: none; }
.btn-ghost {
  color: var(--txt);
  background: transparent;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--azure); color: #fff; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 92px 0 72px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  height: 620px;
  background:
    radial-gradient(600px 320px at 30% 20%, rgba(0, 174, 255, 0.18), transparent 70%),
    radial-gradient(600px 320px at 72% 30%, rgba(247, 18, 22, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero .wordmark { font-size: clamp(56px, 12vw, 120px); line-height: 1; }
.hero .tagline {
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 600;
  margin: 22px auto 6px;
  max-width: 18ch;
  color: var(--txt);
}
.hero .sub {
  color: var(--txt-mut);
  max-width: 56ch;
  margin: 14px auto 34px;
  font-size: 17px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-mut);
  background: var(--bg-elev);
  margin-bottom: 26px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
}

/* ── Sections ───────────────────────────────────── */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.section .lead {
  color: var(--txt-mut);
  font-size: 18px;
  max-width: 60ch;
  margin: 0 0 40px;
}
.section.center { text-align: center; }
.section.center .lead { margin-left: auto; margin-right: auto; }

/* ── Feature grid ───────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(0, 174, 255, 0.35); transform: translateY(-3px); }
.card .ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,174,255,0.16), rgba(247,18,22,0.16));
  font-size: 24px;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--txt-mut); font-size: 15px; }

/* ── CTA band ───────────────────────────────────── */
.cta-band {
  margin: 0 auto;
  max-width: var(--maxw);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 54px 32px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(0,174,255,0.12), transparent 70%),
    radial-gradient(600px 300px at 80% 100%, rgba(247,18,22,0.12), transparent 70%),
    var(--bg-elev);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; }
.cta-band p { color: var(--txt-mut); margin: 0 auto 26px; max-width: 52ch; }
.cta-note { font-size: 13px; color: var(--txt-dim); margin-top: 18px; }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  margin-top: 40px;
  color: var(--txt-mut);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--txt-mut); font-size: 15px; }
.footer-links a:hover { color: var(--txt); text-decoration: none; }
.site-footer .brand { font-size: 20px; }
.site-footer .fine { font-size: 13px; color: var(--txt-dim); margin-top: 14px; max-width: 60ch; }

/* ── Legal / long-form pages ────────────────────── */
.doc {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.doc h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.doc .updated { color: var(--txt-dim); font-size: 14px; margin-bottom: 36px; }
.doc h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 38px 0 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.doc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--txt-mut); }
.doc strong { color: var(--txt); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { word-break: break-word; }
.doc .callout {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--azure);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 15px;
}
.doc .callout strong { color: var(--azure); }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}
.doc th, .doc td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc th { color: var(--txt); font-weight: 700; }
.doc td { color: var(--txt-mut); }
.placeholder {
  background: rgba(247, 18, 22, 0.12);
  border: 1px dashed rgba(247, 18, 22, 0.5);
  border-radius: 5px;
  padding: 1px 6px;
  color: #ffb4b6;
  font-size: 0.92em;
}

/* ── FAQ ────────────────────────────────────────── */
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  margin: 12px 0;
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--txt);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--azure); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { color: var(--txt-mut); margin: 0 0 16px; }

.back-link { display: inline-block; margin-bottom: 8px; color: var(--txt-mut); font-size: 14px; }
