/* ── Catch the Phantom · site.css (15.10.2026) ─────────────────────── */
:root {
  --red: #7E1F10; --red-b: #a82918; --red-d: #4f1208; --red-glow: rgba(168,41,24,.35);
  --cream: #f5ede6; --gold: #e0b35a;
  --dark: #080305; --dark2: #100810; --dark3: #1a0d1e; --dark4: #241225;
  --ink: #f0e8ee; --muted: rgba(220,205,218,.68); --muted2: rgba(220,205,218,.45);
  --border: rgba(255,255,255,.08); --border2: rgba(255,255,255,.14);
  --r: 14px; --r-lg: 22px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --serif: 'DM Serif Display', Georgia, serif;
  --display: 'Bebas Neue', 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--dark); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); }
a { color: #ff9b7a; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; font-weight: 400; color: #fff; }
h2 { font-size: clamp(28px, 4.2vw, 42px); margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { max-width: 68ch; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.narrow { max-width: 760px; }
section { position: relative; z-index: 1; padding: 72px 0; }
section.alt { background: var(--dark2); }
.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red-b); margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted2); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Nav ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(8,3,5,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 24px; }
.nav-logo { font-family: var(--display); font-size: 22px; letter-spacing: .12em; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-b); box-shadow: 0 0 10px var(--red-b); animation: ctpBlink 2.4s ease-in-out infinite; }
@keyframes ctpBlink { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { padding: 10px 20px; background: var(--red); color: #fff; border-radius: 99px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--red-b); transform: translateY(-1px); }
.nav-toggle { display: none; }
.nav-burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--border2); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 820px) {
  .nav-burger { display: flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; background: rgba(10,4,7,.97); border-bottom: 1px solid var(--border); margin: 0; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-links .nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-inner > .nav-cta { display: none; }
}
@media (min-width: 821px) { .nav-links .nav-cta { display: none; } }

/* ── Buttons & badges ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 99px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px var(--red-glow); }
.btn-primary:hover { background: var(--red-b); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--border2); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); }
.app-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; background: #000; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; color: #fff; text-decoration: none; min-width: 160px; transition: transform .2s, border-color .2s; }
.app-badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.5); }
.app-badge-icon { font-size: 24px; line-height: 1; }
.app-badge-text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.app-badge-sub { font-size: 10px; opacity: .75; letter-spacing: .04em; }
.app-badge-name { font-size: 17px; font-weight: 600; }

/* ── Page hero (sub pages) ───────────────────────── */
.page-hero { position: relative; z-index: 1; padding: 64px 0 48px; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% -20%, rgba(126,31,16,.45) 0%, rgba(126,31,16,0) 55%), linear-gradient(180deg, #160910 0%, var(--dark) 100%); }
.page-hero .hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red-b); margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(38px, 7vw, 68px); margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.breadcrumb { font-size: 13px; color: var(--muted2); display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ── Stats strip ─────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 8px auto 0; max-width: 900px; }
.stat { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 16px; text-align: center; }
.stat-val { font-family: var(--serif); font-size: 30px; color: #fff; line-height: 1; }
.stat-val small { font-size: 16px; color: var(--muted); }
.stat-lbl { font-size: 12px; color: var(--muted2); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* ── Cards ───────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--dark3); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; transition: transform .25s, border-color .25s; position: relative; }
.card:hover { transform: translateY(-3px); border-color: var(--border2); }
.card-icon { font-size: 30px; margin-bottom: 14px; line-height: 1; }
.card h3 { font-size: 19px; }
.card p { font-size: 15px; color: var(--muted); }
.card a { color: #ffb398; }
a.card { text-decoration: none; color: inherit; display: block; }
.card-link::after { content: '→'; position: absolute; right: 22px; top: 22px; color: var(--red-b); font-size: 18px; transition: transform .2s; }
.card-link:hover::after { transform: translateX(4px); }
/* legacy aliases used by older pages */
.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.usecase { background: var(--dark3); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; }
.usecase-icon { font-size: 30px; margin-bottom: 14px; line-height: 1; }
.usecase h3 { font-size: 19px; }
.usecase p { font-size: 15px; color: var(--muted); }

/* ── Station chips ───────────────────────────────── */
.stations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 24px; }
.station-chip { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px; }
.station-chip-icon { font-size: 22px; line-height: 1; }
.station-chip-name { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.25; }
.station-chip-type { font-size: 11px; color: var(--muted2); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }

/* ── Map block ───────────────────────────────────── */
.map-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border2); background: var(--dark3); margin-top: 24px; }
.map { height: 420px; width: 100%; background: #140912; }
.map-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: var(--muted); font-size: 14px; pointer-events: none; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); background: rgba(0,0,0,.25); }
.map-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.map-legend .lg-field::before { background: rgba(168,41,24,.35); border: 1px solid var(--red-b); }
.map-legend .lg-start::before { background: var(--gold); }
.map-legend .lg-station::before { background: #fff; }
.ctp-pin { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--red-b); box-shadow: 0 0 8px rgba(0,0,0,.6); }
.ctp-start { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 14px rgba(224,179,90,.7); }
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content-wrapper { background: #1a0d1e; color: #fff; border-radius: 10px; border: 1px solid var(--border2); }
.leaflet-popup-tip { background: #1a0d1e; }
.leaflet-control-attribution { background: rgba(0,0,0,.6) !important; color: #aaa !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: #ddd !important; }
@media (max-width: 640px) { .map { height: 320px; } }

/* ── FAQ ─────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: #fff; font: inherit; font-weight: 600; font-size: 17px; padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-arrow { color: var(--red-b); font-size: 22px; transition: transform .25s; flex-shrink: 0; }
.faq-a { display: none; padding: 0 0 22px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }

/* ── City link pills ─────────────────────────────── */
.cities-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.city-link { padding: 9px 16px; background: var(--dark3); border: 1px solid var(--border); border-radius: 99px; font-size: 14px; color: rgba(255,255,255,.8); text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.city-link:hover { border-color: var(--red-b); color: #fff; transform: translateY(-1px); }
.city-link small { color: var(--muted2); margin-left: 6px; font-size: 12px; }

/* ── Hub (city overview) ─────────────────────────── */
.region { margin-top: 34px; }
.region h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font); font-weight: 700; margin-bottom: 10px; }
.citymap { position: relative; width: 100%; max-width: 560px; margin: 0 auto 10px; aspect-ratio: 9 / 11; }
.citymap svg { width: 100%; height: 100%; }
.citymap circle { fill: var(--red-b); stroke: rgba(255,255,255,.7); stroke-width: .6; }
.citymap text { fill: rgba(240,232,238,.75); font-size: 4.2px; font-family: var(--font); }
.citymap .big circle { fill: var(--gold); }
.citymap .big text { fill: #fff; font-weight: 600; font-size: 4.8px; }

/* ── Steps / timeline ────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--dark3); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px 22px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 18px; right: 20px; font-family: var(--serif); font-size: 26px; color: rgba(255,255,255,.12); }
.step-icon { font-size: 28px; margin-bottom: 12px; }
.step h3 { font-size: 18px; }
.step p { font-size: 14px; color: var(--muted); }

/* ── Trust row ───────────────────────────────────── */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 13px; color: var(--muted); }
.trust span::before { content: '✓'; color: var(--gold); margin-right: 6px; font-weight: 700; }

/* ── CTA & footer ────────────────────────────────── */
.cta-section { position: relative; z-index: 1; text-align: center; padding: 80px 24px; background: radial-gradient(ellipse at 50% 120%, rgba(126,31,16,.5) 0%, rgba(126,31,16,0) 60%), var(--dark2); border-top: 1px solid var(--border); }
.cta-section h2 { font-size: clamp(30px, 5vw, 48px); }
.cta-section p { color: var(--muted); margin: 0 auto 30px; max-width: 560px; }
footer { position: relative; z-index: 1; background: var(--dark); border-top: 1px solid var(--border); padding: 56px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--display); font-size: 24px; letter-spacing: .12em; color: #fff; margin-bottom: 10px; }
.footer-brand-sub { color: var(--muted2); font-size: 13px; max-width: 32ch; }
footer h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted2); margin-bottom: 12px; font-weight: 700; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--muted2); font-size: 12px; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } section { padding: 56px 0; } }

