/* ============================================================
   acco landing — brand-aligned with acco.fit app
   ============================================================ */

:root {
  /* Brand */
  --color-bg: #0B0B14;
  --color-surface: #12121E;
  --color-surface-2: #181827;
  --color-surface-3: #1F1F30;
  --color-border: rgba(255,255,255,0.07);
  --color-border-strong: rgba(255,255,255,0.14);

  --color-text: #F2F2F7;
  --color-text-muted: #9898A8;
  --color-text-faint: #5F5F72;
  --color-text-inverse: #0B0B14;

  --color-accent: #C6F24E;
  --color-accent-soft: #C6F24E1A;
  --color-accent-glow: #C6F24E33;
  --color-warm: #FF9A56;

  /* Type */
  --font-body: 'Satoshi', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Clash Display', 'Satoshi', ui-sans-serif, system-ui, sans-serif;

  /* Scale */
  --text-xs:   clamp(11px, 0.75vw + 0.5rem, 13px);
  --text-sm:   clamp(13px, 0.85vw + 0.55rem, 15px);
  --text-base: clamp(15px, 1vw + 0.6rem, 17px);
  --text-lg:   clamp(17px, 1.1vw + 0.7rem, 19px);
  --text-xl:   clamp(20px, 1.4vw + 0.8rem, 24px);
  --text-2xl:  clamp(28px, 3vw + 0.5rem, 44px);
  --text-3xl:  clamp(40px, 5vw + 1rem, 72px);
  --text-hero: clamp(48px, 8vw + 1rem, 128px);

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-32: 128px; --space-40: 160px;

  /* Radii / shadows */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;
  --shadow-glow: 0 0 60px -10px var(--color-accent-glow);
  --shadow-card: 0 24px 80px -30px rgba(0,0,0,0.7);
}

/* ============= Reset + base ============= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--color-accent); color: var(--color-text-inverse); }

/* ============= Logo ============= */
/* ============= LOGO WORDMARK =============
   The wordmark is now a custom SVG (brand/acco-wordmark.svg). The 'a c c'
   glyphs inherit currentColor, and the 'o' is locked to the accent green
   inside the SVG itself. Aspect ratio: 872.86 / 216 ≈ 4.04. */
.logo {
  display: inline-flex; align-items: center;
  color: var(--color-text);
  line-height: 1;
  text-decoration: none;
}
.logo-wordmark {
  display: block;
  height: 28px;       /* nav size */
  width: auto;
  flex: 0 0 auto;
}
.nav.scrolled .logo-wordmark { height: 24px; transition: height .25s ease; }
.logo-wordmark { transition: height .25s ease; }

/* Footer variant — slightly larger, a touch dimmer to feel like an end-mark */
.logo-footer .logo-wordmark { height: 36px; }

@media (max-width: 640px) {
  .logo-wordmark { height: 24px; }
  .logo-footer .logo-wordmark { height: 30px; }
}

/* ============= Eyebrow ============= */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

/* ============= Section title ============= */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--color-text);
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-16);
  padding: 0 var(--space-6);
}
.section-sub {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
}
.lede {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.65;
  max-width: 56ch;
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: -0.005em;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 26px; font-size: var(--text-base); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; margin-top: var(--space-5); }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { color: var(--color-text-inverse); background: #d2ff5a; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--color-text);
  border-color: var(--color-border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); color: var(--color-text); }
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent-soft); color: var(--color-accent); }

