/* Kurvenbande website: night look of the app icon by default, a day look like the app's day assets.
   The theme follows the visitor's local time and can be switched (data-theme on <html>). */
:root {
  --bg: #0a0e0b;
  --bg-2: #101611;
  --card: #151c16;
  --card-2: #1b241c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1f5ee;
  --muted: #9aa59b;
  --neon: #c7ff00;
  --neon-dim: #8fb800;
  --neon-glow: rgba(199, 255, 0, 0.28);
  --radius: 22px;
  --max: 1160px;
  --header-bg: rgba(10, 14, 11, 0.72);
  --body-text: #d5dcd3;
  --band-text: #c9d1c8;
  --band-fade: linear-gradient(90deg, rgba(10, 14, 11, 0.96) 0%, rgba(10, 14, 11, 0.75) 45%, rgba(10, 14, 11, 0.2) 100%);
  --band-image: url("assets/hero-road.jpg");
  --phone-frame: linear-gradient(160deg, #2a332b, #0d120e);
  --accent-text: var(--neon);
  color-scheme: dark;
}

/* Day: light background, readable dark-olive accent for text (the app's kbReadableNeon), neon stays for buttons. */
[data-theme="day"] {
  --bg: #f4f6f0;
  --bg-2: #ffffff;
  --card: #ffffff;
  --card-2: #eef2e8;
  --line: rgba(18, 26, 20, 0.1);
  --text: #121a14;
  --muted: #5d685e;
  --neon-glow: rgba(150, 200, 0, 0.35);
  --header-bg: rgba(244, 246, 240, 0.8);
  --body-text: #2c352d;
  --band-text: #2c352d;
  --band-fade: linear-gradient(90deg, rgba(244, 246, 240, 0.97) 0%, rgba(244, 246, 240, 0.82) 45%, rgba(244, 246, 240, 0.15) 100%);
  --band-image: url("assets/hero-road-day.jpg");
  --phone-frame: linear-gradient(160deg, #3a443b, #141a15);
  --accent-text: #5a7a00;
  color-scheme: light;
}
.day-only { display: none !important; }
[data-theme="day"] .day-only { display: block !important; }
[data-theme="day"] .night-only { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  transition: background-color .35s ease, color .35s ease;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span b { color: var(--accent-text); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1px solid var(--line); color: var(--text); background: var(--card);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-neon { background: var(--neon); color: #0b1100; border-color: transparent; box-shadow: 0 10px 40px var(--neon-glow); }
.btn-neon:hover { box-shadow: 0 14px 50px rgba(199, 255, 0, 0.4); }
.btn small { font-weight: 600; opacity: .75; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(199, 255, 0, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(199, 255, 0, 0.1); color: var(--accent-text); font-size: 14px; font-weight: 700;
  border: 1px solid rgba(199, 255, 0, 0.25);
}
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--neon); text-shadow: 0 0 40px var(--neon-glow); }
[data-theme="day"] h1 em { color: var(--accent-text); text-shadow: none; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Phone mockups */
.phone {
  position: relative; width: 100%; max-width: 320px; margin-inline: auto;
  padding: 10px; border-radius: 48px;
  background: var(--phone-frame);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 80px rgba(199, 255, 0, 0.12);
}
.phone img { border-radius: 38px; width: 100%; height: auto; aspect-ratio: 505 / 1100; clip-path: inset(4px round 36px); }
.hero .phone { transform: rotate(3deg); }

/* Sections */
section { padding: 90px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.kicker { color: var(--accent-text); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: rgba(199, 255, 0, 0.35); transform: translateY(-2px); }
.feature .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(199, 255, 0, 0.12); color: var(--accent-text); margin-bottom: 16px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Full-bleed road band */
.band { position: relative; padding: 130px 0; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background: var(--band-fade), var(--band-image) center 70% / cover no-repeat;
}
.band .wrap { position: relative; }
.band h2 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; max-width: 13em; margin: 0 0 18px; }
.band p { color: var(--band-text); font-size: 19px; max-width: 32em; margin: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 36px; }
.stats div strong { display: block; font-size: 38px; color: var(--accent-text); line-height: 1; }
.stats div span { color: var(--muted); font-size: 15px; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.screens figure { margin: 0; }
.screens figcaption { text-align: center; margin-top: 18px; color: var(--muted); font-size: 15px; }
.screens figcaption b { display: block; color: var(--text); font-size: 17px; }
.screens figure:nth-child(2) { margin-top: 40px; }

.privacy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: radial-gradient(120% 120% at 0% 0%, rgba(199, 255, 0, 0.08), transparent 55%), var(--card);
  border: 1px solid var(--line); border-radius: 30px; padding: 50px;
}
.privacy h2 { font-size: clamp(28px, 3.5vw, 40px); margin: 10px 0 14px; letter-spacing: -0.02em; line-height: 1.1; }
.privacy p { color: var(--muted); margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--neon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1100' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.final { text-align: center; }
.final img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 20px 60px var(--neon-glow); }
.final h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; letter-spacing: -0.02em; }
.final p { color: var(--muted); margin: 0 auto 28px; max-width: 30em; font-size: 19px; }
.final .cta { justify-content: center; }

/* Text pages (legal, support) */
.page { padding: 70px 0 90px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin: 0 0 10px; }
.page .sub { color: var(--muted); margin: 0 0 40px; font-size: 18px; }
.page h2 { font-size: 21px; margin: 38px 0 10px; }
.page p { color: var(--body-text); margin: 0 0 14px; }
.page ul { color: var(--body-text); margin: 0 0 14px; padding-left: 22px; }
.page .note { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; color: var(--muted); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0 30px; }
.cards .feature h3 { margin-top: 0; }

/* Day/night switch and the short hint on arrival */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.theme-toggle:hover { border-color: rgba(199, 255, 0, 0.5); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { color: #e0a800; }
.theme-toggle .moon { color: var(--neon); }
[data-theme="day"] .theme-toggle .moon, :root:not([data-theme="day"]) .theme-toggle .sun { display: none; }
.theme-hint {
  position: fixed; top: 76px; right: 20px; z-index: 20; max-width: 300px;
  padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.45;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.theme-hint.show { opacity: 1; transform: none; }
.theme-hint b { color: var(--accent-text); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding-top: 60px; }
  .hero .wrap, .privacy { grid-template-columns: 1fr; }
  .hero .phone { transform: none; max-width: 280px; }
  .features { grid-template-columns: 1fr 1fr; }
  .screens { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .screens figure:nth-child(2) { margin-top: 0; }
  .privacy { padding: 32px; }
  .nav { gap: 16px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .features, .cards { grid-template-columns: 1fr; }
  .nav a.hide-small { display: none; }
  section { padding: 64px 0; }
  .band { padding: 90px 0; }
}
@media (max-width: 430px) {
  .theme-label { display: none; }
  .theme-toggle { padding: 0 9px; }
  .nav a { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Motion: reveals, hero, demos ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }
.phone.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-12px); } }
@media (max-width: 900px) { @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } }
h1 .underline { position: relative; display: inline-block; }
h1 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em; border-radius: 999px;
  background: linear-gradient(90deg, var(--neon), transparent); transform-origin: left; transform: scaleX(0);
  animation: draw 1.1s .5s cubic-bezier(.2,.7,.2,1) forwards; opacity: .7;
}
@keyframes draw { to { transform: scaleX(1); } }

/* Demo rows */
.demos .wrap { display: grid; gap: 34px; }
.demo {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center;
  background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); border-radius: 30px; padding: 40px;
}
.demo.flip { grid-template-columns: 320px 1fr; }
.demo.flip .demo-text { order: 2; }
.demo h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.12; margin: 8px 0 12px; }
.demo p { color: var(--muted); margin: 0 0 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--body-text); font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon-glow); flex: none; }

