:root {
  color-scheme: light;
  --ink: #171b18;
  --muted: #60665f;
  --paper: #f6f1e7;
  --paper-deep: #e8dfcd;
  --cream: #fffaf0;
  --green: #1e5b45;
  --green-light: #8fbda7;
  --signal: #e4b63f;
  --line: rgba(23, 27, 24, 0.15);
  --shadow: 0 24px 80px rgba(42, 50, 40, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(228, 182, 63, 0.22), transparent 26rem),
    var(--paper);
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 9px 9px 12px 12px;
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-weight: 900;
  transform: rotate(-4deg);
}

nav,
footer div {
  display: flex;
  gap: 28px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

nav a:hover,
nav a[aria-current="page"],
footer a:hover {
  color: var(--ink);
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  min-height: 720px;
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 670px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
}

.button.primary {
  color: white;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
}

.route-card {
  position: relative;
  aspect-ratio: 0.81;
  overflow: hidden;
  background: #dfe8d8;
  border: 1px solid rgba(30, 91, 69, 0.15);
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(28deg, transparent 48%, rgba(30, 91, 69, 0.19) 49%, rgba(30, 91, 69, 0.19) 51%, transparent 52%),
    linear-gradient(112deg, transparent 48%, rgba(30, 91, 69, 0.14) 49%, rgba(30, 91, 69, 0.14) 51%, transparent 52%),
    linear-gradient(rgba(255, 255, 255, 0.75) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.75) 1px, transparent 1px);
  background-size: 170px 150px, 150px 190px, 46px 46px, 46px 46px;
}

.route-line {
  position: absolute;
  inset: 4% 6%;
  width: 88%;
  height: 92%;
  fill: var(--signal);
}

.route-shadow,
.route {
  fill: none;
  stroke-linecap: round;
}

.route-shadow {
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 17;
}

.route {
  stroke: var(--green);
  stroke-width: 9;
}

.metric,
.route-badge {
  position: absolute;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(40, 51, 42, 0.14);
}

.metric {
  display: flex;
  min-width: 130px;
  flex-direction: column;
  padding: 13px 17px;
  border-radius: 18px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric strong {
  margin-top: 2px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.distance {
  top: 14%;
  left: 7%;
}

.workout {
  right: 7%;
  bottom: 18%;
}

.route-badge {
  right: 7%;
  bottom: 6%;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 106px 0 118px;
  border-top: 1px solid var(--line);
}

.section h2,
.statement h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.feature-card {
  min-height: 290px;
  padding: 28px;
  background: rgba(255, 250, 240, 0.55);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.feature-number {
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 13px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 70px 0 12px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.feature-card p,
.statement p,
.document-intro p,
.document-content p,
.document-content li,
.document-content dd {
  color: var(--muted);
}

.statement {
  margin: 0 0 96px;
  padding: clamp(36px, 7vw, 76px);
  color: white;
  background: var(--green);
  border-radius: 34px;
}

.statement p {
  margin: 0 0 20px;
  color: var(--green-light);
  font-weight: 750;
}

.statement h2 {
  max-width: 920px;
}

.statement a {
  display: inline-block;
  margin-top: 36px;
  color: #fff0bb;
  font-weight: 750;
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(48px, 9vw, 128px);
  align-items: start;
  padding: 86px 0 118px;
}

.document-intro {
  position: sticky;
  top: 36px;
}

.document-intro h1 {
  font-size: clamp(42px, 5vw, 64px);
}

.document-intro p:not(.eyebrow) {
  margin-top: 22px;
}

.support-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #48a870;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(72, 168, 112, 0.13);
}

.document-content section {
  padding: 0 0 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.document-content section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.document-content h2 {
  margin: 0 0 18px;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.document-content p,
.document-content ul,
.document-content ol,
.document-content dl {
  margin-top: 14px;
  margin-bottom: 0;
}

.document-content li + li {
  margin-top: 7px;
}

.document-content .note {
  padding: 17px 19px;
  background: rgba(228, 182, 63, 0.13);
  border-left: 3px solid var(--signal);
  border-radius: 4px 14px 14px 4px;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-cards a {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.link-cards span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.legal dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) minmax(0, 0.76fr);
  gap: 22px 28px;
}

.legal dt {
  font-weight: 800;
}

.legal dd {
  margin: 0;
}

footer {
  min-height: 116px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 800px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 76px;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 13px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 70px 0 82px;
  }

  .route-card {
    width: min(100%, 470px);
    justify-self: center;
  }

  .feature-grid,
  .document-layout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-card h3 {
    margin-top: 46px;
  }

  .document-layout {
    gap: 54px;
    padding-top: 64px;
  }

  .document-intro {
    position: static;
  }

  .legal dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal dd + dt {
    margin-top: 18px;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 42px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    gap: 52px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-card {
    min-height: 220px;
  }

  .statement {
    border-radius: 24px;
  }

  .link-cards {
    grid-template-columns: 1fr;
  }
}

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