/* ── Reveal (progressive enhancement) ───────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* ── Phone mockups (real app screenshots in a CSS device) ─────────── */
.phone { --w: 260px; position: relative; width: var(--w); aspect-ratio: 676 / 1495; border-radius: calc(var(--w) * .16); background: #0b0709; padding: calc(var(--w) * .028);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.14), 0 30px 60px -20px rgba(0,0,0,.9), 0 0 60px -10px var(--red-glow); flex-shrink: 0; }
.phone::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 30%, rgba(255,255,255,0) 60%, rgba(255,255,255,.08) 100%); pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1.5px; }
.phone::after { content: ''; position: absolute; left: calc(50% - var(--w) * .115); top: calc(var(--w) * .055); width: calc(var(--w) * .23); height: calc(var(--w) * .066); border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); z-index: 3; }
.phone-btn { position: absolute; width: 3px; border-radius: 2px; background: #1b1316; box-shadow: 0 0 0 .5px rgba(255,255,255,.12); }
.phone-btn.vol1 { left: -3px; top: 22%; height: 7%; } .phone-btn.vol2 { left: -3px; top: 31%; height: 7%; } .phone-btn.pwr { right: -3px; top: 25%; height: 11%; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: #12080a; z-index: 1; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; perspective: 1600px; margin: 48px auto 0; padding: 20px 0 10px; }
.phone-stage .phone { --w: 240px; }
.phone-stage .phone.center { --w: 270px; z-index: 2; transform: translateY(-8px); }
.phone-stage .phone.left  { transform: translateX(34px) rotateY(26deg) rotateZ(-3deg) scale(.92); transform-origin: right center; filter: brightness(.82); }
.phone-stage .phone.right { transform: translateX(-34px) rotateY(-26deg) rotateZ(3deg) scale(.92); transform-origin: left center; filter: brightness(.82); }
.phone-stage .phone.left:hover, .phone-stage .phone.right:hover { filter: brightness(1); }
.phone-stage .phone { transition: transform .5s ease, filter .3s; }
@media (max-width: 760px) { .phone-stage .phone { --w: 150px; } .phone-stage .phone.center { --w: 190px; } .phone-stage .phone.left { transform: translateX(22px) rotateY(26deg) scale(.9); } .phone-stage .phone.right { transform: translateX(-22px) rotateY(-26deg) scale(.9); } }
@media (max-width: 420px) { .phone-stage .phone.left, .phone-stage .phone.right { display: none; } .phone-stage .phone.center { --w: 220px; } }
.phone.tilt { transform: rotateY(-18deg) rotateX(5deg) rotateZ(2deg); }
.phone.tilt-l { transform: rotateY(18deg) rotateX(5deg) rotateZ(-2deg); }
.phone-wrap { perspective: 1400px; display: flex; justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .phone.float { animation: ctpFloat 6s ease-in-out infinite; } @keyframes ctpFloat { 0%,100% { translate: 0 0 } 50% { translate: 0 -10px } } }
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; text-align: left; }
.hero-split .page-hero-text p { margin-left: 0; }
.hero-split .breadcrumb, .hero-split .app-badges { justify-content: flex-start; }
.hero-split .phone-wrap { justify-content: flex-end; }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; text-align: center; } .hero-split .breadcrumb, .hero-split .app-badges, .hero-split .phone-wrap { justify-content: center; } .hero-split .page-hero-text p { margin-left: auto; } .hero-split .phone { --w: 200px; } }
.phone-caption { text-align: center; font-size: 13px; color: var(--muted2); margin-top: 16px; }

/* ── Explainer video ─────────────────────────────── */
.video-wrap { position: relative; max-width: 960px; margin: 32px auto 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border2); background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 80px -20px var(--red-glow); aspect-ratio: 16 / 9; }
.video-wrap video { width: 100%; height: 100%; display: block; background: #000; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(8,3,5,.1), rgba(8,3,5,.55)); border: 0; cursor: pointer; width: 100%; }
.video-play span { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px 16px 20px; border-radius: 99px; background: rgba(126,31,16,.92); color: #fff; font: 600 16px/1 var(--font); box-shadow: 0 10px 30px var(--red-glow); transition: transform .2s, background .2s; }
.video-play:hover span { transform: scale(1.04); background: var(--red-b); }
.video-play i { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.video-wrap.playing .video-play { display: none; }
.video-meta { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 16px; font-size: 13px; color: var(--muted2); }
