:root {
  color-scheme: light dark;
  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-muted: #eef3ea;
  --text: #17211b;
  --text-muted: #536056;
  --border: #cfd9d1;
  --accent: #4f7f22;
  --accent-strong: #315d12;
  --accent-soft: #d9efc9;
  --teal: #176c68;
  --plum: #7a3f63;
  --focus: #a55318;
  --shadow: 0 18px 42px rgb(26 42 30 / 12%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111611;
    --surface: #1a211b;
    --surface-muted: #202b23;
    --text: #eef5ec;
    --text-muted: #b8c7ba;
    --border: #39473c;
    --accent: #a7d46f;
    --accent-strong: #c4f08e;
    --accent-soft: #24351d;
    --teal: #72cbc2;
    --plum: #e5a1c8;
    --focus: #ffb267;
    --shadow: 0 18px 42px rgb(0 0 0 / 32%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgb(79 127 34 / 14%), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-muted) 100%);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--surface);
  color: var(--text);
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--focus);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--bg), transparent 10%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  min-height: 4.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 16%);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  font-size: 0.95rem;
  font-weight: 650;
}

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

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

.hero,
.page-hero,
.content-section,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: min(720px, 74svh);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-content {
  width: min(780px, 100%);
}

.hero-icon {
  width: clamp(5rem, 15vw, 8rem);
  height: clamp(5rem, 15vw, 8rem);
  margin: 0 auto 1.5rem;
  border-radius: 22%;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 11vw, 6.75rem);
  font-weight: 850;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 820;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.lede {
  max-width: 66ch;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
}

.actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.app-store-badge,
.button-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.app-store-badge {
  min-width: 12.5rem;
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  box-shadow: var(--shadow);
}

.button-link {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.button-link:hover {
  color: var(--text);
  border-color: var(--accent);
}

.content-section {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
}

.section-intro {
  max-width: 64ch;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.feature-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.step,
.policy-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgb(25 39 28 / 8%);
}

.feature-card,
.step {
  padding: 1.25rem;
}

.feature-card p,
.step p {
  margin: 0;
  color: var(--text-muted);
}

.feature-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-band {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.route-layout {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.75rem, 8vw, 5rem) 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.metric-panel {
  display: grid;
  gap: 0.75rem;
}

.metric-row {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
}

.metric-row strong {
  color: var(--teal);
  font-size: 1.15rem;
}

.metric-row span {
  color: var(--text-muted);
}

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
}

.page-hero p {
  max-width: 68ch;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.document {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 clamp(3rem, 9vw, 6rem);
}

.document h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.document h3 {
  margin-top: 1.6rem;
}

.document ul {
  padding-left: 1.35rem;
}

.document li + li {
  margin-top: 0.45rem;
}

.policy-note {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.2rem;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 2.5rem;
}

.mailto {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: var(--accent-strong);
  color: var(--surface);
  font-weight: 850;
  text-decoration: none;
}

.mailto:hover {
  color: var(--surface);
  background: var(--teal);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 780px) {
  .nav {
    min-height: auto;
    padding: 0.85rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

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

  .metric-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
