/*
 * VMFit (www.vmfit.me)
 */

:root {
  color-scheme: light;
  --green-950: #131f00;
  --green-900: #253900;
  --green-800: #354e00;
  --green-700: #486800;
  --green-600: #78aa00;
  --green-500: #94c11f;
  --green-300: #b5d084;
  --green-200: #d1ed9e;
  --green-100: #edefde;
  --green-50: #f3f5e4;
  --tertiary: #006d40;
  --tertiary-container: #71fcae;
  --ink: #191d13;
  --muted: #434937;
  --line: #c3c9b1;
  --surface: #ffffff;
  --surface-soft: #f8fbea;
  --feature-tint: #fbfdf2;
  --surface-container: #edefde;
  --header-surface: rgba(248, 251, 234, .94);
  --header-line: rgba(195, 201, 177, .82);
  --translucent-surface: rgba(255, 255, 255, .92);
  --translucent-surface-soft: rgba(255, 255, 255, .82);
  --on-image: #ffffff;
  --on-image-muted: rgba(255, 255, 255, .78);
  --shadow-sm: 0 8px 24px rgba(37, 57, 0, .09);
  --shadow-lg: 0 28px 70px rgba(37, 57, 0, .18);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --green-950: #131f00;
  --green-900: #d3ff84;
  --green-800: #bcf456;
  --green-700: #a2d73c;
  --green-600: #78aa00;
  --green-500: #94c11f;
  --green-300: #809954;
  --green-200: #3d5215;
  --green-100: #282b20;
  --green-50: #191d13;
  --tertiary: #51df94;
  --tertiary-container: #00522f;
  --ink: #e1e4d3;
  --muted: #c3c9b1;
  --line: #434937;
  --surface: #11150b;
  --surface-soft: #191d13;
  --feature-tint: #1d2116;
  --surface-container: #282b20;
  --header-surface: rgba(17, 21, 11, .94);
  --header-line: rgba(67, 73, 55, .9);
  --translucent-surface: rgba(29, 33, 22, .92);
  --translucent-surface-soft: rgba(40, 43, 32, .82);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .24);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: .7rem 1rem;
  border-radius: 8px;
  background: var(--surface);
  color: var(--green-900);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-surface);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(14px);
}
.nav-shell {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}
.brand-logo-pair {
  display: grid;
  place-items: center;
}
.theme-logo {
  grid-area: 1 / 1;
  width: 60px;
  height: auto;
}
.theme-logo-dark { display: none; }
html[data-theme="dark"] .theme-logo-light { display: none; }
html[data-theme="dark"] .theme-logo-dark { display: block; }
.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.primary-nav a {
  padding: .55rem .75rem;
  color: var(--muted);
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--green-800);
  background: var(--green-50);
}
.mobile-nav-theme { display: none; }
.nav-download { justify-self: end; }
.nav-download-label-mobile { display: none; }
.nav-toggle { display: none; }
.nav-actions,
.legal-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-800);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.theme-toggle:hover { border-color: var(--green-600); background: var(--surface-soft); }
.theme-toggle:focus-visible { outline: 3px solid var(--green-300); outline-offset: 3px; }
.theme-toggle-track {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--green-200);
  box-shadow: inset 0 0 0 1px var(--line);
}
.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
  transition: transform .2s ease, background .2s ease;
}
html[data-theme="dark"] .theme-toggle-track { background: var(--green-100); }
html[data-theme="dark"] .theme-toggle-thumb {
  background: var(--green-700);
  transform: translateX(14px);
}

