/* StrideWell – site styles. Self-contained: no external fonts, CDNs or trackers. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable.woff2") format("woff2");
}

:root {
  --paper: #f5f3ee;
  --paper-2: #ebe7de;
  --card: #fbfaf7;
  --ink: #15171a;
  --ink-2: #4b5157;
  --ink-3: #6f747a;
  --rule: rgba(21, 23, 26, .14);
  --rule-strong: rgba(21, 23, 26, .85);
  --green: #0c6163;
  --green-2: #094b4d;
  --brand-teal: #25e8e6;
  --brand-orange: #fbb53a;
  --walk: #1f7a5c;
  --jog: #a86808;
  --run: #b83a24;
  --night: #121614;
  --night-ink: #eef0ec;
  --night-mute: #a6ada8;
  --wrap: 1180px;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.01em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Display type: condensed, heavy, uppercase */
.display {
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.005em;
}
.kicker {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

/* ───────────── Header ───────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 243, 238, .95);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; height: 64px; gap: 32px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-stretch: 80%; font-weight: 800; font-size: 1.25rem;
  letter-spacing: .02em; text-transform: uppercase;
}
.wordmark img { width: 28px; height: 28px; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: .94rem; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
.header-cta { font-size: .94rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 1px; }
@media (max-width: 860px) { .site-nav { display: none; } .header-cta { margin-left: auto; } }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 4px;
  font: 600 1rem var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--green-2); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link-arrow::after { content: " \2192"; }

/* ───────────── Hero ───────────── */
.hero-stage { background: #0d1517; padding: 28px 0 0; }
.hero-art {
  width: 100%; height: auto; border-radius: 10px 10px 0 0;
  aspect-ratio: 1672 / 941; background: #102025;
}
.hero-intro {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end;
  padding: 56px 0 64px;
}
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-lede { font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
@media (max-width: 900px) {
  .hero-stage { padding-top: 16px; }
  .hero-art { border-radius: 6px 6px 0 0; }
  .hero-intro { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 48px; }
}

.device {
  border-radius: 40px; padding: 10px;
  background: #0d0f0e;
  box-shadow: 0 30px 60px -30px rgba(21, 23, 26, .45);
}
.device img { border-radius: 31px; width: 100%; }

/* Spec strip */
.specs { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.specs dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.specs div { padding: 22px 24px 24px 0; }
.specs div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.specs dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.specs dd { margin: 0; font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) {
  .specs dl { grid-template-columns: 1fr 1fr; }
  .specs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .specs div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ───────────── Sections ───────────── */
.section { padding: 112px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; max-width: 32em; }
@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
}

/* How it works */
.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.how-figure { position: sticky; top: 104px; margin: 0; max-width: 310px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 8px 20px; padding: 28px 0; border-top: 1px solid var(--rule); counter-increment: step; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-stretch: 72%; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--green);
}
.steps h3 { font-size: 1.2rem; font-weight: 700; }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; gap: 40px; }
  .how-figure { position: static; margin-inline: auto; max-width: 270px; order: 2; }
  .steps li { grid-template-columns: 56px 1fr; }
  .steps li::before { font-size: 2rem; }
}

/* Course timetable */
.timetable { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.timetable li {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) 110px 80px 110px 2fr;
  gap: 20px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.timetable li.tt-head { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 12px 0; }
.tt-name { font-weight: 700; }
.tt-type::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; transform: translateY(-1px); background: currentColor; }
.tt-head .tt-type::before { display: none; }
.tt-walk { color: var(--walk); }
.tt-jog { color: var(--jog); }
.tt-run { color: var(--run); }
.tt-time { font-variant-numeric: tabular-nums; }
.tt-level, .tt-note { color: var(--ink-2); }
.timetable-foot { margin-top: 24px; color: var(--ink-2); max-width: 46em; }
@media (max-width: 860px) {
  .timetable li.tt-head { display: none; }
  .timetable li { grid-template-columns: 1fr auto; gap: 2px 16px; }
  .tt-type { grid-column: 1; grid-row: 2; font-size: .9rem; }
  .tt-time { grid-column: 2; grid-row: 1; }
  .tt-level { grid-column: 2; grid-row: 2; font-size: .9rem; text-align: right; }
  .tt-note { grid-column: 1 / -1; font-size: .94rem; margin-top: 4px; }
}

/* Video runs (dark band) */
.band { background: var(--night); color: var(--night-ink); }
.section.band + .section { border-top: 0; }
.band .kicker { color: var(--brand-teal); }
.band .section-head p { color: var(--night-mute); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.video-grid h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin-bottom: 32px; }
.video-points { margin: 0; }
.video-points div { padding: 20px 0; border-top: 1px solid rgba(238, 240, 236, .16); }
.video-points div:last-child { border-bottom: 1px solid rgba(238, 240, 236, .16); }
.video-points dt { font-weight: 700; margin-bottom: 4px; }
.video-points dt::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--brand-teal); margin-right: 10px; vertical-align: middle; }
.video-points dd { margin: 0; color: var(--night-mute); }
.screen-crop { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid rgba(238, 240, 236, .14); background: #0b0d0c; }
.screen-crop figcaption { font-size: .85rem; color: var(--night-mute); padding: 12px 16px; border-top: 1px solid rgba(238, 240, 236, .1); }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-strong); border-radius: 6px; overflow: hidden; background: var(--card); }
.plan { padding: 36px; }
.plan + .plan { border-left: 1px solid var(--rule-strong); }
.plan h3 { font-stretch: 72%; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.plan .price { margin: 10px 0 24px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { padding: 11px 0; border-top: 1px solid var(--rule); }
.plan-premium { background: #eaf0ec; }
.plan-premium h3 { color: var(--green); }
.plans-note { margin-top: 18px; font-size: .92rem; color: var(--ink-3); }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule-strong); }
  .plan { padding: 28px 24px; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; }
.faq div { padding: 24px 0; border-top: 1px solid var(--rule); }
.faq dt { font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }
.faq dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Launch list */
.signup-band { background: var(--green); color: #f2f5f2; padding: 88px 0; }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.signup-band h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.signup-band p { color: rgba(242, 245, 242, .85); margin: 16px 0 0; max-width: 30em; }
.signup { display: flex; border-bottom: 2px solid #f2f5f2; }
.signup input {
  flex: 1; min-width: 0; height: 56px; padding: 0 2px;
  background: transparent; border: 0; color: #fff;
  font: 400 1.15rem var(--font);
}
.signup input::placeholder { color: rgba(242, 245, 242, .65); }
.signup input:focus { outline: none; }
.signup:focus-within { border-bottom-color: #fff; box-shadow: 0 2px 0 #fff; }
.signup button {
  height: 56px; padding: 0 4px 0 18px; border: 0; background: transparent; color: #fff;
  font: 700 1rem var(--font); cursor: pointer; white-space: nowrap;
}
.signup button::after { content: " \2192"; }
.signup button[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; }
.form-msg { min-height: 1.6em; margin: 14px 0 0; font-weight: 600; }
.form-msg.err { color: #ffd9cf; }
.signup-band .fine { font-size: .85rem; color: rgba(242, 245, 242, .75); margin: 6px 0 0; }
.fine a { color: #fff; }
@media (max-width: 860px) { .signup-grid { grid-template-columns: 1fr; gap: 28px; } .signup-band { padding: 64px 0; } }

/* Footer */
.site-footer { padding: 56px 0 40px; font-size: .92rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.footer-grid h2 { margin: 0 0 12px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-about p { max-width: 30em; margin: 14px 0 0; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; color: var(--ink-3); font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Legal pages */
.legal { padding: 72px 0 104px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 12px; }
.legal .updated { color: var(--ink-3); margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin: 40px 0 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .6em; }
.legal a { color: var(--green); }
