/* Inter (variable, weights 400–600), self-hosted. License: /fonts/Inter-OFL.txt */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --surface: #f6f6f4;
  --line: #e7e7e4;
  --text: #5c5f63;
  --text-strong: #0d0f12;
  --text-faint: #8a8d91;
  --ink: #0d0f12;
  --ink-hover: #2a2d31;
  --todo-bg: #ffe58a;
  --todo-ink: #2a2100;

  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1120px;
  --gutter: 32px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text-strong);
  text-decoration-color: var(--line);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--text-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 20;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

/* "AI" monogram badge, matching the favicon */
.wordmark-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text-strong);
}

/* Buttons and pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ink-hover);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text-strong);
}

.btn-ghost:hover {
  border-color: var(--text-strong);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 500;
}

.eyebrow {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Home: hero */
.hero {
  padding: 136px 0 128px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero .lede {
  max-width: 600px;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

/* Home: generic section */
.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.04em;
}

.section-head p:not(.eyebrow) {
  font-size: 19px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.steps h3,
.feature h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* Vision pillars */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature svg {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  color: var(--text-strong);
}

/* For coaches */
.coaches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.coaches-grid .section-head {
  margin-bottom: 0;
}

.coaches-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 32px;
  font-size: 19px;
}

/* Closing band */
.closing {
  padding: 128px 0;
  background: var(--surface);
}

.closing .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.closing h1,
.closing h2 {
  max-width: 820px;
  font-size: clamp(36px, 5.4vw, 64px);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* Legal and support pages */
.doc {
  padding: 88px 0 112px;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h1 {
  margin-bottom: 14px;
  font-size: clamp(36px, 5.4vw, 52px);
  letter-spacing: -0.04em;
}

.prose .doc-meta {
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 500;
}

.prose h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.prose p + p {
  margin-top: 14px;
}

.prose ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose strong {
  color: var(--text-strong);
  font-weight: 600;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px;
  border-radius: 16px;
  background: var(--surface);
}

/* Unfilled placeholder: must be replaced before going live */
mark.todo {
  padding: 0 4px;
  border-radius: 3px;
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer p {
  margin: 0;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-strong);
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .coaches-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav .nav-optional {
    display: none;
  }

  .hero {
    padding: 72px 0 88px;
  }

  .hero .lede,
  .section-head p:not(.eyebrow),
  .coaches-copy {
    font-size: 17px;
  }

  .section,
  .closing {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .feature {
    padding: 28px 24px;
  }

  .contact-card {
    padding: 24px;
  }

  .doc {
    padding: 56px 0 80px;
  }

  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small phones (320–360px): keep only the last nav link so the header fits */
@media (max-width: 370px) {
  .site-nav a:not(:last-child) {
    display: none;
  }
}
