/* ==========================================================================
   GymLeons — public marketing site
   No build step required. Served from public/frontend/css/site.css
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-2: #0b0a10;
  --surface: #121018;
  --surface-2: #1a1724;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5f7;
  --text-2: #b7bec8;
  --muted: #8a93a0;
  --accent: #6842D9;        /* brand purple */
  --accent-light: #9b82f2;  /* purple tint for text/icons on black */
  --accent-dark: #5532c0;
  --accent-ink: #ffffff;
  --accent-soft: rgba(104, 66, 217, 0.18);
  --hot: #9b82f2;
  --hot-soft: rgba(155, 130, 242, 0.14);
  --sky: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --container: 1200px;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.section { padding: 60px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 800px) { .section { padding: 72px 0; } .section--tight { padding: 56px 0; } }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: .95;
}
.h1 { font-size: clamp(48px, 7.4vw, 96px); }
.h2 { font-size: clamp(38px, 5vw, 64px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 640px; }
.muted { color: var(--muted); }
.text-accent { color: var(--accent-light); }
.text-hot { color: var(--hot); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .h2 { margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  font-family: inherit; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { width: 100%; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px; min-height: 58px;
  border-radius: 14px; background: #fff; color: #000;
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(104,66,217,.45); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; opacity: .7; }
.store-btn strong { display: block; font-size: 17px; line-height: 1.15; font-weight: 700; }
.store-btn--dark { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(0, 0, 0, 0.9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: .01em; }
.brand-mark { width: 38px; height: 38px; flex: none; border-radius: 10px; }
.brand span b { color: var(--accent-light); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.is-active { color: var(--text); background: rgba(255,255,255,.07); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.mobile-menu { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: 76px 0 0 0; z-index: 99;
    background: var(--bg); padding: 24px 16px 40px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu a.m-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 4px; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 30px; font-weight: 700; text-transform: uppercase;
  }
  .mobile-menu a.m-link.is-active { color: var(--accent-light); }
  .mobile-menu .store-buttons { margin-top: 28px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .nav-cta .btn--primary { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(104,66,217,0.2), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -300px; bottom: -400px; width: 800px; height: 800px;
  background: radial-gradient(closest-side, rgba(104,66,217,.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 40px; }
.hero-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line-strong); color: var(--text-2); background: rgba(255,255,255,.02);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 980px) {
  .hero { padding: 40px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 .outline { -webkit-text-stroke-width: 1.5px; }
}

/* ---------- Phone mockup ---------- */
.device-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; max-width: 82vw; aspect-ratio: 9 / 19;
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2a2f38, #101318);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.08);
  transform: rotate(-4deg);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 34px; overflow: hidden;
  background: #0d1014; padding: 46px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.phone-screen::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 20px; background: #000;
}
.ps-top { display: flex; justify-content: space-between; align-items: center; }
.ps-top small { color: var(--muted); font-size: 11px; display: block; }
.ps-top strong { font-size: 16px; }
.ps-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--hot)); }
.ps-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.ps-card--accent { background: var(--accent); color: var(--accent-ink); border: 0; }
.ps-card--accent small { color: rgba(255,255,255,.75); }
.ps-label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 2px; }
.ps-big { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ps-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 8px; }
.ps-bars span { flex: 1; border-radius: 4px; background: rgba(255,255,255,.25); }
.ps-bars span.on { background: var(--accent-ink); }
.ps-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 12px; border-top: 1px solid var(--line); }
.ps-list li:first-child { border-top: 0; }
.ps-dot { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; }
.ps-dot svg { width: 14px; height: 14px; }
.ps-list b { display: block; font-weight: 600; font-size: 12px; }
.ps-list small { color: var(--muted); font-size: 10.5px; }
.ps-tag { margin-left: auto; font-size: 10px; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-light); font-weight: 600; }

.float-card {
  position: absolute; z-index: 2;
  background: rgba(18,16,24,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.float-card .fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .fc-icon svg { width: 20px; height: 20px; }
.float-card--a { top: 44%; left: -10px; }
.float-card--b { bottom: 14%; right: 0; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }
@media (max-width: 520px) {
  .float-card--a { left: -4px; top: 40%; }
  .float-card--b { right: -4px; bottom: 6%; }
  .float-card { padding: 10px 12px; font-size: 12px; }
}

/* ---------- Marquee strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.strip-track { display: flex; gap: 48px; padding: 22px 0; width: max-content; animation: marquee 40s linear infinite; }
.strip-track span { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.strip-track span::after { content: "✦"; color: var(--accent-light); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card h3 { font-size: 20px; margin: 18px 0 10px; font-weight: 700; letter-spacing: -.01em; }
.card p { color: var(--text-2); font-size: 15px; margin: 0; }
.card .card-list { margin-top: 16px; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-light);
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--hot { background: var(--hot-soft); color: var(--hot); }
.icon-tile--sky { background: rgba(255,255,255,.08); color: var(--sky); }

.check-list li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--text-2); font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Bento feature grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .card { grid-column: span 2; }
.bento .card.wide { grid-column: span 3; }
.bento .card.feature-hero { grid-column: span 4; background: linear-gradient(135deg, #22164a, var(--surface) 60%); border-color: rgba(104,66,217,0.22); }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .card, .bento .card.wide, .bento .card.feature-hero { grid-column: span 1; } .bento .card.feature-hero { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .card.feature-hero { grid-column: span 1; } }

.mini-ui { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-ui div { background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mini-ui small { display: block; color: var(--muted); font-size: 12px; }
.mini-ui b { font-family: var(--font-display); font-size: 22px; }
@media (max-width: 480px) { .mini-ui { grid-template-columns: 1fr; } }

/* ---------- Role tabs ---------- */
.roles { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.role-tabs { display: flex; flex-direction: column; gap: 8px; }
.role-tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: transparent; color: var(--text-2); font: inherit; font-weight: 600; cursor: pointer;
  transition: all .2s ease;
}
.role-tab svg { width: 22px; height: 22px; flex: none; }
.role-tab:hover { color: var(--text); border-color: var(--line-strong); }
.role-tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.role-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.role-panel[hidden] { display: none; }
.role-panel h3 { font-family: var(--font-display); font-size: 40px; text-transform: uppercase; margin-bottom: 12px; }
.role-panel .lead { font-size: 17px; margin-bottom: 18px; }
.role-panel .check-list { columns: 2; column-gap: 32px; }
.role-panel .check-list li { break-inside: avoid; }
@media (max-width: 900px) {
  .roles { grid-template-columns: 1fr; }
  .role-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .role-tabs::-webkit-scrollbar { display: none; }
  .role-tab { width: auto; white-space: nowrap; padding: 12px 16px; }
  .role-panel { padding: 28px 22px; }
  .role-panel .check-list { columns: 1; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 72px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent-light);
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--text-2); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } .split--reverse > :first-child { order: 0; } }

.panel-ui { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel-ui h4 { font-size: 15px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pipeline > div { background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; min-height: 140px; }
.pipeline small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; font-weight: 600; }
.pipeline span { display: block; height: 26px; border-radius: 7px; background: var(--surface-2); margin-bottom: 6px; }
.pipeline .converted span { background: var(--accent-soft); border: 1px solid rgba(104,66,217,.3); }
@media (max-width: 520px) { .pipeline { grid-template-columns: repeat(3, 1fr); } .pipeline > div:nth-child(n+4) { display: none; } }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week div { text-align: center; padding: 10px 0; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.week div b { display: block; color: var(--text); font-size: 13px; margin-top: 4px; }
.week div.on { background: var(--accent-soft); border-color: rgba(104,66,217,.3); }
.week div.on b { color: var(--accent-light); }
.meal { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.meal small { color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 90px 0 70px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; right: -200px; top: -300px; width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(104,66,217,0.2), transparent 70%); pointer-events: none;
}
.page-hero .h1 { font-size: clamp(44px, 6.4vw, 84px); margin-bottom: 20px; position: relative; }
.page-hero .lead { position: relative; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 20px; position: relative; }
.breadcrumb a:hover { color: var(--text); }
@media (max-width: 800px) { .page-hero { padding: 56px 0 48px; } }

/* Sub-nav (feature anchors) */
.subnav { position: sticky; top: 76px; z-index: 50; background: rgba(0,0,0,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text-2); white-space: nowrap; border: 1px solid var(--line); }
.subnav a:hover { color: var(--text); border-color: var(--line-strong); }

.feature-block { scroll-margin-top: 150px; }
.feature-block + .feature-block { border-top: 1px solid var(--line); }
.feature-block .split { align-items: start; }
.feature-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; margin-bottom: 16px; color: var(--accent-light); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f5f7' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease, background-color .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq details > div { padding: 0 48px 24px 0; color: var(--text-2); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
@media (max-width: 600px) { .form-card { padding: 24px 18px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font: inherit; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--hot); }
.field-error { color: var(--hot); font-size: 13px; margin-top: 6px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--text-2); text-decoration: underline; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert--success { background: var(--accent-soft); border: 1px solid rgba(104,66,217,.5); color: #e4dcff; }
.alert--error { background: var(--hot-soft); border: 1px solid rgba(104,66,217,.35); color: #e4dcff; }

.contact-info li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info li:first-child { padding-top: 0; }
.contact-info .icon-tile { width: 46px; height: 46px; flex: none; }
.contact-info .icon-tile svg { width: 22px; height: 22px; }
.contact-info small { display: block; color: var(--muted); font-size: 13px; }
.contact-info a:hover { color: var(--accent-light); }

/* ---------- Prose (legal) ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.legal-toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); font-size: 14px; color: var(--text-2); }
.legal-toc a:hover { color: var(--text); border-left-color: var(--accent); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 32px; } .legal-toc { position: static; } }

.prose { max-width: 760px; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 24px; margin: 48px 0 14px; scroll-margin-top: 110px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); font-size: 18px; margin: 28px 0 10px; }
.prose ul { margin: 0 0 1rem; }
.prose ul li { position: relative; padding-left: 22px; margin: 8px 0; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; background: var(--surface); }
.table-wrap { overflow-x: auto; }
.updated { display: inline-block; font-size: 14px; color: var(--muted); padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; position: relative; }

/* ---------- Values / about ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-row > div { background: var(--surface); padding: 32px 28px; }
.stat-row b { display: block; font-family: var(--font-display); font-size: 54px; line-height: 1; color: var(--accent-light); margin-bottom: 8px; }
.stat-row span { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-row { grid-template-columns: 1fr; } }

.quote-block { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; text-transform: uppercase; font-weight: 800; max-width: 1000px; }
.quote-block em { font-style: normal; color: var(--accent-light); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 72px 64px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-band::after {
  content: "LEONS"; position: absolute; right: -20px; bottom: -60px;
  font-family: var(--font-display); font-weight: 800; font-size: 240px; line-height: 1;
  color: rgba(255,255,255,.08); pointer-events: none;
}
.cta-band .h2 { margin-bottom: 14px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,.85); margin: 0; }
.cta-band .store-buttons { justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .store-btn { background: #000; color: #fff; }
@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; padding: 48px 28px; border-radius: 22px; }
  .cta-band .store-buttons { justify-content: flex-start; }
  .cta-band::after { font-size: 140px; bottom: -30px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer-grid li { margin: 10px 0; }
.footer-grid li a { color: var(--text-2); font-size: 15px; }
.footer-grid li a:hover { color: var(--accent-light); }
.footer-about p { color: var(--text-2); max-width: 340px; margin: 18px 0 24px; font-size: 15px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }
.center { text-align: center; }
.flex-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-light); }
.badge--hot { background: var(--hot-soft); color: var(--hot); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Error page ---------- */
.error-hero { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-hero .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(120px, 22vw, 240px); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--accent-light); }
