/* NaviGo landing, "night blueprint" direction.
   The page behaves like the product: a dark floor plan, one yellow route running top to bottom,
   sections as stops along it. Dark is locked deliberately (single committed look); brand pair
   stays navy #1c376c / yellow #f9c207, with navy lifted where it must read on the dark ground.
   One accent (yellow) for every action and the route; one radius scale (14px cards, pill buttons). */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Manrope-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Manrope-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Manrope-600-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Manrope-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/Manrope-800-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/Manrope-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Unbounded-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Unbounded-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #1c376c;
  --yellow: #f9c207;
  --yellow-ink: #142a53;

  --bg: #0b1020;
  --bg-soft: #0f1730;
  --surface: #141d3a;
  --surface-2: #1a2547;
  --ink: #eef1fb;
  --ink-2: #a9b3d1;
  --ink-3: #7d88ad;
  --line: #223057;        /* plan strokes */
  --line-soft: #182448;

  --plan-bg: #101a38;
  --plan-unit: #1c2a52;

  --r: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 18px 48px rgb(0 0 0 / .5);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* the sticky bar is 72px, so anchor jumps must stop short of it */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    /* blueprint grid; static layers, never repaint on scroll */
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: clip;
}

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.005em; line-height: 1.12; }
h3 { margin: 0; font-weight: 800; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--yellow); color: var(--yellow-ink); padding: .8rem 1.2rem; border-radius: 0 0 var(--r) 0; font-weight: 700; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- reveal system ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-reveal].in { opacity: 1; transform: none; }
.no-motion [data-reveal] { transition: none; }

/* ---------- the route: one line the scroll walks ----------
   A single corridor route down the left gutter, turning at every section the way the product's
   route turns at a corridor. It is not a decoration that plays once: the drawn length IS the
   scroll position, so reading the page is walking it, and a lit head marks where you are.
   The path is built in real pixels by JS (sections move), the drawing is pure CSS —
   scroll-driven animations where supported, one rAF-coalesced fallback where not.
   Hidden below 1100px: in the gutter there is simply no room for it. */
main { position: relative; }
.spine { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; overflow: visible; display: none; }
@media (min-width: 1100px) { .spine.is-ready { display: block; } }
/* Quiet by design: the route runs UNDER the content (z-index 0, blocks with a surface hide it),
   so it reads as part of the blueprint grid, not a frame around the page. */
