/* =============================================================================
   JETPATH  ·  site.css  ·  "Night departures" (2026-10 redesign)
   Ink navy + warm gold from the app icon. Schibsted Grotesk for display
   and text, JetBrains Mono for flight data. Light theme is the app's own daylight palette.
   ============================================================================= */

:root {
    --display: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    --sans: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --hdr-h: 72px;
    --ease: cubic-bezier(.2, .7, .1, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);

    /* component knobs, overridden locally */
    --dw: 300px;      /* device width */
    --stub: 116px;    /* ticket stub width */
    --r: 14px;        /* ticket notch radius */
    --cuty: 70%;      /* notch position when the stub sits below */
    --sheen: -40%;    /* golden ticket foil position */
    --px: 0px;        /* hero pointer parallax */
    --py: 0px;
    --d: 1;           /* parallax depth per element */
    --rx: 0deg;       /* ticket tilt */
    --ry: 0deg;

    /* always-dark objects (device, flight header, pro pass) */
    --night: #05080f;
    --night-2: #0c1220;
    --flap: #14171e;
    --flap-ink: #f3e7c8;
    --gold: #e7b44c;
    --gold-hi: #f7d98f;
    --gold-lo: #b8862a;
    --green: #47c58a;
    --amber: #f2a63b;
    --red: #f0705a;

    /* dark theme (default) */
    --bg: #070c18;
    --bg-2: #0a1120;
    --surface: #0e1629;
    --surface-2: #131d33;
    --ink: #f3ede2;
    --ink-2: #aeb0b4;
    --ink-3: #6d7486;
    --line: rgba(231, 206, 160, .12);
    --line-2: rgba(231, 206, 160, .22);
    --accent: #e7b44c;
    --accent-ink: #e7b44c;
    --on-accent: #0b1222;
    --glass: rgba(10, 16, 30, .72);
    --card: rgba(16, 24, 42, .78);
    --card-line: rgba(231, 206, 160, .16);
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 10px 30px -12px rgba(0, 0, 0, .55);
    --dot-land: 231, 206, 160;
    --dot-sea: 120, 140, 180;
    --arc: 231, 180, 76;
    --grain-op: .05;
    color-scheme: dark;
}

[data-theme="light"] {
    /* The app's light mode: neutral white, cool grey, navy ink, yellow gold.
       Small accents are navy, gold is kept for fills and display type. */
    --bg: #f4f6f9;
    --bg-2: #eceff4;
    --surface: #ffffff;
    --surface-2: #f2f4f8;
    --ink: #0b1a33;
    --ink-2: #4a5670;
    --ink-3: #8790a3;
    --line: rgba(11, 26, 51, .09);
    --line-2: rgba(11, 26, 51, .17);
    --accent: #e9ae35;
    --accent-ink: #1d3a66;
    --on-accent: #0b1a33;
    --glass: rgba(255, 255, 255, .8);
    --card: rgba(255, 255, 255, .94);
    --card-line: rgba(11, 26, 51, .08);
    --shadow: 0 30px 70px -34px rgba(11, 26, 51, .35), 0 10px 26px -16px rgba(11, 26, 51, .22);
    --dot-land: 11, 26, 51;
    --dot-sea: 90, 110, 140;
    --arc: 205, 145, 30;
    --grain-op: 0;
    color-scheme: light;
}

/* Always-night bands: re-point the tokens to the dark values inside them. */
.night {
    --bg: #070c18; --bg-2: #0b1324; --surface: #0e1629; --surface-2: #131d33;
    --ink: #f3ede2; --ink-2: #aeb0b4; --ink-3: #6d7486;
    --line: rgba(231, 206, 160, .12); --line-2: rgba(231, 206, 160, .22);
    --accent: #e7b44c; --accent-ink: #e7b44c;
    color: var(--ink);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    transition: background-color .5s var(--ease), color .5s var(--ease);
}
/* film grain: the one texture on the page */
body::after {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
    opacity: var(--grain-op);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--gold); color: #0b1222; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0, "ss01" 1; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--gold); color: #0b1222; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- type ---------- */
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 22px;
}

.h2 {
    font: 700 clamp(38px, 5.2vw, 76px)/1.02 var(--display);
    letter-spacing: -.04em;
    color: var(--ink);
    text-wrap: balance;
}
.h2 > span, .h2 > em { display: block; }
.h2-xl { font-size: clamp(52px, 8vw, 124px); }
em { font-style: italic; color: var(--accent-ink); }
/* gold is kept for the one line that matters: the hero. Section headings stay plain. */
.h2 em { font-style: normal; color: inherit; }
.hero-title em { font-family: var(--display); font-weight: 700; color: #c08414; padding-right: .08em; }
[data-theme="dark"] .hero-title em { color: var(--gold); }
.h3 { font: 700 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.025em; }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }

/* CJK: Schibsted Grotesk has no CJK glyphs, so headlines switch to each script's own UI sans,
   set bold and a step smaller. */