/* ============= NAV ============= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(11,11,20,0.88) 0%, rgba(11,11,20,0.65) 70%, rgba(11,11,20,0) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding .2s, background .2s, border-color .2s;
}
.nav.scrolled {
  padding: 12px clamp(20px, 4vw, 48px);
  background: rgba(11,11,20,0.92);
  border-bottom: 1px solid var(--color-border);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.nav-links a:hover { color: var(--color-text); }

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(120px, 14vh, 180px) clamp(20px, 5vw, 80px) clamp(60px, 8vh, 100px);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,20,0.55) 0%, rgba(11,11,20,0.3) 30%, rgba(11,11,20,0.75) 70%, rgba(11,11,20,1) 100%),
    linear-gradient(90deg, rgba(11,11,20,0.85) 0%, rgba(11,11,20,0.5) 45%, rgba(11,11,20,0.25) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.hero-title em {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 600;
}
.hero-sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: var(--space-10);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-10);
}

/* QR card */
.hero-qr {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}
.qr-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  width: fit-content;
}
.qr-mock {
  flex: 0 0 auto;
  background: #fff;
  padding: 6px;
  border-radius: 10px;
  line-height: 0;
}
.qr-mock svg { display: block; }
.qr-text { display: flex; flex-direction: column; gap: 2px; }
.qr-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.qr-url {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.01em;
  line-height: 1;
}
.qr-foot {
  font-size: 13px;
  color: var(--color-text-faint);
}
.qr-foot a { color: var(--color-accent); }
.qr-foot a:hover { opacity: .85; }

.hero-meta {
  margin-top: var(--space-10);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.meta-pill { display: inline-flex; align-items: center; gap: 8px; }
.meta-meta { color: var(--color-text-faint); }
.dot { width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; box-shadow: 0 0 12px var(--color-accent); }

/* ============= MANIFESTO ============= */
.manifesto {
  padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 80px);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.manifesto-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.pullquote {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-text);
}
.pullquote em {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 500;
}
.pullquote-by {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* ============= PROBLEM ============= */
.problem { padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 80px); }
.problem-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.problem-copy .section-title { margin-bottom: var(--space-8); }
.problem-list {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.problem-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
}
.problem-list li:last-child { border-bottom: none; padding-bottom: 0; }
.problem-list .bullet {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.problem-list strong { color: var(--color-text); font-weight: 600; display: block; margin-bottom: 4px; }
.problem-list div { color: var(--color-text-muted); line-height: 1.55; }

.problem-figure {
  margin: 0;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
}
.problem-figure img {
  width: 100%; height: 100%; object-fit: cover;
}
.problem-figure figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(11,11,20,0.85));
  font-size: var(--text-sm);
  color: var(--color-text);
  font-style: italic;
}

/* ============= HOW ============= */
.how {
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 80px);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.step-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.step-card {
  padding: var(--space-10) var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  transition: border-color .25s, transform .25s, background .25s;
}
.step-card:hover { border-color: var(--color-accent-soft); transform: translateY(-3px); background: var(--color-surface-3); }
.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
}
.step-card p { color: var(--color-text-muted); line-height: 1.6; }

/* ============= FEATURES ============= */
.features { padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 80px); }
.feature-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: var(--color-accent-soft); transform: translateY(-3px); }

.feature-lg { grid-column: span 2; flex-direction: row; min-height: 440px; }
.feature-lg .feature-copy { flex: 0 0 44%; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.feature-lg .feature-shot { flex: 1; }

.feature-wide { grid-column: span 2; flex-direction: row; min-height: 460px; }
.feature-wide .feature-copy { flex: 0 0 42%; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.feature-wide .feature-shot { flex: 1; }

.feature-copy { padding: clamp(28px, 3.5vw, 40px); }
.feature .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
  padding: 5px 11px;
  border: 1px solid var(--color-accent-soft);
  background: var(--color-accent-soft);
  border-radius: var(--r-pill);
}
.feature h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.feature p { color: var(--color-text-muted); line-height: 1.6; }

.feature-shot {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 24px 0;
  background: radial-gradient(circle at 50% 130%, rgba(198,242,78,0.10), transparent 60%), var(--color-surface-2);
  overflow: hidden;
  min-height: 220px;
}
.feature-shot img {
  width: auto;
  max-height: 360px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -30px 80px -20px rgba(0,0,0,0.6);
}
.feature-shot-tilt { padding-right: 48px; }
.feature-shot-tilt img { transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); transform-origin: center bottom; max-height: 380px; }
.feature-shot-pair {
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  padding: 24px;
}
.feature-shot-pair img {
  max-height: 380px;
  border-radius: 26px;
  box-shadow: 0 30px 80px -25px rgba(0,0,0,0.65);
}
.feature-shot-pair img:first-child { transform: translateY(20px) rotate(-3deg); }
.feature-shot-pair img:last-child { transform: translateY(-10px) rotate(3deg); }

