:root {
  --green-deep: #152b1f;
  --green-dark: #1c3527;
  --green: #1f4d33;
  --green-mid: #2c4436;
  --green-line: #41594b;
  --orange: #ef7d1a;
  --orange-dark: #c96207;
  --orange-ink: #3a1d02;
  --paper: #fafaf7;
  --ink: #16271d;
  --muted: #5c685f;
  --muted-light: #b9cec2;
  --card: #ffffff;
  --hairline: #e4e1d8;
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { background: var(--green-deep); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: 0.03em; font-size: 17px; }
.logo svg { flex: 0 0 auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted-light); text-decoration: none; font-size: 14.5px; }
.nav a:hover { color: #fff; }
.nav .lang { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #d7e4dc; margin-left: 4px; position: relative; }
.nav .lang::before { content: ""; position: absolute; left: -15px; top: 50%; transform: translateY(-50%); width: 1px; height: 18px; background: rgba(255,255,255,0.22); }
.nav .lang:hover { background: rgba(255,255,255,0.16); color: #fff; }
.nav .cta { background: var(--orange); color: var(--orange-ink); padding: 8px 18px; border-radius: 9px; font-weight: 600; }
.nav .cta:hover { background: #ff8c2a; color: var(--orange-ink); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* hero */
.hero { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0.65; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(21,43,31,0.95) 0%, rgba(21,43,31,0.72) 45%, rgba(21,43,31,0.15) 100%); }
.hero .wrap { position: relative; display: flex; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-copy { flex: 1.25; min-width: 0; }
.kicker { color: #f0a45c; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 18px; }
.hero p.sub { color: var(--muted-light); font-size: 17px; max-width: 32em; margin-bottom: 28px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 9px; background: var(--orange); color: var(--orange-ink); padding: 13px 24px; border-radius: 11px; font-weight: 600; font-size: 15.5px; text-decoration: none; }
.btn-primary:hover { background: #ff8c2a; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: #d7e4dc; font-size: 15px; border: 1px solid var(--green-line); padding: 12px 22px; border-radius: 11px; text-decoration: none; }
.btn-ghost:hover { border-color: #6c8577; color: #fff; }
.hero-shot { flex: 0 0 280px; }
.hero-shot img { border-radius: 28px; border: 4px solid rgba(255,255,255,0.14); box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.hero-meta { display: flex; gap: 22px; margin-top: 26px; color: #9fb7a8; font-size: 13.5px; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }

/* orange divider */
.divider { height: 4px; background: var(--orange); }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: #f1efe6; }
.section.dark { background: var(--green-deep); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: var(--muted-light); }
.eyebrow { color: var(--orange-dark); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.section.dark .eyebrow { color: #f0a45c; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.lede { color: var(--muted); font-size: 16.5px; max-width: 44em; }
.section-head { max-width: 620px; margin-bottom: 44px; }

/* feature grid */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 26px; }
.card .icon { width: 44px; height: 44px; border-radius: 11px; background: #e7f0e9; color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .icon.orange { background: #fdebd9; color: var(--orange-dark); }
.card h3 { font-size: 17.5px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card ul { color: var(--muted); font-size: 14.5px; padding-left: 18px; margin-top: 8px; }
.card ul li { margin-bottom: 4px; }

/* split feature rows */
.split { display: flex; gap: 56px; align-items: center; }
.split.reverse { flex-direction: row-reverse; }
.split-copy { flex: 1.2; min-width: 0; }
.split-media { flex: 1; min-width: 0; display: flex; justify-content: center; }
.split-media img.phone { max-width: 300px; border-radius: 26px; border: 1px solid var(--hairline); box-shadow: 0 24px 48px rgba(22,39,29,0.16); }
.split-copy ul.checks { list-style: none; margin-top: 18px; }
.split-copy ul.checks li { padding-left: 30px; position: relative; margin-bottom: 11px; color: var(--ink); font-size: 15.5px; }
.split-copy ul.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); }
.split-copy ul.checks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.split-copy .more { margin-top: 20px; }
.split-copy .more a { font-weight: 600; text-decoration: none; }
.split-copy .more a:hover { text-decoration: underline; }

/* screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 18px; border: 1px solid var(--hairline); box-shadow: 0 10px 24px rgba(22,39,29,0.10); }
.gallery figcaption { font-size: 12.5px; color: var(--muted); margin-top: 9px; text-align: center; }

/* steps (how-to) */
.steps { counter-reset: step; max-width: 720px; }
.step { position: relative; padding: 0 0 28px 58px; counter-increment: step; border-left: 2px dashed #cdb89a; margin-left: 19px; }
.step:last-child { border-left-color: transparent; }
.step::before { content: counter(step); position: absolute; left: -21px; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step img { margin-top: 14px; max-width: 280px; border-radius: 16px; border: 1px solid var(--hairline); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; padding: 30px; }
.plan.featured { border: 2px solid var(--orange); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 26px; background: var(--orange); color: var(--orange-ink); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 30px; font-weight: 700; margin: 8px 0 2px; }
.plan .per { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.plan ul { list-style: none; }
.plan ul li { padding: 7px 0 7px 28px; position: relative; font-size: 14.5px; border-bottom: 1px solid #f1efe6; }
.plan ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.plan ul li.no { color: #a9b0a9; }
.plan ul li.no::before { content: "—"; color: #c9cfc9; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--hairline); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-dark); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 16px; font-size: 15px; max-width: 60em; }

/* article pages */
.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.article h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.01em; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.article h2 { font-size: 24px; margin: 40px 0 12px; }
.article h3 { margin: 26px 0 8px; }
.article p, .article li { color: #2e3c33; font-size: 16px; }
.article ul, .article ol { padding-left: 24px; margin: 12px 0; }
.article li { margin-bottom: 6px; }
.article img { border-radius: 16px; border: 1px solid var(--hairline); margin: 18px 0; }
.article .tip { background: #e7f0e9; border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 20px 0; font-size: 15px; }
.article .tip strong { color: var(--green); }
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }

/* how-to cards */
.howto-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.howto-card { display: block; background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 24px; text-decoration: none; color: var(--ink); transition: border-color 0.15s; }
.howto-card:hover { border-color: var(--orange); }
.howto-card .num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--orange-dark); font-size: 12px; margin-bottom: 8px; display: block; }
.howto-card h3 { font-size: 17px; margin-bottom: 6px; }
.howto-card p { color: var(--muted); font-size: 14px; }

/* CTA band */
.cta-band { background: var(--green-deep); color: #fff; text-align: center; padding: 72px 24px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--muted-light); max-width: 36em; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* footer */
.site-footer { background: #0d1c14; color: #8aa392; padding: 48px 0 36px; font-size: 14px; }
.site-footer .cols { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; }
.site-footer h4 { color: #d7e4dc; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.site-footer a { color: #8aa392; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* topo deco */
.topo { position: absolute; inset: 0; pointer-events: none; opacity: 0.14; }

/* media composition: photo backdrop behind a phone screenshot */
.media-stack { position: relative; padding: 44px 0 0 110px; }
.media-stack .backdrop { position: absolute; top: 0; left: 0; width: 330px; max-width: none; border-radius: 16px; box-shadow: 0 16px 36px rgba(22,39,29,0.22); }
.media-stack img.phone { position: relative; }

/* CTA band with photo background */
.cta-band .band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.cta-band .band-fade { position: absolute; inset: 0; background: rgba(21,43,31,0.55); }
.cta-band > h2, .cta-band > p, .cta-band > .btn-row { position: relative; }

/* track pages */
.track-article .lede-p { font-size: 17px; color: #3a4a40; }
.track-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; }
.track-stats .stat { background: #f1efe6; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.track-stats .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.track-stats .value { font-size: 20px; font-weight: 700; color: var(--ink); }
.track-map { margin: 22px 0; }
.track-map img { width: 100%; border: 1px solid var(--hairline); border-radius: 16px; margin: 0; }
.track-map figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.track-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0; }
.track-gallery figure { margin: 0; }
.track-gallery img { border-radius: 14px; border: 1px solid var(--hairline); margin: 0; width: 100%; height: 240px; object-fit: cover; }
.track-gallery figcaption { font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.track-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.track-card { display: block; background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color 0.15s; }
.track-card:hover { border-color: var(--orange); }
.track-card > img { width: 100%; height: 210px; object-fit: cover; display: block; }
.track-card-body { padding: 20px 22px; }
.track-card-body .num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--orange-dark); font-size: 11px; letter-spacing: 0.06em; display: block; margin-bottom: 8px; }
.track-card-body h3 { font-size: 17px; margin-bottom: 6px; }
.track-card-body p { color: var(--muted); font-size: 14px; }
.track-card-stats { margin-top: 10px; font-weight: 600; color: var(--green) !important; font-size: 13.5px !important; }

/* track page interactivity */
.photo-marker span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #ef7d1a; border: 3px solid #fff; color: #fff; font-weight: 700; font-size: 16px; font-family: -apple-system, sans-serif; box-shadow: 0 3px 10px rgba(0,0,0,0.45); }
.map-static { position: relative; }
.map-static img { width: 100%; border-radius: 16px; border: 1px solid var(--hairline); display: block; margin: 0; }
.map-switch { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--green-deep); color: #fff; border: 1px solid rgba(255,255,255,0.25); padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.map-switch:hover { background: var(--green); }
.elev-wrap { position: relative; }
.elev-wrap.armed { cursor: crosshair; touch-action: pan-y; }
.elev-wrap img { display: block; user-select: none; -webkit-user-drag: none; }
.elev-indicator { position: absolute; top: 6%; bottom: 12%; width: 2px; background: var(--orange); left: 5.8%; pointer-events: none; }
.elev-label { position: absolute; top: -4px; transform: translateX(-50%); background: var(--green-deep); color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; padding: 4px 10px; border-radius: 999px; pointer-events: none; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

/* comparison tables */
.cmp-scroll { overflow-x: auto; margin: 14px 0 8px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.cmp-table th { text-align: left; padding: 10px 12px; background: var(--green-deep); color: #fff; font-size: 13.5px; }
.cmp-table th:first-child { background: transparent; }
.cmp-table th:nth-child(2) { background: var(--green); border-radius: 10px 0 0 0; }
.cmp-table th:nth-child(3) { border-radius: 0 10px 0 0; }
.cmp-table td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.cmp-table td:first-child { font-weight: 600; color: var(--ink); width: 30%; }
.cmp-table td:nth-child(2) { background: #eef4ef; width: 35%; }
.cmp-table tr:last-child td:nth-child(2) { border-radius: 0 0 0 10px; }

/* activity gallery */
.act-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.act-gallery figure { margin: 0; }
.act-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 14px; border: 1px solid var(--hairline); display: block; }
.act-gallery figcaption { font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.act-gallery a.gal-link { display: block; text-decoration: none; color: inherit; border-radius: 14px; }
.act-gallery a.gal-link img { transition: transform 0.2s, box-shadow 0.2s; }
.act-gallery a.gal-link:hover img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22,39,29,0.18); }
.act-gallery a.gal-link:hover figcaption { color: var(--orange-dark); }

/* activity pages */
.activity-hero { position: relative; background: var(--green-deep); color: #fff; overflow: hidden; }
.activity-hero .act-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.5; }
.activity-hero .act-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,43,31,0.55) 0%, rgba(21,43,31,0.88) 100%); }
.activity-hero .wrap { position: relative; padding-top: 80px; padding-bottom: 80px; max-width: 760px; }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.activity-card { position: relative; display: block; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; min-height: 230px; background: var(--green-deep); }
.activity-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: transform 0.3s, opacity 0.3s; }
.activity-card:hover img { transform: scale(1.04); opacity: 0.9; }
.activity-card .act-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(13,28,20,0.92)); }
.activity-card h3 { color: #fff; font-size: 18px; margin: 0; }
.activity-card span { color: var(--muted-light); font-size: 13px; }

@media (max-width: 880px) {
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--green-deep); flex-direction: column; padding: 18px 24px 24px; gap: 16px; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav .lang { margin-left: 0; }
  .nav .lang::before { display: none; }
  .hero .wrap { flex-direction: column; padding-top: 44px; padding-bottom: 52px; }
  .hero-shot { flex: 0 0 auto; max-width: 250px; }
  .grid.cols-3, .grid.cols-2, .howto-list, .plans { grid-template-columns: 1fr; }
  .split, .split.reverse { flex-direction: column; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .activity-grid { grid-template-columns: 1fr 1fr; }
  .act-gallery { grid-template-columns: 1fr 1fr; }
  .act-gallery img { height: 160px; }
  .activity-card { min-height: 170px; }
  .track-grid { grid-template-columns: 1fr; }
  .track-stats { grid-template-columns: 1fr 1fr; }
  .track-gallery { grid-template-columns: 1fr; }
  .track-gallery img { height: auto; }
  .media-stack { padding: 30px 0 0 0; }
  .media-stack .backdrop { width: 86%; }
  .activity-hero .wrap { padding-top: 52px; padding-bottom: 52px; }
}

@media (max-width: 520px) {
  .activity-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .plans { grid-template-columns: 1fr; }
}

/* gpx viewer */
.gpx-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 220px; border: 2px dashed #b9b29b; border-radius: 18px; background: #f7f5ec; color: var(--green); cursor: pointer; text-align: center; padding: 28px; transition: border-color 0.15s, background 0.15s; }
.gpx-drop:hover, .gpx-drop.over { border-color: var(--orange); background: #fdf6ec; }
.gpx-drop p { margin: 0; color: var(--ink); }

/* language dropdown: styles live in /js/langswitch.js (injected with the
   menu itself, so a stale cached stylesheet can never show it unstyled) */
