/* gpxtogps.com — the site dressed as the app.
   The app's own vocabulary carries the design: its cream panel, its
   condensed capitals, its tab bar, its stats header with ruled columns, its
   map info card with the orange top rule, its "● CONNECTED" status line, and
   its drawn map behind the panels. Big Inter Tight headings stay for the
   pitch; the condensed face (Barlow Condensed, standing in for the app's DIN
   Condensed) does labels, tabs and figures.

   Sections: tokens · base · buttons · header · screens (the one way app
   pictures are shown) · home · guides · comparison table · forms · FAQ ·
   footer · lightbox · download page · motion. */

/* Fonts, all served from this site (SIL Open Font License). */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* The -ext files hold Latin Extended-A only (ū in zūmo, ē in fēnix...), cut down with
   pyftsubset --unicodes=U+0100-017F; the full files were 85-90 KB for two letters. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-017F; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/inter-tight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/inter-tight-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-017F; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-600.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-ext-600.woff2) format("woff2");
  unicode-range: U+0100-017F; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-700.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------------------------------------------------------------- tokens */
:root {
  --sky: #F4F2EE;          /* the page */
  --paper: #EFE3CE;        /* the app's panel */
  --paper-2: #E4D6BD;      /* the app's panel foot, rules on paper */
  --map: #EDE5D3;          /* the app's drawn map ground */
  --ink: #141311;
  --ink-soft: #4A4742;
  --screen: #1E1C19;       /* dark panels, the app's active tab */
  --signal: #E8501A;       /* the app's orange: fills, rules, big type on --sky */
  --signal-text: #A8370B;  /* orange for small text: 5:1 on --sky and --paper */
  --signal-big: #C4420F;   /* orange for big figures on --paper */
  --tint: #F0CDB7;         /* the app's selected row */
  --go: #20753D;           /* the app's "connected" dot */
  --slate: #2F4256;
  --rule: rgba(20, 19, 17, .18);
  --rule-strong: rgba(20, 19, 17, .55);

  --text: Inter, system-ui, sans-serif;
  --display: "Inter Tight", Inter, system-ui, sans-serif;
  --cond: "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;

  --gutter: clamp(20px, 3vw, 48px);
  --bleed: clamp(12px, 1.5vw, 24px);
  --page: 1240px;
  --measure: 680px;
  --tabs-h: 0px;            /* set by .tabs where it exists */
}

/* ------------------------------------------------------------------ base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sky); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--signal-text); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

h1, h2, .d {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .94; margin: 0;
  text-wrap: balance;
}
/* Small capitals in the app's condensed face: labels, tabs, captions. */
.lbl {
  font-family: var(--cond); font-weight: 600; font-size: 15px; line-height: 1.2;
  letter-spacing: .09em; text-transform: uppercase;
}
.lbl-sm { font-size: 13.5px; }
.fig { font-family: var(--cond); font-weight: 700; letter-spacing: 0; line-height: .9; font-variant-numeric: tabular-nums; }
.signal { color: var(--signal-text); }
h1 .signal, h2 .signal, .d.signal, .big.signal { color: var(--signal); }
.soft { color: var(--ink-soft); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: var(--sky); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--page); width: 100%; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.bleed { padding-left: var(--bleed); padding-right: var(--bleed); }
.more { font-weight: 600; }
/* Taps on a phone: a "more" link gets at least 44 px of height (WCAG 2.2 asks 24),
   with no change to the line it sits in. */
