/* Active Circle marketing site. Native CSS, dark-locked, single green accent.
   Radius lock: cards 16px, buttons pill. Font: system stack (no web-font fetch). */

:root {
  --bg: #0E0F12;
  --surface: #16181D;
  --surface-2: #1C1F26;
  --border: #262A31;
  --text: #F4F5F7;
  --muted: #9AA0AA;
  --accent: #22C55E;
  --accent-ink: #06140B;

  /* Activity tints, used only inside the Activities bento. */
  --run: 34, 197, 94;
  --hyrox: 249, 115, 22;
  --climb: 168, 85, 247;
  --badminton: 59, 130, 246;

  --r-card: 16px;
  --r-pill: 999px;
  --maxw: 1080px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 650; font-size: 15px; border: none; cursor: pointer;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease);
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* App-store badges (app not live yet -> labeled "Coming soon"). */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 12px; cursor: default;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: 12px 18px; border-radius: 14px;
}
.badge .glyph { width: 22px; height: 22px; flex: none; color: var(--text); }
.badge .label { line-height: 1.2; }
.badge .label b { font-weight: 600; font-size: 15px; }
.badge .label small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.02em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 15, 18, 0.78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; }
.brand .mark { width: auto; height: 28px; flex: none; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--text); }
@media (max-width: 740px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero (asymmetric split) ---------- */
.hero { padding: 72px 0 48px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px); line-height: 1.04;
  letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 800;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin: 0 0 30px; max-width: 30ch; }
.hero .note { margin-top: 16px; color: var(--muted); font-size: 13px; }
.hero-visual {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 4 / 5;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(34, 197, 94, 0.22), rgba(14, 15, 18, 0.86) 72%);
}
@media (max-width: 860px) {
  .hero { padding: 40px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { aspect-ratio: 16 / 11; order: -1; }
  .hero p.lede { max-width: none; }
}

/* ---------- Generic section ---------- */
section { padding: 92px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 36ch; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(27px, 3.6vw, 38px); letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 750; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
@media (max-width: 860px) { section { padding: 64px 0; } }

/* ---------- How it works (stepper) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent);
}
.step { position: relative; }
.step .n {
  width: 46px; height: 46px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: var(--accent); margin-bottom: 20px;
  position: relative; z-index: 1;
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; align-items: start; }
  .step .n { margin-bottom: 0; }
  .step .body { grid-column: 2; }
  .step h3 { margin-top: 6px; }
}

/* ---------- Activities (asymmetric bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  border-radius: var(--r-card); padding: 28px; min-height: 180px;
  border: 1px solid rgba(var(--c), 0.28);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(var(--c), 0.20), transparent 60%),
    var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.tile .dot { width: 11px; height: 11px; border-radius: 50%; background: rgb(var(--c)); margin-bottom: auto; }
.tile h3 { margin: 16px 0 6px; font-size: 22px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile.run { --c: var(--run); grid-column: span 4; }
.tile.hyrox { --c: var(--hyrox); grid-column: span 2; }
.tile.climb { --c: var(--climb); grid-column: span 2; }
.tile.badminton { --c: var(--badminton); grid-column: span 4; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.run, .tile.hyrox, .tile.climb, .tile.badminton { grid-column: auto; min-height: 150px; }
}

/* ---------- Safety (split content) ---------- */
.safety .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.safety .section-head { margin-bottom: 0; }
.trust { display: grid; gap: 22px; }
.trust .row { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
.trust .check {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: rgba(34, 197, 94, 0.13); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.trust .check svg { width: 17px; height: 17px; }
.trust b { display: block; font-size: 16px; margin-bottom: 3px; }
.trust span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .safety .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- FAQ (accordion) ---------- */
.faq-list { max-width: 760px; }
.faq-list details {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 2px 22px; margin-bottom: 12px; background: var(--surface);
}
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16px; padding: 18px 0;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 780; }
.cta p { color: var(--muted); font-size: 18px; margin: 0 0 30px; }
.cta .stores { justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 44px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
footer .brand { font-size: 16px; }
footer .links { display: flex; gap: 26px; flex-wrap: wrap; }
footer .links a { color: var(--muted); font-size: 14px; }
footer .links a:hover { color: var(--text); }
footer .copy { color: var(--muted); font-size: 13px; width: 100%; }

/* ---------- Doc pages (legal / support) ---------- */
.doc { padding: 60px 0 88px; }
.doc .wrap { max-width: 760px; }
.doc .back { display: inline-block; color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 28px; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 21px; margin: 38px 0 12px; letter-spacing: -0.01em; }
.doc h3 { font-size: 16px; margin: 24px 0 8px; color: var(--text); }
.doc p { color: #D7DAE0; margin: 0 0 14px; }
.doc ul { color: #D7DAE0; margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 7px 0; }

/* ---------- Scroll reveal (motivated: staged section entrance) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn:active { transition: none; }
}