/* Buttons */
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  min-height: 48px;
  padding: .78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--surface);
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  box-shadow: 0 10px 24px rgba(72, 104, 0, .24);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .27;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='70' viewBox='0 0 180 70'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.5' stroke-width='1'%3E%3Cpath d='M-16 52C18 15 49 16 78 38s65 19 118-14'/%3E%3Cpath d='M-14 64C22 27 51 28 82 49s65 18 114-12'/%3E%3Cpath d='M-16 39C14 6 44 5 72 26s65 21 124-17'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 30px rgba(72, 104, 0, .3); }
.button:active { transform: translateY(0); }
.button:focus-visible { outline: 3px solid rgba(120, 170, 0, .42); outline-offset: 3px; }
.button-small { min-height: 42px; padding: .66rem 1rem; font-size: .88rem; }
.button-secondary {
  color: var(--green-900);
  background: var(--surface);
  border-color: var(--green-200);
  box-shadow: none;
}
.button-secondary::before { display: none; }
.button-secondary:hover { background: var(--green-50); box-shadow: none; }
.button-light {
  color: var(--green-900);
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(0,0,0,.16);
}
.button-light::before { opacity: .08; filter: invert(1); }
.button-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-download svg g { fill: currentColor; }

/* Shared text */
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--green-700);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.08; }
h1 { max-width: 680px; margin-bottom: 1.2rem; font-size: clamp(3rem, 7vw, 5.8rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2.2rem, 4vw, 3.7rem); }
p { color: var(--muted); }

/* Topographic background utility */
.section-topo { position: relative; overflow: hidden; }
.section-topo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .46;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260' viewBox='0 0 420 260'%3E%3Cg fill='none' stroke='%2378aa00' stroke-opacity='.18' stroke-width='1'%3E%3Cpath d='M-20 205C20 122 100 235 151 154S275 85 437 132'/%3E%3Cpath d='M-18 224C33 139 105 249 165 169S288 103 444 149'/%3E%3Cpath d='M-19 185C14 107 93 216 138 137S257 66 432 115'/%3E%3Cpath d='M20 62c67-57 119 37 181-2s120-29 208 17'/%3E%3Cpath d='M5 40c71-55 127 42 192 1s128-31 222 18'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px auto;
}
.section-topo > * { position: relative; }

/* Hero */
.hero {
  padding: 96px 0 78px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: 72px;
  align-items: center;
}
.hero-lead {
  max-width: 650px;
  margin-bottom: 1.8rem;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: .65rem; }
.google-play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  line-height: 0;
  transition: transform .18s ease, filter .18s ease;
}
.google-play-badge img { width: auto; height: 48px; }
.google-play-badge:hover { transform: translateY(-2px); filter: brightness(1.05); }
.google-play-badge:focus-visible { outline: 3px solid rgba(120, 170, 0, .42); outline-offset: 3px; }
.hero-actions .button-secondary { min-width: 161px; }
.hero-reassurance { margin: 0 0 2rem; color: var(--muted); font-size: .8rem; font-weight: 650; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-point { display: flex; gap: 10px; align-items: flex-start; }
.hero-point strong, .hero-point small { display: block; }
.hero-point strong { font-size: .92rem; }
.hero-point small { margin-top: 2px; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.point-icon,
.section-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
}
.point-icon { width: 34px; height: 34px; }
.point-icon svg { width: 24px; height: 24px; }
.point-icon svg,
/* .section-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } */
.section-icon svg {
  fill: currentColor;
  stroke: none
}
.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}
.photo-card {
  position: absolute;
  top: 26px;
  right: 0;
  width: 78%;
  height: 72%;
  overflow: hidden;
  border-radius: 42px;
  box-shadow: var(--shadow-lg);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-phone {
  position: relative;
  z-index: 2;
  width: min(330px, 72%);
  height: auto;
  margin-left: -29%;
  filter: drop-shadow(0 28px 40px rgba(37, 57, 0, .24));
}
.route-pin {
  position: absolute;
  z-index: 3;
  top: 13%;
  right: 8%;
  width: 56px;
  height: 56px;
  border-radius: 50% 50% 50% 0;
  background: var(--green-700);
  transform: rotate(-45deg);
  box-shadow: 0 12px 26px rgba(72, 104, 0, .26);
}
.route-pin span {
  position: absolute;
  inset: 16px;
  border: 4px solid var(--surface);
  border-radius: 50%;
}
.feature-strip { border-block: 1px solid var(--line); background: var(--surface); }
.activity-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); font-weight: 750; font-size: .9rem; }

