/* JW Pocket website — classic blue on deep navy gradients. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --blue: #4a6da7;          /* classic blue */
  --blue-500: #5a82c4;
  --blue-400: #7aa0dc;
  --blue-300: #a4c2f0;
  --ink: #060b16;
  --navy-950: #070d1a;
  --navy-900: #0b1426;
  --navy-850: #0e1a31;
  --navy-800: #12213e;
  --navy-700: #1a2e54;
  --text: #e9effb;
  --muted: #9cadcb;
  --dim: #6f82a5;
  --line: rgba(164, 194, 240, 0.12);
  --line-strong: rgba(164, 194, 240, 0.22);
  --card: linear-gradient(180deg, rgba(26, 46, 84, 0.55), rgba(14, 26, 49, 0.55));
  --radius: 22px;
  /* Vertical rhythm: every section gets half of --sy above and below, so the gap between
     any two sections is exactly --sy. */
  --sy: 112px;
  --head-gap: 48px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-device: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(164, 194, 240, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--blue-300); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font-body);
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn svg { font-size: 18px; stroke-width: 2.2; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-500), var(--blue));
  box-shadow: 0 10px 30px -10px rgba(74, 109, 167, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(90, 130, 196, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ghost { color: var(--text); background: rgba(164, 194, 240, 0.06); border-color: var(--line-strong); }
.btn-ghost:hover { color: #fff; background: rgba(164, 194, 240, 0.12); border-color: rgba(164, 194, 240, 0.4); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 13, 26, 0.6);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7, 13, 26, 0.82); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 800 18px/1 var(--font-head); letter-spacing: -0.01em; }
.brand img { border-radius: 9px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.brand:hover { color: #fff; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu ul a { display: block; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-menu ul a:hover { color: #fff; background: rgba(164, 194, 240, 0.08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 10px; border-radius: 999px; }
.icon-link svg { font-size: 20px; }
.icon-link-label { display: none; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; padding: 64px 0 24px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(74, 109, 167, 0.42), transparent 70%),
    radial-gradient(45% 45% at 10% 0%, rgba(74, 109, 167, 0.22), transparent 70%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(164, 194, 240, 0.035) 0 1px, transparent 1px 28px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-glow { position: absolute; width: 620px; height: 620px; right: -120px; top: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(122, 160, 220, 0.28), transparent 65%); filter: blur(20px); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  color: var(--blue-300); background: rgba(74, 109, 167, 0.16); border: 1px solid rgba(122, 160, 220, 0.28);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fd39b; box-shadow: 0 0 0 4px rgba(111, 211, 155, 0.18); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; margin: 22px 0 20px; letter-spacing: -0.035em; }
.grad { background: linear-gradient(100deg, #cfe0ff 0%, var(--blue-400) 45%, #5a82c4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 560px; }
.lead strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 30px 0 0; padding: 0; color: var(--muted); font-size: 14.5px; }
.platforms li { display: inline-flex; align-items: center; gap: 8px; }
.platforms svg { font-size: 19px; color: var(--blue-400); }
.platforms em { color: var(--dim); font-style: normal; }

/* Devices */
/* Phone: metal rim, thin black bezel, round corners, side buttons. --ratio is width / height,
   so the elliptical percentages below always draw circular corners. */
.phone {
  --ratio: 0.46;
  position: relative; aspect-ratio: 1206 / 2622; margin: 0;
  padding: 1.2%;
  border: 1.5px solid transparent;
  border-radius: 15.5% / calc(15.5% * var(--ratio));
  background:
    linear-gradient(#050608, #050608) padding-box,
    linear-gradient(150deg, #6b768c 0%, #262c3a 22%, #171b25 50%, #2b3242 78%, #5d687e 100%) border-box;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 50px 90px -30px rgba(0, 0, 0, 0.85),
    0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #4a5468, #232937); }
.phone::before { right: -4px; top: 24%; height: 10%; }
.phone::after { left: -4px; top: 18%; height: 15%; background: linear-gradient(180deg, #3d4659 0 44%, transparent 44% 56%, #3d4659 56% 100%); }
.phone img {
  width: 100%; height: 100%; object-fit: cover; background: #000;
  border-radius: 14.6% / calc(14.6% * var(--ratio));
}
.tv { margin: 0; position: relative; }
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  border: 9px solid #0a0e18; background: #000;
  box-shadow: var(--shadow-device), 0 0 0 1px rgba(164, 194, 240, 0.14);
}
.tv-screen img { width: 100%; height: 100%; object-fit: cover; }
.tv::after { content: ""; display: block; width: 26%; height: 10px; margin: 0 auto; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #0f1525, #070a12); }

.hero-devices { position: relative; aspect-ratio: 1 / 0.86; }
.hero-tv { position: absolute; right: 0; top: 4%; width: 92%; }
.hero-phone-a { position: absolute; left: 2%; bottom: 0; width: 32%; z-index: 2; transform: rotate(-4deg); }
.hero-phone-b { position: absolute; left: 30%; bottom: -6%; width: 29%; z-index: 3; transform: rotate(3deg); }

/* Highlights: four big figures in an open strip with hairline dividers */
.highlights {
  list-style: none; margin: 64px 0 0; padding: 34px 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.highlights li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 20px; }
.highlights li + li { border-left: 1px solid var(--line); }
.hl-fig {
  font: 800 clamp(24px, 2.5vw, 30px)/1.1 var(--font-head); letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 10%, var(--blue-400) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.highlights li > span { max-width: 230px; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; text-wrap: balance; }

/* Note: the JW Library question as a short chat exchange */
.note-band { padding: calc(var(--sy) / 2) 0 0; }
.chat { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; }
.bubble-q {
  justify-self: end; max-width: 85%; padding: 13px 20px;
  border-radius: 22px 22px 6px 22px; font-size: 17px; color: var(--text);
  background: rgba(164, 194, 240, 0.08); border: 1px solid var(--line-strong);
}
.bubble-a {
  justify-self: start; padding: 28px 30px 30px;
  border-radius: 24px 24px 24px 6px;
  background: linear-gradient(160deg, #1a2e54, #0e1a31 70%);
  border: 1px solid rgba(122, 160, 220, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -34px rgba(74, 109, 167, 0.9);
}
.note-title { font-size: clamp(23px, 2.8vw, 29px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.note-a { font-size: 16.5px; color: var(--muted); }
.ticks.note-ticks { grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 40px; margin-top: 22px; }
.ticks.note-ticks li { font-size: 15px; padding-left: 32px; }
.ticks.note-ticks li::before { top: 0; }

/* Sections */
.section { padding: calc(var(--sy) / 2) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--head-gap); }
.section-head.left { text-align: left; margin: 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.sub { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 12px 12px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, #111c33, #0b1427);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 44px -28px rgba(0, 0, 0, 0.75);
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card > h3 { font-size: 18.5px; font-weight: 700; margin: 0 12px 8px; }
.card > p { color: var(--muted); font-size: 15px; margin: 0 12px; }
.card-unique { border-color: rgba(122, 160, 220, 0.38); background: linear-gradient(180deg, #16264a, #0c162c); }
.badge { align-self: flex-start; margin: 0 12px 10px; font: 700 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; color: #dbe7fb; background: rgba(74, 109, 167, 0.35); border: 1px solid rgba(122, 160, 220, 0.4); }

/* Little interface previews at the top of each feature card */
.vig {
  height: 136px; margin-bottom: 20px; padding: 16px;
  display: grid; place-items: center;
  border-radius: 14px; background: #060b16;
  border: 1px solid rgba(164, 194, 240, 0.07);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.55);
  font-size: 13px; color: var(--text);
}
.vig svg { stroke-width: 2; }
.v-resume { width: 100%; display: grid; gap: 10px; }
.v-thumb { position: relative; height: 66px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #3a5a94, #1a2c52 55%, #101c36); }
.v-playbtn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; color: #0b1427; background: rgba(255, 255, 255, 0.92); }
.v-playbtn svg { grid-area: 1 / 1; }
.v-playbtn .i-play { margin-left: 2px; }
.v-playbtn .i-pause { opacity: 0; }
.v-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.2); }
.v-prog span { display: block; width: 62%; height: 100%; background: var(--blue-400); }
.v-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.v-cap b { font-weight: 600; font-size: 13px; }
.v-cap > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.v-lock { width: 100%; text-align: center; }
.v-clock { font: 300 30px/1 var(--font-body); letter-spacing: -0.02em; color: #dfe8f8; margin-bottom: 12px; }
.v-notif { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; text-align: left; background: rgba(164, 194, 240, 0.1); border: 1px solid rgba(164, 194, 240, 0.12); }
.v-notif img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.v-notif div { flex: 1; min-width: 0; line-height: 1.25; }
.v-notif b { display: block; font-size: 12.5px; font-weight: 600; }
.v-notif div > span { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-eq { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 8px; margin-right: 5px; }
.v-eq i { width: 2px; height: 45%; border-radius: 1px; background: var(--blue-400); }
.v-eq i:nth-child(2) { height: 100%; }
.v-eq i:nth-child(3) { height: 65%; }
.v-ctrls { display: flex; gap: 8px; font-size: 15px; color: #dfe8f8; }
.v-ctrls > span { display: grid; place-items: center; border-radius: 50%; }
.v-langs { width: 100%; display: grid; gap: 8px; }
.v-lang { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; background: rgba(164, 194, 240, 0.08); border: 1px solid rgba(164, 194, 240, 0.1); }
.v-lang svg { font-size: 16px; color: var(--blue-300); flex: none; }
.v-lang > span { color: var(--muted); font-size: 12px; }
.v-lang b { margin-left: auto; font-size: 13px; font-weight: 600; }
.v-lang:last-child { background: rgba(74, 109, 167, 0.25); border-color: rgba(122, 160, 220, 0.3); }
.v-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.v-chips > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: rgba(164, 194, 240, 0.08); border: 1px solid rgba(164, 194, 240, 0.12); }
.v-toggle i { width: 24px; height: 14px; border-radius: 99px; background: var(--blue-500); position: relative; }
.v-toggle i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

/* Preview motion: main.js adds .play to a card on hover (or when it scrolls into view on touch
   screens). A .tap element shows a press ripple at --t; a .roll swaps its text upward at --t. */
.tap { position: relative; }
.roll { display: inline-block; height: 1.3em; line-height: 1.3em; overflow: hidden; vertical-align: bottom; }
.roll-in { display: flex; flex-direction: column; }
.roll-in i { font-style: normal; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .card.play .tap::after, .card.play .tap.twice::before {
    content: ""; position: absolute; inset: -3px; border-radius: inherit; pointer-events: none;
    background: rgba(164, 194, 240, 0.22); box-shadow: 0 0 0 2px rgba(164, 194, 240, 0.6);
    animation: tap .7s var(--t, .3s) ease-out both;
  }
  .card.play .tap.twice::before { animation-delay: var(--t2); }
  .card.play .v-ctrls .tap::after { inset: -6px; }
  .card.play .roll-in { animation: roll1 .45s var(--t, .4s) cubic-bezier(.3, 1.4, .5, 1) both; }
  .card.play .roll.r2 .roll-in { animation: roll2 2.4s .1s ease both; }

  .card.play .i-play { animation: fade-out .15s .45s both; }
  .card.play .i-pause { animation: fade-in .15s .45s both; }
  .card.play .v-playbtn { animation: fade-out .5s 1.6s ease both; }
  .card.play .v-prog span { animation: prog 5s .5s linear both; }

  .card.play .v-clock { animation: fade-in .6s both; }
  .card.play .v-notif { animation: notif-in .55s .25s cubic-bezier(.2, .9, .3, 1.2) both; }
  .card.play .v-eq i { animation: eq .5s ease-in-out infinite alternate; }
  .card.play .v-eq i:nth-child(2) { animation-duration: .35s; animation-delay: -.2s; }
  .card.play .v-eq i:nth-child(3) { animation-duration: .6s; animation-delay: -.4s; }
}
@keyframes tap { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes roll1 { to { transform: translateY(-1.3em); } }
@keyframes roll2 { 0%, 16% { transform: none; } 24%, 62% { transform: translateY(-1.3em); } 70%, 100% { transform: translateY(-2.6em); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes prog { from { width: 62%; } to { width: 82%; } }
@keyframes notif-in { from { opacity: 0; transform: translateY(26px) scale(.94); } }
@keyframes eq { from { height: 25%; } to { height: 100%; } }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; color: var(--muted); background: rgba(164, 194, 240, 0.05); border: 1px solid var(--line); }

/* Spotlight split */
.section { isolation: isolate; }
.spotlight::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 50%; right: -8%; width: min(1100px, 95vw); height: 140%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(74, 109, 167, 0.30), rgba(74, 109, 167, 0.10) 55%, transparent);
}
.spotlight.alt::before { right: auto; left: -8%; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split.media-wide { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.split.media-wide.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split-copy .sub { margin-bottom: 26px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; color: var(--text); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(74, 109, 167, 0.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4c2f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid rgba(122, 160, 220, 0.35);
}
.split-media { position: relative; }
.phone-android { aspect-ratio: 1080 / 2400; --ratio: 0.45; }
.feature-phone { width: min(300px, 72%); margin: 0 auto; }
.tv-wide { width: 100%; }

/* Car display */
.car { margin: 0; padding: 14px; border-radius: 28px; background: linear-gradient(160deg, #1d2536, #07090f 60%, #151b28); box-shadow: var(--shadow-device), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.car-screen { container-type: inline-size; aspect-ratio: 1.95 / 1; border-radius: 16px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.car-screen > img { width: 100%; height: 100%; object-fit: cover; }
.aa { height: 100%; display: grid; grid-template-columns: 9cqw 1fr 26cqw; font-family: Roboto, var(--font-body); font-size: 2.6cqw; color: #e8eaed; background: #0f1115; }
.aa svg { stroke-width: 2; }
.aa-rail { display: flex; flex-direction: column; align-items: center; gap: 3.2cqw; padding: 3cqw 0; background: #050608; }
.aa-clock { font-size: 2.2cqw; font-weight: 500; color: #fff; margin-bottom: .6cqw; }
.aa-app { display: grid; place-items: center; width: 5.4cqw; height: 5.4cqw; border-radius: 50%; font-size: 2.9cqw; color: #9aa0a6; }
.aa-app.on { color: #fff; background: #2d3a52; }
.aa-main { display: flex; align-items: center; gap: 4cqw; padding: 0 4cqw; background: radial-gradient(90% 120% at 20% 50%, rgba(74, 109, 167, 0.45), transparent 70%), #0f1115; }
.aa-art { flex: none; width: 24cqw; aspect-ratio: 1; border-radius: 2.2cqw; overflow: hidden; box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .5); }
.aa-art img { width: 100%; height: 100%; }
.aa-info { flex: 1; min-width: 0; }
.aa-source { font-size: 1.9cqw; color: #9aa0a6; letter-spacing: .02em; }
.aa-title { font-size: 4cqw; font-weight: 600; color: #fff; line-height: 1.2; margin-top: .6cqw; }
.aa-sub { font-size: 2cqw; color: #bdc1c6; margin-top: .4cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa-bar { height: .7cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.18); margin: 2.6cqw 0 2.4cqw; overflow: hidden; }
.aa-bar span { display: block; width: 38%; height: 100%; background: #8ab4f8; border-radius: inherit; }
.aa-ctrls { display: flex; align-items: center; justify-content: space-between; max-width: 34cqw; font-size: 3.4cqw; color: #e8eaed; }
.aa-play { display: grid; place-items: center; width: 8cqw; height: 8cqw; border-radius: 50%; background: #8ab4f8; color: #0f1115; font-size: 3.6cqw; }
.aa-queue { padding: 3.4cqw 2.6cqw; background: #16191f; border-left: 1px solid rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: .4cqw; }
.aa-queue p { font-size: 2.1cqw; color: #e8eaed; padding: 1.3cqw 1.4cqw; border-radius: 1.2cqw; }
.aa-queue p:nth-child(2) { background: rgba(138, 180, 248, 0.14); }
.aa-queue .aa-q-head { font-size: 1.8cqw; color: #9aa0a6; text-transform: uppercase; letter-spacing: .08em; padding-bottom: .4cqw; }

/* Demo video (shown when one is set in site.config.json) */
.video-frame { position: relative; max-width: 980px; margin: 0 auto var(--head-gap); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-device); background: #000; }
.video-frame video, .video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-facade { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-badge { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--blue-500), var(--blue)); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); font-size: 34px; color: #fff; }
.play-badge svg { fill: currentColor; stroke: none; margin-left: 4px; }

/* Download */
.download-glow { position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 0; width: min(1200px, 100vw); height: 90%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(74, 109, 167, 0.32), rgba(74, 109, 167, 0.1) 55%, transparent); }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card {
  display: flex; flex-direction: column; gap: 22px;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26, 46, 84, 0.7), rgba(11, 20, 38, 0.8));
  border: 1px solid var(--line-strong);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.dl-card:hover { transform: translateY(-3px); border-color: rgba(122, 160, 220, 0.4); }
.dl-card.suggested { border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(74, 109, 167, 0.25), 0 30px 60px -30px rgba(74, 109, 167, 0.8); }
.dl-card.suggested::before { content: "Suggested for this device"; align-self: flex-start; margin: -8px 0 -8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-300); }
.dl-top { display: flex; gap: 16px; align-items: center; }
.dl-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 27px; color: #fff; background: linear-gradient(160deg, var(--blue-500), #2e4a7a); }
.dl-card h3 { font-size: 21px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.req { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tag { font: 700 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; color: #f3d48a; background: rgba(217, 166, 64, 0.16); border: 1px solid rgba(217, 166, 64, 0.35); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; flex: 1; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--blue-300); background: rgba(74, 109, 167, 0.22); border: 1px solid rgba(122, 160, 220, 0.3); }
.steps em { color: var(--text); font-style: normal; font-weight: 600; }
.short { font-size: 14px; color: var(--dim); text-align: center; margin-top: -8px; }
.short code { color: var(--blue-300); background: rgba(74, 109, 167, 0.18); padding: 3px 8px; border-radius: 6px; word-break: break-all; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: var(--radius-sm); background: rgba(164, 194, 240, 0.04); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.faq-list details[open] { background: rgba(74, 109, 167, 0.1); border-color: var(--line-strong); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 600; font-size: 16.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue-400); border-bottom: 2px solid var(--blue-400); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* Final CTA */
.final { padding: calc(var(--sy) / 2) 0 var(--sy); }
.final-inner {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 56px 24px; border-radius: 30px;
  background: radial-gradient(70% 90% at 50% 0%, rgba(90, 130, 196, 0.45), transparent 70%), linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line-strong);
}
.final-inner img { border-radius: 18px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); margin-bottom: 8px; }
.final h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.final p { color: var(--muted); font-size: 18px; margin-bottom: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); padding: 48px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.disclaimer { color: var(--dim); font-size: 14px; max-width: 520px; margin-top: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 36px; align-content: start; }
.footer-links a { color: var(--muted); font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer-bottom a { color: var(--muted); }

/* Reveal on scroll: driven by the scroll position itself, so content is never left hidden
   (browsers without scroll-driven animations simply show it). */
@keyframes reveal { from { transform: translateY(28px); } to { transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .lead { margin: 0 auto; }
  .cta-row, .platforms { justify-content: center; }
  .hero-devices { max-width: 720px; width: 100%; margin: 0 auto; }
  .split, .split.media-wide, .split.media-wide.reverse { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-copy { order: 0; }
  .split-copy { max-width: 680px; margin: 0 auto; }
  .split-media { max-width: 680px; width: 100%; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-head.left { text-align: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --sy: 88px; --head-gap: 40px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border-radius: 12px; cursor: pointer;
    background: rgba(164, 194, 240, 0.06); border: 1px solid var(--line);
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 24px 24px;
    background: rgba(7, 13, 26, 0.97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav-menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .nav-menu ul { flex-direction: column; gap: 2px; }
  .nav-menu ul a { font-size: 17px; padding: 12px 14px; border-radius: 12px; }
  .nav-actions { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
  .icon-link-label { display: inline; }
  .highlights { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .highlights li:nth-child(3) { border-left: 0; }
  .dl-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 640px) {
  :root { --sy: 72px; --head-gap: 32px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 44px 0 20px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .btn { width: 100%; }
  .hero-devices { aspect-ratio: 1 / 1.22; }
  .hero-tv { width: 100%; top: 0; }
  .hero-phone-a { width: 39%; left: 8%; bottom: 0; }
  .hero-phone-b { width: 36%; left: 52%; bottom: -3%; }
  .highlights { margin-top: 44px; padding: 26px 0; row-gap: 26px; }
  .highlights li { padding: 2px 10px; }
  .hl-fig { font-size: 21px; }
  .highlights li > span { font-size: 13.5px; margin-top: 8px; }
  .bubble-q { font-size: 16px; }
  .bubble-a { padding: 22px 20px 24px; }
  .note-a { font-size: 15.5px; }
  .ticks.note-ticks { grid-template-columns: 1fr; gap: 10px; }
  .sub { font-size: 16.5px; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 10px 10px 20px; }
  .vig { height: 124px; margin-bottom: 16px; }
  .card > h3 { font-size: 17.5px; }
  .chips { gap: 8px; margin-top: 22px; }
  .chips li { font-size: 13.5px; padding: 7px 13px; }
  .split { gap: 36px; }
  .feature-phone { width: 66%; }
  .car { padding: 8px; border-radius: 18px; }
  .car-screen { border-radius: 11px; }
  .dl-card { padding: 22px; }
  .final-inner { padding: 44px 20px; }
  .footer-grid { flex-direction: column; }
}