/* ============= COMMUNITY (full-bleed) ============= */
.community {
  position: relative;
  padding: clamp(120px, 18vh, 200px) clamp(20px, 5vw, 80px);
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.community-media { position: absolute; inset: 0; z-index: 0; }
.community-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.community-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,20,0.7) 0%, rgba(11,11,20,0.45) 35%, rgba(11,11,20,0.85) 100%),
    linear-gradient(90deg, rgba(11,11,20,0.85) 0%, rgba(11,11,20,0.4) 100%);
}
.community-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.community-inner .section-title { margin-bottom: var(--space-8); max-width: 18ch; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border-strong);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}
.stat-num small { font-size: 0.55em; color: var(--color-accent); }
.stat-label { font-size: 13px; color: var(--color-text-muted); line-height: 1.4; }
.footnote {
  margin-top: var(--space-6);
  font-size: 11px;
  color: var(--color-text-faint);
  letter-spacing: 0.04em;
}

/* ============= TRAINERS ============= */
.trainers { padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 80px); }
.trainers-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.trainers-figure {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
}
.trainers-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.trainers-copy .section-title { margin-bottom: var(--space-8); max-width: 18ch; }
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: var(--space-10) 0;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  border: 1.5px solid var(--color-accent);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 12px;
  width: 9px; height: 5px;
  border-left: 1.8px solid var(--color-accent);
  border-bottom: 1.8px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* ============= IMAGE BREAK ============= */
.image-break {
  position: relative;
  height: clamp(380px, 60vh, 580px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-break img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.image-break::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,11,20,0.75), rgba(11,11,20,0.35) 50%, rgba(11,11,20,0.85));
}
.break-quote {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 900px;
  text-align: center;
  padding: 0 var(--space-6);
}
.break-quote p {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

/* ============= PRICING ============= */
.pricing {
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 80px);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.price-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price {
  position: relative;
  padding: var(--space-10) var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.price-featured {
  background: linear-gradient(180deg, rgba(198,242,78,0.06), rgba(198,242,78,0.01) 60%), var(--color-surface-2);
  border-color: var(--color-accent-soft);
  box-shadow: 0 0 0 1px var(--color-accent-soft), 0 30px 80px -30px var(--color-accent-glow);
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.price header h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
}
.price-amt { display: flex; align-items: baseline; gap: 8px; }
.price-amt .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text);
}
.price-amt .cycle { font-size: 13px; color: var(--color-text-muted); }
.price .check-list { margin: var(--space-4) 0 var(--space-8); flex: 1; }

/* ============= FAQ ============= */
.faq { padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 80px); }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
  transition: padding .2s;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-accent); }
.faq .chev {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--color-accent);
  transition: transform .25s;
  line-height: 0.8;
}
.faq details[open] .chev { transform: rotate(45deg); }
.faq details > p {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
  max-width: 64ch;
}
.faq details > p a { color: var(--color-accent); text-decoration: underline; text-decoration-color: var(--color-accent-soft); text-underline-offset: 3px; }
.faq code {
  background: var(--color-surface-2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.92em;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-family: ui-monospace, 'JetBrains Mono', monospace;
}

/* ============= FINAL CTA ============= */
.cta-final {
  padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 80px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, var(--color-accent-glow), transparent 50%),
    var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}
.cta-sub { font-size: var(--text-lg); color: var(--color-text-muted); margin-bottom: var(--space-10); }
.cta-final .hero-cta { justify-content: center; margin-bottom: var(--space-6); }
.cta-foot { font-size: 13px; color: var(--color-text-faint); }

