/* ════════════════════════════════════════════════════════════════════════════
   NewsFlash — getnewsflash.app
   Frutiger Aero landing page. Sky gradients, glass panels, deep indigo ink,
   warm sunset brand mark.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  /* Sky stops */
  --sky-top: #75ceff;
  --sky-mid: #b8e8ff;
  --sky-bot: #f7fcff;

  /* Sun */
  --sun-core: #fff0a8;
  --sun-halo: #ffd975;

  /* Ink */
  --ink:        #1a247d;
  --ink-muted:  #4d6191;
  --ink-gloss:  #0d1a59;

  /* Brand sunset (bolt + gradient text accents) */
  --sunset-1: #fff6ad;
  --sunset-2: #ffd45c;
  --sunset-3: #fb8a57;
  --sunset-4: #ff667c;

  /* Affordance */
  --save: #33cc75;
  --skip: #f24d5c;
  --read: #458cf5;

  /* Source brand colors (approximations) */
  --c-reu: #ff8000;   /* Reuters */
  --c-bbc: #cf2222;   /* BBC red */
  --c-fox: #1d4e93;   /* Fox News blue */
  --c-aj:  #f3a01a;   /* Al Jazeera gold */
  --c-wsj: #25303d;   /* WSJ slate */
  --c-blo: #000000;   /* Bloomberg */
  --c-vrg: #4847ff;   /* The Verge */
  --c-tcr: #00d562;   /* TechCrunch */
  --c-esp: #d20a11;   /* ESPN */
  --c-npr: #d33636;
  --c-gua: #052962;   /* The Guardian dark navy */
  --c-pol: #e63414;   /* Politico red */
  --c-def: #173f3a;   /* Defector dark teal */
  --c-cbs: #033366;   /* CBS News */

  /* Radii */
  --r-card: 32px;
  --r-xl: 28px;
  --r-l: 22px;
  --r-m: 16px;
  --r-s: 12px;

  /* Shadows */
  --sh-card: 0 24px 60px -16px rgba(20, 35, 110, 0.32),
             0 6px 20px -8px rgba(20, 35, 110, 0.18);
  --sh-chip: 0 4px 10px -2px rgba(30, 50, 100, 0.18);
  --sh-bolt: 0 4px 22px rgba(255, 140, 60, 0.55),
             0 0 50px rgba(255, 200, 80, 0.45);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Avenir Next', Avenir, 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans:    'Inter', 'Avenir Next', Avenir, 'Helvetica Neue', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w: 1180px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--sky-bot);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ─── Custom bolt cursor ──────────────────────────────────────────────────
   Hotspot at (16, 16) — the visual mass-center of the bolt — so clicks register
   wherever the user naturally aims (middle of the lightning shape), not at
   the geometric tip. Interactive elements still get generous padding so even
   imprecise clicks land cleanly.                                              */
html, body { cursor: url('assets/bolt-cursor.svg') 16 16, default; }
a, button, [role="button"], .card, .cta, .nav__cta, .nav__brand, .footer__links a, .swipe-key, .modal__close, .modal__source {
  cursor: url('assets/bolt-cursor-pointer.svg') 20 20, pointer;
}
@media (hover: none), (pointer: coarse) {
  html, body, a, button, .cta, .card { cursor: auto; }
}

/* ─── Sky background (fixed under everything) ───────────────────────────── */
.sky {
  position: fixed; inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 80% -10%,  rgba(255, 217, 117, 0.55) 0%,  transparent 55%),
    radial-gradient(140% 90% at 12% 110%,  rgba(255, 156, 180, 0.18) 0%,  transparent 60%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 40%, var(--sky-bot) 100%);
  overflow: hidden;
}
.sky__sun {
  position: absolute;
  top: -180px; right: -160px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    var(--sun-core) 0%,
    var(--sun-halo) 35%,
    rgba(255, 217, 117, 0.30) 55%,
    transparent 75%);
  filter: blur(2px);
  pointer-events: none;
}
.sky__halo {
  position: absolute;
  top: 30%; left: 50%;
  width: 1400px; height: 1400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,0.45) 0%, transparent 70%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.2px);
  animation: drift 22s ease-in-out infinite;
  mix-blend-mode: screen;
}
.orb::after {
  content: "";
  position: absolute; inset: 12% 18% auto auto;
  width: 22%; height: 22%;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  filter: blur(2px);
}
.orb--1 { width: 220px; height: 220px; top: 12%;  left: 6%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, rgba(184,232,255,0.85) 40%, rgba(120,200,255,0.15) 70%, transparent 80%);
  animation-delay: -2s;
}
.orb--2 { width: 140px; height: 140px; top: 38%;  right: 12%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, rgba(255,217,177,0.85) 40%, rgba(255,150,140,0.15) 75%, transparent 85%);
  animation-delay: -8s;
}
.orb--3 { width: 90px;  height: 90px;  top: 70%;  left: 15%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, rgba(230,250,255,0.9) 45%, transparent 80%);
  animation-delay: -14s;
}
.orb--4 { width: 60px;  height: 60px;  top: 22%;  right: 32%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, rgba(184,232,255,0.85) 50%, transparent 85%);
  animation-delay: -18s;
}
.orb--5 { width: 180px; height: 180px; top: 86%;  right: 6%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, rgba(255,224,233,0.85) 40%, rgba(255,180,200,0.10) 75%, transparent 85%);
  animation-delay: -5s;
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px, -28px) scale(1.04); }
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  filter: blur(20px);
  pointer-events: none;
}
.cloud--1 { width: 380px; height: 90px; top: 8%;   left: 30%; }
.cloud--2 { width: 280px; height: 70px; top: 48%;  left: -60px; opacity: .8; }
.cloud--3 { width: 320px; height: 80px; top: 78%;  right: -40px; opacity: .65; }

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}

