:root {
  --bg: #060807;
  --bg2: #0d110f;
  --card: #141917;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f6f4;
  --muted: #a6aea8;
  --lime: #50d848;
  --lime-glow: rgba(80, 216, 72, .28);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55; overflow-x: hidden;
}
/* height:auto keeps the intrinsic ratio when width is set in CSS (the width/height attributes stay for layout-shift-free loading). */
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
h1, h2 {
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em;
  line-height: .98; margin: 0 0 18px;
}
h1 { font-size: clamp(44px, 7.4vw, 92px); }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h1 em, h2 em { color: var(--lime); font-style: italic; }
.eyebrow { color: var(--lime); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 12px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); background: rgba(6, 8, 7, .72); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 900; font-style: italic; font-size: 22px; letter-spacing: -.02em; text-decoration: none; }
.logo span { color: var(--lime); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 22px; border-radius: 999px; background: var(--lime); color: #061006;
  font-weight: 800; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px var(--lime-glow); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--lime); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { white-space: nowrap; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 80%;
  background: radial-gradient(closest-side, rgba(40, 110, 34, .55), transparent); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.free-note { color: var(--muted); font-size: 14px; font-weight: 600; }
.appstore {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000;
  border-radius: 14px; padding: 10px 20px 10px 16px; text-decoration: none; min-height: 56px;
  transition: transform .15s, box-shadow .15s;
}
.appstore:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(255, 255, 255, .15); }
.appstore svg { width: 30px; height: 30px; fill: #000; }
.appstore span { display: flex; flex-direction: column; font-weight: 700; font-size: 20px; line-height: 1.05; }
.appstore small { font-size: 11px; font-weight: 500; }
.appstore.big { margin-top: 10px; transform: scale(1.08); }
.phone {
  width: min(330px, 78vw); margin-inline: auto; aspect-ratio: 886 / 1920; border-radius: 52px;
  padding: 10px; background: #1b1e1c; border: 1px solid #3a3f3b;
  box-shadow: 0 0 0 1px #000 inset, 0 30px 90px rgba(80, 216, 72, .25), 0 10px 40px rgba(0, 0, 0, .6);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; background: #000; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { padding: 26px 12px; text-align: center; }
.strip-grid strong { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 900; font-style: italic; color: var(--lime); }
.strip-grid span { color: var(--muted); font-size: 14px; }

/* Features */
.features { padding: 40px 0; }
.feature, .coach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; padding: 64px 0; }
.feature.reverse .shot { order: 2; }
.copy p { color: var(--muted); font-size: 18px; max-width: 560px; }
.copy ul { color: var(--muted); padding-left: 0; list-style: none; margin: 18px 0 0; }
.copy li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--line); }
.copy li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg); }
.shot img {
  width: min(320px, 76vw); margin-inline: auto; border-radius: 40px; border: 8px solid #1b1e1c;
  outline: 1px solid #3a3f3b; box-shadow: 0 24px 80px rgba(80, 216, 72, .18);
}
.watch-pair { display: flex; gap: 18px; justify-content: center; }
.watch-pair img.w { width: min(190px, 40vw); border-radius: 46px; border-width: 10px; }

/* Coach */
.coach { background: linear-gradient(180deg, var(--bg), #0b140c 60%, var(--bg)); }
.coach-box { margin-top: 26px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.coach-box h3 { margin: 0 0 6px; font-size: 20px; }
.coach-box p { font-size: 16px; margin: 0 0 18px; }

/* Free */
.free { padding: 90px 0; text-align: center; }
.free-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; text-align: left; }
.free-grid div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.free-grid h3 { margin: 0 0 6px; font-size: 18px; }
.free-grid p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { padding: 40px 0 80px; }
.faq h2 { text-align: center; margin-bottom: 30px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; padding: 18px 36px 18px 0; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--lime); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 0 0 18px; }

/* Final + footer */
.final { padding: 90px 0 110px; text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(40, 110, 34, .55), transparent 60%); }
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer small { color: #6c746e; width: 100%; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid, .feature, .coach-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .shot { order: 0; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .feature, .coach-grid { padding: 40px 0; text-align: center; }
  .copy p { margin-inline: auto; }
  .copy ul { text-align: left; }
  .strip-grid, .free-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 480px) {
  /* The hero App Store badge is right below: keep only the coach login up here. */
  .nav-actions .btn:not(.btn-ghost) { display: none; }
}
@media (max-width: 420px) {
  .free-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .appstore { transition: none; }
}
