/* =========================================================
   Next Move Playbook: site styles
   Brand: red #C8102E · red on dark #EF3B50 · ink #0D0D0D · white
   Font: Manrope
   ========================================================= */

:root {
  --red: #C8102E;
  --red-hover: #A50D26;
  --red-on-dark: #EF3B50;
  --ink: #0D0D0D;
  --ink-2: #161616;
  --ink-3: #1F1F1F;
  --line-dark: #2A2A2A;
  --white: #FFFFFF;
  --tint: #F5F5F6;
  --line: #E4E4E7;
  --text: #0D0D0D;
  --muted: #52525B;
  --muted-dark: #A1A1AA;

  --radius: 6px;
  --container: 1160px;
  --header-h: 68px;
}

*, *::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;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 4.4vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--ink);
  padding: 8px 14px; z-index: 100; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--red-on-dark); outline-offset: 2px; }

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-hover); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

.text-link {
  font-weight: 800; color: var(--red); text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,13,13,.96);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line-dark); }
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(13,13,13,.88); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white);
}
.brand-mark { width: 34px; height: auto; }
.brand-word { font-size: 1rem; line-height: 1; white-space: nowrap; }
.brand-word strong { font-weight: 800; letter-spacing: -0.02em; }
.brand-word span {
  color: var(--red-on-dark); font-weight: 600;
  letter-spacing: .28em; margin-left: .25em; font-size: .92em;
}

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 16px 20px;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.site-nav.open { display: flex; }
.site-nav a:not(.btn) {
  color: var(--white); text-decoration: none; font-weight: 600;
  padding: 12px 4px; border-bottom: 1px solid var(--line-dark);
}
.site-nav a:not(.btn):hover { color: var(--red-on-dark); }
.site-nav .btn { margin-top: 12px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; flex-direction: row; align-items: center;
    gap: 28px; padding: 0; background: none; border: 0;
  }
  .site-nav a:not(.btn) { padding: 0; border: 0; font-size: .95rem; color: #D4D4D8; }
  .site-nav a:not(.btn):hover { color: var(--white); }
  .site-nav .btn { margin: 0 0 0 4px; }
}