/* ─── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 28px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.15));
  border-bottom: 1px solid rgba(255,255,255,0.55);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-weight: 800; font-style: italic; font-size: 26px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
/* Text styling lives on the words (not .nav__brand) so the parent filter
   doesn't paint its dark outline around the bolt — mirrors .footer__word. */
.nav__word {
  display: inline-block;
  padding: 0.18em 0.16em 0.22em;
  margin: -0.18em -0.16em -0.22em;
  background: linear-gradient(180deg, #ffffff 0%, #f4faff 30%, #c8dded 65%, #6a96bd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Soft 0.5px outline via 4-direction drop-shadow — smoother than
     -webkit-text-stroke, which renders chopped under background-clip:text. */
  filter:
    drop-shadow( 0.5px  0    0 rgba(31, 61, 110, 0.95))
    drop-shadow(-0.5px  0    0 rgba(31, 61, 110, 0.95))
    drop-shadow( 0     0.5px 0 rgba(31, 61, 110, 0.95))
    drop-shadow( 0    -0.5px 0 rgba(31, 61, 110, 0.95))
    drop-shadow(0 1px 0 rgba(255,255,255,0.55))
    drop-shadow(0 0 24px rgba(191, 227, 255, 0.60));
}
.nav__bolt {
  display: inline-block;
  width: 22px; height: 28px;
  background: url('assets/bolt-cursor.svg') center/contain no-repeat;
  transform: rotate(-8deg) translateY(-1px);
}
.nav__links {
  display: flex; align-items: center; gap: 28px;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.nav__links a { transition: color .2s ease; }
.nav__links a:hover { color: var(--sunset-3); }
.nav__cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sunset-2) 0%, var(--sunset-3) 55%, var(--sunset-4) 100%);
  color: #fff !important;
  font-weight: 800; letter-spacing: -.1px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -2px 0 rgba(180, 50, 60, 0.25),
    0 8px 22px -6px rgba(255, 100, 110, 0.55);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform .15s ease, box-shadow .2s ease;
}
.nav__cta:hover { transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav__links { gap: 14px; font-size: 13px; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 28px 32px;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
}
.hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 24px 20px 32px; min-height: auto; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.45));
  border: 1px solid rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  box-shadow: var(--sh-chip);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--save));
  box-shadow: 0 0 10px rgba(60, 220, 130, 0.7);
}

/* ─── The wordmark — icy Frutiger-Aero glass "News" / "Flash" ──────────────
   Mirrors the iOS app's BoltWordmark (NewsFlash/DesignSystem/FrutigerAero/
   BoltWordmark.swift): same gradient stops, faux dark-blue outline (because
   Bricolage Grotesque is thinner than SF Pro Rounded), white edge highlight,
   cool blue shadow, and an icy outer halo. */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(56px, min(8vw, 13vh), 120px);
  line-height: 1.0;
  letter-spacing: -3px;
  margin: 16px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.wordmark__line {
  display: inline-flex;
  align-items: center;
  gap: 0.06em;
  padding: 0.06em 0.12em 0.1em 0;
  overflow: visible;
}
.wordmark__line--2 { padding-left: 0.22em; }
.wordmark__text {
  position: relative;
  display: inline-block;
  padding: 0.18em 0.14em 0.22em;
  margin: -0.18em -0.14em -0.22em;
  line-height: 1.15;
  /* Swift BoltWordmark gradient stops (aero(r,g,b) → rgb), scaled to CSS. */
  background: linear-gradient(180deg,
    #ffffff   0%,
    #ffffff  32%,
    #e8f5ff  46%,
    #b8dbf5  62%,
    #7db8e0  82%,
    #5294c9 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* Sharp white edge below the glyph (Swift: .white(0.85) radius 0 y:1). */
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
  /* 4-direction dark-blue hairline gives the chunky outline that SF Pro
     Rounded provides natively in the iOS app; -webkit-text-stroke is
     skipped because it renders chopped under background-clip:text. */
  filter:
    drop-shadow( 1.2px  0    0 rgba(31, 61, 110, 0.95))
    drop-shadow(-1.2px  0    0 rgba(31, 61, 110, 0.95))
    drop-shadow( 0     1.2px 0 rgba(31, 61, 110, 0.95))
    drop-shadow( 0    -1.2px 0 rgba(31, 61, 110, 0.95))
    drop-shadow(0 6px 14px rgba(61, 112, 181, 0.48))
    drop-shadow(0 0 48px rgba(191, 227, 255, 0.60));
}
.wordmark__bolt {
  display: inline-block;
  width: 1.1em; height: 1.3em;
  background: url('assets/bolt.svg') center/contain no-repeat;
  transform: rotate(-14deg) translateY(-0.02em);
  margin-right: -0.06em;
  filter:
    drop-shadow(0 4px 22px rgba(255, 140, 60, 0.6))
    drop-shadow(0 0 48px rgba(255, 200, 80, 0.65));
  animation: bolt-pulse 4.5s ease-in-out infinite;
}
@keyframes bolt-pulse {
  0%, 100% { transform: rotate(-12deg) translateY(-0.04em) scale(1); filter: drop-shadow(0 4px 20px rgba(255, 140, 60, 0.6)) drop-shadow(0 0 36px rgba(255, 200, 80, 0.55)); }
  50%      { transform: rotate(-12deg) translateY(-0.04em) scale(1.04); filter: drop-shadow(0 6px 24px rgba(255, 140, 60, 0.75)) drop-shadow(0 0 60px rgba(255, 220, 110, 0.75)); }
}

.tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 16px 0 14px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}
.lede {
  max-width: 540px;
  font-size: 16.5px;
  color: var(--ink-muted);
  margin: 0 0 26px;
  line-height: 1.55;
}