.more { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: inherit; font-weight: 600; font-size: 15.5px; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ink); color: var(--sky); }
.btn-o { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn-o:hover { background: var(--ink); border-color: var(--ink); color: var(--sky); }
.btn-w { border-color: var(--sky); color: var(--sky); }
.btn-w:hover { background: var(--sky); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn[disabled] { opacity: .6; cursor: progress; }
/* The app's own big button: square, orange, condensed capitals. */
.btn-go {
  display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: center;
  border: 0; border-radius: 3px; background: var(--signal); color: var(--ink);
  font-family: var(--cond); font-weight: 700; font-size: 24px; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.btn-go:hover { background: var(--ink); color: var(--sky); }

/* ---------------------------------------------------------------- header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap;
  padding: 18px var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
/* The app's wordmark: GPX, a small orange "to", GPS. */
.wordmark { font-family: var(--cond); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: .01em; }
.wordmark .to { color: var(--signal); text-transform: lowercase; font-size: .86em; margin: 0 .02em; }
.brand .brand-beta {
  font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: .1em;
  border: 1.5px solid var(--ink); border-radius: 3px; padding: 2px 6px 1px;
}
.nav { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--signal-text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--signal); }
.nav-btns { display: flex; gap: 10px; }
@media (max-width: 860px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; padding-top: 14px; padding-bottom: 6px; }
  .nav { display: contents; }
  .nav .nav-btns { grid-column: 2; grid-row: 1; }
  .nav-links {
    grid-column: 1 / -1; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
}
@media (min-width: 861px) { .nav-links { display: flex; gap: 26px; } }
@media (max-width: 520px) { .nav .nav-join { display: none; } }

/* --------------------------------------------------------------- screens
   One way to show the app, whatever the picture's shape.

   .screen--window  the whole app window (1300×820): a window frame, full
                    width. On a phone, a <picture> swaps in the panel crop,
                    which is then shown like a panel.
   .screen--panel   the app's panel alone (402×748 tall, or the wider table
                    panel): laid on the app's own drawn map, at its own size,
                    never shrunk into a square.

   figure.wide and figure.panel, which the guide pages already use, get the
   same two looks. Every screen can open in the lightbox; a recording takes
   the picture's place once its file exists (see screen() in layout.php). */
.screen { margin: 0; position: relative; }
.screen-frame { position: relative; display: block; color: inherit; text-decoration: none; }
.screen-frame img, .screen-frame video { display: block; width: 100%; height: auto; }
a.screen-frame { cursor: zoom-in; }
a.screen-frame:focus-visible { outline-offset: 6px; }

/* The window: a title bar with the three window buttons (or Windows' three). */
.screen--window .screen-frame, .article figure.wide {
  border-radius: 12px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 0 0 1px rgba(20, 19, 17, .22), 0 40px 90px -40px rgba(20, 19, 17, .55), 0 8px 24px -12px rgba(20, 19, 17, .25);
}
.screen--window .screen-frame::before, .article figure.wide::before {
  content: ""; display: block; height: 28px; background-color: #E6DDCB;
  background-image:
    radial-gradient(circle at 18px 14px, #E0574B 5.5px, transparent 6.5px),
    radial-gradient(circle at 38px 14px, #E0B23F 5.5px, transparent 6.5px),
    radial-gradient(circle at 58px 14px, #5BB45A 5.5px, transparent 6.5px);
  border-bottom: 1px solid rgba(20, 19, 17, .14);
}
.screen--window[data-os="windows"] .screen-frame::before {
  background-image: none; content: "—    ▢    ✕"; text-align: right; padding-right: 16px;
  font: 12px/28px var(--text); color: var(--ink-soft); white-space: pre;
}
.screen--window .screen-frame::after {
  content: attr(data-bar); position: absolute; top: 0; left: 0; right: 0; height: 28px;
  font: 600 12.5px/28px var(--text); color: var(--ink-soft); text-align: center; pointer-events: none;
}

/* The panel, on the app's drawn map. */
.screen--panel .screen-frame, .article figure.panel {
  width: fit-content; max-width: 100%; margin-inline: auto;
  padding: clamp(18px, 3vw, 40px);
  border-radius: 14px;
  background:
    linear-gradient(rgba(237, 229, 211, .45), rgba(237, 229, 211, .45)),
    url(/assets/img/map-mat.webp?v=1) center / cover, var(--map);
  box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .1);
}
.screen--panel .screen-frame img, .screen--panel .screen-frame video,
.article figure.panel img {
  max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(20, 19, 17, .22), 0 26px 50px -22px rgba(20, 19, 17, .6);
}
/* A panel shows at its own size (its width attribute), never larger, so the
   text in it stays sharp. The route check picture is drawn at twice the size. */
.routes-shot .screen-frame img, .article figure.panel img[src*="panel-routes"] { width: 442px; }

.screen figcaption, .article figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--ink-soft);
}
.screen--panel figcaption { justify-content: center; text-align: center; }
.screen figcaption .lbl, .tab-chip {
  display: inline-block; background: var(--screen); color: var(--sky);
  padding: 3px 8px 2px; border-radius: 2px; font-size: 13px;
}

/* On a phone the whole-window picture becomes its panel crop (see <picture>), shown as a panel. */
@media (max-width: 600px) {
  .screen--window.has-crop .screen-frame {
    width: fit-content; max-width: 100%; margin-inline: auto; padding: 18px; border-radius: 14px;
    background: linear-gradient(rgba(237, 229, 211, .45), rgba(237, 229, 211, .45)), url(/assets/img/map-mat.webp?v=1) center / cover, var(--map);
    box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .1); overflow: visible;
  }
  .screen--window.has-crop .screen-frame::before, .screen--window.has-crop .screen-frame::after { display: none; }
  .screen--window.has-crop .screen-frame img { border-radius: 6px; box-shadow: 0 0 0 1px rgba(20, 19, 17, .22), 0 26px 50px -22px rgba(20, 19, 17, .6); }
  .screen--window.has-crop figcaption { justify-content: center; text-align: center; }
}

/* Two panels side by side. */
.screens-pair { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 20px; }
.screens-pair .screen { flex: 0 1 auto; }

/* A panel next to its words. */
.split {
  display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.split.flip { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
.split.flip > .screen { order: 2; }
.split-text .io { font-family: var(--cond); font-weight: 700; font-size: clamp(34px, 3.4vw, 48px); line-height: .95; display: flex; flex-wrap: wrap; gap: 0 .22em; color: var(--ink); }
.split-text .io .arrow { color: var(--signal); }
.split-text { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.split-text h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 0; }
.split-text p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > .screen { order: 0; }
}

/* ------------------------------------------------------------------ home */
.hero { display: flex; flex-direction: column; gap: 28px; }
.hero-text {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px 56px; align-items: end; padding: 28px var(--gutter) 8px; max-width: 1400px; width: 100%; margin: 0 auto;
}
.hero-title { display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(62px, 9vw, 140px); }
.hero h1 .what {
  display: block; margin-bottom: 20px; max-width: 560px;
  font-family: var(--text); font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.01em; line-height: 1.32;
}
.hero-pitch { display: flex; flex-direction: column; gap: 24px; padding-bottom: 14px; }
.hero-pitch > p { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; max-width: 480px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.actions-note { font-size: 15px; margin-top: 12px; }
@media (max-width: 860px) { .hero-text { grid-template-columns: 1fr; } }

/* The app's stats header: big condensed figures over small capitals, ruled apart. */
.stats { display: flex; flex-wrap: wrap; margin: 0; }
.stats > div { padding: 2px 22px 2px 0; margin-right: 22px; border-right: 1px solid var(--rule-strong); display: flex; flex-direction: column; gap: 6px; }
.stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stats dt { order: 2; font-family: var(--cond); font-weight: 600; font-size: 13.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.stats dd { order: 1; margin: 0; font-family: var(--cond); font-weight: 700; font-size: 38px; line-height: .9; }
@media (max-width: 420px) { .stats > div { padding-right: 12px; margin-right: 12px; } .stats dd { font-size: 30px; } .stats dt { font-size: 12.5px; letter-spacing: .06em; } }

/* Scroll stage: the laptop pins while the screen lifts out of it and settles
   back. Chrome, Edge, Safari 26+; elsewhere (and with reduced motion) the
   laptop simply shows the screen. */
.stage { position: relative; height: 2200px; view-timeline-name: --stage; view-timeline-axis: block; }
.stage-pin { position: sticky; top: 0; height: min(100vh, 900px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.laptop { width: min(100%, 1100px); position: relative; aspect-ratio: 2910 / 1693; }
.laptop-screen { position: absolute; left: 11.993%; top: 7.206%; width: 75.979%; height: 81.335%; overflow: hidden; background: var(--screen); }
.laptop-screen img, .laptop-screen video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.laptop-frame { position: relative; display: block; width: 100%; height: auto; pointer-events: none; }
.laptop-caption { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap; color: var(--ink-soft); }
.dim { position: absolute; inset: 0; background: var(--ink); }
.pop { margin: 0; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(94%, 1300px, calc((100vh - 110px) * 1.585)); transform-origin: 50% 50%; }
.pop img, .pop video { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 50px 140px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .18); }
.pop figcaption { margin-top: 12px; text-align: center; color: var(--sky); }
.pop, .dim { opacity: 0; pointer-events: none; animation: linear both; animation-timeline: --stage; animation-range: contain 0% contain 100%; }
.pop { animation-name: pop; }
.dim { animation-name: dim; }
@keyframes pop { 0% { opacity: 0; transform: scale(.66); } 8% { opacity: 1; transform: scale(.66); } 26%, 74% { transform: scale(1); } 92% { opacity: 1; transform: scale(.66); } 100% { opacity: 0; transform: scale(.66); } }
@keyframes dim { 0%, 8% { opacity: 0; } 26%, 74% { opacity: .62; } 92%, 100% { opacity: 0; } }
@supports not (animation-timeline: view()) {
  .stage { height: auto; padding-bottom: 64px; }
  .stage-pin { position: static; height: auto; }
  .pop, .dim { display: none; }
}
@media (max-width: 719px) {
  .stage { height: auto; padding: 8px 0 64px; }
  .stage-pin { position: static; height: auto; overflow: visible; }
  .pop, .dim { display: none; }
  .laptop-caption { white-space: normal; width: 92%; text-align: center; }
}

/* The app's tab bar, as the home page's table of contents. Sticks under the top. */
.tabs {
  --tabs-h: 50px;
  position: sticky; top: 0; z-index: 10;
  background: var(--paper); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  box-shadow: 0 10px 24px -18px rgba(20, 19, 17, .5);
}
.tabs ul {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1400px;
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.tabs ul::-webkit-scrollbar { display: none; }
/* On a narrow screen the tabs run off the edge: fade it, as the header's
   links do, so it reads as more to scroll to. */
@media (max-width: 1000px) { .tabs ul { mask-image: linear-gradient(90deg, #000 88%, transparent); } }
.tabs li { flex: 1 0 auto; }
.tabs a {
  display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 18px;
  font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.tabs a:hover { background: var(--paper-2); color: var(--ink); }
.tabs a[aria-current="true"] { background: var(--screen); color: var(--sky); }
.tabs a:focus-visible { outline-offset: -4px; }
[id] { scroll-margin-top: 66px; }

/* A chapter of the home page: one of the app's tabs. */
.chapter { padding-top: clamp(72px, 9vw, 128px); }
.chapter-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.chapter-head .tab-chip { justify-self: start; font-size: 16px; padding: 5px 11px 4px; }
.chapter-head > div { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.chapter-head h2 { font-size: clamp(38px, 5vw, 76px); }
.chapter-head p { color: var(--ink-soft); max-width: 520px; }
.chapter-head p + p { margin-top: 12px; }
@media (max-width: 860px) { .chapter-head { grid-template-columns: 1fr; } }
.chapter .screen--window { max-width: var(--page); margin: 0 auto; }
.chapter-body { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px 48px; }
.cols p { color: var(--ink-soft); }
.cols p + p { margin-top: 12px; }

/* After BaseCamp: a statement and the app's map info card. */
.after { padding-top: clamp(96px, 11vw, 150px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 40px 64px; align-items: start; }
.after h2 { font-size: clamp(34px, 4.2vw, 62px); }
.after-text { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; max-width: 620px; }
.after-text p { color: var(--ink-soft); }
@media (max-width: 860px) { .after { grid-template-columns: 1fr; } }

/* The app's info card on the map: orange top rule, condensed title, big orange figures. */
.info-card {
  background: var(--paper); border-top: 5px solid var(--signal); border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 19, 17, .1), 0 24px 50px -28px rgba(20, 19, 17, .45);
  padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px;
}
.info-card .title { font-family: var(--cond); font-weight: 700; font-size: 25px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.info-card .figs { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.info-card .figs div { display: flex; flex-direction: column; gap: 6px; }
.info-card .figs b { font-family: var(--cond); font-weight: 700; font-size: 40px; line-height: .9; color: var(--signal-big); }
.info-card .figs span { font-family: var(--cond); font-weight: 600; font-size: 13.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.info-card p { font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); padding-top: 12px; border-top: 1px solid var(--rule); }

/* "What goes in, what comes out": the app's list rows. */
.rows { border-top: 1.5px solid var(--ink); }
.rows > h3, .rows-title { font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .09em; text-transform: uppercase; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.row:last-child { border-bottom: 1.5px solid var(--ink); }
.row h3, .row .io {
  font-family: var(--cond); font-weight: 700; font-size: clamp(36px, 4vw, 54px); line-height: .95; letter-spacing: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .22em;
}
.row .arrow { color: var(--signal); }
.row p { color: var(--ink-soft); max-width: 600px; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }

/* Tracks4Africa: the manual against the drop, as the app's stats header. */
.statement { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.statement h3 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.035em; line-height: .98; margin: 0; text-wrap: balance; }
.statement p { color: var(--ink-soft); }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }
.versus { background: var(--paper); border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .12); padding: clamp(24px, 4vw, 48px); }
.versus .stats > div { padding-right: clamp(20px, 4vw, 56px); margin-right: clamp(20px, 4vw, 56px); }
.versus .stats dd { font-size: clamp(96px, 15vw, 210px); line-height: .82; }
.versus .stats dd.signal { color: var(--signal-big); }
.versus .stats dt { font-size: clamp(14px, 1.6vw, 19px); text-transform: none; letter-spacing: 0; font-family: var(--text); font-weight: 600; color: var(--ink); max-width: 300px; }
@media (max-width: 600px) {
  .versus .stats { flex-direction: column; gap: 24px; }
  .versus .stats > div { border-right: 0; margin-right: 0; padding-right: 0; }
  .versus .stats > div + div { border-top: 1px solid var(--rule-strong); padding-top: 22px; }
}
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.count { --n: 43; counter-reset: n var(--n); }
.count::after { content: counter(n); }
.js .count { --n: 0; }
.js .count.is-counting { animation: count 2.2s cubic-bezier(.2, .7, .2, 1) .3s forwards; }
@keyframes count { to { --n: 43; } }

/* Small promises, as the app's status lines. */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 40px; }
.checks li { padding: 18px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.checks b { font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.checks b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--go); flex: none; }
.checks span { color: var(--ink-soft); font-size: 15.5px; }

/* Planners marquee */
.marquee { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 20px 0; overflow: hidden; margin-top: clamp(72px, 9vw, 120px); }
.marq { display: flex; gap: 56px; white-space: nowrap; width: max-content; font-family: var(--cond); font-size: 30px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: rgba(20, 19, 17, .62); animation: marq 32s linear infinite; }
.marq ul { display: flex; gap: 56px; margin: 0; padding: 0; list-style: none; }
.marq li::before { content: "•"; color: var(--signal); margin-right: 56px; }
.marq li:first-child::before { content: none; }
.marquee:hover .marq { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(calc(-50% - 28px)); } }

/* Garmins: the app's connection line, per model. */
.garmins { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0 40px; }
.garmins h3 { font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .09em; text-transform: uppercase; margin: 0; padding: 12px 0; border-bottom: 1.5px solid var(--ink); }
.garmins ul { list-style: none; margin: 0 0 32px; padding: 0; }
.garmins li { display: grid; grid-template-columns: 16px 1fr; gap: 2px 10px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.garmins li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--go); margin-top: 7px; }
.garmins li.wanted::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.garmins .model { font-family: var(--cond); font-weight: 700; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; }
.garmins .state { grid-column: 2; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.garmins .wanted .state { color: var(--ink-soft); }
/* The same lists on the Garmin models page, inside a guide's prose */
.article .garmins { margin: 18px 0 8px; }
.article .garmins h3 { margin: 0; font-size: 17px; }
.article .garmins ul { list-style: none; margin: 0 0 28px; padding: 0; }
.article .garmins li { margin: 0; }
.article .garmins li::marker { content: none; }
.device-foot { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.device-foot p { font-size: 15.5px; color: var(--ink-soft); max-width: 640px; }

/* --------------------------------------------------------------- beta form */
.beta { padding-top: clamp(96px, 11vw, 150px); padding-bottom: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px 72px; align-items: start; }
@media (max-width: 900px) { .beta { grid-template-columns: 1fr; } }
.beta-intro { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 80px; }
@media (max-width: 900px) { .beta-intro { position: static; } }
.beta-intro h2 { font-size: clamp(42px, 5.4vw, 84px); }
.beta-intro p { color: var(--ink-soft); max-width: 460px; }
/* The form as an app panel: cream, a dark header strip, the big orange button. */
.app-panel { background: var(--paper); border-radius: 4px; box-shadow: 0 0 0 1px rgba(20, 19, 17, .16), 0 40px 80px -40px rgba(20, 19, 17, .45); overflow: hidden; }
.app-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--screen); color: var(--sky); padding: 12px 20px; }
.app-panel-head .lbl { font-size: 16px; font-weight: 700; }
.app-panel-head .lbl:last-child { color: rgba(244, 242, 238, .72); font-weight: 600; }
.beta-form { display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 3vw, 32px); }
.beta-form .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 22px; }
.beta-form .field { display: flex; flex-direction: column; gap: 2px; }
.beta-form label.lbl, .beta-form legend { color: var(--ink-soft); }
.beta-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.beta-form legend { padding: 0; margin-bottom: 4px; }
.beta-form .options { display: flex; gap: 4px 28px; flex-wrap: wrap; }
.beta-form .options.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 0 16px; }
.beta-form input[type=text], .beta-form input[type=email], .beta-form textarea {
  width: 100%; min-height: 48px; padding: 10px 0;
  border: 0; border-bottom: 1.5px solid rgba(20, 19, 17, .45); border-radius: 0;
  background: transparent; font: inherit; font-size: 17px; color: var(--ink);
}
.beta-form textarea { min-height: 88px; resize: vertical; }
.beta-form input::placeholder, .beta-form textarea::placeholder { color: #6B665E; }
.beta-form input:focus, .beta-form textarea:focus { outline: 0; border-bottom-color: var(--signal); box-shadow: 0 2px 0 var(--signal); }
.chk { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
.chk input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.beta-form .submit { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.beta-form .submit span { font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 17px; line-height: 1.5; padding: 14px 18px; border-radius: 3px; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--screen); color: var(--sky); }
.form-status.error { background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--signal); color: var(--ink); }

/* -------------------------------------------------------------------- FAQ */
.faq { padding-bottom: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 36px 48px; }
.faq > div { display: flex; flex-direction: column; gap: 8px; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.faq h3 { font-size: 18.5px; font-weight: 700; line-height: 1.3; margin: 0; }
.faq p { line-height: 1.55; color: var(--ink-soft); }
.faq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.faq-head h2 { font-size: clamp(34px, 4vw, 56px); }

/* ----------------------------------------------------------------- guides */
.prose { padding-top: 32px; padding-bottom: clamp(72px, 9vw, 120px); }
.prose > * { max-width: var(--measure); }
.prose h1 { font-size: clamp(44px, 6vw, 84px); margin-bottom: 32px; max-width: 980px; }
.prose h2 { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.025em; line-height: 1.08; margin: 56px 0 14px; }
.prose p, .prose li { line-height: 1.62; color: var(--ink-soft); }
.prose p + p { margin-top: 14px; }

.article { max-width: var(--page); display: flow-root; --measure: 640px; }
.article .crumbs { color: var(--ink-soft); margin: 4px 0 26px; max-width: none; display: flex; flex-wrap: wrap; gap: 0 10px; }
.article .crumbs a { color: inherit; text-decoration: none; display: inline-block; padding: 10px 0; margin: -10px 0; }
.article .crumbs a:hover { color: var(--signal-text); }
.article .crumbs span[aria-hidden] { color: var(--signal); }
.article h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: .96; }
.article .lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.48; color: var(--ink); max-width: 760px; }
/* "Checked" as the app's status line: a green dot, condensed capitals. */
.article .updated { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--ink); background: var(--paper); padding: 7px 12px 6px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .12); }
.article .updated::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--go); }
.article h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; color: var(--ink); }
.article ul, .article ol { margin: 12px 0; padding-left: 22px; }
.article li + li { margin-top: 9px; }
.article li b, .article p b { color: var(--ink); }
.article li::marker { color: var(--signal-text); font-weight: 700; }
/* Steps: the app's day rows, plain numbers. */
.article ol { list-style: none; padding: 0; counter-reset: step; border-top: 1.5px solid var(--ink); }
.article ol > li { counter-increment: step; position: relative; padding: 16px 0 16px 66px; margin: 0; border-bottom: 1px solid var(--rule); min-height: 64px; }
.article ol > li::before {
  content: counter(step); position: absolute; left: 0; top: 14px; bottom: 14px; width: 48px;
  font-family: var(--cond); font-weight: 700; font-size: 34px; line-height: 1; color: var(--ink); border-right: 1px solid var(--rule);
}
.article figure { margin: 44px 0; }
.article figure.wide { max-width: none; width: min(100vw - 2 * var(--bleed), var(--page)); }
.article figure.wide img { display: block; width: 100%; height: auto; }
.article figure.wide figcaption { margin: 0; padding: 12px 18px 14px; background: #E6DDCB; border-top: 1px solid rgba(20, 19, 17, .14); }
.article figure.panel img { display: block; }
.article figure.panel figcaption { justify-content: center; text-align: center; max-width: 402px; margin-inline: auto; }
/* On a wide screen a tall panel stands to the right of the words. */
.article .screen { margin: 44px 0; max-width: none; }
.article .screen--panel figcaption { max-width: 402px; margin-inline: auto; }
@media (min-width: 1280px) {
  .article figure.panel, .article .screen--panel { float: right; clear: right; margin: 8px 0 32px 40px; max-width: 458px; }
  .article figure.panel, .article .screen--panel .screen-frame { padding: 28px; }
  .article figure.wide, .article .table, .article .compare, .article .lean, .article .cta, .article .related, .article .faq { clear: both; }
  /* screen(['class' => 'full']): a panel that stays in the column, for a wide
     panel (the history table) or one followed by a table or the questions. */
  .article .screen--panel.full { float: none; clear: both; margin: 44px 0; max-width: none; }
}
.article .table { overflow-x: auto; margin: 24px 0; }
.article table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 16px; line-height: 1.45; }
.article th, .article td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-top: 1px solid var(--rule); color: var(--ink-soft); }
.article thead th { border-top: 0; color: var(--ink); font-family: var(--cond); font-size: 15px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.article tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.article .yes { color: var(--ink); font-weight: 600; }
.article .note { background: var(--paper); border-top: 4px solid var(--signal); padding: 14px 18px; margin: 24px 0; border-radius: 2px; }
/* "What it does not do yet": the app's info card, honest and in plain view. */
.article .not-yet {
  max-width: var(--measure); background: var(--paper); border-top: 5px solid var(--signal); border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 19, 17, .1); padding: 4px 24px 18px; margin: 56px 0 0;
}
.article .not-yet h2 { margin: 18px 0 10px; font-family: var(--cond); font-weight: 700; font-size: 27px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
.article .not-yet ul { list-style: none; padding: 0; margin: 0; }
.article .not-yet li { padding: 11px 0 0 26px; position: relative; margin: 0; border-top: 1px solid var(--rule); padding-bottom: 11px; }
.article .not-yet li:last-child { padding-bottom: 0; }
.article .not-yet li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.article .faq { padding: 0; margin-top: 18px; gap: 28px 40px; max-width: none; clear: both; }
.article .faq h3 { margin: 0; }
.article .faq p { font-size: 16px; }

.cta {
  margin: 72px 0 0; padding: clamp(28px, 4vw, 44px); border-radius: 6px; background: var(--screen); color: var(--sky);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; max-width: none;
}
.cta-btns { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta > div { max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.prose .cta h2 { margin: 0; color: var(--sky); font-size: clamp(30px, 3.4vw, 46px); }
.prose .cta p { color: rgba(244, 242, 238, .8); font-size: 16.5px; }
.cta .lbl { color: var(--signal); }
.cta .btn-o:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }
@media (max-width: 640px) { .cta { grid-template-columns: 1fr; } }
.related { margin-top: 48px; max-width: none; }
.related + .after-list { margin-top: 40px; }
.related ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border-top: 1.5px solid var(--ink); }
.related li { margin: 0; border-bottom: 1px solid var(--rule); }
.related li + li { margin-top: 0; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 14px 16px 0; font-family: var(--cond); font-weight: 700; font-size: 21px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.related a::after { content: "→"; color: var(--signal); font-family: var(--text); font-weight: 600; }
.related a:hover { background: var(--paper); color: var(--ink); }

/* ------------------------------------------------- the comparison table
   Desktop: three columns, the heads stuck to the top while you scroll, rows
   grouped, each GPXtoGPS answer marked with the app's dot (filled: it does
   it; hollow: it does not, or not yet). Phone: each row becomes a short
   card, the question first and the two answers under it, labelled. The
   table keeps its table meaning for screen readers (role attributes). */
.compare-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 8px; font-size: 15px; color: var(--ink-soft); max-width: none; }
.compare-key span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--go); flex: none; display: inline-block; }
.dot.no { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.article .compare { max-width: none; margin: 20px 0 0; }
.article .compare table { min-width: 0; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.article .compare thead th {
  position: sticky; top: 0; z-index: 2; background: var(--sky); padding: 14px 18px 12px 0;
  border-bottom: 1.5px solid var(--ink); font-size: 17px;
}
.article .compare thead th:last-child { color: var(--ink); }
.article .compare thead th .wordmark { font-size: 21px; letter-spacing: .01em; text-transform: none; }
.article .compare tbody th, .article .compare td { padding: 15px 22px 15px 0; border-top: 0; border-bottom: 1px solid var(--rule); }
.article .compare tbody th { width: 32%; font-weight: 600; }
.article .compare td { width: 34%; }
.article .compare td.us { color: var(--ink); background: linear-gradient(90deg, transparent 0, transparent 0); }
.article .compare td.us .cell { display: grid; grid-template-columns: 12px 1fr; gap: 10px; }
.article .compare td.us .dot { margin-top: 7px; }
.article .compare td.us.yes { font-weight: 600; }
.article .compare tr.group th {
  font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  padding: 30px 0 10px; border-bottom: 1.5px solid var(--ink); background: transparent; width: auto;
}
.article .compare tbody tr:not(.group):hover th, .article .compare tbody tr:not(.group):hover td { background: rgba(239, 227, 206, .55); }
.article .compare .who { display: none; }
@media (max-width: 720px) {
  .article .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .article .compare table, .article .compare tbody, .article .compare tr, .article .compare th, .article .compare td,
  .article .compare tbody th, .article .compare tbody td { display: block; width: auto; }
  .article .compare tr.group th { padding: 28px 0 8px; }
  .article .compare tbody tr:not(.group) { padding: 14px 0 16px; border-bottom: 1px solid var(--rule); }
  .article .compare tbody tr:not(.group) th { padding: 0 0 10px; border: 0; color: var(--ink); font-size: 17px; }
  .article .compare tbody tr:not(.group) td { padding: 8px 12px 9px; border: 0; display: grid; grid-template-columns: 92px 1fr; gap: 0 12px; }
  .article .compare td.them { background: rgba(20, 19, 17, .045); border-radius: 3px 3px 0 0; }
  .article .compare td.us { background: var(--paper); border-radius: 0 0 3px 3px; }
  .article .compare .who { display: block; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 2px; }
  .article .compare td.us .who { color: var(--ink); }
  .article .compare tbody tr:not(.group):hover th, .article .compare tbody tr:not(.group):hover td.them { background: rgba(20, 19, 17, .045); }
  .article .compare tbody tr:not(.group):hover td.us { background: var(--paper); }
}
.lean { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; max-width: none; margin-top: 56px; }
.lean > section { background: var(--paper); border-radius: 3px; padding: 4px 24px 22px; box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .1); border-top: 5px solid var(--ink); }
.lean > section.ours { border-top-color: var(--signal); }
.lean h2 { font-family: var(--cond); font-weight: 700; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; margin: 18px 0 10px; line-height: 1.05; }
.lean ul { padding-left: 20px; }

/* ----------------------------------------------------------------- footer */
.site-footer { padding-bottom: var(--bleed); }
.footer-panel {
  background: var(--paper); color: var(--ink-soft); border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .12);
  padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; font-size: 15px;
}
.footer-panel > div { display: flex; flex-direction: column; gap: 10px; }
.footer-panel .wordmark { font-size: 44px; color: var(--ink); }
.footer-panel .wordmark .to { color: var(--signal-big); } /* 4:1 on --paper; --signal is 2.96 */
.footer-panel nav { display: flex; gap: 0 24px; flex-wrap: wrap; align-items: flex-start; margin-top: -10px; }
.footer-panel nav a, .footer-panel nav .link-btn { padding: 10px 0; } /* tap targets of at least 24px */
.footer-panel a { color: var(--ink); text-decoration: none; }
.footer-panel a:hover { color: var(--signal-text); text-decoration: underline; }
.footer-panel .guides { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 0 28px; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.footer-panel .guides a { padding: 12px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.footer-panel .legal { grid-column: 1 / -1; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 640px) { .footer-panel { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- lightbox */
.lightbox { border: 0; padding: 20px; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; cursor: zoom-out; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20, 19, 17, .86); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(96vw, 1400px); max-height: 100%; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 50px 140px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .18); }
.lightbox figcaption { display: flex; align-items: center; gap: 18px; color: var(--sky); }
.lightbox figcaption .d { font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; }
.lightbox .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------------------------------------------------------- download page */
.downloads { list-style: none; margin: 32px 0 8px; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.downloads li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; background: var(--paper); border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .14); }
.downloads h2 { margin: 0 0 4px; }
.downloads p { margin: 0; }
.downloads .meta { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.downloads li.mine { background: var(--screen); color: var(--sky); box-shadow: none; }
.downloads li.mine p, .downloads li.mine .meta { color: var(--sky); opacity: .85; }
.downloads li.mine .btn { background: var(--signal); border-color: var(--signal); color: var(--ink); }
@media (max-width: 719px) { .downloads li { flex-direction: column; align-items: flex-start; } }
/* Browse or join the beta, above the downloads. */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 8px; max-width: 760px; }
.ways > div { border: 1px solid var(--rule-strong); border-radius: 4px; padding: 18px 20px 6px; background: var(--map); }
.ways .join { border: 2px solid var(--signal); }
.prose .ways h2 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 26px; letter-spacing: .02em; margin: 0; }
.ways .who { font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--signal-text); margin: 2px 0 10px; }
.ways p { font-size: 16px; }
@media (max-width: 700px) { .ways { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- motion */
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.rise.r2 { animation-delay: .12s; }
.rise.r3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marq, .rise, .pop, .dim, .js .count.is-counting { animation: none; }
  .marq { width: auto; flex-wrap: wrap; white-space: normal; gap: 8px 28px; padding: 0 var(--gutter); }
  .marq ul { flex-wrap: wrap; gap: 8px 28px; }
  .marq ul[aria-hidden] { display: none; }
  .marq li::before { margin-right: 28px; }
  .js .count { --n: 43; }
  .stage { height: auto; padding-bottom: 64px; }
  .stage-pin { position: static; height: auto; }
  .pop, .dim { display: none; }
  * { transition: none !important; }
}
/* figure.panel (older markup) carries its caption inside the map: give it paper to sit on. */
.article figure.panel figcaption { background: var(--paper); padding: 8px 12px; border-radius: 3px; margin-top: 14px; }

/* ------------------------------------------- Google Analytics consent bar */
.consent {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; max-width: 780px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 14px 18px; background: var(--paper); color: var(--ink); border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 18px 50px rgba(20, 19, 17, .28);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 340px; font-size: 15px; line-height: 1.45; }
.consent-btns { display: flex; gap: 10px; }
/* Phones: one short line and the two buttons, low on the screen. site.js
   shows it there only once the page is scrolled, so it never covers the
   first screen's buttons (Download, Join the beta). */
@media (max-width: 420px) {
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; gap: 8px 12px; }
  .consent p { flex-basis: 100%; font-size: 14px; }
  .consent-long { display: none; }
  .consent-btns { width: 100%; }
  .consent-btns .btn { flex: 1; }
}
.link-btn { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.link-btn:hover { color: var(--signal-text); text-decoration: underline; }
.link-btn[hidden] { display: none; }