/* ---------- Section shells ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

.dark { background: var(--ink); color: var(--white); }
.light { background: var(--white); }
.tint { background: var(--tint); }

.section-head { max-width: 760px; margin-bottom: 40px; }
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }

.section-label, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: .8rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
}
.section-label span { color: var(--muted); font-weight: 700; }
.dark .section-label, .dark .eyebrow { color: var(--red-on-dark); }
.dark .section-label span { color: var(--muted-dark); }

.section-intro { font-size: 1.1rem; color: var(--muted); margin: 0; }
.dark .section-intro { color: var(--muted-dark); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 96px 0 120px; } }

.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.25fr .85fr; gap: 64px; } }

.hero h1 { margin-bottom: 22px; }
.accent { color: var(--red-on-dark); }
.lead { font-size: 1.1rem; color: #D4D4D8; max-width: 600px; margin-bottom: 32px; }
@media (min-width: 640px) { .lead { font-size: 1.2rem; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
@media (max-width: 479px) { .hero-actions .btn { flex: 1 1 100%; } }

.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--line-dark);
  font-size: .9rem; font-weight: 700; color: #D4D4D8;
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before {
  content: ""; width: 8px; height: 8px; background: var(--red-on-dark);
  transform: rotate(45deg);
}

/* Play card */
.playcard {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 24px;
}
.playcard-head {
  display: flex; flex-direction: column; gap: 2px;
  padding-bottom: 16px; margin-bottom: 8px;
  border-bottom: 1px dashed #3A3A3A;
}
.playcard-label { font-weight: 800; font-size: 1.15rem; }
.playcard-sub { font-size: .85rem; color: var(--muted-dark); font-weight: 600; }
.playcard-list { list-style: none; margin: 0; padding: 0; }
.playcard-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0; font-weight: 600; font-size: .98rem;
  border-bottom: 1px solid #222;
}
.playcard-list li:last-child { border-bottom: 0; }
.playcard-list .wk {
  font-variant-numeric: tabular-nums;
  font-size: .8rem; font-weight: 800; color: var(--muted-dark);
  min-width: 2.2em;
}
.playcard-list .final { color: var(--white); }
.playcard-list .final .wk { color: var(--red-on-dark); }
.playcard-list .final::after {
  content: ""; margin-left: auto; width: 0; height: 0;
  border-left: 8px solid var(--red-on-dark);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.tint .card { border-color: #E4E4E7; }

.problem-card { border-top: 4px solid var(--ink); }
.problem-card h3 { font-size: 1.25rem; }

.x-list, .check-list { list-style: none; margin: 0; padding: 0; }
.x-list li, .check-list li {
  position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted);
}
.x-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 12px; height: 2px; background: var(--red);
}
.check-list li { color: inherit; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .45em;
  width: 7px; height: 12px;
  border: solid var(--red); border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.check-list.on-dark li { color: #D4D4D8; }
.check-list.on-dark li::before { border-color: var(--red-on-dark); }

/* Why athletes */
.why-athletes {
  display: grid; gap: 28px;
  margin-top: 48px; padding: 32px 26px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius);
}
.why-athletes .section-label { color: var(--red-on-dark); }
.why-athletes .section-label span { color: var(--red-on-dark); font-size: 1.2em; }
.why-athletes h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.why-athletes p { color: #D4D4D8; margin: 0; }
.trait-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trait-list li {
  padding: 16px 18px; background: var(--ink-3);
  border-left: 3px solid var(--red-on-dark);
  color: #D4D4D8; font-size: .95rem;
}
.trait-list strong { display: block; color: var(--white); font-size: 1.05rem; margin-bottom: 2px; }
@media (min-width: 720px) { .trait-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .why-athletes { grid-template-columns: .9fr 1.4fr; align-items: center; padding: 48px; gap: 48px; }
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex; gap: 6px;
  margin-bottom: 28px;
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 2px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  padding: 14px 16px; margin-bottom: -2px;
  background: none; border: 0; border-bottom: 3px solid transparent;
  font: inherit; font-weight: 800; font-size: .95rem; color: var(--muted);
  cursor: pointer; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }

/* Service cards */
.service-card { display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 6px; }
.service-card .meta {
  font-size: .85rem; font-weight: 700; color: var(--muted);
  margin-bottom: 14px;
}
.service-card .who { font-size: .95rem; margin-bottom: 10px; }
.service-card .outcome { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
.service-card .btn, .service-card .text-link { margin-top: 20px; align-self: flex-start; }
.service-card.featured { border: 2px solid var(--red); }

.tag {
  display: inline-block; align-self: flex-start;
  margin-bottom: 12px; padding: 4px 10px;
  background: var(--red); color: var(--white);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 3px;
}

/* Packages */
.packages {
  margin-top: 40px; padding: 28px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
@media (min-width: 900px) { .packages { padding: 44px; } }
.packages-head { max-width: 640px; margin-bottom: 24px; }
.packages-head h3 { font-size: 1.5rem; }
.packages-head p { color: var(--muted); margin: 0; }
.package-grid { display: grid; gap: 16px; margin-bottom: 28px; }
@media (min-width: 900px) { .package-grid { grid-template-columns: repeat(3, 1fr); } }
.package {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--tint);
}
.package h4 { font-size: 1.3rem; margin-bottom: 14px; }
.package .check-list li { font-size: .95rem; }
.package.highlight { background: var(--ink); color: var(--white); border-color: var(--ink); }
.package.highlight .check-list li::before { border-color: var(--red-on-dark); }

/* Athlete layout */
.athlete-layout { display: grid; gap: 20px; }
@media (min-width: 980px) { .athlete-layout { grid-template-columns: 1.3fr 1fr; } }
.athlete-side { display: grid; gap: 20px; align-content: start; }
.session-list {
  margin: 20px 0 0; padding: 0; list-style: none; counter-reset: s;
  border-top: 1px solid var(--line);
}
.session-list li {
  counter-increment: s; position: relative;
  padding: 12px 0 12px 40px; border-bottom: 1px solid var(--line);
  font-size: .95rem; color: var(--muted);
}
.session-list li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 12px;
  font-weight: 800; color: var(--red); font-size: .85rem;
}
.session-list strong { color: var(--ink); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.step-num {
  display: block; margin-bottom: 18px;
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--red-on-dark); letter-spacing: -0.04em;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted-dark); margin: 0; font-size: .97rem; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .founder-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.founder-photo { position: relative; max-width: 440px; }
.founder-photo::after {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 2px solid var(--red); border-radius: var(--radius); z-index: 0;
}
.founder-photo img, .photo-placeholder {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center top;
  border-radius: var(--radius);
}
.photo-placeholder {
  display: grid; place-items: center;
  background: var(--tint); border: 2px dashed #C4C4CC;
  color: var(--muted); font-weight: 800; letter-spacing: .08em; font-size: .9rem;
}
.founder-name { font-weight: 800; color: var(--red); margin-bottom: 20px; }
.founder-copy p { color: #3F3F46; }
.timeline {
  list-style: none; margin: 28px 0 32px; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 640px) { .timeline { grid-template-columns: repeat(5, 1fr); } }
.timeline li {
  background: var(--white); padding: 14px 14px;
  font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.35;
}
.timeline li span { display: block; font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.timeline li:last-child { background: var(--ink); color: #D4D4D8; }
.timeline li:last-child span { color: var(--red-on-dark); }
@media (max-width: 639px) { .timeline li:last-child { grid-column: 1 / -1; } }

/* ---------- Quotes ---------- */
.quote-card { margin: 0; border-left: 4px solid var(--red); }
.quote-card blockquote { margin: 0 0 16px; font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.quote-card figcaption { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .form-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.form-intro p { color: #D4D4D8; font-size: 1.1rem; }

.form-wrap {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 24px 20px;
  border-top: 4px solid var(--red);
}
@media (min-width: 640px) { .form-wrap { padding: 36px; } }

.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.opt { font-weight: 500; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit; font-size: 16px; /* 16px stops iOS zoom on focus */
  color: var(--ink); background: var(--white);
  border: 1.5px solid #C4C4CC; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230D0D0D' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.15);
}
.field .invalid { border-color: var(--red); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin: 0 0 14px; padding: 10px 14px;
  background: #FDECEE; color: #8A0B1F; border-radius: var(--radius);
  font-size: .92rem; font-weight: 600;
}
.form-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding: 32px 8px; }
.form-success:focus { outline: none; }
.form-success img {
  margin: 0 auto 20px; background: var(--ink); padding: 14px; border-radius: var(--radius);
  width: 72px; height: auto; box-sizing: content-box;
}
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #080808; color: var(--muted-dark);
  padding: 48px 0 32px; border-top: 1px solid var(--line-dark);
}
.footer-inner { display: grid; gap: 18px; justify-items: start; }
.footer-tag { margin: 0; font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 700; text-decoration: none; font-size: .95rem;
}
.footer-links a:hover { color: var(--red-on-dark); }
.copyright { margin: 8px 0 0; font-size: .82rem; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px; }
  .footer-tag { justify-self: center; }
  .copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line-dark); width: 100%; }
}

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { background: var(--white); padding: 48px 0 80px; }
@media (min-width: 900px) { .legal { padding: 72px 0 112px; } }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-weight: 600; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; padding-top: 8px; scroll-margin-top: calc(var(--header-h) + 12px); }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #3F3F46; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal li ul { margin-top: 8px; }
.legal a { color: var(--red); font-weight: 600; }
.legal strong { color: var(--ink); }
.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 12px; padding: 16px;
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
}
.legal-toc a {
  font-size: .88rem; font-weight: 700; color: var(--ink); text-decoration: none;
  padding: 6px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.legal-toc a:hover { border-color: var(--red); color: var(--red); }
.legal-back { white-space: nowrap; }
@media (max-width: 479px) { .legal-back { display: none; } }