/* Feature sections */
.feature-section { padding: 106px 0; }
.feature-section-tinted { background: var(--feature-tint); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; align-items: center; }
.feature-grid-reverse .feature-art { order: 2; }
.feature-copy { max-width: 520px; }
.feature-grid-reverse .feature-copy { justify-self: end; }
.feature-copy p:not(.eyebrow) { margin-bottom: 1.25rem; font-size: 1.08rem; }
.section-icon { width: 48px; height: 48px; margin-bottom: 1.1rem; }
.section-icon svg { width: 24px; height: 24px; }
.feature-art {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 540px;
  object-fit: contain;
}
.feature-art-wide img { width: 100%; }
.feature-art-phone img {
  width: min(100%, 320px);
  max-height: none;
  filter: drop-shadow(0 24px 34px rgba(37, 57, 0, .16));
}
.feature-art-screen-demo { flex-direction: column; gap: 1.1rem; }
.screen-demo-stage {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1187 / 2513;
  filter: drop-shadow(0 24px 34px rgba(37, 57, 0, .16));
}
.feature-art-screen-demo .screen-demo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-height: none;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .65s ease, transform .65s ease;
}
.feature-art-screen-demo .screen-demo-image.is-active { opacity: 1; transform: scale(1); }
.screen-demo-controls {
  display: inline-flex;
  gap: .25rem;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--translucent-surface-soft);
  box-shadow: var(--shadow-sm);
}
.screen-demo-controls button {
  padding: .6rem .9rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}
.screen-demo-controls button:hover { color: var(--green-800); }
.screen-demo-controls button:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; }
.screen-demo-controls button.is-active { color: var(--green-900); background: var(--green-100); }
.feature-art-watch img {
  width: min(100%, 320px);
  max-height: none;
  border-radius: 50%;
  box-shadow: 0 24px 42px rgba(19, 25, 10, .22);
}
.feature-list-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 1.75rem;
}
.feature-list-group h3 {
  margin-bottom: .8rem;
  color: var(--green-700);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.feature-list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.35;
}
.feature-list li::before {
  content: "";
  flex: none;
  width: .48rem;
  height: .48rem;
  margin-top: .38rem;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}
.text-link { color: var(--green-700); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.feature-doc-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.5rem; }
.feature-copy .feature-compatibility {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}
.feature-compatibility strong { color: var(--ink); }
.feature-compatibility + .feature-doc-link { margin-top: .85rem; }

