@font-face { font-family: Urbanist; src: url(../fonts/Urbanist-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Urbanist; src: url(../fonts/Urbanist-Medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: Urbanist; src: url(../fonts/Urbanist-SemiBold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Urbanist; src: url(../fonts/Urbanist-Bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Urbanist; src: url(../fonts/Urbanist-ExtraBold.ttf); font-weight: 800; font-display: swap; }
@font-face { font-family: Urbanist; src: url(../fonts/Urbanist-Black.ttf); font-weight: 900; font-display: swap; }

:root {
  --pine: #01261D;        /* hero field: the app green taken down to forest-at-dusk */
  --pine-2: #023629;
  --mint: #9FFFE7;        /* app GREEN_1 */
  --green: #00CC99;       /* app GREEN_2 */
  --green-deep: #008564;  /* app GREEN_3 */
  --ink: #15191A;         /* app BLACK */
  --slate: #596466;       /* app GRAY_7 */
  --ice: #F2F6F6;         /* page ground, between app GRAY_1 and GRAY_2 */
  --line: #DAE4E5;        /* app GRAY_2 */
  --white: #FCFFFF;
  --gutter: clamp(20px, 5vw, 72px);
  --serif-map: Georgia, "Times New Roman", serif; /* map labels only, as on printed topos */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.55 Urbanist, system-ui, sans-serif; color: var(--ink); background: var(--ice); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul { margin: 0; }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============ hero ============ */
.hero { position: relative; background: var(--pine); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 78% 50%, transparent 0 30%, rgba(1, 38, 29, .78) 100%); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 17px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: .82; }
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta { opacity: 1; background: var(--white); color: var(--pine); padding: 9px 18px; border-radius: 999px; font-weight: 700; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; max-width: 1320px; margin: 0 auto; padding: clamp(24px, 5vh, 64px) var(--gutter) clamp(56px, 9vh, 110px); }
h1 { font-weight: 900; font-size: clamp(54px, 8.6vw, 132px); line-height: .9; letter-spacing: -.035em; text-wrap: balance; }
.h1-brand { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: 0; line-height: 1.2; color: var(--mint); margin-bottom: 22px; }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 31em; margin-top: 30px; color: rgba(252, 255, 255, .86); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 168px; padding: 10px 22px 11px 18px; border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 21px; line-height: 1.1; transition: transform .15s; }
.store span { display: flex; flex-direction: column; }
.store img { flex: none; width: 28px; height: 28px; object-fit: contain; }
.store[data-store="ios"] img { mix-blend-mode: multiply; margin-top: -3px; }
.store[data-store="android"] img { width: 25px; height: 25px; }
.store small { font-weight: 500; font-size: 12.5px; color: var(--slate); }
.store:hover { transform: translateY(-2px); }
/* Not in the stores yet: the badges say so and are not links. */
.store-soon { opacity: .62; cursor: default; }
.store-soon:hover { transform: none; }
.hero-note { margin-top: 18px; font-size: 15px; color: rgba(252, 255, 255, .62); }

.hero-phone { justify-self: center; width: min(330px, 36vh, 100%); }
.hero-caption { margin-top: 20px; text-align: center; font-weight: 600; font-size: 16px; }
.hero-ticks { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.hero-ticks button { all: unset; cursor: pointer; padding: 8px 0; }
.hero-ticks button:focus-visible { outline: 2px solid var(--green); }
.hero-ticks i { display: block; width: 26px; height: 3px; border-radius: 2px; background: rgba(252, 255, 255, .22); overflow: hidden; position: relative; }
.hero-ticks .is-on i::after { content: ""; position: absolute; inset: 0; background: var(--green); transform-origin: 0 50%; animation: tick var(--d, 7s) linear both; }
@keyframes tick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-ticks .is-on i::after { animation: none; } }

/* ============ features ============ */
.features { padding: clamp(72px, 12vh, 140px) var(--gutter) 40px; max-width: 1320px; margin: 0 auto; }
.features-intro { max-width: 760px; margin-bottom: clamp(40px, 8vh, 96px); }
h2 { font-weight: 900; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.features-intro p { margin-top: 20px; color: var(--slate); font-size: 20px; }

.features-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(40px, 8vw, 140px); align-items: start; }
.features-stage { position: sticky; top: max(24px, calc(50vh - 380px)); padding-bottom: 12vh; }
.features-stage .stage { width: min(100%, calc((100vh - 64px) * 324 / 664)); margin: 0 auto; }

.phase { font-weight: 800; font-size: 17px; color: var(--green-deep); padding: 56px 0 10px; border-bottom: 2px solid var(--ink); }
.phase:first-child { padding-top: 0; }
.feature { scroll-margin-top: 30vh; position: relative; padding: 44px 0 44px 28px; min-height: 44vh; border-bottom: 1px solid var(--line); cursor: pointer; opacity: .38; transition: opacity .35s; }
.feature::before { content: ""; position: absolute; left: 0; top: 48px; bottom: 48px; width: 3px; border-radius: 2px; background: var(--green); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.feature.is-active { opacity: 1; cursor: default; }
.feature.is-active::before { transform: scaleY(1); }
.feature h4 { font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -.02em; max-width: 17em; text-wrap: balance; }
.feature p { margin-top: 16px; max-width: 34em; }
.feature ul { list-style: none; padding: 0; margin-top: 18px; max-width: 36em; font-size: 16.5px; color: var(--slate); }
.feature li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 2px; background: var(--green-deep); }

/* ============ plans / faq / download ============ */
.plans, .faq { max-width: 1320px; margin: 0 auto; padding: clamp(72px, 12vh, 130px) var(--gutter) 0; }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px; border-top: 2px solid var(--ink); }
.plans-grid > div { padding: 28px 40px 34px 0; }
.plans-grid > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
.plans h3 { font-weight: 800; font-size: 26px; margin-bottom: 10px; }
.plans-grid p { max-width: 30em; }
.plans-note { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--slate); max-width: 46em; font-size: 16.5px; }

.faq-list { margin-top: 40px; border-top: 2px solid var(--ink); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 44px 26px 0; max-width: 42em; color: #2B3233; }
.faq-more { margin-top: 22px; color: var(--slate); font-size: 16.5px; }

.download { margin-top: clamp(80px, 14vh, 150px); background: var(--pine); color: var(--white); text-align: center; padding: clamp(72px, 12vh, 120px) var(--gutter); }
.download > img { margin: 0 auto 28px; border-radius: 20px; }
.download p { margin-top: 14px; color: rgba(252, 255, 255, .78); }
.download .stores { justify-content: center; }
.download .platforms { display: block; width: min(100%, 860px); height: auto; margin: 40px auto 36px; border-radius: 0; }
.download .store { text-align: left; }

.footer { background: var(--ink); color: rgba(252, 255, 255, .8); padding: 56px var(--gutter) 40px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; max-width: 1176px; margin: 0 auto; }
.footer .brand { color: var(--white); margin-bottom: 10px; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--white); text-decoration: underline; }
.footer-fine { max-width: 1176px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(252, 255, 255, .14); font-size: 14px; color: rgba(252, 255, 255, .52); }
.footer-fine-more { margin-top: 12px; padding-top: 0; border-top: 0; font-size: 12px; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-phone { width: min(280px, 72vw); }
  .features-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .features-stage { order: -1; top: 0; z-index: 5; margin: 0 calc(var(--gutter) * -1); padding: 12px 0 18px; background: linear-gradient(var(--ice) 88%, rgba(242, 246, 246, 0)); }
  .features-stage .stage { width: calc(44svh * 324 / 664); }
  .feature { min-height: 46svh; padding: 30px 0 30px 20px; }
  .feature::before { top: 34px; bottom: 34px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plans-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   the phone — everything inside is laid out at 324×664 and scaled
   ============================================================ */
.stage { position: relative; aspect-ratio: 324 / 664; }
.phone { --s: 1; position: absolute; left: 0; top: 0; width: 324px; height: 664px; transform: scale(var(--s)); transform-origin: 0 0; font: 500 11px/1.3 Urbanist, sans-serif; color: var(--ink); }
.phone-body { position: absolute; inset: 0; border-radius: 52px; background: #0c0f10; box-shadow: 0 0 0 1.5px #3a4244 inset, 0 40px 80px -20px rgba(0, 0, 0, .55), 0 12px 24px -8px rgba(0, 0, 0, .35); padding: 12px; }
.features-stage .phone-body { box-shadow: 0 0 0 1.5px #3a4244 inset, 0 40px 70px -28px rgba(1, 38, 29, .5), 0 10px 22px -10px rgba(1, 38, 29, .3); }
.screen { position: relative; width: 300px; height: 640px; border-radius: 41px; overflow: hidden; background: #cfdcc0; --sb: var(--ink); --lake: #9cc9e4; --lake-line: #5a9cc4; --label: #3d3428; --halo: rgba(255, 255, 255, .85); --trail: rgba(90, 60, 30, .55); --trk: #008564; }
.screen[data-theme="winter"] { --lake: #cfe3f0; --lake-line: #86b3d2; --label: #2c4257; --trail: rgba(60, 90, 120, .4); --trk: #15191A; }
.screen[data-theme="satellite"] { background: #4a5a40; --sb: #fff; --lake: #1d4c63; --lake-line: #2f6f8c; --label: #fff; --halo: rgba(0, 0, 0, .55); --trail: rgba(255, 255, 255, .3); --trk: #00e6ac; }
.screen[data-theme="dark"] { --sb: #fff; --lake: #15323f; --lake-line: #24576c; --label: #cfe0de; --halo: rgba(0, 0, 0, .6); --trail: rgba(200, 230, 225, .25); --trk: #00CC99; }

.mapwrap { position: absolute; inset: 0; overflow: hidden; }
.mapwrap.is-3d { perspective: 520px; perspective-origin: 50% 46%; }
.map { position: absolute; left: 0; top: 0; width: 300px; height: 640px; transform-origin: 0 0; will-change: transform; }
.map canvas, .map svg { position: absolute; left: 0; top: 0; width: 300px; height: 640px; }
.map svg { height: 640px; overflow: visible; }
.m-lake { fill: var(--lake); stroke: var(--lake-line); stroke-width: .8; }
.m-stream { fill: none; stroke: var(--lake-line); stroke-width: 1.1; opacity: .8; }
.m-trail { fill: none; stroke: var(--trail); stroke-width: 1.1; stroke-dasharray: 3.5 2.5; }
.m-peak { fill: var(--label); }
.m-label { font: italic 9.5px var(--serif-map); fill: var(--label); paint-order: stroke; stroke: var(--halo); stroke-width: 2.4px; stroke-linejoin: round; }
.m-alt { font-style: normal; font-size: 8px; }
.m-water { fill: var(--lake-line); font-size: 8.5px; }
.m-small { font-size: 8.5px; }
.no-labels .labels { display: none; }

.trk-casing { fill: none; stroke: #fff; stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.trk { fill: none; stroke: var(--trk); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.trk-ink { stroke-width: 2.6; }
.trk-ink ~ .trk-end { fill: var(--ink); }
.trk-rec { stroke: #CA3433; }
.trk-fly { stroke: #00ffbf; stroke-width: 2.2; }
.screen[data-theme="satellite"] .trk-casing { stroke: rgba(0, 0, 0, .45); stroke-width: 4; }
.trk-end { fill: var(--green-deep); stroke: #fff; stroke-width: 1.6; }
.flyhead { fill: #fff; stroke: #00ffbf; stroke-width: 1.5; }
.scrub { fill: #fff; stroke: var(--ink); stroke-width: 2.4; }
.puck-halo { fill: rgba(89, 179, 224, .25); }
.puck-dot { fill: #2f8fd0; stroke: #fff; stroke-width: 2.2; }
.puck.is-ghost .puck-halo { fill: rgba(21, 25, 26, .12); }
.puck.is-ghost .puck-dot { fill: #fff; stroke: var(--ink); stroke-dasharray: 2.4 1.6; }
.arrowpuck .puck-halo { fill: rgba(0, 204, 153, .28); }
.arrow { fill: var(--green-deep); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.npuck-t { font: 800 9px Urbanist; fill: var(--ink); }
.npuck-n { font: 700 8px Urbanist; fill: #fff; }
.pm-dot { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.pm-ripple { fill: none; stroke: var(--green-deep); stroke-width: 2; }
.pm-n { font: 800 9px Urbanist; fill: #fff; }

.ui { position: absolute; inset: 0; pointer-events: none; }
.statusbar { position: absolute; left: 0; right: 0; top: 0; height: 44px; padding: 15px 28px 0 34px; display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; color: var(--sb); pointer-events: none; }
.sb-right { display: flex; gap: 5px; align-items: center; height: 14px; }
.sb-sig { width: 15px; height: 10px; background: linear-gradient(90deg, currentColor 0 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%); clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%); }
.sb-bat { width: 22px; height: 11px; border-radius: 3.5px; border: 1.2px solid currentColor; position: relative; opacity: .9; }
.sb-bat::after { content: ""; position: absolute; inset: 1.4px 6px 1.4px 1.4px; border-radius: 1.5px; background: currentColor; }
.island { position: absolute; top: 11px; left: 50%; width: 84px; height: 25px; margin-left: -42px; border-radius: 14px; background: #000; }
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }

.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--white); border-radius: 22px 22px 0 0; padding: 8px 16px 26px; box-shadow: 0 -6px 24px rgba(21, 25, 26, .16); }
.grab { width: 34px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 10px; }
.sheet-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.sheet-h b { font-weight: 800; font-size: 14px; }
.val { font-weight: 700; color: var(--green-deep); font-size: 12px; }
.fine { color: var(--slate); font-size: 10.5px; margin-top: 8px; }
.slider { position: relative; height: 4px; border-radius: 2px; background: var(--line); margin: 12px 8px 6px; }
.slider i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--green-deep); }
.slider u { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 2px solid var(--green-deep); box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.ticks { display: flex; justify-content: space-between; color: var(--slate); font-size: 9.5px; margin: 8px 4px 0; }
.legend { display: flex; gap: 10px; margin-top: 10px; font-size: 9.5px; font-weight: 600; color: var(--slate); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--c); margin-right: 4px; vertical-align: -1px; }

.chips { position: absolute; top: 52px; left: 10px; right: -40px; display: flex; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 11px; box-shadow: 0 2px 8px rgba(21, 25, 26, .16); white-space: nowrap; }
.chip.is-on { background: var(--ink); color: #fff; }
.chip-av i { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: #f29c34; color: var(--ink); font-style: normal; font-weight: 900; font-size: 10px; }
.av { display: flex; gap: 10px; align-items: center; padding: 2px 0 11px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.av i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #f29c34; font: 900 17px Urbanist; }
.av b { display: block; font-weight: 800; font-size: 13px; }
.av span { color: var(--slate); font-size: 10.5px; }

.pill { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 3px 12px rgba(21, 25, 26, .18); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill b { font-weight: 800; }
.pill-top { top: 52px; left: 12px; }
.pill .sep { width: 1px; height: 12px; background: var(--line); }
.pill.is-good b { color: var(--green-deep); }
.livedot { width: 8px; height: 8px; border-radius: 50%; background: #CA3433; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.toast { position: absolute; left: 50%; top: 96px; transform: translateX(-50%); background: rgba(21, 25, 26, .88); color: #fff; padding: 7px 13px; border-radius: 10px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.toast-b { top: auto; bottom: 34px; }
.toolbar { position: absolute; left: 14px; right: 14px; bottom: 26px; display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 20px; background: var(--white); box-shadow: 0 6px 20px rgba(21, 25, 26, .2); }
.toolbar span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: var(--ice); }
.toolbar .is-on { background: var(--ink); color: #fff; }
.toolbar .cta { display: flex; align-items: center; justify-content: center; gap: 6px; width: auto; flex: 1; background: var(--green-deep); color: #fff; font-weight: 800; font-size: 13px; }

.sunrow { display: flex; align-items: center; gap: 10px; }
.sunrow strong { font-weight: 900; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sunrow .fine { margin: 0; flex: 1; text-align: right; }
.round { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }

.wx { position: absolute; transform: translate(10px, -50%); display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 6px; border-radius: 10px; background: var(--white); box-shadow: 0 2px 8px rgba(21, 25, 26, .2); font-size: 11px; }
.wx b { font-weight: 800; font-variant-numeric: tabular-nums; }
.wx em { font-style: normal; color: var(--slate); font-size: 9.5px; font-weight: 600; }
.wx span { display: grid; color: #d79a18; }
.wx[data-k="cloud"] span { color: #7d8b8e; }
.wx[data-k="snow"] span { color: #2f8fd0; }

.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumb { text-align: center; font-size: 10px; font-weight: 600; color: var(--slate); }
.thumb i { display: block; aspect-ratio: 1; border-radius: 12px; margin-bottom: 5px; border: 2px solid transparent; outline: 1px solid var(--line); outline-offset: -1px; background: linear-gradient(135deg, #cfdcc0, #ece8de 60%, #fff); }
.thumb[data-k="satellite"] i { background: linear-gradient(135deg, #2e3e28, #76706a 60%, #e8ecef); }
.thumb[data-k="winter"] i { background: linear-gradient(135deg, #cfdbe4, #f4f8fa); }
.thumb[data-k="dark"] i { background: linear-gradient(135deg, #181e20, #323c3f); }
.thumb.is-on { color: var(--ink); font-weight: 800; }
.thumb.is-on i { border-color: var(--green-deep); }
.tog { font-weight: 800; font-size: 11px; padding: 3px 9px; border-radius: 8px; background: var(--ink); color: #fff; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 8px; }
.stats b { display: block; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.stats span { color: var(--slate); font-size: 10px; }
.readout { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 11.5px; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.tag { color: #fff; padding: 1px 7px; border-radius: 6px; font-weight: 800; }
.chart { display: block; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.chart-tick { font: 600 7.5px Urbanist; fill: #8B9799; }
.chart-line { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.chart-cross { stroke: var(--ink); stroke-width: 1; }
.chart-dot { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.chart-dot.is-me { fill: #2f8fd0; stroke: #fff; }
.chart-dot.is-ghost { stroke-dasharray: 2 1.4; }

.frame { position: absolute; border: 2px solid #fff; border-radius: 6px; box-shadow: 0 0 0 999px rgba(21, 25, 26, .46); }
.frame i { position: absolute; width: 12px; height: 12px; border: 3px solid var(--green); }
.frame i:nth-child(1) { left: -3px; top: -3px; border-right: 0; border-bottom: 0; }
.frame i:nth-child(2) { right: -3px; top: -3px; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { left: -3px; bottom: -3px; border-right: 0; border-top: 0; }
.frame i:nth-child(4) { right: -3px; bottom: -3px; border-left: 0; border-top: 0; }
.checks { display: flex; gap: 6px; flex-wrap: wrap; }
.checks span { display: inline-flex; gap: 4px; align-items: center; padding: 4px 9px; border-radius: 8px; background: var(--ice); color: var(--slate); font-weight: 700; font-size: 10.5px; }
.checks .is-on { background: #d9f5ec; color: #015943; }
.bar { height: 5px; border-radius: 3px; background: var(--line); margin: 12px 0; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--green-deep); }
.dl { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; font-size: 12.5px; }
.dl[data-state="done"] { background: #d9f5ec; color: #015943; }
.dl[data-state="busy"] { background: var(--ice); color: var(--slate); }

.rec { position: absolute; right: 14px; bottom: 262px; display: flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; background: #CA3433; color: #fff; font-weight: 900; font-size: 11.5px; box-shadow: 0 4px 14px rgba(202, 52, 51, .45); }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.chrono { font-weight: 900; font-size: 32px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; margin-bottom: 8px; }
.batt { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 800; font-size: 11px; }
.batt em { font-style: normal; font-weight: 500; color: var(--slate); }

.turn { position: absolute; top: 52px; left: 12px; right: 12px; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(21, 25, 26, .3); }
.turn-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-deep); flex: none; }
.turn b { display: block; font-weight: 900; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.turn div span { font-size: 11.5px; opacity: .8; }
.fab { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: 0 3px 12px rgba(21, 25, 26, .22); }
.fab-r { right: 14px; bottom: 40px; color: var(--green-deep); }
.saver { position: absolute; inset: 0; background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity .45s; }
.is-black .saver { opacity: 1; }
.is-black ~ .statusbar, .is-black .statusbar { color: #fff; }
.saver strong { font-weight: 900; font-size: 58px; letter-spacing: -.03em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.saver p { font-size: 16px; font-weight: 600; margin: 8px 30px 0; }
.saver small { position: absolute; bottom: 34px; font-size: 10.5px; opacity: .45; }
.saver .ic { stroke-width: 1.6; color: var(--green); }

.pin { position: absolute; display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 5px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 800; font-size: 10px; box-shadow: 0 3px 8px rgba(21, 25, 26, .28); transform-origin: 50% 100%; margin-top: -8px; white-space: nowrap; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--c); border-bottom: 0; }
.pin.is-sel { outline: 2.5px solid #fff; }
.wp { display: flex; gap: 12px; align-items: center; }
.wp-photo { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 12px; flex: none; color: rgba(255, 255, 255, .85); background: linear-gradient(160deg, #9fb7c4, #e9eff2 55%, #6d7f86 56%, #3f4d52); }
.wp b { display: block; font-weight: 800; font-size: 13px; margin-bottom: 3px; }
.wp span { display: block; color: var(--slate); font-size: 10.5px; }

.row { display: grid; grid-template-columns: 24px 1fr auto 58px; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.row i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 800 11px Urbanist; }
.row b { font-weight: 800; font-size: 13px; }
.row span { color: var(--slate); font-size: 11px; text-align: right; }
.code { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: var(--slate); font-size: 11px; }
.code b { color: var(--ink); font-weight: 900; letter-spacing: .12em; font-size: 12.5px; }
.code .ic { margin-left: auto; color: var(--green-deep); }

.sky { position: absolute; left: 0; right: 0; top: 0; height: 300px; background: linear-gradient(#8fb6da 0, #cfe2ef 50%, rgba(207, 226, 239, .85) 62%, rgba(207, 226, 239, 0) 100%); }
.flybar { position: absolute; left: 12px; right: 12px; bottom: 28px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 18px; background: rgba(21, 25, 26, .78); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.flybar .round { background: #fff; color: var(--ink); width: 28px; height: 28px; }
.flybar .slider { flex: 1; background: rgba(255, 255, 255, .25); margin: 0 8px; }
.flybar .slider i { background: var(--green); }
.flybar .slider u { width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 0; }
.spd { font-weight: 800; font-size: 11px; opacity: .5; }
.spd.is-on { opacity: 1; color: var(--green); }

.lib { position: absolute; inset: 0; background: var(--white); padding: 56px 16px 0; }
.lib h4 { font-weight: 900; font-size: 24px; letter-spacing: -.02em; margin-bottom: 12px; }
.chips-in { position: static; margin-right: -16px; overflow: hidden; }
.chips-in .chip { box-shadow: none; background: var(--ice); }
.chips-in .chip.is-on { background: var(--ink); }
.tags { display: flex; gap: 6px; margin: 10px 0 8px; }
.tags span { padding: 5px 10px; border-radius: 8px; border: 1.5px solid var(--c); font-weight: 700; font-size: 10.5px; transition: background .25s; }
.tags span.is-on { background: var(--c); }
.lib-row { display: flex; gap: 11px; align-items: center; height: 54px; border-bottom: 1px solid var(--line); overflow: hidden; transition: height .4s, opacity .3s; }
.lib-row.is-out { height: 0; opacity: 0; border-width: 0; }
.lib-row svg { flex: none; border-radius: 8px; background: var(--ice); }
.lib-row path { fill: none; stroke: var(--green-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lib-row b { display: block; font-weight: 800; font-size: 12.5px; }
.lib-row span { color: var(--slate); font-size: 10.5px; }
.sheet-slide { will-change: transform; }
.demo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* ---- layers drawn in map space, between the terrain and the track ---- */
.under, .under canvas, .under svg { position: absolute; left: 0; top: 0; width: 300px; height: 640px; }
.under svg { overflow: visible; }

/* ---- weather layers ---- */
.chips-scroll { right: 0; overflow: hidden; padding: 2px 0 8px; margin: -2px 0 0; }
.chips-scroll > div { display: flex; gap: 6px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.wxleg { height: 36px; overflow: hidden; }
.wxleg > i { display: block; height: 8px; border-radius: 4px; }
.wxleg .fine { margin-top: 0; text-align: left; line-height: 1.3; }
.wxticks { display: flex; justify-content: space-between; color: var(--slate); font-size: 9.5px; font-weight: 600; margin-top: 4px; }
.wxtime { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.wxtime .round { width: 26px; height: 26px; background: var(--green-deep); }
.wxsl { flex: 1; --split: 18%; background: linear-gradient(90deg, #a9b4b6 0 var(--split), var(--green-deep) var(--split)); }
.wxsl u { transition: left .3s; }
.wxpf { margin: 6px 4px 0 38px; }
.wxpf span:last-child { color: var(--green-deep); font-weight: 700; }
.bolt { fill: #ffe14a; stroke: #3b2a00; stroke-width: 1.4; stroke-linejoin: round; }
.isobar path { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: .8; }
.isobar path.is-major { stroke-width: 1.5; }
.hl { position: absolute; transform: translate(-50%, -50%); font: 900 30px/1 Urbanist; text-align: center; paint-order: stroke; -webkit-text-stroke: 3px rgba(255, 255, 255, .85); text-shadow: 0 1px 6px rgba(0, 0, 0, .15); }
.hl small { display: block; font-size: 10px; font-weight: 800; -webkit-text-stroke: 0; }
.hl-h { color: #1f4f9c; }
.hl-l { color: #b32a3a; }
.town { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 4px; padding: 4px 7px 4px 5px; border-radius: 9px; background: var(--white); box-shadow: 0 2px 8px rgba(21, 25, 26, .22); font-size: 11px; white-space: nowrap; }
.town b { font-weight: 800; font-variant-numeric: tabular-nums; }
.town em { display: inline-flex; align-items: center; gap: 1px; font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--slate); }
.town > span { display: grid; color: #d79a18; }
.town[data-k="cloud"] > span { color: #7d8b8e; }
.town[data-k="snow"] > span { color: #2f8fd0; }

/* ---- forecast along the track ---- */
.wx em { display: inline-flex; }
.wxbar { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 11.5px; margin-bottom: 4px; }
.wxbar > .ic { color: #d79a18; }
.wxbar .sep { width: 1px; height: 12px; background: var(--line); }
.seg { margin-left: auto; display: flex; padding: 2px; border-radius: 9px; background: var(--ice); }
.seg i { font-style: normal; font-weight: 800; font-size: 10.5px; padding: 3px 9px; border-radius: 7px; color: var(--slate); transition: background .25s, color .25s; }
.seg i.is-on { background: var(--ink); color: #fff; }
.wxprof { position: relative; padding-top: 44px; }
.wxprof-pills { position: absolute; left: 0; right: 0; top: 0; height: 44px; }
.wxp { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 10.5px; line-height: 1.1; }
.wxp:first-child { transform: translateX(-12%); }
.wxp:last-child { transform: translateX(-88%); }
.wxp b { font-weight: 800; font-variant-numeric: tabular-nums; }
.wxp em { display: inline-flex; align-items: center; gap: 1px; font-style: normal; font-size: 9px; font-weight: 700; color: var(--slate); }
.wxp > span { display: grid; color: #d79a18; }
.wxp[data-k="cloud"] > span { color: #7d8b8e; }
.wxp[data-k="snow"] > span { color: #2f8fd0; }
.wxp::after { content: ""; position: absolute; top: 44px; left: 50%; height: 30px; border-left: 1px dotted #8b9799; }
.wxh { margin: 10px 0 0; }
.wx.wx-l { transform: translate(calc(-100% - 10px), -50%); }

/* ---- shared pieces of the newer demos ---- */
.sheet { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.gi { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; flex: none; }
.gcard { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.gcard b, .hzrow b, .gearrow b { display: block; font-weight: 800; font-size: 12.5px; }
.gcard div span, .hzrow div span, .gearrow div span { display: block; color: var(--slate); font-size: 10.5px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 11px; }
.kv span { color: var(--slate); }
.kv b { font-weight: 800; }
.kv3 { grid-template-columns: repeat(3, 1fr); gap: 0 8px; margin: 10px 0; }
.kv3 span { grid-row: 1; font-size: 10px; }
.kv3 b { grid-row: 2; font-size: 13px; font-variant-numeric: tabular-nums; }
.attr { margin-top: 9px; font-size: 9.5px; color: var(--slate); display: flex; align-items: center; gap: 4px; }
.attr b { color: var(--ink); font-weight: 800; }
.mly { flex: none; }

/* ground: fire, water, protected land */
.gsheet { min-height: 150px; }
.gsheet.is-in [data-c] { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .gsheet.is-in [data-c] { animation: none; } }
.hot-halo { fill: none; stroke: #e02a1f; stroke-width: 2; }
.hot-dot { stroke: #fff; stroke-width: 1.4; }
.riv { fill: none; stroke: #2f7fc4; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 26 4; }
.riv-s { stroke-width: 1.8; stroke: #4c9ad6; }
.ford { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #2f7fc4; color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(21, 25, 26, .3); }
.prot { fill: rgba(60, 150, 70, .16); stroke: #2f8a3f; stroke-width: 2; stroke-dasharray: 7 3; }
.prot.n2k { fill: rgba(40, 110, 170, .14); stroke: #2a6eaa; stroke-dasharray: 2 3; }

/* explore: POIs, webcams, terrain photos */
.seq { fill: none; stroke-width: 3; stroke-linecap: round; transition: opacity .3s; }
.seq-pnx { stroke: #8a3ffc; }
.seq-mly { stroke: #00AF66; }
.cone { fill: rgba(240, 130, 40, .45); stroke: #f08228; stroke-width: 1.2; transition: opacity .3s; }
.shot { position: relative; height: 150px; border-radius: 12px; overflow: hidden; }
.shot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky { fill: #9fc3e3; }
.hz { stroke: none; }
.hz-0 { fill: #b9c8d4; }
.hz-1 { fill: #7f939f; }
.hz-2 { fill: #4f5f57; }
.hz-1.hz-cam { fill: #e9eef1; }
.hz-0.hz-cam { fill: #c4d2dc; }
.hz-2.hz-cam { fill: #3d4a3a; }
.trailphoto { fill: none; stroke: #b49a74; stroke-width: 10; stroke-linecap: round; }
.live { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(21, 25, 26, .7); color: #fff; font-weight: 800; font-size: 10px; }
.shot em { position: absolute; right: 8px; bottom: 7px; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.seg-w { margin: 10px 0 0; display: inline-flex; }
.meta { display: flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 11px; }
.meta b { font-weight: 800; }
.meta span { color: var(--slate); }

/* Camptocamp */
.c2c { fill: none; stroke-width: 2.6; stroke-linecap: round; transition: opacity .35s; }
.c2c.is-sel { stroke-width: 5; filter: drop-shadow(0 0 3px #fff); }
.chips .chip[style*="--c"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.rates { display: flex; gap: 5px; }
.rates span { padding: 2px 8px; border-radius: 6px; background: var(--ice); font-weight: 800; font-size: 11px; }
.rates .q { background: #d9f5ec; color: #015943; }
.attr-c2c { display: block; line-height: 1.35; }
.mapattr { position: absolute; left: 10px; bottom: 6px; font-size: 8.5px; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .8); padding: 1px 5px; border-radius: 4px; }

/* assistant */
.ailoop { stroke: #7b5cf0; }
.aifab { position: absolute; right: 14px; top: 56px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: 0 3px 12px rgba(21, 25, 26, .22); font-size: 18px; }
.aisheet { height: 300px; overflow: hidden; padding-bottom: 0; }
.thread { display: flex; flex-direction: column; gap: 8px; height: 186px; transition: transform .4s; }
.bub { align-self: flex-end; max-width: 86%; padding: 7px 11px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: 11.5px; }
.ans { padding: 9px 11px; border-radius: 12px; background: var(--ice); font-size: 11px; }
.ans > b { display: flex; align-items: center; gap: 5px; font-weight: 800; font-size: 12.5px; margin-bottom: 4px; }
.ans > span { color: #2b3233; }
.stats-s { margin: 6px 0 2px; }
.stats-s b { font-size: 13px; }
.abtn { display: flex; gap: 6px; margin-top: 6px; }
.abtn span { padding: 4px 10px; border-radius: 8px; background: var(--white); font-weight: 800; font-size: 10.5px; }
.abtn .is-on { background: var(--green-deep); color: #fff; }
.composer { position: absolute; left: 12px; right: 12px; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 9px 9px 9px 13px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--line); box-shadow: 0 -10px 16px 6px var(--white); font-size: 11.5px; color: var(--slate); }
.composer span { flex: 1; white-space: nowrap; overflow: hidden; }
.composer .is-typing { color: var(--ink); font-weight: 600; }
.composer .is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 12px; margin-left: 1px; background: var(--ink); vertical-align: -2px; }
.composer i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-deep); color: #fff; }

/* hazards and gear */
.hzm { position: absolute; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(21, 25, 26, .3); }
.seg-t { display: inline-flex; margin-bottom: 8px; }
.hzrow { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hzrow .gi { width: 24px; height: 24px; border-radius: 8px; }
.gear { min-height: 160px; }
.gearrow { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.gearrow div { flex: 1; }
.gearrow .box { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1.8px solid var(--line); color: transparent; transition: background .25s, color .25s, border-color .25s; }
.gearrow.is-on .box { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.gearrow.is-on b { color: var(--slate); }
.gearrow em { font-style: normal; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 5px; }
.lvl-E { background: #fde3dc; color: #a2321f; }
.lvl-R { background: #fdf0d6; color: #8a5a00; }

/* panorama */
.pano { position: absolute; inset: 0; background: #d5e6f1; }
.pano > svg { position: absolute; inset: 0; }
.pano .hz-0 { fill: #a9bccb; }
.pano .hz-1 { fill: #6f8696; }
.pano .hz-2 { fill: #42524b; }
.pano.is-cam .psky { filter: saturate(1.3) brightness(.95); }
.pano.is-cam .hz-1 { fill: #eef2f4; }
.pano.is-cam .hz-0 { fill: #bccbd6; }
.pano.is-cam .hz-2 { fill: #34402f; }
.sunarc { fill: none; stroke: #e9a91d; stroke-width: 1.4; stroke-dasharray: 3 4; }
.psun { fill: #ffd34d; stroke: #fff; stroke-width: 2; }
.pk-line { stroke: var(--ink); stroke-width: 1; }
.pano.is-cam .pk-line { stroke: #fff; }
.pk-n { font: 800 10px Urbanist; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 3px; }
.pk-a { font: 600 8.5px Urbanist; fill: #2b3233; paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 3px; }
.pano-top { position: absolute; left: 14px; right: 14px; top: 52px; padding: 9px 13px; border-radius: 14px; background: var(--white); box-shadow: 0 3px 12px rgba(21, 25, 26, .18); }
.pano-top b { display: block; font-weight: 800; font-size: 13px; }
.pano-top span { color: var(--slate); font-size: 10.5px; }
.pano-sun { position: absolute; left: 14px; top: 114px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(21, 25, 26, .78); color: #fff; font-size: 11px; font-weight: 600; }
.pano-sun .ic { color: #ffd34d; }
.pano-sun b { font-weight: 800; }
.seg-p { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); background: var(--white); box-shadow: 0 3px 12px rgba(21, 25, 26, .2); }
.pano-hint { position: absolute; left: 24px; right: 24px; bottom: 30px; text-align: center; font-size: 10.5px; color: #fff; font-weight: 600; }

/* web */
.desk { position: absolute; inset: -2px; background: var(--pine); padding: 168px 16px 0; transition: none; }
.laptop { position: relative; }
.lt-screen { border-radius: 9px 9px 0 0; border: 6px solid #1c2224; border-bottom-width: 8px; background: var(--white); overflow: hidden; }
.lt-base { height: 9px; margin: 0 -10px; border-radius: 0 0 10px 10px; background: linear-gradient(#cfd6d7, #9aa5a7); }
.lt-bar { display: flex; align-items: center; gap: 3px; padding: 4px 6px; background: var(--ice); border-bottom: 1px solid var(--line); }
.lt-bar i { width: 5px; height: 5px; border-radius: 50%; background: #cdd5d6; }
.lt-bar span { margin-left: 6px; flex: 1; padding: 1px 6px; border-radius: 4px; background: #fff; font-size: 8px; font-weight: 700; color: var(--slate); }
.lt-body { display: flex; height: 150px; }
.lt-side { width: 82px; padding: 6px; border-right: 1px solid var(--line); font-size: 8px; display: flex; flex-direction: column; gap: 3px; }
.lt-side b { font-weight: 900; font-size: 10px; }
.lt-row { padding: 3px 4px; border-radius: 4px; }
.lt-row.is-on { background: #d9f5ec; color: #015943; font-weight: 800; }
.lt-side em { margin-top: auto; font-style: normal; font-weight: 800; color: var(--green-deep); }
.lt-map { position: relative; flex: 1; overflow: hidden; }
.lt-map canvas, .lt-map svg:not(.cursor) { position: absolute; inset: 0; width: 100%; height: 100%; }
.lt-trk { fill: none; stroke: var(--green-deep); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.cursor { position: absolute; fill: var(--ink); stroke: #fff; stroke-width: 1.5; margin: -2px 0 0 -3px; }
.desk-cap { margin-top: 26px; color: var(--white); font-weight: 800; font-size: 17px; line-height: 1.25; text-align: center; padding: 0 10px; }

/* replay */
.trk-other { stroke: #E0C059; stroke-width: 2.4; opacity: .85; }
.gap { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.gap b { font-weight: 800; font-size: 13px; color: var(--green-deep); }
.gap span { font-weight: 800; font-size: 13px; }
.seg-r { display: flex; margin-top: 10px; align-items: center; }
.seg-r span { margin-left: auto; font-weight: 800; font-size: 12px; font-variant-numeric: tabular-nums; }

/* share image and route sheet */
.sharewrap, .print { position: absolute; inset: 0; background: var(--ice); padding: 54px 18px 0; }
.seg-s { display: flex; margin-bottom: 10px; }
.seg-s span { flex: 1; }
.card { position: relative; height: 410px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(21, 25, 26, .25); background: #cfdcc0; }
.card-map { position: absolute; inset: 0; overflow: hidden; }
.card-map canvas, .card-map svg { position: absolute; left: -18px; top: 0; width: 300px; height: 410px; transform-origin: 50% 40%; }
.card-trk { fill: none; stroke: var(--green-deep); stroke-width: 3.6; stroke-linejoin: round; stroke-linecap: round; }
.card-trk-c { fill: none; stroke: #fff; stroke-width: 6.5; stroke-linejoin: round; stroke-linecap: round; }
.is-sat .card-trk { stroke: #00e6ac; }
.is-sat .card-trk-c { stroke: rgba(0, 0, 0, .45); stroke-width: 4; }
.card-mark { position: absolute; left: 12px; top: 10px; display: flex; align-items: center; gap: 5px; color: #fff; font-weight: 900; font-size: 11px; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.card-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(rgba(1, 38, 29, 0), rgba(1, 38, 29, .88) 32%); color: #fff; }
.card-foot > b { display: block; font-weight: 900; font-size: 15px; }
.card-foot > span { font-size: 10px; opacity: .8; }
.card-chart .chart-grid, .card-chart .chart-tick { display: none; }
.card-chart path[fill] { fill: #9FFFE7; opacity: .35; }
.card-chart .chart-line { stroke: #9FFFE7; }
.card-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6px; }
.card-stats b { display: block; font-weight: 900; font-size: 12px; font-variant-numeric: tabular-nums; }
.card-stats span { font-size: 8.5px; opacity: .75; }
.card-hint { text-align: center; }
.sharewrap .dl, .print-b { margin-top: 10px; }
.print { padding-top: 50px; }
.paper { background: #fff; border-radius: 4px; padding: 12px 12px 6px; box-shadow: 0 8px 22px rgba(21, 25, 26, .18); font-size: 8.5px; }
.pp-h { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }
.pp-h b { font-weight: 900; font-size: 11.5px; }
.pp-h span { color: var(--slate); font-weight: 700; }
.pp-map { position: relative; height: 96px; margin: 6px 0; overflow: hidden; border-radius: 3px; }
.pp-map .card-map canvas, .pp-map .card-map svg { left: -14px; width: 264px; height: 361px; top: -70px; transform: none !important; }
.pp-fig { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--slate); }
.pp-fig b { display: block; color: var(--ink); font-weight: 900; font-size: 10.5px; }
.pp-t { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pp-t th { text-align: left; font-weight: 800; border-bottom: 1px solid var(--ink); padding: 2px 0; }
.pp-t td { border-bottom: 1px solid var(--line); padding: 2.5px 0; }
.shot { height: 120px; }
.camsun { fill: #ffe9a6; }
.sky-day { fill: #8fbde6; }
.shotdot { fill: #f08228; stroke: #fff; stroke-width: 2; }
.drag { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px; border-radius: 6px; background: rgba(21, 25, 26, .55); color: #fff; font-weight: 700; font-size: 9.5px; }
.sb-light .statusbar { color: #fff; }
.vf { position: absolute; inset: 160px 22px 110px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.is-cam .vf { opacity: 1; }
.vf i { position: absolute; width: 22px; height: 22px; border: 2.5px solid rgba(255, 255, 255, .9); }
.vf i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.vf i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.pano.is-cam .pano-hint { color: #fff; }
.sb-ink .statusbar { color: var(--ink); }

/* ---- flythrough: first person and video ---- */
.sky { transition: none; }
.seg-fly { position: absolute; right: 12px; top: 52px; background: rgba(21, 25, 26, .72); }
.seg-fly i { color: rgba(255, 255, 255, .7); }
.seg-fly i.is-on { background: #fff; color: var(--ink); }
.recb { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 800; font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.recb i { width: 7px; height: 7px; border-radius: 50%; background: #CA3433; }
.recb.is-on { background: #CA3433; }
.recb.is-on i { background: #fff; animation: pulse 1.2s infinite; }
.hud { position: absolute; left: 12px; right: 12px; bottom: 82px; display: flex; align-items: flex-end; gap: 10px; padding: 9px 11px; border-radius: 14px; background: rgba(21, 25, 26, .62); color: #fff; }
.hud-n { display: grid; gap: 2px; font-size: 9px; opacity: .95; }
.hud-n span { display: flex; align-items: baseline; gap: 4px; color: rgba(255, 255, 255, .7); }
.hud-n b { color: #fff; font-weight: 900; font-size: 12px; font-variant-numeric: tabular-nums; }
.hud-chart { margin-left: auto; }
.hud-chart .chart-grid, .hud-chart .chart-tick { display: none; }
.hud-chart path[fill] { fill: #9FFFE7; opacity: .3; }
.hud-chart .chart-line, .hud-chart .chart-cross { stroke: #9FFFE7; }
.hud-chart .chart-dot { fill: #00ffbf; stroke: #fff; }

/* ---- which plan a feature belongs to ---- */
.feature .tier { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--green-deep); }
.feature .tier::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: 1px; }
.feature p a { color: var(--green-deep); font-weight: 700; }
.thread-wrap { height: 188px; overflow: hidden; }

/* ---- analytics consent (js/consent.js) ---- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 460px; margin: 0 auto; padding: 18px 20px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 40px rgba(1, 38, 29, .18); font-size: 15px; line-height: 1.5; }
.consent p { margin: 0; }
.consent a { color: var(--green-deep); }
.consent-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.consent-actions button { font: 700 15px Urbanist, system-ui, sans-serif; padding: 9px 18px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--ice); color: var(--ink); }
.consent-actions .consent-accept { background: var(--pine); border-color: var(--pine); color: var(--white); }
