:root {
  color-scheme: light;
  --ink: #18332f;
  --muted: #5d716c;
  --paper: #f7faf6;
  --surface: #ffffff;
  --line: #dce8e1;
  --brand: #246b5c;
  --brand-dark: #164b40;
  --accent: #dff3e9;
  --shadow: 0 20px 60px rgba(23, 63, 53, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(140deg, #53aa91, var(--brand-dark));
  font-size: 0.83rem;
  letter-spacing: 0.02em;
}

.nav { display: flex; gap: 20px; font-size: 0.93rem; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--brand); }

.hero {
  overflow: hidden;
  position: relative;
  padding: 86px 0 92px;
  background: radial-gradient(circle at 88% 12%, #e0f6e9 0, rgba(224, 246, 233, 0) 29%), linear-gradient(135deg, #f7faf6, #ecf6f0);
}

.hero::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: -150px;
  bottom: -220px;
  border: 55px solid rgba(68, 146, 119, 0.12);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; max-width: 730px; }

.eyebrow {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.035em; }
h1 { margin: 18px 0; max-width: 700px; font-size: clamp(2.7rem, 7vw, 5.5rem); }
h2 { margin: 0 0 14px; font-size: clamp(1.75rem, 3vw, 2.45rem); }
h3 { margin: 0 0 8px; font-size: 1.12rem; }

.lead { max-width: 590px; margin: 0; color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.25rem); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 30px;
  padding: 0 20px;
  border-radius: 13px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(35, 107, 92, 0.22);
}
.button:hover, .button:focus-visible { background: var(--brand-dark); }

.section { padding: 86px 0; }
.section-intro { max-width: 610px; margin-bottom: 36px; }
.section-intro p, .copy { margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 6px 18px rgba(25, 70, 58, 0.03); }
.card-icon { display: grid; place-items: center; width: 41px; height: 41px; margin-bottom: 18px; border-radius: 13px; color: var(--brand-dark); background: var(--accent); font-size: 1.25rem; }

.strava { background: #173934; color: white; }
.strava-layout { display: grid; grid-template-columns: 1fr auto; gap: 42px; align-items: center; }
.strava .eyebrow { background: rgba(255, 255, 255, 0.14); color: #dcf7e6; }
.strava p { max-width: 670px; color: #c6dad3; }
.strava-note { max-width: 330px; padding: 21px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 17px; color: #dcece6; font-size: 0.94rem; }

.privacy-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #edf7f1; }
.privacy-callout p { margin: 5px 0 0; color: var(--muted); }
.text-link { color: var(--brand-dark); font-weight: 700; white-space: nowrap; }

.support-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: start; }
.support-details { display: grid; gap: 16px; }
.support-details a { color: var(--brand-dark); font-weight: 700; }
.form-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; margin-top: 16px; font-size: 0.91rem; font-weight: 650; }
.field input, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #bfd1c8; border-radius: 10px; color: var(--ink); font: inherit; font-weight: 400; background: #fbfdfb; }
.field textarea { min-height: 130px; resize: vertical; }
.form-card button { border: 0; cursor: pointer; font: inherit; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 0.86rem; }

.footer { padding: 34px 0 42px; color: var(--muted); font-size: 0.88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer a { color: var(--brand-dark); }

.legal { padding: 54px 0 80px; }
.legal article { max-width: 790px; }
.legal h1 { margin-top: 0; font-size: clamp(2.35rem, 5vw, 4.1rem); }
.legal h2 { margin-top: 42px; font-size: 1.55rem; }
.legal p, .legal li { color: var(--muted); }
.legal li + li { margin-top: 8px; }
.legal .updated { margin: -7px 0 35px; color: var(--muted); }

@media (max-width: 720px) {
  .topbar { min-height: 68px; }
  .nav { gap: 14px; font-size: 0.85rem; }
  .hero { padding: 64px 0 70px; }
  .section { padding: 62px 0; }
  .grid, .strava-layout, .support-grid { grid-template-columns: 1fr; }
  .strava-layout { gap: 24px; }
  .strava-note { max-width: none; }
  .privacy-callout, .footer-inner { align-items: flex-start; flex-direction: column; }
}
