* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  color-scheme: light dark;
}
body {
  --bg: #faf8f6;
  --fg: #241f1c;
  --muted: #655d58;
  --line: #d8d0ca;
  --panel: #f1ece7;
  --accent: #bd292e;
  --focus: #a92028;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    1rem/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a:hover {
  color: var(--accent);
}
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 2px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(3rem, 6.4vw, 6.25rem);
  max-width: 12ch;
  font-weight: 800;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 750;
}
h3 {
  font-size: 1.3rem;
  font-weight: 750;
}
.page {
  max-width: 1440px;
  margin: auto;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
}
.site-header {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.wordmark svg {
  width: 25px;
  height: 32px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  padding: clamp(4rem, 8vw, 8rem) 0;
  align-items: start;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.7rem;
}
.eyebrow > span {
  height: 2px;
  width: 2rem;
  background: var(--accent);
}
.intro {
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.75;
}
.hero .intro {
  margin-top: 1.75rem;
  max-width: 31rem;
}
.approach-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.6rem;
  min-height: 44px;
  font-weight: 650;
  text-decoration: none;
}
.approach-link span {
  color: var(--accent);
  font-size: 1.5rem;
}
.coming-soon {
  margin-top: 3rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
}
.coming-soon > span {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: var(--accent);
}
.launch-note {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 30rem;
  margin-top: 0.5rem;
}
.preview {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 0.3rem;
  overflow: hidden;
}
.preview .eyebrow {
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.preview h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.preview > p:not(.eyebrow) {
  margin-top: 0.7rem;
  color: var(--muted);
}
.track {
  position: relative;
  height: 100px;
  overflow: hidden;
  margin: 1.25rem -2.5rem 1.5rem;
}
.track i {
  position: absolute;
  width: 150%;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 50%;
  left: -25%;
  top: 28px;
  transform: rotate(-9deg);
}
.track i:nth-child(2) {
  top: 47px;
}
.track i:nth-child(3) {
  top: 66px;
}
.track i:nth-child(4) {
  top: 85px;
}
.track b {
  position: absolute;
  width: 11px;
  height: 11px;
  left: 68%;
  top: 45px;
  background: var(--accent);
  border-radius: 100%;
}
.week {
  background: var(--bg);
  padding: 1.2rem;
  border: 1px solid var(--line);
}
.week-heading {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: start;
}
.week h3 {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.week-heading > span {
  color: var(--muted);
  font-size: 0.625rem;
  text-align: right;
  max-width: 6rem;
}
.week ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.week li {
  display: grid;
  grid-template-columns: 2rem 10px 1fr;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.75rem;
  border-top: 1px solid var(--line);
  padding: 0.5rem 0;
}
.week li > span:first-child {
  color: var(--muted);
}
.session {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.session.rest {
  background: transparent;
  border: 1px solid var(--muted);
}
.session.ride {
  background: #80651c;
}
.session.swim {
  background: #226f8a;
}
.preview-note {
  color: var(--muted);
  font-size: 0.7rem;
}
.approach {
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 5.5rem;
}
.approach h2 {
  max-width: 18ch;
}
.approach > .intro {
  margin-top: 1.5rem;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
}
.principles article {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.principle-number {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 750;
  margin-bottom: 1.5rem;
}
.principles p {
  margin-top: 1rem;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
footer p,
footer small {
  font-size: 0.8rem;
  color: var(--muted);
}
footer p {
  margin: 0.7rem 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
}
footer nav a {
  padding: 0.25rem 0;
  min-height: 32px;
}
.skip {
  position: fixed;
  top: -10rem;
  left: 1rem;
  background: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 10;
  border: 2px solid var(--focus);
}
.skip:focus {
  top: 1rem;
}
.legal-document {
  max-width: 52rem;
  padding: 3rem 0 5rem;
  margin: auto;
}
.back {
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 2rem;
}
.legal-document h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  max-width: 22ch;
  overflow-wrap: anywhere;
}
.document-meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 1.25rem;
}
.legal-body {
  white-space: pre-wrap;
  margin-top: 2.5rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.declaration {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
}
.declaration h2 {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}
.declaration p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
@media (prefers-color-scheme: dark) {
  body {
    --bg: #201d1b;
    --fg: #f7f2ed;
    --muted: #c0b6ae;
    --line: #51463f;
    --panel: #2a2521;
    --accent: #ff8f91;
    --focus: #ffadb0;
  }
  .session.ride {
    background: #d6b85c;
  }
  .session.swim {
    background: #80c1dc;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 84px;
    gap: 0.8rem;
  }
  .site-header nav {
    gap: 1rem;
    font-size: 0.75rem;
  }
  .site-header nav > a:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3.5rem;
  }
  h1 {
    font-size: 3.35rem;
    max-width: 12ch;
  }
  .hero .intro {
    font-size: 1.05rem;
  }
  .coming-soon {
    margin-top: 2rem;
  }
  .preview {
    max-width: 34rem;
    width: 100%;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
  }
  .principle-number {
    margin-bottom: 0.75rem;
  }
  .approach {
    padding: 3rem 0 3.5rem;
  }
  footer {
    flex-direction: column;
  }
  .legal-document {
    padding-top: 2rem;
  }
  .legal-document h1 {
    font-size: 2.4rem;
  }
  .legal-body {
    font-size: 0.95rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.legal-body {
  white-space: normal;
}
.legal-body p {
  white-space: pre-wrap;
}
.legal-body > p + p,
.legal-body > section + section,
.legal-body > p + section,
.legal-body > section + p {
  margin-top: 1.6rem;
}
.legal-body h2 {
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