/* Mini phone */
.mini { width: 100%; max-width: 280px; margin-inline: auto; padding: 9px; border-radius: 42px; background: var(--phone-frame);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.screen { position: relative; aspect-ratio: 9 / 18; border-radius: 34px; overflow: hidden; background: #0d1210; color: #fff;
  font-size: 12px; line-height: 1.3; }
.screen .map { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Real map of the app (Eifel pilot package, rendered by MapLibre in an Xcode preview: WebsiteMapPreview.swift) */
.screen .map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nav-screen, .live-screen { background: #ece9e1; }
.route-casing { stroke: #fff; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.route { stroke: #1f61db; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.rider-ring { fill: rgba(199, 255, 0, 0.3); }
.rider-arrow { fill: var(--neon); stroke: #1a1f1b; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(199, 255, 0, 0.9)); }
.turn { position: absolute; top: 14px; left: 12px; right: 12px; display: flex; gap: 12px; align-items: center; padding: 12px 14px;
  border-radius: 16px; background: rgba(23, 26, 28, 0.94); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.turn b { display: block; font-size: 22px; line-height: 1; color: #fff; min-width: 70px; }
.turn span.turn-street { display: block; margin-top: 4px; color: #e8ece6; font-weight: 600; }
.turn-arrow { width: 34px; height: 34px; flex: none; background: var(--neon);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21V11a4 4 0 0 0-4-4H5'/%3E%3Cpath d='M9 3 5 7l4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21V11a4 4 0 0 0-4-4H5'/%3E%3Cpath d='M9 3 5 7l4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .4s ease; }
.turn-arrow.right { transform: scaleX(-1); }
.curve-warn { position: absolute; top: 86px; left: 50%; transform: translate(-50%, -8px); padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 149, 0, 0.95); color: #fff; font-weight: 700; font-size: 12px; opacity: 0; transition: opacity .3s, transform .3s; white-space: nowrap; }
.curve-warn.show { opacity: 1; transform: translate(-50%, 0); }
.speed { position: absolute; right: 12px; bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.speed-limit { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; font-weight: 800; display: grid; place-items: center;
  box-shadow: inset 0 0 0 5px #d91a1a; font-size: 14px; }
.speed-now { min-width: 30px; text-align: center; padding: 3px 6px; border-radius: 7px; background: #1a1d1f; color: #fff; font-weight: 700; font-size: 13px; }
.arrive { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 9px 12px 11px; border-radius: 14px; background: rgba(23, 26, 28, 0.94); font-weight: 700; color: #fff; overflow: hidden; }
.arrive i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--neon); width: 0; }

/* Chat */
.chat-screen { background: #0f1412; display: flex; flex-direction: column; }
.chat-head { display: flex; gap: 10px; align-items: center; padding: 18px 14px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.chat-head .dot { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #3b5a1e, #c7ff00); }
.chat-head b { display: block; font-size: 13px; }
.chat-head span { color: #9aa59b; font-size: 11px; }
.chat-body { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; overflow: hidden; }
.bubble { max-width: 82%; padding: 8px 11px; border-radius: 14px 14px 14px 4px; background: #1f2622; color: #eef2ea; font-size: 12px;
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.bubble.show { opacity: 1; transform: none; }
.bubble em { display: block; font-style: normal; font-size: 10px; color: #9aa59b; margin-bottom: 2px; }
.bubble.mine { align-self: flex-end; background: var(--neon); color: #0b1100; border-radius: 14px 14px 4px 14px; }
.bubble.team { border: 1px solid rgba(199, 255, 0, 0.4); }
.bubble.team em { color: var(--neon); }
.typing { display: flex; gap: 4px; align-self: flex-end; padding: 8px 10px; border-radius: 12px; background: rgba(199, 255, 0, 0.25); opacity: 0; transition: opacity .25s; }
.typing.left { align-self: flex-start; background: #1f2622; }
.typing.show { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-input { margin: 0 10px 14px; padding: 9px 12px; border-radius: 999px; background: #1a211c; color: #7f8a80; display: flex; justify-content: space-between; align-items: center; }
.chat-input b { color: var(--neon); }

/* Offline */
.offline-screen { background: #0f1412; padding: 18px 12px; display: flex; flex-direction: column; gap: 9px; }
.offline-head b { display: block; font-size: 16px; }
.offline-head span { color: #9aa59b; font-size: 11px; }
.pack { display: grid; grid-template-columns: 26px 1fr auto 18px; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 14px; background: #171d19; }
.pack .flag { font-size: 18px; }
.pack b { display: block; font-size: 12px; }
.pack .bar { display: block; height: 4px; margin-top: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.pack .bar i { display: block; height: 100%; width: 0; background: var(--neon); border-radius: 999px; }
.pack .size { color: #9aa59b; font-size: 11px; }
.pack .check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); transition: all .3s; }
.pack.done .check { border-color: var(--neon); background: var(--neon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1100' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pack.done .size { color: var(--neon); }
.pack.loading .bar i { box-shadow: 0 0 10px var(--neon-glow); }
.plane-note { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(199, 255, 0, 0.12); border: 1px solid rgba(199, 255, 0, 0.35);
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.plane-note.show { opacity: 1; transform: none; }
.plane-note > span { font-size: 20px; color: var(--neon); }
.plane-note b { display: block; font-size: 12px; }
.plane-note span span { color: #c9d1c8; font-size: 11px; }

/* Live */
.lane { stroke: none; }
.friend .pulse { fill: rgba(199, 255, 0, 0.25); animation: pulse 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.friend:nth-child(odd) .pulse { animation-delay: 1s; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.friend .pin { fill: var(--neon); stroke: #1a1f1b; stroke-width: 3; }
.friend .pin.alt { fill: #5ad1ff; }
.friend text { fill: #121a14; font-size: 11px; font-weight: 800; text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.live-chip { position: absolute; top: 16px; left: 12px; display: flex; gap: 8px; align-items: center; padding: 7px 11px; border-radius: 999px; background: rgba(23, 26, 28, 0.94); font-weight: 700; font-size: 12px; }
.live-chip i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: blink 1.6s infinite; }
.live-card { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 10px 12px; border-radius: 14px; background: rgba(23, 26, 28, 0.94); }
.live-card b { display: block; font-size: 13px; }
.live-card span { color: #9aa59b; font-size: 11px; }

[data-theme="day"] .mini { box-shadow: 0 30px 70px rgba(18, 26, 20, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06); }
[data-theme="day"] .chat-screen, [data-theme="day"] .offline-screen { background: #f2f2f7; color: #121a14; }
[data-theme="day"] .chat-head { border-bottom-color: rgba(0, 0, 0, 0.08); }
[data-theme="day"] .chat-head span, [data-theme="day"] .offline-head span, [data-theme="day"] .bubble em, [data-theme="day"] .pack .size { color: #6b746c; }
[data-theme="day"] .bubble { background: #fff; color: #121a14; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
[data-theme="day"] .bubble.mine { background: var(--neon); color: #0b1100; }
[data-theme="day"] .bubble.team { border-color: rgba(90, 122, 0, 0.5); }
[data-theme="day"] .bubble.team em { color: #5a7a00; }
[data-theme="day"] .typing.left { background: #fff; }
[data-theme="day"] .typing i { background: #5a7a00; }
[data-theme="day"] .chat-input { background: #fff; color: #8a948b; }
[data-theme="day"] .chat-input b { color: #5a7a00; }
[data-theme="day"] .pack { background: #fff; }
[data-theme="day"] .pack .bar { background: rgba(0, 0, 0, 0.08); }
[data-theme="day"] .pack .check { border-color: rgba(0, 0, 0, 0.15); }
[data-theme="day"] .pack.done .size { color: #5a7a00; }
[data-theme="day"] .plane-note { background: rgba(199, 255, 0, 0.22); border-color: rgba(90, 122, 0, 0.4); }
[data-theme="day"] .plane-note > span { color: #5a7a00; }
[data-theme="day"] .plane-note span span { color: #3d473e; }

@media (max-width: 900px) {
  .demo, .demo.flip { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
  .demo.flip .demo-text { order: 0; }
  .mini { max-width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .phone.float, h1 .underline::after, .typing i, .friend .pulse, .live-chip i { animation: none; }
  h1 .underline::after { transform: none; }
}