.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: 0 0 22px;
}

.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px;
  border-radius: 18px;
  font-weight: 700; font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  border: 1px solid transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}
.cta--primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 35%),
    linear-gradient(180deg, var(--sunset-2) 0%, var(--sunset-3) 55%, var(--sunset-4) 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -3px 0 rgba(180, 50, 70, 0.30),
    0 14px 30px -8px rgba(255, 90, 110, 0.55),
    0 0 0 1px rgba(255,255,255,0.2);
}
.cta--primary:hover { transform: translateY(-2px); filter: saturate(1.1) brightness(1.03); }
.cta--ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.50));
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-chip);
}
.cta--ghost:hover { transform: translateY(-2px); }
.cta__apple { flex: 0 0 auto; margin-right: -2px; }
.cta__stack { display: flex; flex-direction: column; line-height: 1.05; align-items: flex-start; }
.cta__stack small { font-size: 10.5px; font-weight: 600; letter-spacing: .3px; opacity: .85; }
.cta__stack strong { font-size: 17px; font-weight: 800; letter-spacing: -0.2px; }
.cta__arrow { font-size: 17px; transform: translateY(1px); }

.cta--xl { padding: 16px 28px; border-radius: 22px; }
.cta--xl .cta__stack strong { font-size: 20px; }

.hero__bullets {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; color: var(--ink-muted);
}
.bullet-check {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #6ce5a3, var(--save));
  color: #fff; font-size: 11px; font-weight: 900;
  margin-right: 8px;
  box-shadow: 0 2px 6px rgba(60, 200, 120, 0.45);
}