:lang(zh) { --display: "Schibsted Grotesk", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif; }
:lang(ja) { --display: "Schibsted Grotesk", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif; }
:lang(ko) { --display: "Schibsted Grotesk", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
:lang(zh) em, :lang(ja) em, :lang(ko) em { font-style: normal; }
:lang(zh) :is(.h2, .hero-title, .h3, .chapter-title, .pass-name, .road-what h3, .qa summary),
:lang(ja) :is(.h2, .hero-title, .h3, .chapter-title, .pass-name, .road-what h3, .qa summary),
:lang(ko) :is(.h2, .hero-title, .h3, .chapter-title, .pass-name, .road-what h3, .qa summary) { letter-spacing: .01em; line-height: 1.2; font-weight: 700; }
:lang(zh) :is(.h2, .hero-title) em, :lang(ja) :is(.h2, .hero-title) em, :lang(ko) :is(.h2, .hero-title) em { font-weight: 700; }
:lang(zh) .hero-title, :lang(ja) .hero-title, :lang(ko) .hero-title { font-size: clamp(40px, 6.6vw, 104px); }
:lang(zh) .h2, :lang(ja) .h2, :lang(ko) .h2 { font-size: clamp(34px, 4.6vw, 68px); }
:lang(zh) .qa summary, :lang(ja) .qa summary, :lang(ko) .qa summary { font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px; border-radius: 999px;
    font: 600 15px/1 var(--sans); letter-spacing: .005em;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
    white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.w-full { width: 100%; }
.btn-gold {
    color: #0b1222;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #d9a23c);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -10px rgba(231, 180, 76, .7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 34px -12px rgba(231, 180, 76, .85); }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--accent); color: var(--accent-ink); }

.play-btn {
    display: inline-flex; align-items: center; gap: 12px;
    height: 58px; padding: 0 24px 0 20px; border-radius: 16px;
    background: #05070c; color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
    transition: transform .3s var(--ease), border-color .3s;
}
.play-btn:hover { transform: translateY(-2px); border-color: rgba(231, 180, 76, .6); }
.play-btn span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.play-btn small { font: 500 11px/1.2 var(--sans); letter-spacing: .04em; opacity: .75; }
.play-btn strong { font: 600 19px/1.15 var(--sans); letter-spacing: -.01em; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); padding: 8px 2px; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s, gap .3s var(--ease); }
.text-link:hover { color: var(--accent-ink); border-color: var(--accent); gap: 12px; }

.icon-btn {
    height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    color: var(--ink-2); border: 1px solid transparent;
    transition: color .25s, background-color .25s, border-color .25s;
}
.icon-btn:hover { color: var(--ink); background: var(--line); }

.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 200; padding: 14px var(--gutter) 0; pointer-events: none; }
.hdr-bar {
    pointer-events: auto;
    max-width: calc(var(--wrap) + 24px); margin: 0 auto; height: 58px;
    display: flex; align-items: center; gap: 24px; padding: 0 10px 0 18px;
    border-radius: 18px; border: 1px solid transparent;
    transition: background-color .4s var(--ease), border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.hdr.is-scrolled .hdr-bar {
    background: var(--glass);
    border-color: var(--line);
    box-shadow: 0 12px 40px -24px rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 34px; height: 30px; flex: none;
    background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
    -webkit-mask: url("../images/jp-mark.webp") center / contain no-repeat;
    mask: url("../images/jp-mark.webp") center / contain no-repeat;
}
[data-theme="light"] .brand-mark { background: linear-gradient(135deg, #e3a52c, #b5790f); }
.brand-word { font: 700 22px/1 var(--display); letter-spacing: -.03em; }
.hdr-nav { display: flex; gap: 4px; margin-left: auto; }
.hdr-link { position: relative; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .25s, background-color .25s; }
.hdr-link:hover { color: var(--ink); }
.hdr-link.is-active { color: var(--ink); background: var(--line); }
.hdr-tools { display: flex; align-items: center; gap: 4px; }
.hdr-cta { margin-left: 8px; }
.theme-btn .i-moon { display: none; }
[data-theme="light"] .theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-moon { display: block; }

.lang { position: relative; }
.lang-current { font: 600 12px/1 var(--mono); letter-spacing: .06em; }
.lang-list {
    position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px;
    padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
    max-height: min(70vh, 480px); overflow: auto;
}
.lang.is-open .lang-list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.lang-opt { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); text-align: left; }
.lang-opt i { font: 500 11px/1 var(--mono); font-style: normal; color: var(--ink-3); letter-spacing: .08em; }
.lang-opt:hover { background: var(--line); color: var(--ink); }
.lang-opt.is-on { color: var(--ink); }
.lang-opt.is-on i { color: var(--accent-ink); }

.hdr-menu-cta { display: none; }
.burger { display: none; width: 40px; flex-direction: column; gap: 6px; }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--hdr-h) + clamp(56px, 11vh, 130px)) 0 0; overflow-x: clip; overflow-y: visible; isolation: isolate; }
.globe {
    /* a big planet behind the phone; the hero does not clip it, so the whole sphere shows as you scroll */
    position: absolute; left: 50%; top: 40px;
    width: min(1640px, 150vw); aspect-ratio: 1; transform: translateX(-50%);
    z-index: -1; pointer-events: none;
}
.hero-vignette {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60% 40% at 50% 0%, rgba(231, 180, 76, .10), transparent 70%),
        linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
}
[data-theme="light"] .hero-vignette {
    background:
        radial-gradient(70% 45% at 50% -5%, rgba(120, 160, 220, .22), transparent 70%),
        radial-gradient(40% 30% at 80% 10%, rgba(233, 174, 53, .12), transparent 70%),
        linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title {
    font: 750 clamp(48px, 8.2vw, 128px)/.98 var(--display);
    letter-spacing: -.042em;
    text-wrap: balance;
}
.hero-title .line { display: block; padding: 0 .06em .16em; margin-bottom: -.12em; }
.hero-title em { padding-right: .1em; }
.hero-lede { margin-top: 30px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.hero-meta { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .8; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }

.hero-stage { position: relative; z-index: 0; height: clamp(560px, 56vw, 720px); margin-top: clamp(48px, 7vh, 80px); }
.hero-stage .device-hero { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }

/* device: a modern Android slab, CSS only */
.device {
    --dw: 300px;
    position: relative; width: var(--dw); aspect-ratio: 720 / 1600;
    padding: calc(var(--dw) * .028);
    border-radius: calc(var(--dw) * .15);
    background: linear-gradient(145deg, #2a2f3a, #0b0e14 40%, #161a22);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .08),
        inset 0 0 0 3px #05070b,
        0 50px 100px -30px rgba(0, 0, 0, .75),
        0 20px 40px -20px rgba(0, 0, 0, .6);
}
[data-theme="light"] .device { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 3px #05070b, 0 50px 90px -34px rgba(40, 28, 8, .55), 0 18px 36px -18px rgba(40, 28, 8, .4); }
.device::before { /* side buttons */
    content: ""; position: absolute; right: -2px; top: 22%; width: 3px; height: 13%; border-radius: 0 3px 3px 0; background: #1d222b;
    box-shadow: 0 calc(var(--dw) * .2) 0 #1d222b;
}
.device-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--dw) * .125); overflow: hidden; background: #0b1222; }
.device-screen::after { /* glass sheen (no punch hole, it covered the app's logo) */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 30%);
}
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-hero { --dw: clamp(250px, 24vw, 320px); }

/* live cards */
.lcard {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 12px;
    width: max-content; max-width: 330px;
    padding: 12px 16px 12px 12px; border-radius: 18px;
    background: var(--card); border: 1px solid var(--card-line);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    font-size: 14px; line-height: 1.35;
}
.lcard-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; }
.lcard-ico svg { width: 20px; height: 20px; }
.ico-gold { background: rgba(231, 180, 76, .16); color: var(--gold); }
.ico-amber { background: rgba(242, 166, 59, .16); color: var(--amber); }
.ico-green { background: rgba(71, 197, 138, .16); color: var(--green); }
[data-theme="light"] .ico-gold { color: #9a6a14; }
[data-theme="light"] .ico-amber { color: #a8620c; }
[data-theme="light"] .ico-green { color: #1f8a57; }
.lcard-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--sans); color: #0b1222; background: linear-gradient(135deg, #f7d98f, #e7b44c); box-shadow: 0 0 0 3px var(--card), 0 0 0 4px rgba(71, 197, 138, .7); }
.lcard-body { display: flex; flex-direction: column; min-width: 0; }
.lcard-body strong { font-weight: 600; color: var(--ink); }
.lcard-body > span { color: var(--ink-2); font-size: 13px; }
.lcard-body .mono { font-size: 12.5px; letter-spacing: .02em; }
.lcard-body s { color: var(--ink-3); }
.lcard-body b { color: var(--accent-ink); font-weight: 600; }
.lcard-time { align-self: flex-start; margin-left: 6px; font: 500 11px/1 var(--mono); color: var(--ink-3); letter-spacing: .04em; }

.hero-stage .lcard-b { left: calc(50% + 130px); top: 21%; }
.hero-stage .lcard-d { right: calc(50% + 165px); top: 54%; }
.js .hero-stage .lcard { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .hero-stage.is-in .lcard { opacity: 1; transform: translate3d(calc(var(--px) * var(--d)), calc(var(--py) * var(--d)), 0); }
.hero-stage .lcard-a { --d: 1.4; } .hero-stage .lcard-b { --d: -1.1; } .hero-stage .lcard-c { --d: .9; } .hero-stage .lcard-d { --d: -1.6; }
.hero-stage .device-hero { transform: translateX(-50%) translate3d(calc(var(--px) * -.35), calc(var(--py) * -.35), 0); transition: transform 1.2s var(--ease); }
.js .hero-stage.is-in .lcard-b { transition-delay: .8s; }
.js .hero-stage.is-in .lcard-d { transition-delay: 1.4s; }
.hero-stage.is-in .lcard { animation: bob 7s ease-in-out infinite; }
.js .hero-stage.is-settled .lcard { transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: 0s; }
.hero-stage.is-in .lcard-b { animation-delay: -2s; }
.hero-stage.is-in .lcard-d { animation-delay: -5.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* hero cards (Journey Guide progress, current step, security, Family Hub) */
.hc { font-size: 14px; }
.hc-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hc-label, .hc-count, .hc-live, .hc-body .mono, .hc strong { white-space: nowrap; }
.hc-label { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hc small { display: block; line-height: 1.35; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.hc strong { font-weight: 600; color: var(--ink); font-size: 16px; letter-spacing: -.005em; }
.hc-head { display: flex; align-items: center; gap: 10px; }
.hc-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(231, 180, 76, .16); color: var(--accent); }
.hc-ico svg { width: 16px; height: 16px; }
.hc-ico-lg { width: 40px; height: 40px; border-radius: 12px; }
.hc-ico-lg svg { width: 20px; height: 20px; }
.hc-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.hc-count { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--accent-ink); background: rgba(231, 180, 76, .14); }
[data-theme="light"] .hc-count { color: #8a5b06; background: rgba(233, 174, 53, .18); }
.hc-bar { display: block; height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.hc-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #f7d98f); }
.hc-bar-thin { height: 3px; }
.hc-bar-thin i { width: 55%; }
.hero-stage.is-in .hc-bar i { animation: hcFill 2.4s var(--ease) 1.2s both; }
@keyframes hcFill { from { width: 0; } }
.hc-journey { flex-direction: column; align-items: stretch; gap: 14px; width: 318px; padding: 16px 18px 18px; }
.hc-dots { display: flex; gap: 6px; }
.hc-dots i { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 10px/1 var(--sans); font-style: normal; color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--line); }
.hc-dots i.is-done { background: var(--accent); border-color: transparent; color: #0b1222; }
.hc-dots i.is-done svg { width: 11px; height: 11px; }
.hc-dots i.is-now { color: var(--accent-ink); border: 2px solid var(--accent); background: transparent; }
[data-theme="light"] .hc-dots i.is-now { color: #8a5b06; }
.hc-step { gap: 14px; padding: 14px 18px 14px 14px; }
.hc-door { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #f7d98f, var(--accent)); color: #0b1222; box-shadow: 0 8px 18px -8px rgba(231, 180, 76, .8); }
.hc-door svg { width: 22px; height: 22px; }
.hc-chips { display: flex; gap: 6px; margin-top: 6px; }
.hc-chips b { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(231, 180, 76, .45); color: var(--ink-2); }
.hc-time { align-self: flex-start; margin-left: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hc-sec { gap: 12px; padding: 12px 16px 12px 12px; }
.hc-sec small { max-width: 26ch; }
.hc-sec .hc-ico { color: #47c58a; background: rgba(71, 197, 138, .15); }
[data-theme="light"] .hc-sec .hc-ico { color: #1f8a57; }
.hc-spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-left: 10px; }
.hc-spark i { width: 5px; border-radius: 2px; background: var(--line-2); }
.hc-spark i.is-now { background: #47c58a; }
.hc-family { flex-direction: column; align-items: stretch; gap: 12px; width: 300px; padding: 14px 16px 16px; }
.hc-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 600 10px/1 var(--mono); letter-spacing: .14em; color: #47c58a; }
[data-theme="light"] .hc-live { color: #1f8a57; }
.hc-person { display: flex; align-items: center; gap: 12px; }
.hc-person .hc-body > .mono { font-size: 12px; color: var(--ink-2); }
.hc-pill { margin-left: auto; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #0b1222; background: linear-gradient(180deg, #f7d98f, var(--accent)); white-space: nowrap; }

/* hero entrance */
.js [data-anim] { opacity: 0; transform: translateY(22px); }
.js .hero-title .line[data-anim] { opacity: 1; transform: none; overflow: hidden; }
.js .hero-title .line[data-anim] > * { display: inline-block; transform: translateY(105%); }
.is-loaded [data-anim] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.is-loaded .hero-title .line[data-anim] > * { transform: none; transition: transform 1.2s var(--ease); }
.is-loaded [data-anim="2"] > * { transition-delay: .08s !important; }
.is-loaded [data-anim="3"] > * { transition-delay: .2s !important; }
.is-loaded [data-anim="4"] { transition-delay: .35s; }
.is-loaded [data-anim="5"] { transition-delay: .45s; }
.is-loaded [data-anim="6"] { transition-delay: .55s; transition-duration: 1.4s; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 10vw, 150px) 0; }
.sec-head { margin-bottom: clamp(48px, 6vw, 84px); max-width: 980px; }
.sec-head .lede { margin-top: 26px; }
.sec-head.split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 64px; align-items: end; }
.sec-head.split .lede { margin-top: 0; justify-self: end; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; align-items: center; }

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- journey guide (the app's step list, rebuilt) ---------- */
.guide-sec { padding-top: clamp(40px, 6vw, 90px); }
.guide-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.guide-copy .lede { margin-top: 26px; }
.guide-points { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.guide-points li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.gpoint-ico { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: rgba(231, 180, 76, .12); border: 1px solid rgba(231, 180, 76, .22); }
[data-theme="light"] .gpoint-ico { color: #b57a0e; }
.gpoint-ico svg { width: 19px; height: 19px; }

.gp { position: relative; border-radius: 30px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gp::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(231, 180, 76, .16), transparent 65%); pointer-events: none; }

/* header: the app's sticky trip card */
.gp-flight { position: relative; padding: 20px 24px 22px; background: linear-gradient(160deg, #18213a, #0b1222); color: #f3ede2; border-bottom: 1px solid rgba(231, 180, 76, .35); }
.gp-now { display: flex; align-items: center; gap: 12px; }
.gp-now-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(231, 180, 76, .16); color: var(--gold); }
.gp-now-ico svg { width: 19px; height: 19px; }
.gp-now-label { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #cfd2d8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gp-now-count { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--gold-hi); background: rgba(231, 180, 76, .16); }
.gp-ok { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: linear-gradient(180deg, #8a6a24, #6e5418); color: #f7d98f; font: 600 12px/1 var(--sans); white-space: nowrap; }
.gp-route { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-size: 30px; letter-spacing: .03em; }
.gp-route b { font-weight: 700; }
.gp-line { position: relative; width: 64px; height: 1px; background: repeating-linear-gradient(90deg, rgba(243, 237, 226, .5) 0 4px, transparent 4px 9px); }
.gp-line svg { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; color: var(--gold); transform: rotate(90deg); }
.gp-cd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 10px; }
.gp-cd-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8c93a5; }
.gp-countdown { font-size: 34px; font-weight: 600; letter-spacing: .03em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }

/* sheet */
.gp-sheet { position: relative; padding: 20px 18px 12px; }
.gp-head { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.gp-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.gp-bar { display: block; height: 5px; margin: 14px 4px 12px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.gp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--gold-hi)); transition: width .8s var(--ease); }
.gp-dots { display: flex; gap: 6px; margin: 0 4px 12px; }
.gp-dots i { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-3); transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.gp-dots b { font: 600 10.5px/1 var(--sans); }
.gp-check { position: absolute; width: 13px; height: 13px; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.gp-dots i.is-done { background: var(--accent); border-color: transparent; color: #0b1222; }
.gp-dots i.is-done b { opacity: 0; }
.gp-dots i.is-done .gp-check { opacity: 1; transform: none; }
.gp-dots i.is-now { border: 2px solid var(--accent); color: var(--ink); transform: scale(1.08); }

/* the step list scrolls like the app's sheet */
.gp-viewport { position: relative; height: 470px; overflow: hidden; -webkit-mask: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 46px), transparent 100%); mask: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 46px), transparent 100%); }
.gp-steps { display: flex; flex-direction: column; gap: 6px; padding: 8px 0 40px; transition: transform .8s var(--ease); }
.gp-step { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; column-gap: 14px; padding: 10px 12px; border-radius: 18px; border: 1px solid transparent; transition: background-color .5s, border-color .5s, padding .5s var(--ease); }
.gp-ico { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line); transition: background-color .4s, color .4s, box-shadow .4s, width .4s, height .4s; }
.gp-glyph { width: 20px; height: 20px; transition: opacity .3s; }
.gp-ico .gp-check { width: 17px; height: 17px; }
.gp-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gp-name { font-weight: 600; font-size: 15.5px; color: var(--ink-2); transition: color .4s, font-size .4s; }
.gp-hint { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.gp-fact { color: var(--ink-2); font-size: 12px; }
.gp-time { font-size: 14px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.gp-more { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease), margin .55s var(--ease); }
.gp-more-in { overflow: hidden; min-height: 0; display: flex; flex-direction: column; }
.gp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gp-chips b { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(231, 180, 76, .5); color: var(--ink); }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; height: 44px; border-radius: 12px; background: #2e7d32; color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 10px 20px -12px rgba(46, 125, 50, .9); transition: transform .2s, filter .2s; }
.gp-step.is-now .gp-more { grid-template-rows: 1fr; margin-top: 12px; }
.gp-step:last-child .gp-btn { display: none; }
.gp-btn.is-press { transform: scale(.96); filter: brightness(1.15); }
.gp-step.is-done .gp-ico { background: var(--accent); border-color: transparent; color: #0b1222; }
.gp-step.is-done .gp-glyph { opacity: 0; }
.gp-step.is-done .gp-check { opacity: 1; transform: none; }
.gp-step.is-done .gp-name { color: var(--ink-3); }
.gp-step.is-done .gp-hint { opacity: .7; }
.gp-step.is-now { padding: 16px 14px; background: linear-gradient(135deg, rgba(231, 180, 76, .2), rgba(231, 180, 76, .07)); border-color: rgba(231, 180, 76, .6); }
[data-theme="light"] .gp-step.is-now { background: linear-gradient(135deg, #f3e5c4, #faf3e2); border-color: #e2bf72; }
.gp-step.is-now .gp-ico { background: linear-gradient(180deg, var(--gold-hi), var(--accent)); color: #0b1222; border-color: transparent; box-shadow: 0 10px 22px -10px rgba(231, 180, 76, .9); }
.gp-step.is-now .gp-name { color: var(--ink); font-size: 17.5px; }
.gp-step.is-now .gp-hint { color: var(--ink-2); }
.gp-step.is-now .gp-time { color: var(--ink); font-size: 16px; }

/* ---------- journey ---------- */
.journey-sec { padding-top: clamp(60px, 9vw, 130px); }
.route { position: relative; height: 120px; margin: 0 0 40px; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-svg path { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-plane { position: absolute; left: 0; top: 0; width: 26px; height: 26px; color: var(--accent); margin: -13px 0 0 -13px; will-change: transform; filter: drop-shadow(0 4px 12px rgba(231, 180, 76, .5)); }
.route-plane svg { width: 100%; height: 100%; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); counter-reset: s; }
.step { position: relative; }
.step-num { display: block; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 12px; letter-spacing: .14em; color: var(--accent-ink); margin-bottom: 18px; }
.step .h3 { margin-bottom: 14px; }
.step p { color: var(--ink-2); max-width: 34ch; }

/* journey vignettes */
.mock { position: relative; height: 196px; margin-bottom: 30px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.mock::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, rgba(231, 180, 76, .1), transparent 70%); pointer-events: none; }
.ma-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--accent); background: var(--bg); box-shadow: 0 0 0 4px rgba(231, 180, 76, .12); }
.ma-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.ma-val { display: inline-flex; align-items: center; font-size: 22px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.ma-typed { display: inline-block; overflow: hidden; white-space: nowrap; width: calc(6ch + .5em); }
.ma-caret { width: 2px; height: 22px; margin-left: 3px; background: var(--accent); animation: caret 1s steps(1) infinite; }
.reveal.is-in .ma-typed { animation: typeIn 5s steps(6) infinite; }
@keyframes typeIn { 0% { width: 0; } 30%, 100% { width: calc(6ch + .5em); } }
@keyframes caret { 50% { opacity: 0; } }
.ma-hit { display: flex; align-items: center; gap: 10px; padding: 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.ma-line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 3px, transparent 3px 7px); }
.ma-t { font-style: normal; color: var(--accent-ink); margin-left: 4px; }
.reveal.is-in .ma-hit { animation: hitIn 5s var(--ease) infinite; }
@keyframes hitIn { 0%, 30% { opacity: 0; transform: translateY(6px); } 40%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ma-scan { position: absolute; right: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .14em; color: var(--ink-3); }
.ma-scan svg { width: 18px; height: 18px; color: var(--accent-ink); }

.mock-guide { gap: 7px; padding: 18px; }
.mg-head { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }
.mg-count { padding: 3px 8px; border-radius: 999px; font-size: 10.5px; letter-spacing: .04em; color: #8a5b06; background: rgba(233, 174, 53, .18); }
[data-theme="dark"] .mg-count { color: var(--gold-hi); background: rgba(231, 180, 76, .16); }
.mg-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 12px; border: 1px solid transparent; }
.mg-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line); }
.mg-ico svg { width: 15px; height: 15px; }
.mg-name { font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mg-t { font-size: 12px; color: var(--ink-3); }
.mg-row.is-done .mg-ico { background: var(--accent); border-color: transparent; color: #0b1222; }
.mg-row.is-done .mg-name { color: var(--ink-3); }
.mg-row.is-now { background: linear-gradient(135deg, rgba(231, 180, 76, .22), rgba(231, 180, 76, .08)); border-color: rgba(231, 180, 76, .55); }
[data-theme="light"] .mg-row.is-now { background: linear-gradient(135deg, #f3e5c4, #faf3e2); border-color: #e2bf72; }
.mg-row.is-now .mg-ico { background: linear-gradient(180deg, var(--gold-hi), var(--accent)); color: #0b1222; border-color: transparent; }
.mg-row.is-now .mg-name { color: var(--ink); }
.mg-row.is-now .mg-t { color: var(--ink); font-weight: 600; }
.reveal.is-in .mg-row.is-now { animation: mgPulse 2.4s ease-in-out infinite; }
@keyframes mgPulse { 50% { box-shadow: 0 0 0 4px rgba(231, 180, 76, .14); } }

.mf-people { display: flex; }
.mf-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--sans); color: #0b1222; border: 2.5px solid var(--surface); margin-right: -10px; }
.mf-av:nth-child(1) { background: linear-gradient(135deg, #f7d98f, #e7b44c); }
.mf-av:nth-child(2) { background: linear-gradient(135deg, #b9e6cf, #47c58a); }
.mf-av:nth-child(3) { background: linear-gradient(135deg, #c9d6ff, #7d95e0); }
.mf-av.mf-more { background: var(--surface-2); color: var(--ink-2); font-size: 12px; border-color: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.mf-route { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.mf-track { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); }
.mf-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); border-radius: inherit; }
.mf-plane { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: var(--accent-ink); transform: rotate(90deg); }
.mf-plane svg { width: 100%; height: 100%; }
.reveal.is-in .mf-fill { animation: flyFill 7s linear infinite; }
.reveal.is-in .mf-plane { animation: flyPlane 7s linear infinite; }
@keyframes flyFill { 0% { width: 4%; } 100% { width: 96%; } }
@keyframes flyPlane { 0% { left: 4%; } 100% { left: 96%; } }
.mf-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); letter-spacing: .06em; }
.mf-eta { margin-left: auto; color: var(--accent-ink); }

/* ---------- features ---------- */
.feat { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.feat-stage { position: sticky; top: calc(var(--hdr-h) + 24px); height: calc(100vh - var(--hdr-h) - 48px); min-height: 560px; display: grid; place-items: center; }
.feat-stage-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.feat-stage-inner::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; left: -20%; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(231, 180, 76, .16), transparent 62%); z-index: -1; }
.device-feat { --dw: clamp(250px, 22vw, 300px); }
.fshot { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.fshot.is-on { opacity: 1; transform: none; }
.feat-progress { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }
.feat-progress-num:first-child { color: var(--accent-ink); }
.feat-progress-bar { width: 120px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.feat-progress-bar i { display: block; height: 100%; width: 25%; background: var(--accent); transition: width .6s var(--ease); }
.chapters { display: flex; flex-direction: column; }
.chapter { min-height: 68vh; padding: 6vh 0; display: flex; flex-direction: column; justify-content: center; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 36px; }
.chapter-num { font-size: 13px; color: var(--accent-ink); letter-spacing: .14em; }
.chapter-title { font: 700 clamp(32px, 3.6vw, 52px)/1.05 var(--display); letter-spacing: -.04em; }
.chapter-shot { display: none; }
.flist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.flist > div { padding: 22px 0 24px; border-top: 1px solid var(--line); transition: border-color .4s; }
.flist > div:hover { border-color: var(--accent); }
.flist dt { font-weight: 600; font-size: 17px; letter-spacing: -.005em; margin-bottom: 8px; color: var(--ink); }
.flist dd { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.flist-compact > div { padding: 18px 0 20px; }
.flist-compact dd { font-size: 15px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line-2); }
.tile { padding: 18px 0; border-bottom: 1px solid var(--line); }
.tile-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile-txt strong { font-weight: 600; font-size: 15.5px; }
.tile-txt span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.feed { margin-top: 30px; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0; }
.feed li { position: relative; display: grid; grid-template-columns: 14px auto 1fr auto; align-items: center; gap: 14px; padding: 12px 0; font-size: 15px; }
.feed li + li { border-top: 1px dashed var(--line-2); }
.feed-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
.feed li.is-done .feed-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 4px rgba(71, 197, 138, .18); }
.feed-who { font-weight: 600; }
.feed-what { color: var(--ink-2); font-size: 13px; }
.feed-t { color: var(--ink-3); font-size: 12px; }

/* ---------- numbers ---------- */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 0%, rgba(231, 180, 76, .08), transparent 70%), var(--bg-2); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: clamp(40px, 5vw, 72px) clamp(16px, 2vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.num + .num { border-left: 1px solid var(--line); }
.num-v { font: 800 clamp(40px, 5vw, 76px)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: lining-nums proportional-nums; }
.num-v i { color: var(--accent-ink); font-style: italic; margin-left: .04em; }
.num-l { font: 500 12px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); max-width: 24ch; }

/* ---------- pricing ---------- */
.billing { position: relative; display: flex; width: max-content; margin: 0 auto clamp(40px, 5vw, 64px); padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.billing-opt { position: relative; z-index: 1; height: 42px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.billing-opt.is-on { color: #0b1222; }
.billing-opt .save { font: 600 10.5px/1 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: rgba(71, 197, 138, .16); color: var(--green); }
[data-theme="light"] .billing-opt .save { color: #1f7a4d; }
.billing-opt.is-on .save { background: rgba(11, 18, 34, .14); color: #0b1222; }
.billing-thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: 100px; border-radius: 999px; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 6px 16px -6px rgba(231, 180, 76, .7); transition: transform .45s var(--ease), width .45s var(--ease); }

.passes { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.pass { position: relative; display: flex; flex-direction: column; border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.pass-main { padding: clamp(30px, 3.4vw, 46px); display: flex; flex-direction: column; flex: 1; }
.pass-cta { margin-top: auto; align-self: flex-start; min-width: 220px; }
.pass-name { font: 700 clamp(30px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.035em; }
.pass-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.pass-price .amt { font: 800 clamp(46px, 4.4vw, 64px)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: lining-nums; }
.pass-price .per { color: var(--ink-2); font-size: 15px; }
.pass-annual { font: 500 13px/1.4 var(--mono); color: var(--ink-2); letter-spacing: .02em; }
.pass-desc { color: var(--ink-2); margin: 14px 0 26px; max-width: 40ch; }
.pass-list { display: grid; gap: 11px; margin-bottom: 32px; }
.pass-list.two-col { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.pass-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.pass-list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
[data-theme="light"] .pass:not(.pass-pro) .pass-list li::before { border-color: #b57a0e; }
.pass-list li.muted { color: var(--ink-3); }
.pass-list li.muted::before { border-color: var(--ink-3) !important; }
.founding { margin: -6px 0 30px; font-size: 14px; line-height: 1.55; color: var(--gold-hi); padding: 14px 16px 14px 44px; border-radius: 14px; background: rgba(231, 180, 76, .1); border: 1px solid rgba(231, 180, 76, .28); position: relative; }
.founding::before { content: "\2605"; position: absolute; left: 16px; top: 13px; color: var(--gold); font-size: 15px; }

/* pro: always night, gold rim */
.pass-pro {
    background:
        radial-gradient(90% 70% at 85% 0%, rgba(231, 180, 76, .2), transparent 60%),
        linear-gradient(160deg, #18213a 0%, #0c1324 60%, #0a101e 100%);
    border-color: transparent;
    color: #f3ede2;
    --ink: #f3ede2; --ink-2: #b4b5ba; --ink-3: #7b8193; --line-2: rgba(231, 206, 160, .26); --accent-ink: #e7b44c; --surface: #111a2f;
}
.pass-pro::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(140deg, rgba(247, 217, 143, .9), rgba(231, 180, 76, .2) 40%, rgba(231, 180, 76, .06) 60%, rgba(247, 217, 143, .7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pass-flag { position: absolute; top: 30px; right: 30px; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- roadmap ---------- */
.road { border-top: 1px solid var(--line-2); }
.road-row:first-child { border-top: 0; }
.road-head { display: grid; grid-template-columns: 140px 1fr 200px; gap: 32px; padding: 16px 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.road-head span:last-child { text-align: right; }
.road-row { display: grid; grid-template-columns: 110px 1fr 200px; gap: 32px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background-color .4s, padding .4s var(--ease); position: relative; }
.road-row::before { content: ""; position: absolute; left: -24px; right: -24px; top: 0; bottom: 0; border-radius: 16px; background: var(--line); opacity: 0; transition: opacity .35s; z-index: -1; }
.road-row:hover::before { opacity: .5; }
.road-code { font: 700 clamp(24px, 2.2vw, 32px)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink-3); transition: color .3s; }
.road-row:hover .road-code { color: var(--accent-ink); }
.road-what h3 { font: 700 clamp(22px, 2.1vw, 30px)/1.15 var(--display); letter-spacing: -.03em; margin-bottom: 8px; }
.road-what p { color: var(--ink-2); max-width: 62ch; }
.road-status { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.road-row.is-live .road-status { color: var(--green); }
[data-theme="light"] .road-row.is-live .road-status { color: #1f7a4d; }
.road-row.is-live .road-code { color: var(--accent-ink); }
.road-row.is-dated .road-status { color: var(--accent-ink); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--hdr-h) + 40px); }
.faq-contact { margin-top: 32px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; max-width: 34ch; }
.faq-contact a { color: var(--accent-ink); font-weight: 500; border-bottom: 1px solid currentColor; align-self: flex-start; }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 600 clamp(18px, 1.5vw, 21px)/1.35 var(--display); letter-spacing: -.015em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-ink); }
.qa summary i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; border-radius: 2px; }
.qa summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.qa[open] summary i { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: #0b1222; }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { padding: 0 64px 30px 0; color: var(--ink-2); max-width: 68ch; }
.qa[open] p { animation: qaIn .5s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- golden ticket ---------- */
.get-sec { padding-top: clamp(40px, 6vw, 80px); }
.ticket {
    --stub: 330px; --r: 20px;
    position: relative; display: grid; grid-template-columns: 1fr var(--stub);
    border-radius: 34px; color: #0d1526;
    background:
        radial-gradient(80% 120% at 0% 0%, #fbe3a3 0%, rgba(251, 227, 163, 0) 55%),
        linear-gradient(125deg, #f2cd77 0%, #e7b44c 38%, #d69a33 70%, #e9bd62 100%);
    box-shadow: 0 60px 120px -50px rgba(214, 154, 51, .6), 0 30px 60px -30px rgba(0, 0, 0, .5);
    -webkit-mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--r), #000 calc(var(--r) + .5px)) top / 100% 51% no-repeat,
                  radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--r), #000 calc(var(--r) + .5px)) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--r), #000 calc(var(--r) + .5px)) top / 100% 51% no-repeat,
          radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--r), #000 calc(var(--r) + .5px)) bottom / 100% 51% no-repeat;
    overflow: hidden;
}
.ticket-main { position: relative; z-index: 1; padding: clamp(36px, 5vw, 72px); }
.ticket .kicker { color: #6b4708; }
.ticket .h2 { color: #0d1526; }
.ticket .h2 em { color: #0d1526; }
[data-theme="dark"] .ticket .h2 em { color: #0d1526; }
.ticket .lede { color: #3b3220; margin-top: 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 36px; }
.ticks li { position: relative; padding-left: 24px; font-weight: 500; font-size: 15px; color: #2a2414; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 11px; height: 6px; border-left: 2px solid #0d1526; border-bottom: 2px solid #0d1526; transform: rotate(-45deg); }
.get-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.appstore-soon { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #3b3220; }
.appstore-soon em { font: 600 10.5px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: rgba(13, 21, 38, .1); color: #3b3220; }
.ticket-stub { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 30px; }
.ticket-stub::before { content: ""; position: absolute; left: 0; top: calc(var(--r) + 14px); bottom: calc(var(--r) + 14px); border-left: 2px dashed rgba(13, 21, 38, .3); }
.qr { position: relative; width: 196px; aspect-ratio: 1; padding: 14px; border-radius: 22px; background: #fbf6ea; box-shadow: 0 16px 30px -18px rgba(60, 40, 0, .6); }
.qr svg { width: 100%; height: 100%; display: block; }
.qr path { fill: #0d1526; }
.qr-mark { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 12px; background: url("../images/JP_app_iconv2.png") center / cover; box-shadow: 0 0 0 5px #fbf6ea; }
.qr-cap { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #4a3b18; text-align: center; max-width: 22ch; line-height: 1.5; }

/* ---------- footer ---------- */
.ftr { position: relative; padding: clamp(60px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.ftr-brand p { margin-top: 18px; color: var(--ink-2); max-width: 36ch; font-size: 15px; }
.ftr-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ftr-h { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ftr-col a { color: var(--ink-2); transition: color .25s; align-self: flex-start; word-break: break-word; }
.ftr-col a:hover { color: var(--accent-ink); }
[data-theme="light"] .num-v i { color: var(--accent); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* ---------- 404 ---------- */
.nf-main { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--hdr-h) + 40px) 0 60px; background: radial-gradient(60% 50% at 50% 30%, rgba(231, 180, 76, .12), transparent 70%); }
.nf-main .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.nf-code { font-size: clamp(90px, 18vw, 200px); font-weight: 700; line-height: 1; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.nf-main .btn { margin-top: 8px; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1100px) {
    .hero-stage .lcard { max-width: min(270px, calc(50vw - 150px)); }
    .hero-stage .hc-journey, .hero-stage .hc-family { width: min(270px, calc(50vw - 150px)); }
    .hc-dots { gap: 4px; }
    .hc-dots i { width: 18px; height: 18px; font-size: 9px; }
    .hero-stage .lcard-b { left: calc(50% + 110px); }
    .hero-stage .lcard-d { right: calc(50% + 130px); }
    .pass-list.two-col { grid-template-columns: 1fr; }
    .guide-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; }
}

@media (max-width: 960px) {
    :root { --hdr-h: 64px; }
    .hdr-bar { height: 54px; }
    .burger { display: inline-flex; }
    .hdr-cta { display: none; }
    .hdr-nav {
        position: fixed; inset: 0; z-index: -1; margin: 0;
        flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
        padding: 100px var(--gutter) 40px;
        background: var(--bg);
        opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
    }
    .hdr.is-open .hdr-nav { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
    .hdr.is-open .hdr-bar { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .hdr-link { font: 700 clamp(36px, 9vw, 52px)/1.2 var(--display); letter-spacing: -.035em; padding: 4px 0; color: var(--ink); border-radius: 0; }
    .hdr-link.is-active { background: none; color: var(--accent-ink); }
    .hdr.is-open .hdr-link { animation: navIn .6s var(--ease) both; }
    .hdr.is-open .hdr-link:nth-child(2) { animation-delay: .05s; }
    .hdr.is-open .hdr-link:nth-child(3) { animation-delay: .1s; }
    .hdr.is-open .hdr-link:nth-child(4) { animation-delay: .15s; }
    .hdr-menu-cta { display: inline-flex; margin-top: 36px; }
    .hdr.is-open .hdr-menu-cta { animation: navIn .6s var(--ease) .22s both; }
    @keyframes navIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

    .sec-head.split { grid-template-columns: 1fr; }
    .sec-head.split .lede { justify-self: start; }

    .feat { grid-template-columns: 1fr; }
    .feat-stage { display: none; }
    .chapter { min-height: 0; padding: 56px 0; }
    .chapter-shot { display: flex; justify-content: center; margin: 0 0 40px; }
    .device-inline { --dw: min(250px, 62vw); }

    .numbers-grid { grid-template-columns: 1fr 1fr; }
    .num:nth-child(3) { border-left: 0; }
    .num:nth-child(n+3) { border-top: 1px solid var(--line); }

    .passes { grid-template-columns: 1fr; max-width: 620px; }
    .guide-grid { grid-template-columns: 1fr; }
    .gp { max-width: 640px; }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-side { position: static; }

    .ticket { --stub: 280px; }
    .ftr-grid { grid-template-columns: 1fr 1fr; }
    .ftr-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .hero-title { font-size: clamp(56px, 15.5vw, 96px); }
    .hero-stage { height: auto; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
    .hero-stage .device-hero { position: relative; left: auto; transform: none; --dw: min(260px, 66vw); }
    .hero-stage .lcard { max-width: 250px; font-size: 13px; }
    .hero-stage .hc-journey { width: 236px; padding: 12px 14px 14px; gap: 10px; }
    .hero-stage .hc-family { width: 220px; padding: 12px 14px 14px; }
    .hc-dots { gap: 3px; }
    .hc-dots i { width: 16px; height: 16px; font-size: 8px; }
    .hc-label { font-size: 10px; letter-spacing: .12em; }
    .hc-count { font-size: 10.5px; padding: 3px 8px; }
    .hc small { font-size: 9.5px; letter-spacing: .1em; }
    .hc strong { font-size: 14.5px; }
    .hc-dots i.is-done svg { width: 9px; height: 9px; }
    .hc-step { padding: 10px 14px 10px 10px; gap: 10px; }
    .hc-door { width: 38px; height: 38px; }
    .hc-time { display: none; }
    .hero-stage .lcard-b { left: auto; right: 12px; top: 33%; }
    .hero-stage .lcard-d { left: 12px; right: auto; top: auto; bottom: 16%; }
    .globe { top: 60px; width: 220vw; }


    .route { display: none; }
    .steps { grid-template-columns: 1fr; gap: 44px; }

    .flist, .flist-compact { grid-template-columns: 1fr; }

    .numbers-grid { grid-template-columns: 1fr 1fr; }
    .num { padding: 32px 14px; }

    .pass-main { padding: 30px 24px 30px; }
    .pass-cta { align-self: stretch; }
    .pass-flag { top: 24px; right: 22px; }
    .gp-flight { padding: 16px 16px 18px; }
    .gp-ok { display: none; }
    .gp-route { font-size: 24px; gap: 10px; }
    .gp-line { width: 44px; }
    .gp-countdown { font-size: 24px; }
    .gp-sheet { padding: 16px 8px 10px; }
    .gp-dots { gap: 3px; }
    .gp-dots i { width: 22px; height: 22px; }
    .gp-dots b { font-size: 9px; }
    .gp-step { column-gap: 10px; grid-template-columns: 40px 1fr auto; padding: 10px 8px; }
    .gp-ico { width: 40px; height: 40px; }
    .gp-step.is-now { padding: 14px 10px; }
    .gp-step.is-now .gp-name { font-size: 16px; }
    .gp-viewport { height: 440px; }
    .tiles { grid-template-columns: 1fr; }

    .road-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 26px 0; }
    .road-code { grid-row: 1; grid-column: 1; }
    .road-status { grid-row: 1; grid-column: 2; }
    .road-what { grid-column: 1 / -1; }
    .road-row::before { left: -12px; right: -12px; }

    .qa p { padding-right: 0; }

    .ticket { grid-template-columns: 1fr; border-radius: 26px; -webkit-mask: none; mask: none; }
    .ticket-main { padding: 36px 24px 36px; }
    .ticket-stub { display: none; }

    .ftr-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
    .hdr { padding-top: 10px; }
    .hdr-bar { padding: 0 6px 0 14px; gap: 10px; }
    .brand-word { font-size: 24px; }
    .icon-btn { min-width: 36px; padding: 0 7px; }
    .hero-actions { gap: 18px; }
    .numbers-grid { grid-template-columns: 1fr; }
    .num + .num { border-left: 0; border-top: 1px solid var(--line); }
    .ftr-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   REDUCED MOTION
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-anim], .js .reveal, .js .hero-stage .lcard { opacity: 1 !important; transform: none !important; }
    .js .hero-title .line[data-anim] > * { transform: none !important; }
}

/* narrow phones: long German/French labels must not push the page sideways */
@media (max-width: 400px) {
    .billing { max-width: 100%; }
    .billing-opt { padding: 0 14px; font-size: 13.5px; gap: 6px; }
    .billing-opt .save { padding: 3px 5px; letter-spacing: .03em; }
    .ticket .h2-xl { font-size: clamp(36px, 12vw, 52px); overflow-wrap: anywhere; }
}

/* founding offer: hidden automatically from December 1, 2026 (see js/js-enabled.js) */
.offer-ended [data-offer] { display: none !important; }