/* Featured community activity */
.community-section {
  position: relative;
  overflow: hidden;
  padding: 106px 0;
  color: var(--surface);
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
}
.community-section.section-topo::before { opacity: .22; filter: brightness(1.8); }
.community-heading { max-width: 760px; margin-bottom: 42px; }
.community-heading h2 { color: var(--surface); }
.community-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255,255,255,.76);
  font-size: 1.08rem;
}
.community-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 34px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.community-preview {
  overflow: hidden;
  display: block;
  aspect-ratio: 1200 / 630;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: var(--green-900);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.community-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.community-preview:hover img { transform: scale(1.015); }
.community-preview:focus-visible { outline: 3px solid var(--green-200); outline-offset: 4px; }
.community-card-copy { padding: 10px 12px 10px 0; }
.community-label {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .42rem .7rem;
  border-radius: 999px;
  color: var(--green-950);
  background: var(--green-200);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.community-card h3 { margin-bottom: .35rem; color: var(--surface); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.community-card-copy > p { color: rgba(255,255,255,.76); }
.community-card-copy .community-date { margin-bottom: 1.15rem; color: var(--green-200); font-weight: 750; }
.community-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 1.6rem 0 1.2rem;
}
.community-stats div {
  min-width: 0;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.community-stats dt { color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 700; }
.community-stats dd { margin: .12rem 0 0; color: var(--surface); font-size: 1.02rem; font-weight: 850; }
.community-card-copy .community-privacy { margin-bottom: 1.4rem; color: rgba(255,255,255,.58); font-size: .8rem; }
.community-help-link {
  display: flex;
  align-items: center;
  gap: .25rem;
  width: fit-content;
  margin-top: .3rem;
  color: var(--green-200);
  font-weight: 800;
  text-decoration: none;
}
.community-help-link:hover { text-decoration: underline; }
.community-help-link:focus-visible { outline: 3px solid var(--green-200); outline-offset: 3px; }
.community-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.community-index-link { color: var(--green-200); font-weight: 800; text-decoration: none; }
.community-index-link:hover { text-decoration: underline; }
.community-index-link:focus-visible { outline: 3px solid var(--green-200); outline-offset: 4px; }

/* Frequently asked questions */
.faq-section .section-heading { margin-bottom: 42px; }
.faq-section .section-heading > p:last-child { margin-bottom: 0; }
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 1.35rem 3.5rem 1.35rem 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .25rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--green-800);
  background-color: var(--green-100);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 2px, 2px 12px;
  transform: translateY(-50%);
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}
.faq-item[open] summary::after {
  color: var(--surface);
  background-color: var(--green-700);
  transform: translateY(-50%) rotate(45deg);
}
.faq-item summary:hover,
.faq-item summary:focus-visible { color: var(--green-700); }
.faq-item summary:focus-visible { outline: 3px solid var(--green-300); outline-offset: 4px; }
.faq-answer { max-width: 760px; padding: 0 3.5rem 1.4rem 0; }
.faq-answer p { margin: 0; color: var(--muted); }
.faq-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 860px;
  margin: 42px auto 0;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.faq-support-copy { max-width: 500px; }
.faq-support h3 { margin-bottom: .4rem; font-size: 1.35rem; letter-spacing: -.02em; }
.faq-support p { margin: 0; }
.faq-support-actions { display: flex; flex: none; flex-wrap: wrap; gap: 10px; }

/* Testimonials */
.testimonials { padding: 104px 0; background: linear-gradient(180deg, var(--surface), var(--green-50)); }
.section-heading { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--translucent-surface);
  box-shadow: var(--shadow-sm);
}
.stars { margin-bottom: 1.2rem; color: var(--green-600); letter-spacing: .12em; }
.testimonial-card blockquote { margin: 0 0 2rem; color: var(--ink); font-size: 1.08rem; font-weight: 650; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.reviewer strong, .reviewer small { display: block; }
.reviewer small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--surface); background: linear-gradient(135deg, var(--green-600), var(--green-900)); font-size: .78rem; font-weight: 850; }

/* CTA */
.download-cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: var(--on-image);
  background: linear-gradient(135deg, var(--green-700), var(--green-950));
}
.download-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.download-cta.is-background-loaded::before {
  /* Fallback */
  background-image: url("mountain_valley_1920.webp");

  /* Older Safari / WebKit */
  background-image: -webkit-image-set(
    url("mountain_valley_1920.webp") 1x,
    url("mountain_valley_2560.webp") 1.333x,
    url("mountain_valley_3840.webp") 2x
  );

  /* Standard */
  background-image: image-set(
    url("mountain_valley_1920.webp") 1x,
    url("mountain_valley_2560.webp") 1.333x,
    url("mountain_valley_3840.webp") 2x
  );
}
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.download-cta h2 { margin-bottom: .6rem; color: var(--on-image); }
.download-cta p:not(.eyebrow) { margin-bottom: 0; color: var(--on-image-muted); font-size: 1.08rem; }
.eyebrow-light { color: var(--green-200); }
html[data-theme="dark"] .eyebrow-light { color: #d1ed9e; }
html[data-theme="dark"] .button-light {
  color: #233600;
  background: #e1e4d3;
}

/* Footer */
.site-footer { padding: 70px 0 0; background: var(--green-50); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 64px; padding-bottom: 54px; }
.footer-brand p { max-width: 260px; margin-top: 1rem; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h3 { margin-bottom: .4rem; font-size: .9rem; letter-spacing: 0; }
.footer-column a,
.footer-bottom a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.footer-column a:hover,
.footer-bottom a:hover { color: var(--green-700); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

/* Privacy policy */
.legal-nav-shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-header-back,
.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--green-800);
  font-weight: 800;
  text-decoration: none;
}
.legal-header-back svg,
.legal-back-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}
.legal-header-back:hover,
.legal-back-link:hover { color: var(--green-600); }
.legal-header-back:hover svg,
.legal-back-link:hover svg { transform: translateX(-3px); }
.legal-header-back:focus-visible,
.legal-back-link:focus-visible { outline: 3px solid var(--green-200); outline-offset: 4px; border-radius: 4px; }
.legal-hero {
  padding: 82px 0 72px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border-bottom: 1px solid var(--line);
}
.legal-hero-inner { max-width: 820px; }
.legal-hero h1 { max-width: none; font-size: clamp(3rem, 6vw, 5rem); }
.legal-lead { max-width: 680px; margin-bottom: 1.5rem; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.legal-updated {
  display: inline-flex;
  gap: .25rem;
  margin: 0;
  padding: .55rem .85rem;
  border: 1px solid var(--green-200);
  border-radius: 999px;
  color: var(--green-900);
  background: var(--translucent-surface-soft);
  font-size: .86rem;
}
.legal-section { padding: 76px 0 112px; }
.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 780px);
  justify-content: center;
  gap: 76px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 120px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}