/* ─── Phone preview — matches the real iOS app screenshot ───────────── */
.hero__visual {
  position: relative;
  display: flex; justify-content: center;
  perspective: 1400px;
}
.phone {
  position: relative;
  height: min(740px, 82vh);
  aspect-ratio: 340 / 740;
  border-radius: 56px;
  padding: 12px;
  margin: 0 auto;
  background: linear-gradient(160deg, #2a2f44 0%, #14182a 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.08),
    0 50px 100px -30px rgba(15, 30, 80, 0.55),
    0 20px 40px -10px rgba(20, 25, 60, 0.4);
  transform: rotate(-3deg) rotateY(-6deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.phone:hover { transform: rotate(-1deg) rotateY(-2deg) translateY(-6px); }

.phone__notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  border-radius: 18px;
  background: #0a0c18;
  z-index: 6;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 46px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #79cdf2 0%, #aedef5 45%, #f3faff 100%);
}

/* Status bar */
.phone__statusbar {
  position: relative; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px 0;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 700;
  color: #0a0e1f;
}
.phone__indicators {
  display: inline-flex; align-items: center; gap: 6px;
}
.phone__signal {
  display: inline-block;
  width: 17px; height: 10px;
  background:
    linear-gradient(to top, #0a0e1f 25%,  transparent 25%) 0 0 / 3px 10px no-repeat,
    linear-gradient(to top, #0a0e1f 45%,  transparent 45%) 4px 0 / 3px 10px no-repeat,
    linear-gradient(to top, #0a0e1f 65%,  transparent 65%) 8px 0 / 3px 10px no-repeat,
    linear-gradient(to top, #0a0e1f 100%, transparent 100%) 12px 0 / 3px 10px no-repeat;
}
.phone__wifi {
  display: inline-block;
  width: 14px; height: 10px;
  background:
    radial-gradient(circle at 50% 100%, #0a0e1f 0 1.5px, transparent 1.5px) center / 14px 10px no-repeat,
    radial-gradient(closest-side, transparent 60%, #0a0e1f 60% 75%, transparent 75%) center 2px / 12px 10px no-repeat,
    radial-gradient(closest-side, transparent 60%, #0a0e1f 60% 75%, transparent 75%) center 6px / 16px 10px no-repeat;
}
.phone__battery {
  display: inline-block; position: relative;
  width: 24px; height: 11px;
  border: 1.2px solid #0a0e1f;
  border-radius: 3px;
  opacity: 0.95;
}
.phone__battery::before {
  content: ""; position: absolute; inset: 1.2px; right: 4px;
  background: #0a0e1f; border-radius: 1px;
}
.phone__battery::after {
  content: ""; position: absolute; right: -3px; top: 28%; width: 2px; height: 44%;
  background: #0a0e1f; border-radius: 0 1.5px 1.5px 0;
}

/* Sun with rays — top-right corner */
.phone__sun {
  position: absolute;
  top: -36px; right: -46px;
  width: 220px; height: 220px;
  z-index: 1;
  filter: drop-shadow(0 0 28px rgba(255, 200, 80, 0.55));
}

/* Fluffy cloud behind wordmark */
.phone__cloud {
  position: absolute;
  top: 70px; right: -8px;
  width: 210px; height: 130px;
  z-index: 2;
}

/* Wordmark — inline single line */
.phone__header {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 38px;
  padding: 6px 12px;            /* breathing room for italic ascenders + halo */
  line-height: 1.25;             /* explicit; align-items:center on flex would
                                    otherwise collapse to font-line metrics
                                    and clip the tops of italic glyphs */
  font-family: var(--font-display);
  font-weight: 800; font-style: italic;
  font-size: 36px; letter-spacing: -0.8px;
}
.phone__word {
  display: inline-block;
  padding: 0.18em 0.14em 0.22em;
  margin: -0.18em -0.14em -0.22em;
  line-height: 1.2;
  background: linear-gradient(180deg,
    #ffffff 0%,
    #ffffff 28%,
    #e3eff8 52%,
    #9abad6 78%,
    #4d7aa6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* Smooth ~0.6px outline via 4-way drop-shadow. -webkit-text-stroke
     produces chopped/aliased glyphs when combined with background-clip:text,
     so we synthesise the outline with filters instead. */
  filter:
    drop-shadow( 0.7px  0    0 rgba(31, 61, 110, 0.95))
    drop-shadow(-0.7px  0    0 rgba(31, 61, 110, 0.95))
    drop-shadow( 0     0.7px 0 rgba(31, 61, 110, 0.95))
    drop-shadow( 0    -0.7px 0 rgba(31, 61, 110, 0.95))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55))
    drop-shadow(0 3px 8px rgba(15, 35, 95, 0.40))
    drop-shadow(0 0 18px rgba(170, 215, 245, 0.55));
}
.phone__bolt {
  display: inline-block;
  width: 30px; height: 38px;
  margin: 0 4px;
  background: url('assets/bolt.svg') center/contain no-repeat;
  transform: rotate(-12deg) translateY(-2px);
  /* Tight, brighter halo. The previous 28px-blur orange shadow mixed with
     the blue sky and read as a muddy dark patch behind the bolt. */
  filter:
    drop-shadow(0 2px 6px rgba(255, 150, 80, 0.40))
    drop-shadow(0 0 14px rgba(255, 235, 160, 0.55));
}

/* Card stack peek — slivers of cards behind the top one */
.phone__peek {
  position: absolute;
  top: 200px; height: 280px;
  width: 10px;
  z-index: 3;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.55) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: 0 10px 24px -8px rgba(15, 35, 95, 0.22);
}
.phone__peek--left  { left:  4px; border-radius: 22px 4px 4px 22px; transform: scale(0.97); transform-origin: left center; }
.phone__peek--right { right: 4px; border-radius: 4px 22px 22px 4px; transform: scale(0.97); transform-origin: right center; }

/* The top card on the phone */
.mini-card {
  position: relative; z-index: 4;
  margin: 10px 14px 0;
  padding: 11px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.86) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 14px 30px -8px rgba(15, 35, 95, 0.28);
  display: flex; flex-direction: column; gap: 7px;
}
.mini-card__top {
  display: flex; justify-content: space-between; align-items: center;
}
.mini-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.7px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff8d5a 0%, #ff7060 55%, #f4536b 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 4px 10px -2px rgba(255, 100, 95, 0.45);
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.mini-chip__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,0.85);
}
.mini-time {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--ink-muted);
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.6));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--sh-chip);
}
.mini-time__icon {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--ink-muted); position: relative;
}
.mini-time__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  width: 1.5px; height: 4px;
  background: var(--ink-muted);
}

.mini-card__photo {
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 10px -3px rgba(20,40,90,0.2);
}
.mini-card__photo svg,
.mini-card__photo img { width: 100%; height: 100%; display: block; object-fit: cover; }

