:root {
  --bg: #07080a;
  --bg-2: #101318;
  --card: #161a20;
  --ink: #f4f5f2;
  --muted: #9aa3ad;
  --line: rgba(255, 255, 255, 0.08);
  --volt: #d6ff3f;
  --volt-ink: #10140a;
  --done: #22c55e;
  --skipped: #ef4444;
  --future: #3b9bff;
  --today: #f59e0b;
  --radius: 18px;
  --header-h: 72px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.6rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--volt);
  margin: 0 0 12px;
  font-weight: 700;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(7, 8, 10, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--volt);
  clip-path: polygon(50% 0%, 100% 85%, 0 85%);
}

.nav { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }

.nav-cta {
  background: var(--volt);
  color: var(--volt-ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,8,10,0.15) 0%, rgba(7,8,10,0.55) 45%, rgba(7,8,10,0.96) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(var(--max), 100vw);
  margin: 0 auto;
  padding: 8vh 24px 64px;
}

.hero-copy em { color: var(--volt); font-style: normal; }

.lede {
  max-width: min(560px, 100%);
  color: #d5d8d2;
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary { background: var(--volt); color: var(--volt-ink); }
.btn-ghost { border-color: rgba(255,255,255,0.24); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  background: var(--bg);
  padding: 32px 24px;
}

.stat strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  color: var(--volt);
}

.stat span { color: var(--muted); font-size: 0.92rem; }

.programs, .traits, .faq, .gallery { padding: 96px 24px; max-width: calc(var(--max) + 48px); margin: 0 auto; }

.program-grid, .trait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.program-card img { height: 190px; width: 100%; object-fit: cover; }
.program-card div { padding: 18px; }
.program-card p { color: var(--muted); margin: 0; }

.trait-grid article {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.trait-grid p { color: var(--muted); margin: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 640px;
}

.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split-copy { padding: 72px 48px; display: flex; flex-direction: column; justify-content: center; background: var(--bg-2); }

.steps { padding: 0; margin: 24px 0 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding: 16px 0 16px 52px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.steps li strong { display: block; color: var(--ink); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--volt-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.schedule {
  padding: 96px 24px;
  background:
    linear-gradient(180deg, rgba(7,8,10,0.55), rgba(7,8,10,0.92)),
    url("../images/boxing-gloves.jpg") center/cover;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot.done { background: var(--done); }
.dot.skipped { background: var(--skipped); }
.dot.future { background: var(--future); }
.dot.today { background: var(--today); }

.calendar {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.cal-label, .cal-cell {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.cal-cell {
  min-height: 64px;
  background: rgba(16, 19, 24, 0.86);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 8px 4px;
  color: var(--ink);
}

.cal-cell small { display: block; font-size: 0.68rem; margin-top: 4px; }
.cal-cell.done { box-shadow: inset 0 0 0 2px var(--done); }
.cal-cell.skipped { box-shadow: inset 0 0 0 2px var(--skipped); }
.cal-cell.future { box-shadow: inset 0 0 0 2px var(--future); }
.cal-cell.is-today { background: rgba(245, 158, 11, 0.16); }

.upcoming {
  max-width: 720px;
  margin: 24px auto 0;
  display: grid;
  gap: 8px;
}

.upcoming article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: rgba(7, 8, 10, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
}

.badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.badge.future { background: rgba(59,155,255,0.18); color: var(--future); }
.badge.done { background: rgba(34,197,94,0.18); color: var(--done); }
.badge.skipped { background: rgba(239,68,68,0.18); color: var(--skipped); }

.technique {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 96px 24px;
  align-items: center;
}

.check-list { color: var(--muted); }
.check-list li { margin: 10px 0; }
.note { color: var(--muted); font-size: 0.9rem; }

.technique-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.technique-visual img { width: 100%; height: 520px; object-fit: cover; filter: saturate(0.7); }

.skeleton {
  position: absolute;
  inset: 8% 18% 4%;
  stroke: var(--volt);
  stroke-width: 3;
  fill: var(--volt);
  filter: drop-shadow(0 0 8px rgba(214,255,63,0.6));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; }
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .wide img { height: 280px; }
.gallery-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 0.82rem;
  background: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: 999px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); }

.download { padding: 48px 24px 96px; }

.download-card {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(7,8,10,0.35), rgba(7,8,10,0.88)),
    url("../images/plank.jpg") center/cover;
  border: 1px solid var(--line);
}

#download,
#install { scroll-margin-top: calc(var(--header-h) + 16px); }

.beta-note {
  max-width: 640px;
  color: #e4e7de;
  font-size: 1.05rem;
}

.install-block {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.install-block h3 { margin-top: 20px; }

.download-card .steps {
  max-width: 720px;
}

.download-card .steps li { color: #c9cdc4; }

.download-card code {
  font-size: 0.86em;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

.site-footer {
  padding: 32px 24px 48px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.legal { max-width: 520px; font-size: 0.82rem; }

@media (max-width: 900px) {
  .stats, .program-grid, .trait-grid, .split, .technique, .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid .wide { grid-column: span 2; }
  .split-copy { padding: 40px 24px; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #0c0e12;
    flex-direction: column;
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .menu-btn { display: flex; }
  .stats, .program-grid, .trait-grid, .split, .technique, .gallery-grid, .site-footer {
    grid-template-columns: 1fr;
  }
  .gallery-grid .wide { grid-column: auto; }
  .download-card { padding: 28px 20px; }
  .hero { min-height: 88vh; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .hero-copy { padding: 6vh 20px 40px; max-width: 100%; }
  .lede { font-size: 0.98rem; width: 88%; max-width: 88%; }
  .eyebrow { letter-spacing: 0.12em; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { width: 100%; }
}
