/* waymark-online.com. The app's night palette (design-system/waymark/MASTER.md, "the palette by
   role"): charcoal with a green undertone, warm white text, light green for actions, gold only for
   the road a company checked, turquoise for catalogue sketches, blue for what the app computed.
   Shapes: buttons are pills, cards 24px, fields 14px, phones 34px. One theme: the app's night,
   because the globe and the glowing lines are the page's picture. */

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/heebo-hebrew.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/heebo-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: "Heebo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/heebo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/noto-devanagari.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

:root {
  --bg: #171D1A;
  --bg-deep: #111613;
  --surface: #1F2722;
  --surface-2: #242D27;
  --surface-3: #2C3630;
  --line: rgb(246 243 237 / 0.12);
  --line-strong: rgb(246 243 237 / 0.22);
  --text: #F6F3ED;
  --muted: #B7C0B9;
  --accent: #B8D979;
  --on-accent: #171D1A;
  --accent-soft: #34422A;
  --gold: #FFC53D;
  --edge: #0B0F0C;
  --teal: #7FDCEB;
  --blue: #6CA8FF;
  --danger: #F2A39C;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}
:lang(hi) { --font: "Noto Sans Devanagari", "Heebo", "Nirmala UI", system-ui, sans-serif; }
:lang(zh) { --font: "Heebo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
:lang(hi) :is(h1, h2, h3), :lang(zh) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 30; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons: one filled pill per place, outlined pills beside it. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.02rem; white-space: nowrap; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, box-shadow 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-main { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -12px rgb(184 217 121 / 0.55); }
.btn-main:hover { background: #C8E68F; box-shadow: 0 14px 34px -12px rgb(184 217 121 / 0.7); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgb(246 243 237 / 0.03); }
.btn-ghost:hover { border-color: var(--text); background: rgb(246 243 237 / 0.07); }
.btn-sm { min-height: 42px; padding: 0 1.15em; font-size: 0.95rem; }
.btn-wide { width: 100%; }

/* Navigation */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 20; transition: background-color 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgb(17 22 19 / 0.86); border-color: var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav-in { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: 0.12em; font-size: 1.05rem; font-family: "Heebo", system-ui, sans-serif; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-inline-start: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.98rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); background: rgb(246 243 237 / 0.06); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 170px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.6); }
.lang li a { display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; font-size: 0.98rem; }
.lang li a:hover { background: var(--surface-3); }
.lang li a[aria-current] { color: var(--accent); font-weight: 700; }

/* Hero: the words on one side, the globe of the catalogue's routes on the other. */
.hero { position: relative; padding-top: 72px; min-height: min(100dvh, 940px); display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  background:
    radial-gradient(60% 55% at 72% 48%, rgb(127 220 235 / 0.07), transparent 70%),
    radial-gradient(80% 60% at 20% 100%, rgb(184 217 121 / 0.05), transparent 70%),
    linear-gradient(var(--bg-deep), var(--bg)); }
[dir="rtl"] .hero { background:
    radial-gradient(60% 55% at 28% 48%, rgb(127 220 235 / 0.07), transparent 70%),
    radial-gradient(80% 60% at 80% 100%, rgb(184 217 121 / 0.05), transparent 70%),
    linear-gradient(var(--bg-deep), var(--bg)); }
.hero-in { max-width: var(--wrap); width: 100%; margin-inline: auto; padding-inline: var(--pad); }
.hero-text { position: relative; z-index: 2; padding-block: 40px; max-width: min(560px, 46%); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; max-width: 13ch; }
:lang(hi) .hero h1, :lang(zh) .hero h1 { line-height: 1.22; max-width: 15ch; }
:lang(es) .hero h1 { max-width: 15ch; }
.hero-sub { margin-top: 22px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn-ghost { background: rgb(23 29 26 / 0.6); }
.hero-globe { position: absolute; z-index: 1; top: calc(50% + 36px); inset-inline-end: max(-12vw, -200px); translate: 0 -50%; aspect-ratio: 1; width: min(1060px, 74vw, 118dvh); touch-action: pan-y; cursor: grab; }
.hero-globe:active { cursor: grabbing; }
.hero-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-gl { opacity: 0; transform: scale(0.94); transition: opacity 1.4s var(--ease), transform 1.8s var(--ease); }
.globe-gl.ready { opacity: 1; transform: none; }
.globe-note { position: absolute; z-index: 2; bottom: 26px; inset-inline: 0; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.globe-note::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* The story: three steps, the phone holds still and changes with them. */
.story { padding-block: clamp(80px, 12vw, 150px) clamp(40px, 6vw, 80px); }
.story h2 { max-width: 16ch; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); margin-top: 24px; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; max-width: 34rem; opacity: 0.35; transition: opacity 0.6s var(--ease); }
.step.on { opacity: 1; }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 18px; }
.step p { margin-top: 14px; color: var(--muted); font-size: 1.12rem; max-width: 44ch; }
.step-icon, .cell-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.step-icon .i, .cell-icon .i { width: 26px; height: 26px; }
.story-stage { position: sticky; top: 0; height: 100dvh; display: flex; align-items: center; justify-content: center; gap: 28px; }
.phone { position: relative; margin: 0; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #3a453e, #1a201c 60%); box-shadow: 0 0 0 1px rgb(246 243 237 / 0.12), 0 40px 90px -30px rgb(0 0 0 / 0.75); }
.phone img { border-radius: 26px; width: 100%; height: auto; background: var(--surface-2); }
.phone-stage { width: min(340px, 30vw); aspect-ratio: 540 / 1200; }
.phone-stage img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; opacity: 0; transform: scale(1.035); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.phone-stage img.on { opacity: 1; transform: none; }
.story-progress { width: 3px; height: 180px; border-radius: 3px; background: var(--line); overflow: hidden; }
.story-progress span { display: block; width: 100%; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(0.33); transition: transform 0.7s var(--ease); }
.phone-inline { display: none; }

/* The three lines */
.lines { padding-block: clamp(70px, 10vw, 130px); background: linear-gradient(var(--bg), var(--bg-deep) 50%, var(--bg)); }
.lines-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lines .lead { margin-top: 18px; }
.legend { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; }
.legend li { display: flex; gap: 16px; align-items: flex-start; }
.legend strong { font-size: 1.08rem; }
.legend p { color: var(--muted); margin-top: 2px; }
.swatch { flex: none; width: 46px; height: 8px; border-radius: 8px; margin-top: 10px; }
.sw-gold { background: var(--gold); box-shadow: 0 0 0 2px var(--edge); }
.sw-teal { background: var(--teal); box-shadow: 0 0 12px rgb(127 220 235 / 0.8); }
.sw-blue { height: 4px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 13px); }
.lines-art { margin: 0; border-radius: 28px; background: radial-gradient(90% 80% at 50% 40%, #1d2621, var(--bg-deep)); border: 1px solid var(--line); overflow: hidden; }
.lines-art svg { width: 100%; height: auto; display: block; }
.contours path { fill: none; stroke: rgb(246 243 237 / 0.07); stroke-width: 1.2; }
.lines-art path.ln-edge, .lines-art path.ln-gold, .lines-art path.ln-teal, .lines-art path.ln-blue { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ln-edge { stroke: var(--edge); stroke-width: 12; }
.ln-gold { stroke: var(--gold); stroke-width: 7; }
.ln-teal { stroke: var(--teal); stroke-width: 4; opacity: 0.9; }
.ln-blue { stroke: var(--blue); stroke-width: 3.5; stroke-dasharray: 9 7; }
.pin { fill: var(--text); stroke: var(--edge); stroke-width: 3; opacity: 0; transition: opacity 0.5s 2.6s; }
.pin-b { fill: var(--blue); }
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .lines-art .ln-edge, .js .lines-art .ln-gold { transition: stroke-dashoffset 1.8s var(--ease) 0.2s; }
.js .lines-art .ln-teal { transition: stroke-dashoffset 1.8s var(--ease) 0.9s; }
.js .lines-art mask .draw { transition: stroke-dashoffset 1.4s var(--ease) 1.8s; }
.lines-art.in .draw { stroke-dashoffset: 0; }
.lines-art.in .pin { opacity: 1; }

/* What else is there for the road: a bento of six. */
.road { padding-block: clamp(70px, 10vw, 130px); }
.road h2 { max-width: 18ch; }
.bento { margin-top: 44px; display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas:
  "off off build roads"
  "off off build record"
  "group group search search"; }
.cell { position: relative; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: 28px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; transition: transform 0.5s var(--ease), border-color 0.3s; }
.cell:hover { border-color: var(--line-strong); }
.cell p { color: var(--muted); }
.cell h3 { margin-top: 6px; }
.cell-offline { grid-area: off; flex-direction: row; gap: 24px; align-items: stretch; min-height: 520px; padding-bottom: 0;
  background: radial-gradient(70% 70% at 80% 100%, rgb(184 217 121 / 0.14), transparent 70%), linear-gradient(160deg, #26322a, var(--surface) 60%); }
[dir="rtl"] .cell-offline { background: radial-gradient(70% 70% at 20% 100%, rgb(184 217 121 / 0.14), transparent 70%), linear-gradient(200deg, #26322a, var(--surface) 60%); }
.cell-offline .cell-text { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-bottom: 28px; }
.cell-offline h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.cell-build { grid-area: build; padding-bottom: 0; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.cell-roads { grid-area: roads; }
.cell-record { grid-area: record; }
.cell-group { grid-area: group; background: linear-gradient(120deg, #202a24, var(--surface) 70%); }
.cell-search { grid-area: search; }
.cell-group, .cell-search { flex-direction: row; align-items: center; gap: 20px; }
.cell-group h3, .cell-search h3 { margin: 0; flex: 0 0 auto; max-width: 14ch; }
.cell-group p, .cell-search p { flex: 1; }
.cell-icon-rec { background: rgb(242 163 156 / 0.14); color: var(--danger); }
.phone-peek { width: min(250px, 100%); align-self: flex-end; margin-top: auto; border-end-start-radius: 0; border-end-end-radius: 0; padding-bottom: 0; transform: translateY(14%); transition: transform 0.8s var(--ease); }
.phone-peek img { border-end-start-radius: 0; border-end-end-radius: 0; }
.cell:hover .phone-peek { transform: translateY(8%); }
.cell-build .phone-peek { align-self: center; width: min(230px, 92%); margin-top: 12px; }

/* For companies */
.companies { padding-block: clamp(70px, 10vw, 130px); border-top: 1px solid var(--line); background: linear-gradient(var(--bg-deep), var(--bg)); }
.co-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
:lang(he) .eyebrow, :lang(hi) .eyebrow, :lang(zh) .eyebrow { letter-spacing: 0.04em; font-size: 0.95rem; }
.co-text .lead { margin-top: 18px; }
.co-text .btn { margin-top: 30px; }
.co-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; }
.co-list li { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--line); }
.co-list li > .i { width: 30px; height: 30px; color: var(--gold); }
.co-list strong { font-size: 1.1rem; }
.co-list p { color: var(--muted); margin-top: 4px; }

/* Getting it: sign up, download */
.get { padding-block: clamp(70px, 10vw, 130px); position: relative; overflow: hidden; }
.get::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(50% 50% at 50% 50%, rgb(184 217 121 / 0.08), transparent 70%); pointer-events: none; }
.get h2 { max-width: 16ch; }
.get-grid { position: relative; margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.card > h3 { font-size: 1.6rem; }
.card > .muted { margin-top: 8px; }
.field { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 0.98rem; padding: 0; }
.field legend { margin-bottom: 8px; }
.field input[type="email"], .field input[type="password"], .field input[type="text"] {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: var(--bg-deep); color: var(--text); font: inherit; font-size: 1.02rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(184 217 121 / 0.22); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
[dir="rtl"] .field input[dir="ltr"]:focus, [dir="rtl"] .field input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
.pass { position: relative; }
.pass input { padding-inline-end: 56px; }
.pass-toggle { position: absolute; inset-inline-end: 4px; top: 4px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pass-toggle:hover { color: var(--text); background: rgb(246 243 237 / 0.06); }
.help { font-size: 0.9rem; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; border: 1px solid var(--line-strong); color: var(--muted); font-weight: 600; transition: all 0.2s; }
.seg input:checked + span { border-color: var(--accent); color: var(--text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-error { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: rgb(242 163 156 / 0.1); color: var(--danger); border: 1px solid rgb(242 163 156 / 0.3); }
.signup .btn { margin-top: 24px; position: relative; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgb(23 29 26 / 0.25); border-top-color: var(--on-accent); animation: spin 0.8s linear infinite; }
.signup.busy .spinner { display: block; }
.signup.busy .btn-label { opacity: 0.7; }
.fine { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.fine a { color: var(--text); }
.signup { position: relative; }
.signup.finished > :not(.done):not(template) { display: none; }
.done { text-align: center; padding: 30px 6px; }
.done:focus { outline: none; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); animation: pop 0.6s var(--ease); }
.done-icon .i { width: 32px; height: 32px; }
.done h3 { font-size: 1.6rem; }
.done p { margin-top: 12px; color: var(--muted); }
.done .done-email { color: var(--text); font-weight: 700; margin-top: 6px; overflow-wrap: anywhere; }
.done .btn { margin-top: 24px; }
.dl-head { display: flex; gap: 16px; align-items: center; }
.dl-head h3 { font-size: 1.6rem; }
.dl-head .muted { margin-top: 2px; }
.dl .btn { margin-top: 26px; }
.dl-qr { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 14px; border-radius: 18px; background: var(--bg-deep); border: 1px solid var(--line); }
.dl-qr svg { width: 104px; height: 104px; flex: none; border-radius: 10px; background: var(--text); padding: 6px; }
.dl-qr p { color: var(--muted); font-size: 0.95rem; }
.dl-steps { margin: 24px 0 0; padding-inline-start: 1.3em; color: var(--muted); display: grid; gap: 8px; }
.dl-steps li::marker { color: var(--accent); font-weight: 700; }
.stores { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.store { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--muted); }
.store .i { width: 26px; height: 26px; }
.store strong { display: block; color: var(--text); font-size: 0.98rem; line-height: 1.3; }
.store span { font-size: 0.88rem; }

/* Questions */
.faq { padding-block: clamp(60px, 9vw, 120px); border-top: 1px solid var(--line); }
.faq-wrap { max-width: 860px; }
.faq-list { margin-top: 34px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform 0.35s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding-bottom: 24px; color: var(--muted); max-width: 64ch; }
.faq details p a { color: var(--text); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 44px; background: var(--bg-deep); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 30px; align-items: center; }
.foot-links { display: flex; gap: 24px; justify-content: flex-end; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.credits, .copy { font-size: 0.85rem; color: var(--muted); }
.copy { text-align: end; }

/* Motion: words rise once on arrival, sections appear as they come into view. */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.js .rise { opacity: 0; transform: translateY(20px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d) * 130ms + 120ms); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .js .draw { stroke-dashoffset: 0; transition: none !important; }
  .pin { opacity: 1; transition: none; }
  .globe-gl { transition: opacity 0.3s; transform: none; }
  .phone-stage img, .phone-peek, .step { transition: none; }
}

/* Tablet and phone: one column, the phones next to their words. */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas:
    "off off" "build roads" "build record" "group group" "search search"; }
  .cell-offline { min-height: 440px; }
  .co-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-in { display: flex; flex-direction: column; }
  .hero-globe { order: -1; }
  .hero-globe { position: relative; inset: auto; translate: none; width: min(128vw, 640px); margin: -4vw auto -12vw; left: 50%; translate: -50% 0; }
  [dir="rtl"] .hero-globe { left: auto; right: 50%; translate: 50% 0; }
  .hero-text { padding-block: 0 24px; max-width: none; }
  .hero h1 { max-width: none; }
  .globe-note { position: static; justify-content: center; margin-top: 8px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .step { min-height: 0; opacity: 1; margin-top: 64px; }
  .phone-inline { display: block; width: min(300px, 78vw); margin: 32px auto 0; }
  .lines-grid { grid-template-columns: 1fr; }
  .get-grid { grid-template-columns: 1fr; }
  .dl-qr { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-in { height: 64px; gap: 12px; }
  .nav-end .btn-sm { display: none; }
  .lang summary span { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "off" "build" "roads" "record" "group" "search"; }
  .cell-offline { flex-direction: column; min-height: 0; }
  .cell-offline .cell-text { padding-bottom: 0; }
  .phone-peek { align-self: center; width: min(240px, 80%); }
  .cell-group, .cell-search { flex-direction: column; align-items: flex-start; }
  .co-list { grid-template-columns: 1fr; }
  .stores { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .copy { text-align: start; }
}