.spine__glow, .spine__core { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spine__glow { stroke: color-mix(in srgb, var(--yellow) 13%, transparent); stroke-width: 7; }
.spine__core { stroke: var(--yellow); stroke-width: 2; opacity: .45; }
/* pathLength="1" on the path, so the dash maths is the scroll progress itself. The head starts
   1.5% in, not at zero, so the route opens with a short stub instead of a lone floating dot. */
.spine__glow, .spine__core { stroke-dasharray: 1; stroke-dashoffset: calc(.985 * (1 - var(--p, 0))); }
.spine__tip { fill: var(--yellow); opacity: .85; offset-distance: calc(1.5% + var(--p, 0) * 98.5%); offset-rotate: 0deg; }
.spine__halo { fill: color-mix(in srgb, var(--yellow) 16%, transparent); offset-distance: calc(1.5% + var(--p, 0) * 98.5%); offset-rotate: 0deg; }
@keyframes spineDraw { from { stroke-dashoffset: .985; } to { stroke-dashoffset: 0; } }
@keyframes spineRide { from { offset-distance: 1.5%; } to { offset-distance: 100%; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .spine__glow, .spine__core { animation: spineDraw linear both; animation-timeline: scroll(root block); }
    .spine__tip, .spine__halo { animation: spineRide linear both; animation-timeline: scroll(root block); }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .spine__halo { animation: haloPulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes haloPulse { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
/* reduced motion: the whole route is simply there, no head to chase */
@media (prefers-reduced-motion: reduce) {
  .spine__glow, .spine__core { stroke-dashoffset: 0; }
  .spine__tip, .spine__halo { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  font-weight: 700; font-size: 1rem; text-decoration: none; border-radius: 999px;
  padding: .9rem 1.7rem; border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--yellow); color: var(--yellow-ink); }  /* 10.9:1 */
.btn--primary:hover { background: #ffd23a; box-shadow: 0 6px 24px rgb(249 194 7 / .25); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--yellow); }
.btn--sm { padding: .6rem 1.2rem; font-size: .93rem; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.06rem; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.nav__row { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; padding-block: .5rem; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--yellow); }
@media (max-width: 900px) { .nav__links { display: none; } .nav__row { gap: 1rem; } .btn--sm { margin-left: auto; } }

/* ---------- hero ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
/* ghost corridor across the hero: wide, faint, drawn once after load */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__bgroute {
  fill: none; stroke: var(--yellow); stroke-width: 46; stroke-linecap: round; opacity: .11;
}
.hero__bgnode { fill: var(--yellow); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero__bgroute { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: bgDraw 2.6s var(--ease) .4s forwards; }
  .hero__bgnode { animation: bgNode .5s var(--ease) 1.6s forwards; }
  .hero__bgnode--2 { animation-delay: 2.2s; }
}
@media (prefers-reduced-motion: reduce) { .hero__bgnode { opacity: .45; } }
@keyframes bgDraw { to { stroke-dashoffset: 0; } }
@keyframes bgNode { to { opacity: .45; } }
/* warm light behind the phone so the demo reads as the glowing centre */
.hero__demo::before {
  content: ""; position: absolute; inset: -12% -18%; pointer-events: none; z-index: 0;
  background: radial-gradient(52% 46% at 52% 42%, rgb(249 194 7 / .16), transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero__title { font-size: clamp(1.8rem, 3.9vw, 3.3rem); max-width: 21ch; margin-top: 1.1rem; }
.hero__grid { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.mark-word { position: relative; white-space: nowrap; }
.mark-word::before {
  content: ""; position: absolute; z-index: -1; left: -0.1em; right: -0.1em; bottom: 0.03em; height: 0.44em;
  background: var(--yellow); opacity: .3; border-radius: 3px;
  transform: scaleX(0); transform-origin: left center;
}
.lede { margin-top: 1.3rem; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-2); max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
/* the "you are here" pill: the route on this page starts at the visitor */
.you {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 700;
  color: var(--yellow); border: 1.5px dashed color-mix(in srgb, var(--yellow) 55%, transparent);
}
.you::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .you { animation: rise .6s var(--ease) both; }
  .hero__title { animation: rise .7s var(--ease) .1s both; }
  .lede { animation: rise .7s var(--ease) .22s both; }
  .hero__cta { animation: rise .7s var(--ease) .34s both; }
  .hero__demo { animation: rise .8s var(--ease) .4s both; }
  .mark-word::before { animation: markSwipe .5s var(--ease) .95s forwards; }
  .you::before { animation: youPulse 2.4s ease-in-out 1.4s infinite; }
}
@media (prefers-reduced-motion: reduce) { .mark-word::before { transform: none; } }
@keyframes markSwipe { to { transform: scaleX(1); } }
@keyframes youPulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(249 194 7 / .45); } 50% { box-shadow: 0 0 0 7px rgb(249 194 7 / 0); } }

/* icons: self-hosted Phosphor sprite; 1em box so the old font-size sizing still applies */
.ph { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.125em; }

/* phone demo, dark screen */
.hero__demo { position: relative; }
.floats { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.fchip {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: var(--surface-2); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0;
}
.fchip .ph { color: var(--yellow); font-size: 1rem; }
.fchip--a { top: -3%; left: 8%; }
.fchip--b { top: 22%; right: 0; }
.fchip--c { bottom: -3%; left: 4%; }
@media (max-width: 860px) { .fchip--a { top: -4%; left: 0; } .fchip--b { right: 2%; } }
/* On a phone the chips have nowhere to sit but on top of the screen they annotate — they cover
   the plan and the turn card. The phone alone reads fine, so drop them. */
@media (max-width: 640px) { .floats { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .fchip { animation: chipIn .6s var(--ease) forwards, chipFloat 7s ease-in-out 2s infinite; }
  .fchip--a { animation-delay: 1.3s, 2s; }
  .fchip--b { animation-delay: 1.55s, 2.8s; }
  .fchip--c { animation-delay: 1.8s, 3.6s; }
}
@media (prefers-reduced-motion: reduce) { .fchip { opacity: 1; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes chipFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

.phone {
  width: min(330px, 100%); margin-inline: auto; padding: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 30px; box-shadow: var(--shadow);
}
.phone__screen { border-radius: 22px; overflow: hidden; background: var(--bg-soft); }
.mapbox { position: relative; }
.mapbox__plan { display: block; width: 100%; height: auto; }
.route { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .route { stroke-dasharray: 290; stroke-dashoffset: 290; animation: routeDraw 1.6s var(--ease) 1s forwards; }
  .pin-goal { opacity: 0; animation: pinPop .45s var(--spring) 2.5s forwards; }
  .turn { opacity: 0; animation: rise .6s var(--ease) both; }
  .turn:nth-of-type(2) { animation-delay: 1.8s; }
  .turn:nth-of-type(3) { animation-delay: 2s; }
}
@keyframes routeDraw { to { stroke-dashoffset: 0; } }
@keyframes pinPop { from { opacity: 0; transform: translate(262px, 147px) scale(.4); } to { opacity: 1; transform: translate(262px, 147px) scale(1); } }
.pin-you { fill: var(--yellow); stroke: var(--bg-soft); stroke-width: 3; }
.pin-goal circle { fill: var(--yellow); }
.pin-goal path { stroke: var(--yellow-ink); stroke-width: 2.4; stroke-linecap: round; }
.chip { position: absolute; left: 12px; top: 12px; padding: .3rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.turn { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; background: var(--surface); }
.turn + .turn { border-top: 1px solid var(--line-soft); }
.turn .ph { font-size: 1.5rem; color: var(--yellow); }
.turn b { display: block; font-size: .97rem; }
.turn span { display: block; font-size: .84rem; color: var(--ink-3); }
.turn--muted .ph { color: var(--ink-3); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__demo { order: -1; }
  .lede { max-width: none; }
}

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
section h2 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); max-width: 24ch; }
.sub { margin-top: 1rem; color: var(--ink-2); max-width: 60ch; }

/* problem: no boxes, plan-line separators */
.band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.6rem; border-top: 1px solid var(--line); }
.band__grid p { padding: 1.6rem 1.6rem 0 0; color: var(--ink-2); font-size: 1.04rem; }
.band__grid p + p { border-left: 1px solid var(--line); padding-left: 1.6rem; }
@media (max-width: 860px) {
  .band__grid { grid-template-columns: 1fr; border-top: 0; }
  .band__grid p { border-top: 1px solid var(--line); padding: 1.2rem 0 0; }
  .band__grid p + p { border-left: 0; padding-left: 0; margin-top: 1.2rem; }
}

/* steps: big yellow numerals, no boxes; a real catalog screen sits beside the story */
/* minmax(0,…) + min-width on the items: without it the screens row (a scroll container, but a
   plain block child, so its min-content is the full row) sizes the track and widens the page */
.steps__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 4.5rem); }
.steps__grid > * { min-width: 0; }
.steps__list { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; gap: 2.2rem; }
.steps__list li { display: grid; grid-template-columns: 110px 1fr; gap: 1.6rem; align-items: start; }
.steps__num { font-family: var(--font-display); font-size: clamp(2.6rem, 4.5vw, 3.6rem); font-weight: 700; line-height: 1; color: var(--yellow); }
.steps__body h3 { font-size: 1.22rem; }
.steps__body p { margin-top: .55rem; color: var(--ink-2); max-width: 60ch; }
/* The phone is sticky while the three steps scroll past; each step swaps the screen inside
   the frame (real captures of the live app). The catalog screen is a tall capture that slowly
   scrolls inside the frame while active, like a screen recording without the video. */
.steps__shot { margin: 2.6rem 0 0; position: sticky; top: 12vh; }
.shots {
  position: relative; width: min(300px, 74vw); aspect-ratio: 600 / 1298;
  border-radius: 26px; box-shadow: 0 30px 70px rgb(4 8 20 / .55);
}
.shot {
  position: absolute; inset: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 26px; background: var(--surface);
  opacity: 0; transform: scale(1.045); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.shot.is-on { opacity: 1; transform: none; }
/* height: auto is load-bearing — the <img> carries width/height attributes, so without it the
   attribute height wins and the tall capture renders 358×3349: full natural height at a third
   of the natural width, i.e. squeezed sideways */
.shot > img { display: block; width: 100%; height: auto; }
.shot--fit > img { height: 100%; object-fit: cover; }
/* tall capture: glide to its bottom and back while this screen is active */
.shot--tall > img { animation: screenScroll 16s ease-in-out infinite alternate; animation-play-state: paused; will-change: transform; }
.shot--tall.is-on > img { animation-play-state: running; }
@keyframes screenScroll {
  0%, 6% { transform: translateY(0); }
  94%, 100% { transform: translateY(-61.24%); } /* (3349-1298)/3349 of its own height */
}
.steps__shot figcaption { margin-top: .9rem; font-size: .88rem; color: var(--ink-2); text-align: center; max-width: min(300px, 74vw); }
/* the reel's own little route line — desktop drives the screens from the steps, so it is a
   mobile affordance: without it a swipeable strip with a hidden scrollbar looks like one
   static screenshot */
.reelbar { display: none; }
/* Scroll-scrubbed entrance where the browser supports it; elsewhere the reveal fade covers it.
   Desktop only: on a phone the same element is a horizontal snap strip, and a 3D perspective on
   a scroll container skews its children and gives each screen a different size. */
@media (min-width: 901px) {
  @supports (animation-timeline: view()) {
    .steps .shots { animation: shotIn linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  }
}
@keyframes shotIn {
  from { opacity: .25; transform: perspective(1100px) rotateX(16deg) rotateY(-7deg) scale(.9); }
}
html.no-motion .shots, html.no-motion .shot--tall > img { animation: none !important; }
@media (max-width: 900px) {
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
  /* no room to pin on a phone: the three screens become a swipeable snap row */
  .steps__shot { position: static; margin: 1.6rem 0 0; }
  .shots {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 360px); gap: .75rem;
    /* width stays auto: the negative margins below are what stretch the row to both screen
       edges, and a fixed 100% would pin it to the text column and clip the card that peeks */
    width: auto; max-width: none; aspect-ratio: auto; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: .5rem; box-shadow: none; border-radius: 0;
    /* let the row bleed to both screen edges so a swipe feels native */
    margin-inline: calc(50% - 50vw); padding-inline: max(1.25rem, calc(50vw - 590px));
    scroll-padding-inline: max(1.25rem, calc(50vw - 590px));
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shot { position: static; opacity: 1; transform: none; aspect-ratio: 600 / 1298; scroll-snap-align: center; }
  .shot--tall > img { animation-play-state: running; }
  .steps__shot figcaption { max-width: none; }

  /* the strip's position, drawn by the strip's own scroll: named timeline where the browser
     has scroll-driven animations, one passive listener writing --rp where it doesn't */
  .steps__shot { timeline-scope: --reel; }
  .shots { scroll-timeline: --reel inline; }
  .reelbar {
    display: block; width: min(150px, 42vw); height: 3px; margin: 1rem auto 0;
    border-radius: 2px; background: var(--line); overflow: hidden;
  }
  .reelbar > span {
    display: block; height: 100%; width: 33.34%; border-radius: 2px; background: var(--yellow);
    transform: translateX(calc(var(--rp, 0) * 200%));
  }
  @supports (animation-timeline: scroll()) {
    .reelbar > span { animation: reelRide linear both; animation-timeline: --reel; }
  }
}
@keyframes reelRide { from { transform: translateX(0); } to { transform: translateX(200%); }
}
@media (max-width: 700px) { .steps__list li { grid-template-columns: 1fr; gap: .5rem; } .steps__num { font-size: 2.2rem; } }

/* venues bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
.cell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .55rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.cell:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--yellow) 45%, var(--line)); }
.cell .ph { font-size: 1.7rem; color: var(--yellow); }
.cell h3 { font-size: 1.12rem; }
.cell p { color: var(--ink-2); font-size: .96rem; }
.cell--wide { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 280px; }
.cell--photo {
  color: #fff; position: relative; overflow: hidden;
  background:
    linear-gradient(to top, rgb(8 13 28 / .92) 10%, rgb(8 13 28 / .38) 60%, rgb(8 13 28 / .22) 100%),
    url("/img/mall.webp") center / cover no-repeat;
}
.cell--photo p { color: #c6cfe4; }
.cell--navy { background: var(--navy); border-color: transparent; }
.cell--navy p { color: #cfd9ee; }
.cell--yellow { background: var(--yellow); border-color: transparent; color: var(--yellow-ink); }
.cell--yellow .ph, .cell--yellow p { color: var(--yellow-ink); }
@media (max-width: 940px) { .bento { grid-template-columns: repeat(2, 1fr); } .cell--wide { grid-column: span 2; grid-row: auto; min-height: 230px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .cell--wide { grid-column: auto; } }

/* cabinet: split + heat viz */
.cabinet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cabinet__copy > p { margin-top: 1.1rem; color: var(--ink-2); max-width: 54ch; }
.ticks { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: .95rem; }
.ticks li { display: flex; gap: .8rem; align-items: center; font-size: 1rem; }
.ticks .ph { font-size: 1.3rem; color: var(--yellow); }
.cabinet__viz svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--plan-bg); }
.heat { fill: none; stroke-linecap: round; stroke-dasharray: 720; stroke-dashoffset: 720; transition: stroke-dashoffset 1.6s var(--ease); }
.heat--hot { stroke: var(--yellow); stroke-width: 14; opacity: .95; }
.heat--warm { stroke: var(--yellow); stroke-width: 8; opacity: .5; transition-delay: .35s; }
.heat--cool { stroke: #5f74ab; stroke-width: 6; opacity: .5; transition-delay: .6s; }
.cabinet__viz.in .heat { stroke-dashoffset: 0; }
.no-motion .heat { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
.viz__note { margin-top: .8rem; font-size: .9rem; color: var(--ink-3); }
/* busy nodes: soft pulse where the hot corridors meet */
.hnode { fill: var(--yellow); opacity: 0; }
.cabinet__viz.in .hnode { opacity: .95; }
@media (prefers-reduced-motion: no-preference) {
  .cabinet__viz.in .hnode { animation: hnodePulse 2.6s ease-in-out 1.4s infinite; }
  .cabinet__viz.in .hnode--2 { animation-delay: 2.1s; }
}
@keyframes hnodePulse { 0%, 100% { r: 9; opacity: .95; } 50% { r: 12; opacity: .6; } }
.hlabel text { fill: var(--ink-3); font-family: var(--font); font-size: 15px; font-weight: 600; }
.hlegend { display: flex; gap: 1.4rem; margin-top: .9rem; font-size: .88rem; color: var(--ink-2); flex-wrap: wrap; }
.hlegend span { display: inline-flex; align-items: center; gap: .5rem; }
.hl { width: 22px; height: 6px; border-radius: 3px; display: inline-block; }
.hl--hot { background: var(--yellow); box-shadow: 0 0 8px rgb(249 194 7 / .7); }
.hl--warm { background: var(--yellow); opacity: .5; }
.hl--cool { background: #5f74ab; opacity: .6; }
@media (max-width: 860px) { .cabinet__grid { grid-template-columns: 1fr; } }

/* launch track: stations on one line, like the product's route */
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.8rem; }
.track__item { position: relative; padding-top: 2rem; }
/* the station dot */
.track__item::before {
  content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--yellow); border: 3.5px solid var(--bg); box-shadow: 0 0 0 2px var(--yellow);
}
/* the dashed thread to the next station */
.track__item:not(.track__item--last)::after {
  content: ""; position: absolute; top: 7px; left: 26px; right: -1.5rem; height: 0;
  border-top: 2.5px dashed color-mix(in srgb, var(--yellow) 55%, transparent);
}
.track__item .ph { font-size: 1.55rem; color: var(--yellow); display: block; margin-bottom: .6rem; }
.track__item b { display: block; font-size: 1.06rem; }
.track__item span { display: block; margin-top: .4rem; color: var(--ink-2); font-size: .95rem; }
/* mobile: a metro line down the left, stations hanging on it */
@media (max-width: 800px) {
  .track { grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 34px; }
  .track::before {
    content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2.5px;
    border-left: 2.5px dashed color-mix(in srgb, var(--yellow) 55%, transparent);
  }
  .track__item { padding: 0 0 1.9rem 0; }
  .track__item::before { top: 4px; left: -34px; }
  .track__item::after { display: none; }
  .track__item--last { padding-bottom: 0; }
  .track__item .ph { margin-bottom: .35rem; }
}

/* destination card: the end of the route */
.cta {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(2.2rem, 4.5vw, 3.4rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 50% 0%, rgb(249 194 7 / .12), transparent 70%);
}
.cta h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.cta p { margin: .9rem auto 1.9rem; color: var(--ink-2); max-width: 46ch; }

/* faq */
.faq__list { margin-top: 2.2rem; display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details:hover { border-color: color-mix(in srgb, var(--yellow) 35%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.15rem; color: var(--yellow); transition: rotate .25s var(--ease); flex: none; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 1.35rem 1.25rem; color: var(--ink-2); max-width: 70ch; }

/* footer: arrival */
.foot { border-top: 1px solid var(--line-soft); padding: 2.2rem 0; }
.foot__row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; font-size: .95rem; color: var(--ink-2); }
.foot__row a { text-decoration: none; font-weight: 600; padding-block: .5rem; }
.foot__row a:hover { color: var(--yellow); }
.brand--sm .brand__mark { width: 24px; height: 24px; }
.brand--sm .brand__name { font-size: .92rem; }
.foot__note { margin-left: auto; color: var(--ink-3); display: inline-flex; align-items: center; gap: .5rem; }
.foot__note .ph { color: var(--yellow); }
@media (max-width: 560px) { .foot__note { margin-left: 0; } }