.mini-card__headline {
  margin: 1px 0 0; font-size: 14px; font-weight: 800; letter-spacing: -0.3px;
  font-family: var(--font-display);
  color: var(--ink); line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.mini-card__summary {
  margin: 0; font-size: 10px; color: var(--ink-gloss); line-height: 1.45;
  -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}

/* Mini bias bar — larger, matches the real app */
.mini-bias {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.45));
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 6px 9px;
  margin-top: 1px;
}
.mini-bias__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; font-weight: 900; letter-spacing: 0.6px;
  color: var(--ink); margin-bottom: 6px;
}
.mini-bias__title { display: inline-flex; align-items: center; gap: 5px; }
.mini-bias__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, #5cd7ff, #7b87ff);
  border: 1px solid rgba(255,255,255,0.7);
}
.mini-bias__count { color: var(--ink-muted); }
.mini-bias__track-wrap {
  position: relative; height: 20px; margin: 2px 0 4px;
}
.mini-bias__track {
  position: absolute;
  left: 12px; right: 12px; top: 50%; transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(90deg,
    #4a8bff 0%, #6fa5ff 28%,
    #c3c3c3 50%,
    #ff9b8e 72%, #ff4f4f 100%);
  border-radius: 2px;
}
.mini-bias__connector {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 4px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(255,255,255,0.85);
}
.mini-pin {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9.5px; font-weight: 900; color: #fff;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.22);
}
.mini-pin--bbc { background: var(--c-bbc); }
.mini-pin--aj  { background: var(--c-aj);  }
.mini-pin--reu { background: var(--c-reu); }
.mini-pin--fox { background: var(--c-fox); }
.mini-pin--gua { background: var(--c-gua); }
.mini-pin--pol { background: var(--c-pol); }
.mini-pin--def { background: var(--c-def); }
.mini-pin--esp { background: var(--c-esp); }
.mini-pin--cbs { background: var(--c-cbs); }

.mini-bias__labels {
  display: flex; justify-content: space-between;
  font-size: 9px; font-weight: 900; letter-spacing: 0.6px;
}
.mini-bias__l { color: #2b5bbf; }
.mini-bias__c { color: #4a5060; }
.mini-bias__r { color: #b22222; }

.mini-sources { display: flex; align-items: center; gap: 8px; }
.mini-sources__avatars { display: flex; }
.mini-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900; color: #fff;
  border: 2px solid #fff;
  margin-left: -7px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.mini-avatar:first-child { margin-left: 0; }
.mini-avatar--reu { background: var(--c-reu); }
.mini-avatar--bbc { background: var(--c-bbc); }
.mini-avatar--fox { background: var(--c-fox); }
.mini-avatar--aj  { background: var(--c-aj);  }
.mini-sources__text { font-size: 11px; color: var(--ink-muted); line-height: 1.2; }
.mini-sources__text strong { color: var(--ink); font-weight: 900; }

/* Bottom tab bar */
.phone__tabbar {
  position: absolute;
  bottom: 18px; left: 14px; right: 14px;
  display: flex; gap: 8px; justify-content: space-between;
  z-index: 5;
}
.phone__tab {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.65));
  border: 1px solid rgba(255,255,255,0.95);
  font-family: var(--font-display);
  font-weight: 800; font-size: 14px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 10px 24px -6px rgba(20, 40, 110, 0.22);
}
.phone__tab--active {
  background: linear-gradient(180deg, #ff8d5a 0%, #ffb060 55%, #ff7060 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 0 rgba(0,0,0,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -2px 0 rgba(180, 70, 60, 0.25),
    0 10px 24px -4px rgba(255, 110, 90, 0.5);
}
.phone__tab-icon {
  display: inline-block;
  width: 17px; height: 17px;
}
.phone__tab-icon--swipe {
  background: #fff;
  border-radius: 5px;
  box-shadow:
    inset 0 0 0 1.5px var(--sunset-3),
    -3px -3px 0 -1px rgba(255,255,255,0.6);
}
.phone__tab-icon--library {
  background:
    linear-gradient(to right, var(--ink) 26%, transparent 26%) 0 0 / 100% 100% no-repeat,
    linear-gradient(to right, transparent 36%, var(--ink) 36% 62%, transparent 62%) 0 0 / 100% 100% no-repeat,
    linear-gradient(to right, transparent 74%, var(--ink) 74%) 0 0 / 100% 100% no-repeat;
}
.phone__tab-badge {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.55));
  border: 1px solid rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 11px; font-weight: 900;
  text-shadow: none;
}

.phone__swipe-pill {
  position: absolute;
  top: 40%;
  padding: 7px 12px;
  font-size: 11px; font-weight: 800;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.35);
  border: 1.5px solid rgba(255,255,255,0.85);
  animation: pill-bob 3.5s ease-in-out infinite;
  z-index: 6;
}
.phone__swipe-pill--left {
  left: -34px;
  background: linear-gradient(180deg, #ff8a99, var(--skip));
}
.phone__swipe-pill--right {
  right: -34px;
  background: linear-gradient(180deg, #6ce5a3, var(--save));
  animation-delay: -1.75s;
}
@keyframes pill-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@media (max-width: 960px) {
  .phone { width: 300px; height: 660px; transform: none; margin: 16px auto 0; }
  .phone__header { font-size: 30px; margin-top: 36px; }
  .phone__bolt { width: 26px; height: 32px; }
  .phone__sun { width: 180px; height: 180px; top: -28px; right: -36px; }
  .phone__cloud { width: 180px; height: 110px; top: 60px; }
  .phone__notch { width: 95px; height: 24px; top: 14px; }
  .phone__swipe-pill { display: none; }
}

/* ─── Section primitives ──────────────────────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px 28px;
}
@media (max-width: 720px) { .section { padding: 72px 20px; } }

.section__eyebrow {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px; font-weight: 900; letter-spacing: 1px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.45));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--sh-chip);
  margin-bottom: 18px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 18ch;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.section__sub {
  max-width: 60ch;
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 0 56px;
  line-height: 1.55;
}

/* ─── Cards (the demo deck) ───────────────────────────────────────────── */
.section--cards { padding-top: 60px; }

.deck {
  position: relative;
  width: 100%; max-width: 460px;
  height: 600px;
  margin: 20px auto 30px;
  perspective: 1400px;
}

.card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  border-radius: var(--r-card);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.48) 100%);
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 0 0 1px rgba(255,255,255,0.35),
    var(--sh-card);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, opacity .2s ease;
  will-change: transform;
  user-select: none;
}
.card::before {
  /* Subtle top gloss */
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 35%);
  pointer-events: none;
}
.card--1 { z-index: 3; }
.card--2 { z-index: 2; transform: translateY(14px) scale(0.965); opacity: 0.92; }
.card--3 { z-index: 1; transform: translateY(28px) scale(0.93);  opacity: 0.78; }

