/* =========================================================
   The Aware Athlete — styles
   Clean and bold: black + white, big condensed headlines,
   one calm mint accent, colour-coded stats.
   Colours and fonts live in :root so they're easy to change.
   ========================================================= */
:root {
  --black: #0A0A0A;
  --card: #141414;
  --card-2: #1E1E1E;
  --off: #F5F5F3;
  --accent: #66F2C0;

  /* Category colours (audio + stats) */
  --confidence: #FF8A4C;
  --focus: #4DA3FF;
  --resilience: #FFD24D;
  --recovery: #66F2C0;
  --prematch: #FF6B98;

  /* Light defaults; .dark switches them */
  --fg: #111111;
  --muted: #6F6F72;
  --line: #E5E5E5;
  --line-strong: #CACACB;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.dark {
  --fg: #FFFFFF;
  --muted: #A3A3A6;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .35);
  background: var(--black);
  color: var(--fg);
}
.off { background: var(--off); }

.c-confidence { --c: var(--confidence); }
.c-focus      { --c: var(--focus); }
.c-resilience { --c: var(--resilience); }
.c-recovery   { --c: var(--recovery); }
.c-prematch   { --c: var(--prematch); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

h1, h2, h3, .display {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
h1 { font-size: clamp(56px, 8vw, 112px); }
h2 { font-size: clamp(42px, 6vw, 84px); }
h3 { font-size: 28px; line-height: 1; }
.accent { color: var(--accent); }

.eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.dark .eyebrow { color: var(--accent); }

.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn .ico { width: 18px; height: 18px; }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { background: #E5E5E5; }
.btn-black { background: #111; color: #fff; }
.btn-black:hover { background: #3A3A3A; }
.btn-accent { background: var(--accent); color: #0A0A0A; }
.btn-accent:hover { background: #8CF6D2; }
.btn-outline { border-color: var(--line-strong); color: var(--fg); }
.btn-outline:hover { border-color: var(--fg); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.text-link { font-size: 16px; font-weight: 500; color: var(--muted); text-underline-offset: 4px; transition: color .15s; }
.text-link:hover { color: var(--fg); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.mark { flex: none; width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a.btn-white { color: #111; }
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 12px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }
.nav.open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
section[id] { scroll-margin-top: 68px; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head p { margin: 26px 0 0; font-size: 18px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 72px; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -340px; border-radius: 50%; background: radial-gradient(circle, rgba(102, 242, 192, .15), transparent 62%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.lead { max-width: 500px; margin: 30px 0 40px; font-size: 19px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 16px;
  background: rgba(102, 242, 192, .08);
  border: 1px solid rgba(102, 242, 192, .35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.announce:hover { background: rgba(102, 242, 192, .14); border-color: var(--accent); }
.announce .ico { width: 16px; height: 16px; color: var(--accent); }
.announce-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(102, 242, 192, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(102, 242, 192, 0); } }

/* Client profile preview in the hero */
.profile-card { justify-self: end; width: min(400px, 100%); padding: 24px; background: var(--card); border: 1px solid rgba(255, 255, 255, .08); border-radius: 28px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); animation: float-in 1s cubic-bezier(.2, .8, .2, 1) backwards .2s; }
@keyframes float-in { from { opacity: 0; transform: translateY(24px); } }
.pf-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pf-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #0A0A0A; font-weight: 600; }
.pf-who { flex: 1; }
.pf-who b { display: block; font-size: 16px; font-weight: 600; }
.pf-who span { font-size: 13px; color: var(--muted); }
.pf-tag { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf-block { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pf-block .label, .pf-next .label { margin-bottom: 8px; }
.profile-card { cursor: pointer; transition: transform .25s ease, border-color .25s ease; }
.profile-card:hover { transform: translateY(-4px); border-color: rgba(102, 242, 192, .45); }
.profile-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.pf-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 10px; border-radius: 999px; background: rgba(102, 242, 192, .1); font-size: 13px; font-weight: 600; color: var(--accent); }
.pf-hint .ico { width: 16px; height: 16px; transition: transform .2s; }
.profile-card:hover .pf-hint .ico { transform: translateX(4px); }

/* "Get your own" pop-up */
.modal { width: min(620px, calc(100% - 32px)); padding: 40px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px; color: #fff; }
.modal::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal h2 { font-size: clamp(36px, 5vw, 52px); }
.modal-intro { margin: 18px 0 28px; font-size: 17px; color: var(--muted); }
.modal-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.modal-close .ico { width: 18px; height: 18px; }
.modal-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-option { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; overflow: hidden; background: var(--card-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; text-decoration: none; transition: border-color .2s, transform .2s; }
.modal-option::before { content: ""; position: absolute; width: 200px; height: 200px; right: -90px; top: -100px; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 62%); opacity: .45; }
.modal-option > * { position: relative; }
.modal-option:hover { border-color: var(--c); transform: translateY(-2px); }
.modal-option .label { margin: 0; }
.modal-option b { font-family: var(--display); font-size: 26px; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; line-height: 1; text-transform: uppercase; }
.modal-cta { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--c); }
@media (max-width: 600px) { .modal { padding: 32px 22px; } .modal-options { grid-template-columns: 1fr; } }

.pf-score { display: flex; align-items: center; gap: 18px; }
.pf-ring { position: relative; flex: none; width: 92px; height: 92px; }
.pf-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pf-ring circle { fill: none; stroke-width: 10; }
.pf-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 34px; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; }
.pf-checkin { flex: 1; min-width: 0; }
.pf-checkin .metrics { gap: 8px; }
.pf-checkin .metrics li { grid-template-columns: 74px 1fr 26px; gap: 10px; font-size: 12px; }
.pf-goal { display: block; font-size: 18px; font-weight: 600; }
.pf-block .goal-progress { margin-top: 12px; }
.pf-track { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.pf-track div { flex: 1; min-width: 0; }
.pf-track b { display: block; font-size: 14px; font-weight: 600; }
.pf-track div span { font-size: 12px; color: var(--muted); }
.pf-play { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: #0A0A0A; }
.pf-play svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.pf-done { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #0A0A0A; }
.pf-done .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.pf-todo { background: none; border: 1.5px solid rgba(255, 255, 255, .25); }
.pf-next { padding-top: 18px; }
.pf-next b { font-family: var(--display); font-size: 28px; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; }

/* Readiness card (a preview of the client dashboard) */
.ready-card {
  justify-self: end;
  width: min(380px, 100%);
  padding: 28px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 28px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9);
}
.rc-head { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ring { position: relative; width: 200px; height: 200px; margin: 26px auto 30px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring-track { stroke: rgba(255, 255, 255, .08); }
.ring-fill { stroke: var(--accent); stroke-linecap: round; animation: ring 1.8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ring { from { stroke-dasharray: 0 100; } }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font-family: var(--display); font-size: 64px; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; line-height: 1; }
.ring-label span { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.metrics { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.metrics li { display: grid; grid-template-columns: 92px 1fr 30px; gap: 14px; align-items: center; font-size: 14px; }
.metrics span { color: var(--muted); }
.metrics i { position: relative; height: 6px; overflow: hidden; background: rgba(255, 255, 255, .08); border-radius: 6px; }
.metrics i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--c); border-radius: 6px; }
.metrics b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Sound familiar ---------- */
.shift-section { padding-top: 80px; border-top: 1px solid rgba(255, 255, 255, .08); }
.shifts { list-style: none; margin: 0; padding: 0; }
.shifts li { display: grid; grid-template-columns: 1fr auto 1.3fr; gap: 32px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.shifts li:last-child { border-bottom: 1px solid var(--line); }
.shifts s { font-size: 22px; line-height: 1.35; color: #77777A; text-decoration-color: rgba(255, 255, 255, .35); }
.shift-arrow { font-size: 26px; color: var(--accent); }
.shifts strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.3; }
.shifts li div span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.shifts-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 48px; }
.shifts-cta p { max-width: 520px; margin: 0; font-size: 18px; color: var(--muted); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 32px; overflow: hidden; background: var(--black); border-radius: 20px; color: #fff; }
.step::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; right: -55%; top: -65%; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 62%); opacity: .6; transition: opacity .4s, transform .5s; }
.step:hover::before { opacity: .9; transform: scale(1.06); }
.step > * { position: relative; }
.step .num {
  display: block;
  font-family: var(--display);
  font-size: 88px;
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  line-height: .85;
  color: var(--c);
}
.step h3 { margin: 72px 0 12px; font-size: 34px; }
.step p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .72); }
/* Motion: cards slide in one by one, arrows pop in between, the line fills up */
.steps { position: relative; }
.step::before { animation: glow-drift 9s ease-in-out infinite alternate; }
@keyframes glow-drift { to { transform: translate(-8%, 6%) scale(1.08); } }
.step-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--off);
  color: #111;
  transform: translate(-50%, -50%);
}
.step-arrow .ico { width: 20px; height: 20px; stroke-width: 2.2; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.step-arrow-1 { left: calc((100% - 24px) / 3 + 6px); }
.step-arrow-2 { left: calc((100% - 24px) / 3 * 2 + 18px); }
.steps-track { height: 4px; margin-top: 24px; overflow: hidden; background: rgba(17, 17, 17, .08); border-radius: 4px; }
.steps-track span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--confidence), var(--focus), var(--recovery)); border-radius: 4px; transform-origin: left; }

.js .steps .step, .js .steps .step-arrow { opacity: 0; }
.js .steps .step { transform: translateY(36px); }
.js .steps .step-arrow { transform: translate(-50%, -50%) scale(.4); }
.js .steps-track span { transform: scaleX(0); }
.js .steps.in-view .step { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .steps.in-view .step:nth-of-type(2) { transition-delay: .35s; }
.js .steps.in-view .step:nth-of-type(3) { transition-delay: .7s; }
.js .steps.in-view .step-arrow { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .4s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.js .steps.in-view .step-arrow-1 { transition-delay: .45s; }
.js .steps.in-view .step-arrow-2 { transition-delay: .8s; }
.js .steps-track.in-view span { transform: scaleX(1); transition: transform 1.6s cubic-bezier(.4, 0, .2, 1) .2s; }

.step-link { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--c); text-decoration: none; }
.step-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Ways to train ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.way { position: relative; display: flex; flex-direction: column; padding: 40px; overflow: hidden; background: var(--off); border-radius: 22px; }
.way.featured { background: var(--black); }
.way.featured::before { content: ""; position: absolute; width: 520px; height: 520px; right: -240px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(102, 242, 192, .22), transparent 62%); pointer-events: none; }
.way > * { position: relative; }
.badge { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.featured .badge { background: rgba(102, 242, 192, .14); color: var(--accent); }
.way h3 { margin: 26px 0 12px; font-size: clamp(36px, 3.2vw, 46px); }
.way p { margin: 0; font-size: 17px; color: var(--muted); }
.way .way-dates { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; color: var(--fg); }
.way-dates .ico { width: 18px; height: 18px; color: var(--accent); }
.way ul { display: grid; gap: 14px; list-style: none; margin: 30px 0 40px; padding: 0; }
.way li { display: flex; gap: 12px; font-weight: 500; }
.way li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2l2.2 2.2 4.6-4.9' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.way.featured li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2l2.2 2.2 4.6-4.9' fill='none' stroke='%230A0A0A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.way .btn { align-self: flex-start; margin-top: auto; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: #E8E8E6; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.photo-tall { aspect-ratio: 3 / 4; }
.photo-tall img { object-position: center top; }
.photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(10, 10, 10, .72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.photo .photo-story { left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; border-radius: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.photo-story b { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 28px; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; line-height: 1; text-transform: uppercase; }
.photo-story span { color: rgba(255, 255, 255, .85); }
.about h2 { margin-bottom: 14px; }
.about p { font-size: 18px; color: var(--muted); }
.about .roles { margin: 0 0 26px; font-size: 15px; font-weight: 600; color: #111; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; margin: 80px 0 0; padding: 36px 0 0; border-top: 2px solid #111; font-size: 15px; color: var(--muted); }
.about-stats strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 64px; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; line-height: .9; color: #111; }
.about .quote { margin: 30px 0 22px; padding-left: 22px; border-left: 3px solid var(--accent); font-family: var(--display); font-size: 34px; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; line-height: 1.05; text-transform: uppercase; color: #111; }

.insta-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 18px; border: 1.5px solid #CACACB; border-radius: 999px; font-size: 15px; font-weight: 600; color: #111; text-decoration: none; transition: border-color .2s; }
.insta-link:hover { border-color: #111; }
.insta-link .ico { width: 18px; height: 18px; }

/* ---------- Terms page ---------- */
.legal { max-width: 760px; padding: 72px 0 100px; }
.legal h1 { font-size: clamp(42px, 6vw, 72px); }
.legal h2 { margin: 44px 0 12px; font-size: 28px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: #333; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: #111; }
.legal-intro { margin: 22px 0 0; font-size: 19px !important; color: var(--muted) !important; }
.legal-back { margin-top: 56px; }
.legal-back .btn { color: #fff; }
.terms-link { margin-top: 14px; font-size: 13px; color: var(--muted); text-underline-offset: 3px; }

/* ---------- Athlete stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.story { display: flex; flex-direction: column; margin: 0; padding: 40px; background: var(--off); border-radius: 22px; }
.story-mark { display: block; height: 52px; font-family: var(--display); font-size: 100px; font-weight: 800; line-height: .9; color: #111; }
.story blockquote { margin: 0 0 32px; font-size: 18px; font-weight: 500; line-height: 1.55; color: #111; }
.story figcaption { margin-top: auto; padding-top: 22px; border-top: 1px solid #DADADA; font-size: 14px; color: var(--muted); }
.story figcaption b { display: block; font-size: 16px; color: #111; }
.story.story-result { --muted: #A3A3A6; position: relative; overflow: hidden; background: var(--black); color: #fff; }
.story-result::before { content: ""; position: absolute; width: 460px; height: 460px; right: -220px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(102, 242, 192, .22), transparent 62%); pointer-events: none; }
.story-result > * { position: relative; }
.story-result .label { color: var(--accent); }
.story-result h3 { margin: 6px 0 20px; font-size: clamp(38px, 3.4vw, 52px); }
.story-result p:last-child { margin: 0; font-size: 17px; color: var(--muted); }

/* ---------- Next step ---------- */
.next-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.next-card { display: flex; flex-direction: column; min-height: 300px; padding: 44px; background: var(--card); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; text-decoration: none; transition: border-color .2s, background .2s; }
.next-card:hover { border-color: rgba(255, 255, 255, .3); }
.next-card h3 { margin: 4px 0 14px; font-size: clamp(36px, 3.6vw, 52px); }
.next-card p { margin: 0; max-width: 380px; font-size: 17px; color: var(--muted); }
.next-arrow { display: grid; place-items: center; align-self: flex-start; width: 52px; height: 52px; margin-top: auto; border-radius: 50%; background: #fff; color: #111; transition: transform .2s; }
.next-card:hover .next-arrow { transform: translateX(4px); }
.next-arrow .ico { width: 20px; height: 20px; }
.next-accent { background: var(--accent); border-color: var(--accent); color: #0A0A0A; }
.next-accent:hover { background: #8CF6D2; border-color: #8CF6D2; }
.next-accent .label, .next-accent p { color: rgba(10, 10, 10, .7); }
.next-accent .next-arrow { background: #0A0A0A; color: #fff; }

/* ---------- Footer ---------- */
.footer { padding: 44px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- Client pages (dashboard + library) ---------- */
.notice { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 12px 18px; background: rgba(255, 210, 77, .08); border: 1px solid rgba(255, 210, 77, .28); border-radius: 14px; font-size: 14px; color: #FFE08A; }
.notice .ico { flex: none; width: 18px; height: 18px; }
.page-head { padding: 52px 0 44px; }
.page-head h1 { font-size: clamp(46px, 6.4vw, 88px); }
.page-head p { max-width: 640px; margin: 18px 0 0; font-size: 18px; color: var(--muted); }
.goal-line { max-width: 560px; }
.goal-line strong { font-weight: 600; color: #fff; }
.goal-progress { display: flex; align-items: center; gap: 16px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.goal-bar { flex: 1; height: 6px; overflow: hidden; background: rgba(255, 255, 255, .1); border-radius: 6px; }
.goal-bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }

.dash { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; align-items: start; padding-bottom: 110px; }
.dash-col { display: grid; gap: 12px; }
.panel { padding: 28px; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); border-radius: 20px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.panel h2 { font-size: 32px; }
.panel-head span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.row-list { list-style: none; margin: 0; padding: 0; }
.row-track { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.row-track .play { background: var(--c); color: #0A0A0A; }
.row-track h3, .file-row h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; font-stretch: 100%; font-variation-settings: normal; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.row-track .meta { margin: 2px 0 8px; font-size: 13px; color: var(--muted); }
.row-track .meta .tag { font-weight: 600; color: var(--c); }
.row-track .progress { max-width: 260px; height: 3px; }
.done { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 50%; background: none; color: transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.done svg { width: 16px; height: 16px; }
.done:hover { border-color: var(--accent); color: var(--accent); }
.done[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0A0A0A; }

.file-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.file-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--card-2); }
.file-icon .ico { width: 20px; height: 20px; }
.file-row .info { flex: 1; min-width: 0; }
.file-row .meta { font-size: 13px; color: var(--muted); }

.readiness .ring { width: 160px; height: 160px; margin: 10px auto 24px; }
.readiness .ring-label b { font-size: 50px; }
.readiness .btn { margin-top: 24px; }
.session-time { margin: 2px 0 6px; font-size: 44px; }
.session-meta { margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.note-text { margin: 2px 0 14px; font-size: 18px; line-height: 1.5; }
.note-from { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Audio tiles (library) ---------- */
.library-section { padding: 0 0 110px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 18px; font: inherit; font-size: 15px; font-weight: 500; color: #fff; background: transparent; border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: #fff; }
.chip.active { background: #fff; border-color: #fff; color: #111; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
.tiles-two { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.tile[hidden] { display: none; }
.tile-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-2); border-radius: 18px; }
.tile-art::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; right: -50%; top: -60%; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 60%); opacity: .6; transition: opacity .4s, transform .5s; }
.tile-art::after { content: ""; position: absolute; width: 64%; aspect-ratio: 1; right: -14%; top: -22%; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; }
.tile:hover .tile-art::before { opacity: .9; transform: scale(1.06); }
.tile-type { position: absolute; left: 22px; top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tile-art > .ico { position: absolute; left: 22px; bottom: 22px; width: 34px; height: 34px; color: #fff; }
.tile-art .play { position: absolute; right: 18px; bottom: 18px; }
.tile-info { padding: 16px 4px 0; }
.tile-info h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; font-stretch: 100%; font-variation-settings: normal; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.tile-cat { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.tile-desc { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.tile .progress { margin-top: 14px; opacity: 0; transition: opacity .2s; }
.tile.is-playing .progress { opacity: 1; }

/* ---------- Audio player bits ---------- */
.play { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #111; cursor: pointer; transition: transform .15s; }
.play:hover { transform: scale(1.06); }
.play:focus-visible, .done:focus-visible, .chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.play svg { width: 18px; height: 18px; fill: currentColor; }
.play .i-play { margin-left: 2px; }
.play .i-pause, .is-playing .play .i-play { display: none; }
.is-playing .play .i-pause { display: block; }
.progress { height: 4px; overflow: hidden; background: var(--line); border-radius: 4px; }
.progress span { display: block; width: 0; height: 100%; background: var(--c); transition: width .25s linear; }
.time { font-variant-numeric: tabular-nums; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  background: #fff;
  color: #111;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Client area login ---------- */
.login { display: grid; place-items: center; min-height: calc(100vh - 68px); padding: 60px 0; }
.login-card { width: min(440px, 100%); padding: 40px; background: var(--card); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; }
.login-card h1 { margin-bottom: 14px; font-size: clamp(40px, 6vw, 56px); }
.login-intro { margin: 0 0 24px; color: var(--muted); }
.login-error { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 107, 152, .12); color: #FF9DB9; font-size: 14px; }
.login-card label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.login-card input { width: 100%; margin-bottom: 18px; padding: 14px 16px; font: inherit; font-size: 16px; color: #fff; background: var(--card-2); border: 1.5px solid rgba(255, 255, 255, .12); border-radius: 12px; }
.login-card input:focus { outline: none; border-color: var(--accent); }
.login-help { margin: 18px 0 0; font-size: 14px; text-align: center; color: var(--muted); }
.login-help a { color: #fff; }

/* ---------- Thank you page ---------- */
.thanks { display: grid; place-items: center; min-height: calc(100vh - 68px); padding: 60px 0; text-align: center; }
.thanks p { max-width: 520px; margin: 24px auto 36px; font-size: 18px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: 1fr; max-width: 640px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .stories { grid-template-columns: 1fr; max-width: 720px; }
}
@media (max-width: 900px) {
  section { padding: 88px 0; }
  .hero { padding: 56px 0 48px; }
  .shift-section { padding-top: 56px; }
  .hero .wrap, .about, .next-steps, .ways, .steps, .dash { grid-template-columns: 1fr; }
  .shifts li { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .shift-arrow { transform: rotate(90deg); justify-self: start; font-size: 24px; line-height: 1; }
  .hero .wrap { gap: 56px; }
  .ready-card, .profile-card { justify-self: start; }
  .about { gap: 48px; }
  .next-card { min-height: 240px; }
  .steps { gap: 12px; }
  .step-arrow { display: none; }
  .step { min-height: 280px; }
  .about .photos { max-width: 560px; }
  .menu-btn { display: flex; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav.open nav { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 24px; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links a.btn { display: flex; margin-top: 16px; padding: 14px; border: 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .tiles, .tiles-two { grid-template-columns: 1fr; }
  .login-card { padding: 30px 22px; }
  .shifts s, .shifts strong { font-size: 19px; }
  .shifts-cta .btn { width: 100%; }
  .lead { font-size: 17px; }
  .section-head { margin-bottom: 44px; }
  .section-head p { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { justify-content: center; }
  .way, .next-card, .story { padding: 32px 24px; }
  .panel { padding: 24px 20px; }
  .about .quote { font-size: 27px; }
  .about-stats { gap: 28px 20px; margin-top: 56px; }
  .about-stats strong { font-size: 48px; }
  .brand { font-size: 19px; }
  .step .num { font-size: 68px; margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
