/* Pinsake home page. Same tokens as the app: flat surfaces, hairlines, one accent. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/vendor/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); 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'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/vendor/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bg: #ffffff; --bg-2: #f6f7f8; --bg-3: #eceef0; --line: #e3e5e9; --line-2: #cfd3d9;
  --text: #121417; --text-2: #4f5661; --text-3: #6b717b;
  --accent: #0f7b63; --accent-hover: #0b6853; --accent-soft: #e4f2ee; --accent-text: #0c6b56; --on-accent: #fff;
  --shadow: 0 1px 2px rgba(16,18,22,.06), 0 12px 32px rgba(16,18,22,.10);
  --r: 14px;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #121417; --bg-2: #181b1f; --bg-3: #23272c; --line: #2a2e34; --line-2: #3a3f46;
  --text: #eef0f2; --text-2: #b1b7c0; --text-3: #7d848e;
  --accent: #33bb8b; --accent-hover: #45c99a; --accent-soft: #14302a; --accent-text: #5fd3a8; --on-accent: #062219;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; color: var(--text); }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 9px; font: 600 15px var(--font); text-decoration: none; border: 1px solid var(--line-2); color: var(--text); background: var(--bg); transition: background-color .12s, border-color .12s; white-space: nowrap; }
.btn:hover { background: var(--bg-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--bg-2); }
.btn.lg { height: 50px; padding: 0 22px; font-size: 16px; border-radius: 11px; }
.btn.on-dark { background: #fff; color: #0b3b30; border-color: #fff; }
.btn.on-dark:hover { background: #eaf6f2; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.links { display: flex; gap: 4px; margin-left: 12px; }
.links a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 550; font-size: 15px; color: var(--text-2); }
.links a:hover { color: var(--text); background: var(--bg-2); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* hero: copy on top, then the app on a phone (Safari) and a computer, switchable by use */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero-head { text-align: center; max-width: 900px; }
.eyebrow { margin: 0 0 12px; font-weight: 650; font-size: 14px; color: var(--accent-text); letter-spacing: .01em; }
h1 { text-wrap: balance; margin: 0 auto 16px; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 750; }
h1 .soft { color: var(--text-3); }
.lede { margin: 0 auto 26px; font-size: 18.5px; line-height: 1.55; color: var(--text-2); max-width: 620px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 22px 0 0; color: var(--text-2); font-size: 14.5px; font-weight: 550; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.ok { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.stage { --tint: #e7f0f8; position: relative; margin: 44px auto 0; width: 100%; aspect-ratio: 1180 / 668; }
.stage[data-scene="everyday"] { --tint: #f3eee5; }
.stage[data-scene="outdoors"] { --tint: #e5f1e9; }
:root[data-theme='dark'] .stage { --tint: #15202c; }
:root[data-theme='dark'] .stage[data-scene="everyday"] { --tint: #241f18; }
:root[data-theme='dark'] .stage[data-scene="outdoors"] { --tint: #14241b; }
.stage-floor { position: absolute; left: 0; right: 0; top: 19%; bottom: 5%; border-radius: 28px; background: var(--tint); transition: background-color .5s ease; }
.scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .45s ease; }
.scene-img.on { opacity: 1; }

/* the computer: a Google Chrome window on Windows. One unit (--d) is one pixel of a 1440 wide window */
.dev-desk { --d: calc(100cqw / 1440); container-type: inline-size; position: absolute; right: 2.2%; top: 2.5%; width: 72.4%; margin: 0; border-radius: 10px; overflow: hidden;
  --cr-frame: #dfe3e9; --cr-bar: #ffffff; --cr-omni: #eef1f5; --cr-ic: #474747; --cr-text: #1f1f1f; --cr-dim: #b4b7bb; --cr-tab-off: #5e6267;
  background: var(--cr-bar); border: 1px solid #c8cdd4; box-shadow: 0 2px 6px rgba(16,18,22,.06), 0 26px 60px rgba(16,18,22,.18); font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
:root[data-theme='dark'] .dev-desk { --cr-frame: #1d1e20; --cr-bar: #303134; --cr-omni: #1d1e20; --cr-ic: #c4c7c5; --cr-text: #e3e3e3; --cr-dim: #6c6f73; --cr-tab-off: #a9acb0; border-color: #3a3d42; box-shadow: 0 26px 60px rgba(0,0,0,.55); }
.cr-strip { position: relative; display: flex; align-items: flex-end; height: calc(var(--d) * 41); padding: 0 0 0 calc(var(--d) * 8); background: var(--cr-frame); }
.cr-tab { position: relative; display: flex; align-items: center; gap: calc(var(--d) * 8); width: calc(var(--d) * 236); height: calc(var(--d) * 34); padding: 0 calc(var(--d) * 10) 0 calc(var(--d) * 12); border-radius: calc(var(--d) * 9) calc(var(--d) * 9) 0 0; color: var(--cr-tab-off); }
.cr-tab + .cr-tab::before { content: ''; position: absolute; left: 0; top: calc(var(--d) * 9); bottom: calc(var(--d) * 9); width: 1px; background: color-mix(in srgb, var(--cr-tab-off) 40%, transparent); }
.cr-tab.on { background: var(--cr-bar); color: var(--cr-text); z-index: 1; }
.cr-tab.on + .cr-tab::before { display: none; }
.cr-tab.on::before, .cr-tab.on::after { content: ''; position: absolute; bottom: 0; width: calc(var(--d) * 9); height: calc(var(--d) * 9); background: transparent; }
.cr-tab.on::before { left: calc(var(--d) * -9); border-bottom-right-radius: calc(var(--d) * 9); box-shadow: calc(var(--d) * 4) calc(var(--d) * 4) 0 calc(var(--d) * 4) var(--cr-bar); }
.cr-tab.on::after { right: calc(var(--d) * -9); border-bottom-left-radius: calc(var(--d) * 9); box-shadow: calc(var(--d) * -4) calc(var(--d) * 4) 0 calc(var(--d) * 4) var(--cr-bar); }
.cr-fav { width: calc(var(--d) * 16); height: calc(var(--d) * 16); border-radius: calc(var(--d) * 4); background: #0f7b63; color: #fff; display: grid; place-items: center; flex: none; }
.cr-fav svg { width: calc(var(--d) * 11); height: calc(var(--d) * 11); }
.cr-title { flex: 1; min-width: 0; font-size: calc(var(--d) * 12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-x { width: calc(var(--d) * 16); height: calc(var(--d) * 16); flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.cr-new { align-self: center; width: calc(var(--d) * 18); height: calc(var(--d) * 18); margin: calc(var(--d) * 4) 0 0 calc(var(--d) * 12); fill: none; stroke: var(--cr-ic); stroke-width: 1.6; stroke-linecap: round; }
.cr-win { position: absolute; right: 0; top: 0; height: 100%; display: flex; }
.cr-win svg { width: calc(var(--d) * 46); height: 100%; padding: calc(var(--d) * 13) calc(var(--d) * 17); fill: none; stroke: var(--cr-text); stroke-width: 1.1; stroke-linecap: round; }
.cr-bar { display: flex; align-items: center; gap: calc(var(--d) * 6); height: calc(var(--d) * 46); padding: 0 calc(var(--d) * 10); background: var(--cr-bar); border-bottom: 1px solid color-mix(in srgb, var(--cr-ic) 18%, transparent); }
.cr-ic { width: calc(var(--d) * 32); height: calc(var(--d) * 32); padding: calc(var(--d) * 6); flex: none; fill: none; stroke: var(--cr-ic); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cr-ic.dim { stroke: var(--cr-dim); }
.cr-ic.fill { fill: var(--cr-ic); stroke: none; }
.cr-omni { flex: 1; display: flex; align-items: center; gap: calc(var(--d) * 10); height: calc(var(--d) * 34); margin: 0 calc(var(--d) * 6); padding: 0 calc(var(--d) * 10) 0 calc(var(--d) * 4); border-radius: 999px; background: var(--cr-omni); }
.cr-tune { width: calc(var(--d) * 26); height: calc(var(--d) * 26); border-radius: 50%; display: grid; place-items: center; background: var(--cr-bar); }
.cr-tune svg { width: calc(var(--d) * 16); height: calc(var(--d) * 16); fill: none; stroke: var(--cr-ic); stroke-width: 1.8; stroke-linecap: round; }
.cr-url { flex: 1; font-size: calc(var(--d) * 14); color: var(--cr-text); white-space: nowrap; overflow: hidden; }
.cr-path { color: color-mix(in srgb, var(--cr-text) 55%, transparent); }
.cr-star { width: calc(var(--d) * 18); height: calc(var(--d) * 18); fill: none; stroke: var(--cr-ic); stroke-width: 1.6; stroke-linejoin: round; }
.cr-prof { width: calc(var(--d) * 24); height: calc(var(--d) * 24); margin: 0 calc(var(--d) * 4); border-radius: 50%; display: grid; place-items: center; background: #c2410c; color: #fff; font-size: calc(var(--d) * 12); font-weight: 600; flex: none; }
.bw-screen { position: relative; aspect-ratio: 1680 / 1003; background: #eef1f4; }

/* the phone: an iPhone 18 Pro in Silver, Safari with its floating glass bar. One unit (--u) is one point */
.dev-phone { container-type: inline-size; position: absolute; left: 3%; bottom: 0; width: 24.2%; margin: 0; z-index: 2; }
.iphone { --u: calc(100cqw / 434); position: relative; padding: calc(var(--u) * 7.5); border-radius: calc(var(--u) * 76);
  background: linear-gradient(180deg, #eceef0 0%, #d3d6da 46%, #e4e6e9 100%);
  box-shadow: inset 0 0 0 calc(var(--u) * .9) rgba(255,255,255,.95), inset 0 0 0 calc(var(--u) * 2.4) #c3c7cc, inset 0 0 0 calc(var(--u) * 7.5) #d9dce0,
    0 0 0 calc(var(--u) * .7) rgba(60,64,70,.38), 0 2px 6px rgba(16,18,22,.10), 0 36px 72px rgba(16,18,22,.24); }
:root[data-theme='dark'] .iphone { box-shadow: inset 0 0 0 calc(var(--u) * .9) rgba(255,255,255,.95), inset 0 0 0 calc(var(--u) * 2.4) #c3c7cc, inset 0 0 0 calc(var(--u) * 7.5) #d9dce0, 0 0 0 calc(var(--u) * .7) rgba(0,0,0,.6), 0 36px 72px rgba(0,0,0,.6); }
.ip-btn { position: absolute; width: calc(var(--u) * 3.2); border-radius: calc(var(--u) * 1.6); background: linear-gradient(90deg, #c9ccd1, #e7e9ec); box-shadow: 0 0 0 calc(var(--u) * .5) rgba(60,64,70,.3); }
.ip-action, .ip-volup, .ip-voldown { left: calc(var(--u) * -2.6); }
.ip-side, .ip-cam { right: calc(var(--u) * -2.6); background: linear-gradient(90deg, #e7e9ec, #c9ccd1); }
.ip-action { top: calc(var(--u) * 180); height: calc(var(--u) * 39); }
.ip-volup { top: calc(var(--u) * 262); height: calc(var(--u) * 60); }
.ip-voldown { top: calc(var(--u) * 338); height: calc(var(--u) * 60); }
.ip-side { top: calc(var(--u) * 264); height: calc(var(--u) * 102); }
.ip-cam { top: calc(var(--u) * 598); height: calc(var(--u) * 58); width: calc(var(--u) * 2.2); right: calc(var(--u) * -1.4); background: #b7bbc1; }
.ip-body { padding: calc(var(--u) * 8.5); border-radius: calc(var(--u) * 68.5); background: #030304; }
.ip-screen { position: relative; height: calc(var(--u) * 874); border-radius: calc(var(--u) * 60); overflow: hidden; background: #fff; font-family: -apple-system, 'SF Pro Text', 'Inter', system-ui, sans-serif; }
.ios-web { position: absolute; left: 0; right: 0; top: calc(var(--u) * 54); bottom: 0; overflow: hidden; background: #eef1f4; }
.ios-status { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: calc(var(--u) * 54); display: grid; grid-template-columns: 1fr calc(var(--u) * 82) 1fr; align-items: center; padding-top: calc(var(--u) * 3); color: #000; background: #fff; }
.ios-time { justify-self: center; font-size: calc(var(--u) * 17); font-weight: 600; letter-spacing: calc(var(--u) * -.4); padding-left: calc(var(--u) * 6); }
.ios-icons { grid-column: 3; justify-self: center; display: flex; align-items: center; gap: calc(var(--u) * 5.5); padding-right: calc(var(--u) * 2); }
.ios-icons svg { fill: currentColor; display: block; }
.ios-sig { width: calc(var(--u) * 17); height: calc(var(--u) * 12); }
.ios-wifi { width: calc(var(--u) * 16); height: calc(var(--u) * 12); }
.ios-bat { width: calc(var(--u) * 27); height: calc(var(--u) * 13); }
.ip-island { position: absolute; z-index: 3; left: 50%; top: calc(var(--u) * 11); width: calc(var(--u) * 82); height: calc(var(--u) * 34); margin-left: calc(var(--u) * -41); border-radius: calc(var(--u) * 17); background: #000; }
.ip-island::after { content: ''; position: absolute; right: calc(var(--u) * 11); top: 50%; width: calc(var(--u) * 10); height: calc(var(--u) * 10); margin-top: calc(var(--u) * -5); border-radius: 50%; background: #0c0e15; box-shadow: inset 0 0 0 calc(var(--u) * 1.8) #060708, inset calc(var(--u) * 1) calc(var(--u) * -1) calc(var(--u) * 2) #1f2846; }
/* Safari: back, the address and more, each a piece of glass floating over the page */
.safari { position: absolute; z-index: 2; left: calc(var(--u) * 14); right: calc(var(--u) * 14); bottom: calc(var(--u) * 28); height: calc(var(--u) * 50); display: flex; gap: calc(var(--u) * 8); }
.sf-glass { display: flex; align-items: center; justify-content: center; border-radius: 999px; color: #000;
  background: rgba(250,250,252,.62); -webkit-backdrop-filter: blur(calc(var(--u) * 9)) saturate(1.8); backdrop-filter: blur(calc(var(--u) * 9)) saturate(1.8);
  box-shadow: inset 0 0 0 calc(var(--u) * .7) rgba(255,255,255,.8), inset 0 calc(var(--u) * -1) calc(var(--u) * 2) rgba(0,0,0,.05), 0 calc(var(--u) * 3) calc(var(--u) * 14) rgba(0,0,0,.16), 0 0 0 calc(var(--u) * .5) rgba(0,0,0,.08); }
.sf-round { width: calc(var(--u) * 50); flex: none; }
.sf-round svg { width: calc(var(--u) * 23); height: calc(var(--u) * 23); fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.sf-round svg.fill { fill: currentColor; stroke: none; }
.sf-field { flex: 1; min-width: 0; padding: 0 calc(var(--u) * 15); gap: calc(var(--u) * 8); }
.sf-page { width: calc(var(--u) * 19); height: calc(var(--u) * 19); flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.sf-host { flex: 1; text-align: center; font-size: calc(var(--u) * 16); font-weight: 600; letter-spacing: calc(var(--u) * -.3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-reload { width: calc(var(--u) * 18); height: calc(var(--u) * 18); flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ios-home { position: absolute; z-index: 2; left: 50%; bottom: calc(var(--u) * 8); width: calc(var(--u) * 140); height: calc(var(--u) * 5); margin-left: calc(var(--u) * -70); border-radius: 99px; background: #000; }

/* switching between uses */
.scenes { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }
.scene-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.scene-tabs button { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 600 15px var(--font); color: var(--text-2); cursor: pointer; transition: background-color .15s, color .15s; }
.scene-tabs button:hover { color: var(--text); }
.scene-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.scene-cap { margin: 0; font-size: 15px; color: var(--text-2); text-align: center; min-height: 1.5em; }
.scenes { position: relative; }
.scene-pause { position: absolute; top: 6px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.scene-pause[hidden] { display: none; }
.scene-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.scene-pause:hover { color: var(--text); border-color: var(--line-2); }
.scene-tabs button:focus-visible, .scene-pause:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* the live demo map, with a pin card laid over it */
.layered { position: relative; padding-bottom: 56px; }
.map-card { margin: 0 0 0 0; width: 86%; }
#demo-map { height: 460px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #e8ecef; }
.map-card figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--text-3); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px color-mix(in srgb, #2fbf71 22%, transparent); }
.pin-card { position: absolute; z-index: 3; right: 0; top: 64px; width: 33%; aspect-ratio: 588 / 980; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 2px 6px rgba(16,18,22,.08), 0 24px 50px rgba(16,18,22,.18); }
.pin-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tag-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: -8px 0 28px; }
.tag-row li { padding: 5px 11px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 550; color: var(--text-2); }
.demo-pop .maplibregl-popup-content { padding: 0; border-radius: 12px; box-shadow: var(--shadow); font-family: var(--font); background: var(--bg); color: var(--text); overflow: hidden; }
/* the popup's arrow takes the card colour on whichever side it points from */
.demo-pop.maplibregl-popup-anchor-bottom .maplibregl-popup-tip, .demo-pop.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip, .demo-pop.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color: var(--bg); }
.demo-pop.maplibregl-popup-anchor-top .maplibregl-popup-tip, .demo-pop.maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .demo-pop.maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color: var(--bg); }
.demo-pop.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: var(--bg); }
.demo-pop.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: var(--bg); }
/* the demo's credits sit bottom left, clear of the pin card laid over the map */
.map-card .maplibregl-ctrl-bottom-right { right: auto; left: 0; }
.map-card .maplibregl-ctrl-scale { display: none; }
.dp { padding: 12px 14px; max-width: 250px; }
.dp b { display: block; font-size: 14.5px; }
.dp span { display: block; font-size: 13px; color: var(--text-2); margin-top: 3px; }
.dp .dp-l { font-size: 11.5px; font-weight: 650; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; }

/* sections */
.sec { padding: 96px 0; }
.hero + .sec { padding-top: 48px; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { text-wrap: balance; margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.028em; font-weight: 720; }
.sub { margin: 0; font-size: 18px; color: var(--text-2); }
.shot { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg); }
.shot img { width: 100%; }
figure.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--text-2); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.shot.tall { max-width: 400px; justify-self: center; width: 100%; }
.copy .sub { margin-bottom: 28px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feat-list li { display: flex; gap: 14px; color: var(--text-2); font-size: 15.5px; }
.feat-list b { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 2px; }
.fi { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.fi svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; max-width: 1000px; margin: 0 auto; }
.duo.wide { max-width: none; }
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto auto; gap: 18px; }
.bento figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.bento .b-big { grid-row: span 3; }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento figure:not(.b-big) { aspect-ratio: 16 / 9.4; }
.bento figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; max-width: 300px; background: var(--bg); color: var(--text-2); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.bento figcaption b { display: block; color: var(--text); font-size: 14.5px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 36px 0 0; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14.5px; font-weight: 550; color: var(--text-2); }
.phones { display: flex; justify-content: center; gap: 28px; }
.solo-phone { container-type: inline-size; width: 250px; margin: 0; }
.solo-phone:nth-child(2) { margin-top: 56px; }
/* installed on the home screen: the app fills the screen and the status bar sits over it */
.iphone.standalone .ios-web { top: 0; }
.iphone.standalone .ios-status { background: transparent; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card b { font-size: 18px; display: block; margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); }
.steps b { display: block; font-size: 18px; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--text-2); }
.sn { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 750; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 650; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 22px; line-height: 1; color: var(--text-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--text-2); }
.band { background: #0b3b30; color: #fff; padding: 64px 0; }
:root[data-theme='dark'] .band { background: #0d2a23; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band h2 { margin: 0; color: #fff; }
.foot { padding: 44px 0 56px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { text-decoration: none; color: var(--text-2); font-weight: 550; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.fine { font-size: 13px; color: var(--text-3); margin: 10px 0 0; }
.credits { grid-column: 1 / -1; max-width: 860px; }

/* legal pages */
.doc { padding: 56px 0 88px; }
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc .updated { color: var(--text-3); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 22px; }

@media (max-width: 980px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 36px; }
  .stage { margin-top: 40px; }
  .layered { max-width: 680px; width: 100%; margin: 0 auto; }
  #demo-map { height: 420px; }
  .links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b-big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 11; }
  .split.rev .phones { order: 2; }
}
@media (max-width: 680px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .nav-in { gap: 12px; height: 60px; }
  .nav-cta .btn.ghost { display: none; }
  .hero { padding: 28px 0 44px; }
  .lede { font-size: 17px; }
  h1 .soft { display: block; }
  .stage { aspect-ratio: auto; margin-top: 30px; padding-top: 22px; display: flex; justify-content: center; }
  .stage-floor { top: 18%; bottom: 0; border-radius: 22px; }
  .dev-desk { display: none; }
  .dev-phone { position: relative; left: auto; bottom: auto; width: min(278px, 76%); }
  .scenes { margin-top: 20px; }
  .scene-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .scene-tabs button { height: 36px; padding: 0 13px; font-size: 14px; white-space: nowrap; }
  .scene-cap { font-size: 14px; max-width: 320px; }
  .map-card { width: 100%; }
  .pin-card { width: 44%; top: auto; bottom: 0; right: 10px; }
  .map-card figcaption { padding-right: 48%; align-items: flex-start; }
  .map-card .live-dot { margin-top: 6px; flex: none; }
  .layered { padding-bottom: 120px; }
  .sec { padding: 64px 0; }
  .hero + .sec { padding-top: 32px; }
  .duo, .cards3, .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento figure:not(.b-big) { aspect-ratio: 16 / 10; }
  #demo-map { height: 360px; border-radius: 14px; }
  .phones { gap: 14px; }
  .solo-phone { width: 46%; }
  .solo-phone:nth-child(2) { margin-top: 32px; }
  .foot-in { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: 50px; padding-top: 10px; padding-bottom: 10px; }
  .scene-pause { position: static; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scene-img, .stage-floor { transition: none; } }

/* ---------- menu: current page, and the menu button on phones ---------- */
.links a[aria-current="page"] { color: var(--text); background: var(--bg-2); }
.nav-menu { display: none; width: 42px; height: 42px; margin-left: 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-menu:hover { background: var(--bg-2); }
.nav-menu:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-menu .x { display: none; }
body.menu-open .nav-menu .bars { display: none; }
body.menu-open .nav-menu .x { display: block; }
.mnav { border-top: 1px solid var(--line); background: var(--bg); padding: 6px 0 18px; box-shadow: 0 18px 30px rgba(16,18,22,.08); }
.mnav[hidden] { display: none; }
.mnav a.ml { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; font-size: 17px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav a.ml span { font-size: 13.5px; font-weight: 500; color: var(--text-3); }
.mnav a.ml[aria-current="page"] { color: var(--accent-text); }
.mnav-cta { display: flex; gap: 10px; margin-top: 16px; }
.mnav-cta .btn { flex: 1; height: 46px; }

/* ---------- footer with columns ---------- */
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; align-items: start; }
.foot-col h3 { margin: 4px 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); font-weight: 650; }
.foot-col a { display: block; padding: 4px 0; text-decoration: none; color: var(--text-2); font-weight: 550; font-size: 15px; }
.foot-col a:hover { color: var(--text); text-decoration: underline; }
.foot .credits { grid-column: 1 / -1; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; }

/* ---------- inner pages ---------- */
.page-head { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 54px); margin: 0 0 14px; max-width: 860px; }
.page-head .lede { margin: 0 0 24px; max-width: 680px; }
.page-head .hero-cta { justify-content: flex-start; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.jump a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.jump a:hover { color: var(--text); border-color: var(--text-3); }
.jump svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* features page */
.fsec { padding: 80px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.fsec.alt { background: var(--bg-2); }
.fsec .split { align-items: start; }
.fsec .copy h2 { margin-bottom: 12px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; margin-top: 28px; }
.fgrid.three { grid-template-columns: repeat(3, 1fr); }
.fitem { display: flex; gap: 12px; align-items: flex-start; }
.fitem .fi { width: 36px; height: 36px; border-radius: 10px; }
.fitem .fi svg { width: 19px; height: 19px; }
.fitem b { display: block; font-size: 15.5px; color: var(--text); margin-bottom: 2px; }
.fitem > div > span { display: block; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.media { position: sticky; top: 92px; margin: 0; }
.media .shot img { width: 100%; }
.media figcaption { font-size: 13.5px; color: var(--text-3); margin-top: 10px; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.media-pair .shot:nth-child(2) { margin-top: 48px; }
.mini-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-bento figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-3); }
.mini-bento img { width: 100%; height: 100%; object-fit: cover; }
.mini-bento figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--bg); color: var(--text); border-radius: 8px; padding: 4px 9px; font-size: 13px; font-weight: 650; box-shadow: 0 1px 6px rgba(0,0,0,.15); }
.phone-wrap { display: flex; justify-content: center; }
.phone-wrap .solo-phone { width: min(280px, 70%); }
.phone-wrap .solo-phone:nth-child(2) { margin-top: 0; }
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.cardgrid .card { display: flex; flex-direction: column; gap: 6px; }
.cardgrid .card .fi { margin-bottom: 8px; }
.cardgrid .card a { margin-top: auto; padding-top: 10px; font-weight: 650; color: var(--accent-text); text-decoration: none; }
.cardgrid .card a:hover { text-decoration: underline; }
.free-note { margin-top: 40px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); display: flex; gap: 16px; align-items: center; }
.free-note b { font-size: 17px; }
.free-note p { margin: 2px 0 0; color: var(--text-2); }
.free-note .btn { margin-left: auto; flex: none; }

/* examples page */
.ex-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.ex-pick button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); text-align: left; cursor: pointer; font: inherit; color: var(--text); transition: border-color .12s, background-color .12s; }
.ex-pick button:hover { border-color: var(--line-2); }
.ex-pick button[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.ex-pick .k { font-size: 12.5px; font-weight: 650; color: var(--accent-text); text-transform: uppercase; letter-spacing: .04em; }
.ex-pick b { font-size: 17px; }
.ex-pick .n { font-size: 13.5px; color: var(--text-3); }
.ex-view { display: grid; grid-template-columns: 360px minmax(0, 1fr); margin-top: 18px; height: 640px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg); }
.ex-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.ex-head { padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.ex-head h2 { font-size: 21px; margin: 0 0 6px; letter-spacing: -0.015em; }
.ex-head p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.ex-list { flex: 1; overflow: auto; padding: 6px 0 12px; }
.ex-lh { display: flex; align-items: center; gap: 9px; padding: 12px 18px 6px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.ex-lh .glyph { width: 22px; height: 22px; border-radius: 6px; }
.ex-row { width: 100%; display: flex; align-items: center; gap: 11px; padding: 8px 18px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.ex-row:hover { background: var(--bg-2); }
.ex-row.on { background: var(--accent-soft); }
.ex-row .grow { min-width: 0; flex: 1; }
.ex-row b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-row small { display: block; font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-row .st { font-size: 12.5px; color: #b45309; font-weight: 700; flex: none; }
.ex-map { position: relative; min-width: 0; }
#ex-map { position: absolute; inset: 0; }
.ex-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; color: var(--text-2); font-size: 14.5px; }
.ex-foot .grow { flex: 1; }
.ex-pop .maplibregl-popup-content { padding: 0; border-radius: 12px; box-shadow: var(--shadow); font-family: var(--font); background: var(--bg); color: var(--text); overflow: hidden; }
.ex-pop.maplibregl-popup-anchor-bottom .maplibregl-popup-tip, .ex-pop.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip, .ex-pop.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color: var(--bg); }
.ex-pop.maplibregl-popup-anchor-top .maplibregl-popup-tip, .ex-pop.maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .ex-pop.maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color: var(--bg); }
.ex-pop.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: var(--bg); }
.ex-pop.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: var(--bg); }
.ex-pop .pp { padding: 12px 14px; max-width: 260px; }
.ex-pop .pp .l { font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); margin: 0 0 3px; }
.ex-pop .pp b { display: block; font-size: 15px; }
.ex-pop .pp span { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 4px; line-height: 1.45; }
.ex-pop .pp .m { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ex-pop .pp .m i { font-style: normal; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); }

/* import page */
.checker { margin-top: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); box-shadow: var(--shadow); overflow: hidden; }
.drop { margin: 18px; border: 2px dashed var(--line-2); border-radius: 14px; padding: 34px 20px; text-align: center; transition: border-color .12s, background-color .12s; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop svg.big { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop b { display: block; font-size: 18px; margin: 10px 0 4px; }
.drop p { margin: 0 0 16px; color: var(--text-2); font-size: 15px; }
.drop .fine { margin-top: 14px; }
.drop .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ck-result { border-top: 1px solid var(--line); }
.ck-result[hidden] { display: none; }
.ck-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ck-sum .stat { display: flex; flex-direction: column; }
.ck-sum .stat b { font-size: 22px; letter-spacing: -0.02em; }
.ck-sum .stat span { font-size: 13px; color: var(--text-3); }
.ck-sum .grow { flex: 1; }
.ck-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
#ck-map { min-height: 400px; border-right: 1px solid var(--line); }
.ck-table { max-height: 400px; overflow: auto; }
.ck-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ck-table th { position: sticky; top: 0; background: var(--bg-2); text-align: left; font-size: 12.5px; color: var(--text-3); font-weight: 650; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ck-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ck-table td .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.ck-table td small { color: var(--text-3); font-variant-numeric: tabular-nums; }
.ck-more { padding: 10px 12px; font-size: 13.5px; color: var(--text-3); }
.ck-err { margin: 0 18px 18px; padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #b42318; font-size: 14.5px; }
:root[data-theme='dark'] .ck-err { background: #3a1d1d; color: #ffb4ab; }
.ck-err[hidden] { display: none; }
.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.how { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 20px; background: var(--bg); scroll-margin-top: 14px; }
.how h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 18px; }
.how .tag { font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); margin-left: auto; white-space: nowrap; }
.how > p { margin: 0 0 12px; color: var(--text-2); font-size: 15px; }
.how ol { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.how li + li { margin-top: 6px; }
.how code, .prose code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .9em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
.how .btn { margin-top: 14px; }

/* guide page */
.guide-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding: 44px 0 90px; align-items: start; }
.toc { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; }
.gsearch { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); margin-bottom: 14px; }
.gsearch:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.gsearch svg { width: 17px; height: 17px; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; flex: none; }
.gsearch input { border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--text); width: 100%; min-width: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 550; }
.toc a:hover { background: var(--bg-2); color: var(--text); }
.toc a.on { background: var(--accent-soft); color: var(--accent-text); }
.toc li[hidden] { display: none; }
.prose { max-width: 760px; min-width: 0; }
.prose section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 14px; }
.prose section:last-of-type { border-bottom: 0; }
.prose section[hidden] { display: none; }
.prose h2 { font-size: 28px; margin: 0 0 10px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent-text); font-weight: 600; }
.prose .tip { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--text); font-size: 15px; }
.prose .tip b { color: var(--accent-text); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.prose th { font-size: 13px; color: var(--text-3); font-weight: 650; }
.prose td:first-child { white-space: nowrap; color: var(--text); }
.kbd { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--bg); font: 600 13px var(--font); color: var(--text); text-align: center; }
.no-hits { color: var(--text-2); padding: 20px 0; }
.no-hits[hidden] { display: none; }

@media (max-width: 980px) {
  .nav-menu { display: grid; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .media { position: static; }
  .fgrid.three { grid-template-columns: 1fr 1fr; }
  .cardgrid { grid-template-columns: 1fr 1fr; }
  .ex-pick { grid-template-columns: 1fr; }
  .ex-view { grid-template-columns: 1fr; height: auto; }
  .ex-side { border-right: 0; border-bottom: 1px solid var(--line); max-height: 420px; }
  .ex-map { height: 460px; }
  .ck-body { grid-template-columns: 1fr; }
  #ck-map { border-right: 0; border-bottom: 1px solid var(--line); min-height: 340px; }
  .guide-wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .toc { position: static; max-height: none; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; font-size: 14px; }
}
@media (max-width: 680px) {
  .nav-cta { display: none; }
  .page-head { padding: 34px 0 30px; }
  .fsec { padding: 56px 0; }
  .fgrid, .fgrid.three, .cardgrid, .how-grid, .media-pair { grid-template-columns: 1fr; }
  .media-pair .shot:nth-child(2) { margin-top: 0; }
  .free-note { flex-direction: column; align-items: flex-start; }
  .free-note .btn { margin-left: 0; }
  .ex-map { height: 380px; }
  .ex-view { border-radius: 14px; }
  .drop { margin: 12px; padding: 26px 14px; }
  .ck-sum .stat b { font-size: 19px; }
  .prose h2 { font-size: 24px; }
}

/* ---------- pin and list badges (the same as in the app) ---------- */
.glyph { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-size: 13px; line-height: 1; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.glyph.light { color: #15171a; }
.glyph .i { width: 15px; height: 15px; stroke-width: 2.2; }
.glyph .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.glyph.sq { border-radius: 8px; }
.glyph.hx { clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); box-shadow: none; }
.glyph .em { width: 80%; height: 80%; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.glyph.sq .em { border-radius: 6px; }
.glyph .em img { width: 76%; height: 76%; display: block; }
.glyph .tx { font-weight: 750; font-size: 12.5px; letter-spacing: -0.02em; }
.glyph .tx.n2 { font-size: 10.5px; }
.glyph .tx.n3 { font-size: 8.5px; }
.glyph.lst { width: 22px; height: 22px; border-radius: 6px; box-shadow: none; }
.glyph.lst .i { width: 13px; height: 13px; }
.glyph.lst .em img { width: 15px; height: 15px; }
.glyph.lst .tx { font-size: 10px; }
.ex-lh .c { margin-left: auto; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ex-ld { margin: -2px 18px 6px; font-size: 13px; color: var(--text-3); line-height: 1.45; }
.ex-map .maplibregl-ctrl-group { border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.ck-note { flex-basis: 100%; margin: 2px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.ck-table tbody tr { cursor: pointer; }
.ck-table tbody tr:hover { background: var(--bg-2); }
.ck-table tbody tr.on { background: var(--accent-soft); }
.ck-table tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.shot.tall { max-width: 440px; max-height: 760px; margin-left: auto; }
.phone-wrap { display: flex; justify-content: center; }
.phone-wrap .solo-phone { width: 270px; }
@media (max-width: 980px) { .shot.tall { margin: 0 auto; max-height: 620px; } }
.wide-shot { margin: 36px 0 0; }
.wide-shot figcaption { font-size: 13.5px; color: var(--text-3); margin-top: 10px; }
.wide-shot + .fgrid { margin-top: 36px; }
.ex-pop .maplibregl-popup-close-button { width: 28px; height: 28px; font-size: 19px; line-height: 1; color: var(--text-3); border-radius: 0 12px 0 8px; }
.ex-pop .maplibregl-popup-close-button:hover { background: var(--bg-2); color: var(--text); }
.ex-pop .pp { padding-right: 30px; }
.files { display: grid; gap: 12px; }
.file { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow); overflow: hidden; }
.file-h { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.file-h .fi { width: 30px; height: 30px; border-radius: 8px; }
.file-h .fi svg { width: 17px; height: 17px; }
.file-h b { font-size: 14.5px; font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-h .tag { margin-left: auto; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.file pre { margin: 0; padding: 11px 14px 12px; font: 12.5px/1.55 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--text-2); background: var(--bg-2); white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .nav-menu { margin-left: auto; }
  .ex-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .ex-foot .btn { justify-content: center; }
}

/* light/dark switch in the top bar */
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-right .nav-cta { margin-left: 0; }
.theme-btn { width: 40px; height: 40px; display: grid; place-items: center; flex: none; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text-2); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .12s, color .12s; }
.theme-btn:hover { background: var(--bg-2); color: var(--text); }
.theme-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun { display: none; width: 21px; height: 21px; }
:root[data-theme='dark'] .theme-btn .sun { display: block; }
:root[data-theme='dark'] .theme-btn .moon { display: none; }
@media (max-width: 680px) {
  .nav-right ~ .nav-menu { margin-left: 0; }
  .theme-btn { width: 42px; height: 42px; }
}