.card--1.dragging { transition: none; }
.card--1.flying-left  { transform: translateX(-150%) rotate(-22deg); opacity: 0; }
.card--1.flying-right { transform: translateX( 150%) rotate( 22deg); opacity: 0; }

.card__top { display: flex; justify-content: space-between; align-items: center; }

.chip {
  font-size: 10px; font-weight: 900; letter-spacing: 1px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 4px 10px -2px rgba(0,0,0,0.18);
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.chip--politics { background: linear-gradient(180deg, #ff8a9c, #d63550); }
.chip--tech     { background: linear-gradient(180deg, #79a8ff, #3554d6); }
.chip--sports   { background: linear-gradient(180deg, #6ce5a3, #1d9954); }
.chip--science  { background: linear-gradient(180deg, #a988ff, #6244c4); }
.chip--business { background: linear-gradient(180deg, #ffb56a, #d87a1a); }
.chip--health   { background: linear-gradient(180deg, #ff9adb, #b8389a); }

.time-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; color: var(--ink-muted);
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.4));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: var(--sh-chip);
}
.time-pill__icon {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--ink-muted);
  position: relative;
}
.time-pill__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  width: 1.5px; height: 4px;
  background: var(--ink-muted);
}

.card__hero {
  position: relative;
  height: 156px;
  border-radius: var(--r-l);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 4px 12px -4px rgba(20,40,90,0.18);
}
.card__hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55), transparent 55%);
  pointer-events: none;
}
.card__hero--politics { background: linear-gradient(140deg, #5d9bf0 0%, #d6638a 60%, #ffa971 100%); }
.card__hero--tech     { background: linear-gradient(140deg, #4847ff 0%, #6c5ce7 60%, #4dd0e1 100%); }
.card__hero--sports   { background: linear-gradient(140deg, #1d9954 0%, #6ce5a3 60%, #ffeaa7 100%); }
.card__hero-emoji {
  font-size: 78px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
  transform: rotate(-4deg);
}
.card__hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.card__hero-shine { z-index: 2; }
.card__hero-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.55) 50%,
    transparent 65%,
    transparent 100%);
  background-size: 220% 100%;
  background-position: 200% 0;
  animation: hero-shine 5.5s ease-in-out infinite;
}
@keyframes hero-shine {
  0%, 100% { background-position: 200% 0; opacity: 0; }
  10%, 25% { opacity: 1; }
  40%      { background-position: -100% 0; opacity: 0; }
}

.card__headline {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.4px;
  line-height: 1.18;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.card__summary {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-gloss);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Bias bar ───────────────────────────────────────────────────────── */
.bias-bar {
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.38));
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: var(--sh-chip);
  margin-top: auto;
}
.bias-bar__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.bias-bar__title {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 900; letter-spacing: .6px;
  color: var(--ink);
}
.bias-bar__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, #5cd7ff, #7b87ff);
  border: 1px solid rgba(255,255,255,0.7);
}
.bias-bar__count {
  font-size: 10px; font-weight: 900; letter-spacing: .6px;
  color: var(--ink-muted);
}
.bias-bar__track-wrap {
  position: relative; height: 26px; margin: 6px 0 8px;
}
.bias-bar__track {
  position: absolute;
  left: 13px; right: 13px; top: 50%; transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(90deg,
    #4a8bff 0%, #6fa5ff 28%,
    #c8c8c8 50%,
    #ff9b8e 72%, #ff4f4f 100%);
  border-radius: 2px;
}
.bias-bar__connector {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  height: 4px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,255,255,0.85);
}
.pin {
  position: absolute;
  top: 50%; transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 900; color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.pin--reu { background: var(--c-reu); }
.pin--bbc { background: var(--c-bbc); }
.pin--fox { background: var(--c-fox); }
.pin--aj  { background: var(--c-aj);  }
.pin--gua { background: var(--c-gua); }
.pin--pol { background: var(--c-pol); }
.pin--def { background: var(--c-def); }
.pin--esp { background: var(--c-esp); }
.pin--cbs { background: var(--c-cbs); }
.bias-bar__labels {
  display: flex; justify-content: space-between;
  font-size: 10px; font-weight: 900; letter-spacing: .6px;
}
.bias-bar__label--l { color: #2b5bbf; }
.bias-bar__label--c { color: #4a5060; }
.bias-bar__label--r { color: #b22222; }

/* ─── Source strip ───────────────────────────────────────────────────── */
.sources {
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px;
}
.sources__avatars { display: flex; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; color: #fff;
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.22);
  position: relative;
}
.avatar:first-child { margin-left: 0; }
.avatar::after {
  content: ""; position: absolute; inset: 1px 30% auto 16%;
  height: 30%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
}
.avatar--reu { background: var(--c-reu); }
.avatar--bbc { background: var(--c-bbc); }
.avatar--fox { background: var(--c-fox); }
.avatar--aj  { background: var(--c-aj);  }
.avatar--wsj { background: var(--c-wsj); }
.avatar--blo { background: var(--c-blo); }
.avatar--vrg { background: var(--c-vrg); }
.avatar--tcr { background: var(--c-tcr); color: #002b14; }
.avatar--esp { background: var(--c-esp); }
.avatar--gua { background: var(--c-gua); }
.avatar--pol { background: var(--c-pol); }
.avatar--def { background: var(--c-def); }
.avatar--cbs { background: var(--c-cbs); }

.sources__text {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.3;
}
.sources__text strong { color: var(--ink); font-weight: 900; }
.sources__more { color: var(--ink-muted); }

/* ─── Drag overlays ──────────────────────────────────────────────────── */
.card__drag-overlay {
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.card__drag-overlay--save { background: linear-gradient(140deg, rgba(60, 220, 130, 0.18), rgba(60, 220, 130, 0.45)); border: 3px solid var(--save); }
.card__drag-overlay--skip { background: linear-gradient(140deg, rgba(255, 80, 100, 0.18), rgba(255, 80, 100, 0.45)); border: 3px solid var(--skip); }

.card__drag-stamp {
  position: absolute; top: 22px;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 900; font-size: 22px; letter-spacing: 2px;
  border: 3px solid currentColor;
  opacity: 0; pointer-events: none;
  transition: opacity .15s ease;
  transform: rotate(-12deg);
}
.card__drag-stamp--save { right: 22px; color: var(--save); transform: rotate(-14deg); }
.card__drag-stamp--skip { left:  22px; color: var(--skip); transform: rotate( 12deg); }

.card[data-direction="save"] .card__drag-overlay--save,
.card[data-direction="save"] .card__drag-stamp--save { opacity: var(--drag-progress, 0); }
.card[data-direction="skip"] .card__drag-overlay--skip,
.card[data-direction="skip"] .card__drag-stamp--skip { opacity: var(--drag-progress, 0); }

.deck__legend {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  margin-top: 18px;
  font-size: 12.5px; font-weight: 700;
  color: var(--ink-muted);
}
.swipe-key { display: inline-flex; gap: 6px; align-items: center;
  padding: 7px 13px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: var(--sh-chip);
}
.swipe-key span { font-weight: 900; }
.swipe-key--skip span { color: var(--skip); }
.swipe-key--save span { color: var(--save); }
.swipe-key--read span { color: var(--read); }

@media (max-width: 540px) {
  .deck { height: 580px; }
  .deck__legend { gap: 8px; flex-wrap: wrap; }
}

/* ─── Features (3-up grid) ───────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}
@media (max-width: 860px) { .features { grid-template-columns: 1fr; gap: 16px; } }

.feature {
  padding: 28px 24px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.45) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 14px 30px -10px rgba(15, 40, 100, 0.22);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  position: relative; overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at -10% -10%, rgba(255,255,255,0.65) 0%, transparent 50%);
  pointer-events: none;
}
.feature__icon {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 22px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(255,255,255,0.55));
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 10px 24px -8px rgba(20, 45, 110, 0.25);
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.4px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 8px;
}
.feature__body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}
.feature__body em { color: var(--ink); font-style: normal; font-weight: 700; }

/* Feature 1 — bias span icon */
.feature__icon--span { position: relative; }
.feature__pin-track {
  position: absolute;
  left: 16%; right: 16%; top: 50%; transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(90deg, #4a8bff, #c8c8c8 50%, #ff4f4f);
  border-radius: 2px;
}
.feature__pin {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #fff;
  top: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.feature__pin--l { left: 22%; background: #2b5bbf; }
.feature__pin--c { left: 50%; background: #6a6f7b; }
.feature__pin--r { left: 78%; background: #b22222; }

/* Feature 2 — AI bolt icon */
.feature__icon--ai { background: linear-gradient(160deg, #fff3c8 0%, #ffd49a 100%); border-color: rgba(255,255,255,0.95); }
.feature__bolt {
  width: 38px; height: 48px;
  background: url('assets/bolt.svg') center/contain no-repeat;
  transform: rotate(-10deg);
  filter: drop-shadow(0 4px 12px rgba(255, 140, 60, 0.55));
}

/* Feature 3 — swipe finger */
.feature__icon--swipe { background: linear-gradient(160deg, #d1e9ff 0%, #b6d6ff 100%); }
.feature__finger {
  position: relative;
  width: 36px; height: 48px;
}
.feature__finger::before {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  width: 18px; height: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffdfb4, #ffb676);
  transform: translateX(-50%);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.feature__finger::after {
  content: "";
  position: absolute;
  left: -2px; top: 28px;
  width: 40px; height: 4px;
  border-radius: 999px;
  background: rgba(35, 80, 180, 0.35);
  animation: finger-swipe 3s ease-in-out infinite;
}
@keyframes finger-swipe {
  0%, 100% { transform: translateX(-12px); opacity: .8; }
  50%      { transform: translateX( 12px); opacity: .4; }
}

/* ─── Download CTA ────────────────────────────────────────────────────── */
.section--download { padding-top: 60px; padding-bottom: 80px; }

.download-card {
  position: relative;
  text-align: center;
  padding: 64px 24px 60px;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 217, 117, 0.45) 0%, transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.45) 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 30px 60px -20px rgba(15, 40, 100, 0.30);
  backdrop-filter: blur(14px) saturate(140%);
}
.download-card__bolt {
  position: absolute;
  top: -30px; right: -30px;
  width: 200px; height: 260px;
  background: url('assets/bolt.svg') center/contain no-repeat;
  transform: rotate(15deg);
  opacity: 0.55;
  filter: drop-shadow(0 0 60px rgba(255, 200, 80, 0.6));
  pointer-events: none;
}
.download-card__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin: 0 0 16px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.download-card__sub {
  position: relative;
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 0 32px;
}
.download-card .cta { position: relative; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 28px 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.55);
}
@media (max-width: 720px) {
  .footer { grid-template-columns: 1fr; text-align: center; }
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-display);
  font-weight: 800; font-style: italic; font-size: 22px;
  letter-spacing: -0.5px;
}
.footer__word {
  display: inline-block;
  padding: 0.18em 0.14em 0.22em;
  margin: -0.18em -0.14em -0.22em;
  line-height: 1.2;
  background: linear-gradient(180deg, #ffffff 0%, #f4faff 32%, #c8dded 65%, #5e85ab 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter:
    drop-shadow( 0.5px  0    0 rgba(31, 61, 110, 0.95))
    drop-shadow(-0.5px  0    0 rgba(31, 61, 110, 0.95))
    drop-shadow( 0     0.5px 0 rgba(31, 61, 110, 0.95))
    drop-shadow( 0    -0.5px 0 rgba(31, 61, 110, 0.95))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6))
    drop-shadow(0 2px 5px rgba(15, 35, 95, 0.35));
}
.footer__bolt {
  display: inline-block;
  width: 18px; height: 24px;
  background: url('assets/bolt-cursor.svg') center/contain no-repeat;
  transform: rotate(-8deg);
}
.footer__links {
  display: flex; justify-content: center; gap: 24px;
  font-weight: 600; font-size: 14px;
  color: var(--ink-muted);
}
.footer__links a:hover { color: var(--ink); }
.footer__legal {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
  opacity: 0.85;
}

/* ─── Scroll reveal helper ──────────────────────────────────────────── */
/* Content is always visible by default — JS adds .reveal lazily when an
   element is about to enter the viewport, so the no-JS / pre-paint state
   is fully readable. The .in class then runs the slide-up animation. */
.reveal {
  transform: translateY(14px);
  opacity: 0.001;
  transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1);
}
.reveal.in,
.no-anim .reveal {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Modal (tap-to-read) ────────────────────────────────────────────── */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: grid; place-items: center;
  padding: 20px;
  animation: modal-in .25s ease;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 30, 80, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.modal__sheet {
  position: relative;
  max-width: 540px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 28px 26px 26px;
  border-radius: 32px;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 217, 117, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 30px 80px -20px rgba(15, 35, 95, 0.55);
  animation: sheet-in .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes modal-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.6));
  border: 1px solid rgba(255,255,255,0.95);
  font-size: 22px; line-height: 1;
  color: var(--ink-muted);
  box-shadow: var(--sh-chip);
  z-index: 2;
  transition: color .15s ease, transform .15s ease;
}
.modal__close:hover { color: var(--ink); transform: scale(1.05); }
.modal__top {
  display: flex; justify-content: space-between; align-items: center;
  margin: 4px 40px 16px 0;
}
.modal__headline {
  font-family: var(--font-display);
  font-weight: 800; font-size: 26px;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.modal__summary {
  font-size: 15.5px;
  color: var(--ink-gloss);
  line-height: 1.55;
  margin: 0 0 22px;
}
.modal__divider {
  display: flex; align-items: center; gap: 12px;
  margin: 6px 0 12px;
}
.modal__divider::before,
.modal__divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 40, 90, 0.18), transparent);
}
.modal__divider-label {
  font-size: 10px; font-weight: 900; letter-spacing: 1.2px;
  color: var(--ink-muted);
}
.modal__sources {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.modal__source {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.5));
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: var(--sh-chip);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease;
}
.modal__source:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(15, 35, 95, 0.25);
}
.modal__source-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 16px; font-weight: 900; color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.22);
  flex: 0 0 auto;
}
.modal__source-name {
  flex: 1;
  font-weight: 800; color: var(--ink); font-size: 15.5px;
}
.modal__source-lean {
  font-size: 10px; font-weight: 900; letter-spacing: 0.6px;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.modal__source-lean--left          { background: rgba(70, 130, 240, 0.18); color: #2b5bbf; }
.modal__source-lean--center-left   { background: rgba(120, 165, 240, 0.18); color: #2b5bbf; }
.modal__source-lean--center        { background: rgba(120, 120, 130, 0.18); color: #4a5060; }
.modal__source-lean--center-right  { background: rgba(240, 130, 130, 0.18); color: #b22222; }
.modal__source-lean--right         { background: rgba(240, 80,  80, 0.20); color: #b22222; }
.modal__source-arrow {
  color: var(--ink-muted);
  font-size: 18px;
  font-weight: 700;
}

/* ─── Hit-area helpers — generous padding for the bolt cursor ────────── */
.nav__links a:not(.nav__cta) {
  padding: 8px 4px;
  display: inline-flex; align-items: center;
  min-height: 32px;
}
.footer__links a {
  padding: 6px 8px;
  border-radius: 8px;
  display: inline-block;
  min-height: 28px;
}
.footer__links a:hover { background: rgba(255,255,255,0.45); }

/* ─── Selection ──────────────────────────────────────────────────────── */
::selection { background: rgba(255, 170, 90, 0.55); color: var(--ink); }
