:root {
  --ink: #10251b;
  --ink-soft: #1d3529;
  --green: #2f684a;
  --green-bright: #87b695;
  --sage: #c8d8c8;
  --sage-light: #e7eee5;
  --cream: #f4f2e9;
  --paper: #fbfcf8;
  --white: #ffffff;
  --text: #18231d;
  --muted: #637067;
  --line: rgba(16, 37, 27, 0.13);
  --line-dark: rgba(255, 255, 255, 0.14);
  --radius: 1.5rem;
  --radius-small: 0.9rem;
  --pill: 999px;
  --max-width: 1160px;
  --header-height: 74px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--font); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.03; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.6rem, 7.7vw, 7.2rem); font-weight: 680; }
h1 em { color: var(--green-bright); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.35rem, 4.6vw, 4.5rem); font-weight: 650; }
h3 { margin-bottom: 0.7rem; font-size: 1.35rem; font-weight: 680; }
p { color: var(--muted); }
.container { width: min(calc(100% - 2.5rem), var(--max-width)); margin-inline: auto; }
.section-light { background: var(--paper); }
.section-sage { background: var(--sage); }
.section-dark { color: var(--white); background: var(--ink); }
.section-cream { background: var(--cream); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 0.75rem; left: 0.75rem; padding: 0.7rem 1rem; color: var(--ink); background: var(--white); border-radius: var(--radius-small); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: 1rem; color: var(--green-bright); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.eyebrow-dark { color: var(--green); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.82rem 1.35rem; border: 1px solid transparent; border-radius: var(--pill); font-size: 0.9rem; font-weight: 750; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #e2a36f; outline-offset: 3px; }
.button-primary { color: var(--ink); background: var(--green-bright); }
.button-primary:hover { background: #a5c9ae; }
.button-ghost { color: var(--white); border-color: var(--line-dark); }
.button-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.button-light { color: var(--ink); background: var(--white); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--ink-soft); }
.button-small { min-height: 40px; padding: 0.55rem 1rem; }
.button-large { min-height: 58px; padding-inline: 1.7rem; white-space: nowrap; }
.button-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.site-header { position: absolute; z-index: 50; inset: 0 0 auto; height: var(--header-height); color: var(--white); }
.site-header.is-scrolled { position: fixed; background: rgba(16, 37, 27, 0.94); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 1.1rem; font-weight: 750; letter-spacing: -0.02em; }
.brand img { border-radius: 22%; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); font-size: 0.84rem; }
.site-nav > a:not(.button) { color: #d5e0d7; }
.site-nav > a:not(.button):hover { color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.menu-toggle span:not(.visually-hidden) { display: block; height: 2px; margin: 4px 0; background: var(--white); border-radius: 2px; }
.hero { min-height: 760px; padding: calc(var(--header-height) + 5.5rem) 0 3rem; color: var(--white); background: radial-gradient(circle at 82% 28%, rgba(135, 182, 149, 0.2), transparent 28%), var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.hero-copy { max-width: 810px; }
.hero-lede { max-width: 660px; margin-bottom: 2rem; color: #d4dfd6; font-size: clamp(1.12rem, 2vw, 1.4rem); }
.hero-mark { justify-self: end; width: min(100%, 330px); padding: 1.35rem; color: var(--white); background: rgba(255, 255, 255, 0.055); border: 1px solid var(--line-dark); border-radius: 2rem; transform: rotate(2deg); }
.hero-mark img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22%; box-shadow: 0 28px 65px rgba(0, 0, 0, 0.34); }
.hero-mark p { margin: 1.2rem 0 0; color: #bed0c2; font-size: 0.9rem; line-height: 1.4; }
.hero-mark strong { color: var(--white); }
.audience-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 6rem; padding-top: 1.6rem; color: #9eb2a3; border-top: 1px solid var(--line-dark); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.features { padding: 7rem 0; }
.section-heading { max-width: 820px; margin-bottom: 3.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 270px; padding: 1.7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(16, 37, 27, 0.04); }
.feature-card-wide { grid-column: span 2; }
.feature-card-dark { color: var(--white); background: var(--green); border-color: transparent; }
.feature-card h3 { max-width: 390px; margin-top: 3.5rem; }
.feature-card p { max-width: 500px; margin-bottom: 0; font-size: 0.92rem; }
.feature-card-dark p { color: #d7e5db; }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--green); background: var(--sage-light); border-radius: 50%; font-weight: 800; }
.feature-card-dark .feature-icon { color: var(--ink); background: var(--green-bright); }
.race-flow { padding: 7rem 0; }
.flow-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.flow-copy h2 { margin-bottom: 0; }
.flow-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(16, 37, 27, 0.18); }
.flow-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(16, 37, 27, 0.18); }
.flow-steps li > span { color: var(--green); font-family: Georgia, serif; }
.flow-steps strong { display: block; margin-bottom: 0.25rem; font-size: 1.05rem; }
.flow-steps p { margin: 0; color: #506458; font-size: 0.9rem; }
.clubs { padding: 7rem 0; }
.clubs-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.clubs-image { overflow: hidden; border-radius: 2rem; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25); }
.clubs-image img { width: 100%; min-height: 430px; object-fit: cover; }
.clubs-copy p:not(.eyebrow) { color: #b9c9bd; font-size: 1.05rem; }
.clubs-copy .community-note { margin-top: 2.2rem; color: var(--green-bright); font-family: Georgia, serif; font-size: 1.65rem; font-style: italic; }
.beta { padding: 5.5rem 0; }
.beta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.beta-inner h2 { max-width: 760px; }
.beta-inner p:not(.eyebrow) { max-width: 620px; margin-bottom: 0; }
.site-footer { color: var(--white); background: #09150f; border-top: 1px solid var(--line-dark); }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-top: 2.8rem; padding-bottom: 2.8rem; }
.footer-brand span small { display: block; color: #82958a; font-size: 0.58rem; font-weight: 500; }
.footer-top nav { display: flex; gap: 1.75rem; color: #aebbb3; font-size: 0.78rem; }
.footer-top nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.2rem; padding-bottom: 1.2rem; color: #718279; border-top: 1px solid var(--line-dark); font-size: 0.68rem; }
.footer-bottom a { color: #9eb2a5; }
.legal-page { min-height: 100vh; background: var(--cream); }
.legal-content { max-width: 790px; padding: 4.5rem 0 6rem; }
.legal-brand { margin-bottom: 2.5rem; color: var(--ink); }
.legal-content h1 { color: var(--text); font-size: clamp(3rem, 8vw, 5rem); }
.legal-content h2 { margin-top: 2.75rem; margin-bottom: 0.85rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.legal-content p { font-size: 1.06rem; }
.legal-content p a { color: var(--green); font-weight: 750; text-decoration: underline; text-underline-offset: 0.2em; }
.legal-content .legal-back { font-size: 0.9rem; text-decoration: none; }
.support-intro { max-width: 680px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 3.5rem; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 3rem; }
.support-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 20px rgba(16, 37, 27, 0.04); }
.support-card h3 { margin-bottom: 0.65rem; font-size: 1.05rem; }
.support-card p { margin-bottom: 0; font-size: 0.92rem; }
.support-list { padding-left: 1.25rem; color: var(--muted); }
.support-list li { margin-bottom: 0.65rem; }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; align-items: center; justify-self: start; width: min(100%, 470px); transform: none; }
  .hero-mark p { margin: 0; }
  .audience-strip { justify-content: flex-start; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 1; }
  .flow-grid, .clubs-grid { grid-template-columns: 1fr; }
  .clubs-image { order: 2; }
  .clubs-copy { max-width: 700px; }
}
@media (max-width: 720px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 2rem), var(--max-width)); }
  .site-header { position: absolute; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% - 0.25rem); right: 1rem; left: 1rem; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 0.65rem; background: rgba(16, 37, 27, 0.98); border: 1px solid var(--line-dark); border-radius: var(--radius-small); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 0.8rem 1rem; }
  .site-nav .button { margin-top: 0.35rem; }
  .hero { padding-top: calc(var(--header-height) + 4.5rem); }
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .audience-strip { margin-top: 4rem; }
  .features, .race-flow, .clubs { padding: 5rem 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 235px; }
  .beta-inner { align-items: flex-start; flex-direction: column; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 2rem; }
  .footer-top nav { flex-wrap: wrap; gap: 1rem 1.5rem; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-mark { grid-template-columns: 88px 1fr; gap: 1rem; padding: 1rem; border-radius: 1.5rem; }
  .audience-strip { flex-direction: column; }
  .clubs-image img { min-height: 320px; }
  .footer-bottom { flex-direction: column; gap: 0.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