.legal-toc-title {
  margin-bottom: .8rem;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-toc nav { display: flex; flex-direction: column; gap: .25rem; }
.legal-toc a {
  padding: .42rem .5rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
  text-decoration: none;
}
.legal-toc a:hover,
.legal-toc a:focus-visible { color: var(--green-800); background: var(--green-100); }
.legal-content { min-width: 0; }
.legal-content section {
  padding-bottom: 2.8rem;
  margin-bottom: 2.8rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 124px;
}
.legal-content section:last-of-type { margin-bottom: 0; }
.legal-content h2 {
  margin-bottom: 1.35rem;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}
.legal-content h3 {
  margin: 2rem 0 .8rem;
  color: var(--green-800);
  font-size: 1.12rem;
  letter-spacing: -.01em;
}
.legal-content p,
.legal-content li,
.legal-contact { font-size: 1rem; line-height: 1.78; }
.legal-content p { margin-bottom: 1.15rem; }
.legal-content strong { color: var(--ink); }
.legal-content ul { margin: 0 0 1.4rem; padding-left: 1.35rem; color: var(--muted); }
.legal-content li + li { margin-top: .45rem; }
.legal-content a,
.legal-contact a { color: var(--green-700); font-weight: 700; text-underline-offset: .18em; }
.legal-contact {
  margin-top: 1.5rem;
  padding: 20px 22px;
  border-left: 4px solid var(--green-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  background: var(--green-50);
  font-style: normal;
}
.legal-content > .legal-back-link { margin-top: 1.5rem; }
.legal-footer { padding-top: 52px; }
.legal-footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 42px;
}
.legal-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; padding-top: 10px; }
.legal-footer-links a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.legal-footer-links a:hover { color: var(--green-700); }

