:root {
  color-scheme: light;
  --paper: #f5f4ed;
  --ink: #1d2723;
  --muted: #737b72;
  --line: #dedfd5;
  --lime: #e1ff52;
  --green: #314b3d;
  --font-body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
}

.site-header { border-bottom: 1px solid var(--line); }

.wordmark {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  text-decoration: none;
}

.wordmark span { color: #7a9a23; }

.site-header nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav a,
.footer-links a {
  font-size: 0.8rem;
  text-decoration: none;
}

.site-header nav a:hover,
.footer-links a:hover { text-decoration: underline; }

.hero {
  display: grid;
  gap: 42px;
  align-items: center;
  max-width: 1440px;
  min-height: 610px;
  margin: auto;
  padding: 64px 6vw 76px;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #88a728;
}

h1,
h2,
h3,
p { margin-top: 0; }

.hero h1,
.policy-page > h1 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.1em;
  line-height: 0.83;
}

.hero h1 span,
.policy-page > h1 span,
.section-heading h2 span { color: #849a55; }

.hero-text {
  max-width: 390px;
  margin-bottom: 28px;
  color: #59645d;
  font-size: 1rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 21px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #35453c; }
.button-light { background: var(--lime); color: var(--ink); }
.button-light:hover { background: #edff9d; }

.small-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-art {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 48% 48% 4px 4px;
  background: #dfe6d2;
  color: var(--green);
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  right: -14%;
  bottom: -27%;
  left: -14%;
  height: 72%;
  border: 1px solid rgb(49 75 61 / 18%);
  border-radius: 50% 50% 0 0;
  content: "";
}

.hero-art::after {
  right: -4%;
  bottom: -39%;
  left: -4%;
  height: 77%;
}

.route {
  position: absolute;
  inset: 5% 0 0;
  width: 100%;
  height: 100%;
}

.art-caption {
  position: absolute;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.art-caption { right: 12%; bottom: 9%; }

.run-card {
  position: absolute;
  right: 7%;
  bottom: 20%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgb(29 39 35 / 10%);
}

.run-card-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  font-weight: 700;
}

.run-card strong,
.run-card div > span { display: block; }
.run-card strong { font-size: 0.72rem; }
.run-card div > span { margin-top: 4px; color: var(--muted); font-size: 0.66rem; }

.section-wrap {
  max-width: 1440px;
  margin: auto;
  padding: 70px 6vw 100px;
}

.features {
  display: grid;
  gap: 44px;
  border-top: 1px solid var(--line);
}

.section-heading .eyebrow { color: var(--muted); }

.section-heading h2,
.join-banner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.98;
}

.feature-list { border-top: 1px solid var(--line); }

.feature {
  display: grid;
  grid-template-columns: 35px 1fr 20px;
  gap: 12px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  padding-top: 4px;
  color: #82916f;
  font-size: 0.7rem;
  font-weight: 700;
}

.feature h3 {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.feature-title-link { text-decoration: none; }
.feature-title-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.feature p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.feature-arrow { justify-self: end; font-size: 1.1rem; }

.join-banner {
  padding: 70px 6vw;
  background: var(--green);
  color: white;
  text-align: center;
}

.join-banner .eyebrow { justify-content: center; color: #d4dfcb; }
.join-banner h2 { margin-bottom: 28px; }

.site-footer {
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
}

.site-footer > p,
.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.policy-page {
  max-width: 880px;
  margin: auto;
  padding: 70px 6vw 100px;
}

.policy-page > .eyebrow { margin-bottom: 30px; }
.policy-page > h1 { font-size: clamp(4rem, 12vw, 7rem); }

.policy-intro {
  max-width: 650px;
  margin: 30px 0 14px;
  color: #59645d;
  font-size: 1rem;
  line-height: 1.7;
}

.updated {
  margin-bottom: 55px;
  color: var(--muted);
  font-size: 0.75rem;
}

.policy-sections { border-top: 1px solid var(--line); }

.policy-sections section {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 14px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.policy-sections h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.policy-sections p {
  margin: 0;
  color: #59645d;
  font-size: 0.9rem;
  line-height: 1.75;
}

.policy-sections a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.contact-form {
  display: grid;
  gap: 20px;
  max-width: 620px;
  margin: 38px 0 18px;
}

.form-field { display: grid; gap: 8px; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
}

.form-field textarea { min-height: 150px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #849a55;
  outline-offset: 2px;
}

.contact-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled { cursor: wait; opacity: 0.7; }

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: #355a36;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.is-error { color: #9c3025; }

.contact-note {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.home-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.home-page {
  --paper: #f7f8f2;
  --ink: #17241f;
  --muted: #6b7770;
  --line: #dce2d8;
  --lime: #d6ff3f;
  --green: #17241f;
  --sport-coral: #ff6548;
}

.home-page .site-header {
  border-bottom-color: #e2e7dd;
}

.home-page .wordmark span { color: var(--sport-coral); }

.home-page .site-header nav a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-page .hero {
  min-height: 660px;
  gap: 5vw;
}

.hero-series {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 7px;
  padding: 0 9px;
  border: 1px solid #c8d0c4;
  border-radius: 2px;
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.home-page .status-dot {
  background: var(--sport-coral);
  box-shadow: 0 0 0 4px rgb(255 101 72 / 13%);
}

.home-page .hero h1 {
  font-size: clamp(4.8rem, 11vw, 8.6rem);
  font-weight: 700;
  letter-spacing: -0.105em;
  line-height: 0.79;
}

.home-page .hero h1 span {
  color: #769900;
}

.home-page .hero-text {
  max-width: 420px;
  color: #59665f;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.hero-signals span {
  padding: 9px 11px;
  border: 1px solid #dce2d8;
  border-radius: 2px;
  color: #516159;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-signals span:last-child {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.home-page .hero-art {
  min-height: 470px;
  border: 1px solid rgb(23 36 31 / 8%);
  border-radius: 20px 20px 76px 20px;
  background-color: var(--lime);
  background-image:
    radial-gradient(circle at 1px 1px, rgb(23 36 31 / 13%) 1px, transparent 1.5px),
    linear-gradient(135deg, rgb(255 255 255 / 15%), transparent 58%);
  background-size: 20px 20px, auto;
  box-shadow: 0 18px 48px rgb(23 36 31 / 9%);
}

.home-page .hero-art::before,
.home-page .hero-art::after {
  right: -25%;
  bottom: -34%;
  left: -20%;
  height: 83%;
  border-color: rgb(23 36 31 / 19%);
  border-radius: 50%;
}

.home-page .hero-art::after {
  right: -10%;
  bottom: -48%;
  left: -4%;
  height: 94%;
}

.art-topline {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 22px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.art-topline > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.art-topline i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sport-coral);
  box-shadow: 0 0 0 3px rgb(255 101 72 / 20%);
}

.art-topline > span:last-child { color: #52614c; }

.finish-stamp {
  position: absolute;
  z-index: 1;
  top: 17%;
  right: 10%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--sport-coral);
  transform: rotate(5deg);
}

.finish-check {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  background: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0 / 12px 12px;
}

.finish-stamp strong,
.finish-stamp small {
  display: block;
}

.finish-stamp strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.finish-stamp small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-page .route {
  inset: 5% 0 0;
}

.art-number {
  position: absolute;
  top: 15%;
  left: 9%;
  color: rgb(23 36 31 / 12%);
  font-family: var(--font-display);
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 1;
}

.runner-mark {
  position: absolute;
  z-index: 1;
  top: 23%;
  left: 25%;
  width: min(55%, 250px);
  height: 52%;
  overflow: visible;
  transform: rotate(-5deg);
}

.home-page .run-card {
  z-index: 2;
  right: 6%;
  bottom: 17%;
  gap: 11px;
  min-width: 220px;
  padding: 13px 15px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 5px 5px 0 var(--sport-coral);
  transform: rotate(-3deg);
}

.home-page .run-card-icon {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--lime);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.home-page .run-card strong { font-size: 0.78rem; }

.run-card-label {
  display: block;
  margin-bottom: 4px;
  color: var(--sport-coral);
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-page .art-caption {
  right: auto;
  bottom: 6%;
  left: 8%;
  padding: 8px 10px;
  border-radius: 2px;
  background: var(--ink);
  color: white;
  font-size: 0.55rem;
}

.home-page .section-heading h2 span { color: #769900; }

.home-page .feature-number {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.62rem;
}

.home-page .feature {
  transition: padding 180ms ease, background-color 180ms ease;
}

.home-page .feature:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgb(214 255 63 / 15%);
}

.home-page .feature-arrow {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--sport-coral);
  color: white;
  font-size: 0.8rem;
}

.home-page .join-banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.home-page .join-banner::before,
.home-page .join-banner::after {
  position: absolute;
  top: 50%;
  right: -9%;
  width: 36vw;
  aspect-ratio: 1;
  border: 1px solid rgb(214 255 63 / 23%);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.home-page .join-banner::after {
  right: -3%;
  width: 24vw;
  border-color: rgb(255 101 72 / 45%);
}

.home-page .join-banner > * { position: relative; z-index: 1; }
.home-page .join-banner h2 { color: var(--lime); }
.home-page .join-banner .eyebrow { color: #d4dfcb; }

@media (min-width: 760px) {
  .hero { grid-template-columns: 1fr 0.9fr; gap: 7vw; }
  .hero-art { min-height: 490px; }
  .features { grid-template-columns: 0.75fr 1.25fr; gap: 8vw; }
  .section-heading { align-self: start; position: sticky; top: 40px; }
  .feature { grid-template-columns: 42px 1fr 24px; gap: 20px; padding: 28px 0; }
  .feature h3 { font-size: 1.2rem; }
  .join-banner { padding-top: 95px; padding-bottom: 95px; }
  .home-page .hero { grid-template-columns: 1fr 0.95fr; gap: 5vw; }
  .home-page .hero-art { min-height: 540px; }
  .runner-mark { left: 25%; width: 56%; }
}

@media (max-width: 480px) {
  .site-header, .site-footer { padding-right: 5vw; padding-left: 5vw; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 0.72rem; }
  .hero { padding: 55px 5vw 65px; }
  .hero h1 { font-size: clamp(4.1rem, 20vw, 6rem); }
  .hero-art { min-height: 300px; }
  .section-wrap, .policy-page { padding-right: 5vw; padding-left: 5vw; }
  .site-footer { justify-content: flex-start; }
  .site-footer .footer-links { order: 1; width: 100%; }
  .copyright { margin-left: auto; }
  .home-page .hero { padding-top: 48px; }
  .home-page .hero h1 { font-size: clamp(4rem, 18vw, 5.5rem); }
  .hero-series { display: none; }
  .home-page .hero-art { min-height: 360px; border-bottom-right-radius: 56px; }
  .art-topline { right: 15px; left: 15px; font-size: 0.48rem; }
  .finish-stamp { right: 7%; gap: 6px; padding: 7px 8px; }
  .finish-check { width: 25px; height: 25px; background-size: 10px 10px; }
  .finish-stamp strong { font-size: 0.62rem; }
  .finish-stamp small { font-size: 0.4rem; }
  .art-number { top: 20%; font-size: 7rem; }
  .runner-mark { top: 24%; left: 24%; width: 59%; height: 48%; }
  .home-page .run-card { right: 5%; bottom: 16%; min-width: 190px; }
  .home-page .join-banner::before { width: 56vw; }
  .home-page .join-banner::after { width: 42vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