/* ============= FOOTER ============= */
.footer {
  padding: var(--space-20) clamp(20px, 5vw, 80px) var(--space-10);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: var(--space-16);
}
.footer-tag { color: var(--color-text-muted); font-size: 14px; margin-top: 14px; max-width: 28ch; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--color-text-muted); }
.footer-col a { color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-accent); }
.footer-fine { font-size: 12px; color: var(--color-text-faint); margin-top: 6px; }
.footer-base {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-faint);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .problem-grid,
  .trainers-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .trainers-figure { aspect-ratio: 16/12; }
  .problem-figure { aspect-ratio: 16/12; }
  .step-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-lg, .feature-wide { grid-column: span 1; flex-direction: column; }
  .feature-lg .feature-copy, .feature-wide .feature-copy { flex: none; padding: 36px 28px 12px; }
  .feature-shot-pair { flex-direction: row; }
  .feature-shot-pair img { max-height: 280px; }
  .stat-row { grid-template-columns: 1fr; gap: 18px; }
  .stat-row .stat { padding-bottom: 14px; border-bottom: 1px solid var(--color-border); }
  .stat-row .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 110px; }
  .hero-meta { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .qr-card { width: 100%; }
  .nav { padding: 14px 18px; }
  .nav.scrolled { padding: 10px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 6px; text-align: left; }
  .feature-shot-pair { flex-direction: column; }
  .feature-shot-pair img:first-child,
  .feature-shot-pair img:last-child { transform: none; }
}

/* ============= MOTION: reveal-on-scroll ============= */
/* Default = fully visible. Only when JS marks <html class="js-reveal"> AND user
   has motion enabled do we hide elements with .reveal, then fade them in via .in.
   Easing tuned for an editorial "settle" feel (1.1s, cubic-bezier soft-out). */

:root {
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-dur: 1.1s;
}

/* Default (titles, lists, cards, etc.) — quiet 14px rise + fade */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--reveal-dur) var(--reveal-ease),
    transform var(--reveal-dur) var(--reveal-ease),
    letter-spacing var(--reveal-dur) var(--reveal-ease);
  will-change: opacity, transform;
}
html.js-reveal .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Variant: section titles — type "locks in" via letter-spacing tighten */
html.js-reveal .reveal.reveal-title {
  letter-spacing: -0.015em;
  transform: translateY(12px);
}
html.js-reveal .reveal.reveal-title.in {
  letter-spacing: -0.02em; /* matches display headline default */
  transform: translateY(0);
}

/* Variant: body copy / lede — opacity-only, no translate */
html.js-reveal .reveal.reveal-fade {
  transform: none;
  transition: opacity .9s var(--reveal-ease);
}
html.js-reveal .reveal.reveal-fade.in {
  transform: none;
}

/* Variant: contained photos (problem-figure, trainers-figure) — scale-down settle */
html.js-reveal .reveal.reveal-figure {
  opacity: 0;
  transform: scale(1.04);
  transform-origin: center;
  transition:
    opacity 1.2s var(--reveal-ease),
    transform 1.4s var(--reveal-ease);
}
html.js-reveal .reveal.reveal-figure.in {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal,
  html.js-reveal .reveal.reveal-title,
  html.js-reveal .reveal.reveal-fade,
  html.js-reveal .reveal.reveal-figure {
    opacity: 1 !important;
    transform: none !important;
    letter-spacing: inherit !important;
    transition: none !important;
  }
}

/* ============= MOTION: parallax on full-bleed photos ============= */
/* Translate-only, GPU-accelerated. Driven by JS via the --parallax-y custom prop.
   Disabled below 1024px and under reduced-motion. */
@media (min-width: 1024px) {
  .community-media img,
  .image-break img {
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    will-change: transform;
    /* The image element is already absolutely positioned and oversized via object-fit:cover;
       to give the translate room without exposing edges, we scale the container slightly. */
  }
  /* Give the parallax some breathing room so edges never expose the dark bg */
  .community-media { transform: scale(1.08); transform-origin: center; }
  .image-break img { height: 116%; top: -8%; }
}
@media (prefers-reduced-motion: reduce) {
  .community-media img,
  .image-break img {
    transform: none !important;
  }
  .community-media { transform: none !important; }
  .image-break img { height: 100% !important; top: 0 !important; }
}