/* Error page */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.error-main {
  flex: 1;
  display: grid;
}
.error-section {
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 88px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}
.error-content { max-width: 760px; }
.error-code {
  margin-bottom: .25rem;
  color: var(--green-700);
  font-size: clamp(6rem, 19vw, 12rem);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .8;
}
.error-content .eyebrow { margin-top: 2rem; }
.error-content h1 {
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(2.7rem, 7vw, 5rem);
}
.error-lead {
  max-width: 610px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.error-footer { padding-top: 0; }

/* Responsive */
@media (max-width: 1040px) {
  .nav-shell { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav-download { display: none; }
  .primary-nav { justify-self: center; }
  .hero-grid { grid-template-columns: 1fr 430px; gap: 34px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-visual { min-height: 580px; }
  .feature-grid { gap: 50px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, var(--container)); }
  .nav-shell { min-height: 84px; gap: 16px; }
  .nav-actions { grid-column: 3; justify-self: end; }
  .header-theme-toggle { display: none; }
  .nav-download {
    display: inline-flex;
    order: -1;
    min-height: 44px;
    padding: .65rem .85rem;
    font-size: .82rem;
  }
  .nav-download-label-full { display: none; }
  .nav-download-label-mobile { display: inline; }
  .nav-toggle {
    display: grid;
    place-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: var(--green-900);
    background: var(--green-100);
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { width: 22px; height: 2px; margin: 2.5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .8rem .9rem; }
  .mobile-nav-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 8px;
    padding: 14px .9rem 2px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
  }
  .mobile-nav-theme-copy {
    display: grid;
    gap: 1px;
  }
  .mobile-nav-theme-copy strong {
    color: var(--ink);
    font-size: .9rem;
  }
  .mobile-nav-theme-copy small {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 600;
  }
  .mobile-nav-theme .theme-toggle {
    width: 44px;
    height: 38px;
    box-shadow: none;
  }
  .hero { padding-top: 68px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-points { grid-template-columns: repeat(3, 1fr); text-align: left; }
  .hero-visual { min-height: 610px; max-width: 620px; width: 100%; margin-inline: auto; }
  .activity-row { overflow-x: auto; justify-content: flex-start; padding-block: 18px; }
  .feature-section { padding: 78px 0; }
  .feature-grid,
  .feature-grid-reverse { grid-template-columns: 1fr; }
  .feature-grid-reverse .feature-art { order: initial; }
  .feature-copy,
  .feature-grid-reverse .feature-copy { max-width: 680px; justify-self: start; }
  .community-section { padding: 78px 0; }
  .community-card { grid-template-columns: 1fr; }
  .community-card-copy { padding: 6px 6px 10px; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .testimonial-card { min-height: 0; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-grid .button { justify-self: center; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-column:last-child { grid-column: 2; }
  .legal-nav-shell { min-height: 84px; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-toc { position: static; }
  .legal-toc nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-support { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero { padding-bottom: 54px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .google-play-badge,
  .hero-actions .button { width: 200px; max-width: 100%; }
  .hero-actions .google-play-badge img { width: 100%; height: auto; }
  .hero-actions .button { min-height: 60px; }
  .hero-points { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .hero-visual { min-height: 470px; }
  .photo-card { width: 85%; height: 70%; border-radius: 28px; }
  .hero-phone { width: 58%; margin-left: -22%; }
  .route-pin { width: 44px; height: 44px; }
  .route-pin span { inset: 13px; border-width: 3px; }
  .feature-art-phone img { width: min(88%, 300px); }
  .feature-art-watch img { width: min(70%, 240px); }
  .screen-demo-stage { width: min(88%, 300px); }
  .feature-list-groups { grid-template-columns: 1fr; gap: 1.35rem; }
  .feature-list-group .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-copy p:not(.eyebrow) { font-size: 1rem; }
  .community-heading { margin-bottom: 32px; }
  .community-card { gap: 24px; padding: 12px; border-radius: 24px; }
  .community-preview { border-radius: 16px; }
  .community-card-copy { padding: 8px; }
  .community-stats { gap: 8px; }
  .community-stats dt { font-size: .65rem; }
  .community-stats dd { font-size: .9rem; }
  .community-actions { align-items: stretch; }
  .community-actions .button { width: 100%; }
  .community-index-link { padding: .65rem 0; text-align: center; }
  .download-cta { padding: 62px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .legal-hero { padding: 62px 0 56px; }
  .legal-section { padding: 54px 0 80px; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-content section { padding-bottom: 2.2rem; margin-bottom: 2.2rem; }
  .legal-footer-row { flex-direction: column; gap: 24px; }
  .legal-footer-links { justify-content: flex-start; padding-top: 0; }
  .faq-support { padding: 24px; }
  .faq-support-actions { width: 100%; }
  .faq-support-actions .button { width: 100%; }
  .error-section { min-height: 540px; padding: 64px 0; }
  .error-actions { align-items: stretch; flex-direction: column; }
  .error-actions .button { width: 100%; }
}

@media (max-width: 380px) {
  .feature-list-group .feature-list,
  .feature-list-columns { grid-template-columns: 1fr; }
}

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

.cta-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-compatibility {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  font-weight: 500;
}
