/* flixave.com — the one stylesheet (site/SITE_DESIGN.md).
   Light content, dark hero. Spacing in multiples of 4. Type scale
   56/40/28/20/17/15/13. #FF5A5F is an accent only: no gradients, no glow,
   no blurred blobs. When this file changes, bump CSS_VERSION in
   _worker.js/layout.js and the ?v= on the static pages. */

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --surface: #FFFFFF;
  --text: #1D1D1F;
  --text-2: #424245;
  --text-3: #6E6E73;
  --line: rgba(0, 0, 0, .1);
  --accent: #FF5A5F;          /* decoration, NEW badge fill on dark */
  --accent-ink: #C8323A;      /* accent as text or as a fill under white text (5.3:1) */
  --brand-deep: #8E1B22;      /* the app block: the brand colour, deep and flat */
  --button: #C8323A;          /* white text on it is 5.3:1 in both themes */
  --up: #1A7F37;
  --nav-bg: rgba(255, 255, 255, .78);
  --hero: #0F1115;
  --hero-text: #FFFFFF;
  --hero-text-2: #B2BAC7;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  --r-poster: 8px;
  --r-card: 12px;
  --r-block: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: 16px;
  color-scheme: light;
}

/* Dark: the design system's surfaces (03_Design_System.md). Defined twice so
   the owner can force a theme with one attribute (layout.js FORCE_THEME). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1115; --bg-2: #171A21; --surface: #1E232D;
    --text: #FFFFFF; --text-2: #D0D5DD; --text-3: #A3ABB8;
    --line: rgba(255, 255, 255, .12);
    --accent-ink: #FF7A7E; --up: #3FBF7F;
    --nav-bg: rgba(15, 17, 21, .78);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --nav-bg: rgba(15, 17, 21, .78);
  --bg: #0F1115; --bg-2: #171A21; --surface: #1E232D;
  --text: #FFFFFF; --text-2: #D0D5DD; --text-3: #A3ABB8;
  --line: rgba(255, 255, 255, .12);
  --accent-ink: #FF7A7E; --up: #3FBF7F;
  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -48px; z-index: 50; padding: 8px 12px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 15px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

h1, h2, h3 { letter-spacing: -.02em; line-height: 1.1; font-weight: 700; }
h1 { font-size: 40px; line-height: 1.05; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
@media (min-width: 1024px) { h1 { font-size: 56px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--button); color: #FFFFFF;
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn--small { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn--ghost { background: rgba(255, 255, 255, .14) !important; color: #FFFFFF; }

/* ── Navigation ───────────────────────────────────────────────────────── */
/* Fixed at the top, frosted once the page moves (apple.com's bar: full
   width, translucent, blurred; not a floating pill). Pages that do not start
   with a hero leave room for it. */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line); background: var(--nav-bg); color: var(--text);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
body:not(.page-home):not(.page-title) { padding-top: 57px; }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 56px; flex-wrap: wrap; }
.nav-brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; min-height: 44px; }
.nav-brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--text-2); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: .04em; }
.nav-lang:hover { color: var(--text); }

/* Over the hero: clear, white text, until the hero has scrolled away. */
.nav--over:not(.is-scrolled) { background: transparent; border-bottom-color: rgba(255, 255, 255, .12); color: var(--hero-text); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav--over:not(.is-scrolled) .nav-links, .nav--over:not(.is-scrolled) .nav-lang { color: rgba(255, 255, 255, .82); }
.nav--over:not(.is-scrolled) .nav-links a:hover, .nav--over:not(.is-scrolled) .nav-links a[aria-current="page"], .nav--over:not(.is-scrolled) .nav-lang:hover { color: #FFFFFF; }

@media (max-width: 767px) {
  body:not(.page-home):not(.page-title) { padding-top: 101px; }
  .nav.is-moved .nav-links { display: none; }
  .nav-row { gap: 0 12px; }
  .nav-links { order: 3; width: 100%; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { min-height: 40px; }
}

/* ── Hero (home) ─────────────────────────────────────────────────────── */
.hero, .title-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--hero); color: var(--hero-text);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; transition: opacity .6s ease; }
.hero-bg.is-off { opacity: 0; }
/* The backdrop is a pseudo-element's background on purpose: it is a wash of
   colour, not content, and as an <img> Chrome counted it as the page's
   largest paint (LCP) and raced the poster for bandwidth. Drawn at an eighth
   of the size and scaled up, so the small blur() costs little to paint (a
   full-size blur(40px) held the first paint back ~2 s on a throttled phone). */
.hero-bg::before { content: ""; position: absolute; left: 0; top: 0; width: 12.5%; height: 12.5%; background: var(--bg) center / cover no-repeat; transform: scale(8.6); transform-origin: 0 0; filter: blur(7px) saturate(1.5); opacity: .9; }
/* Enough shade for white text on any poster colour, light enough that the
   colour still reads as the film's, as on Shazam. */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 17, 21, .55), rgba(15, 17, 21, .3) 60%, rgba(15, 17, 21, .4)); }

.hero { padding: 136px 0 56px; }
.hero-row { display: grid; gap: 32px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-text-2); margin-bottom: 12px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 12em; }
.hero-sub { margin-top: 16px; font-size: 17px; color: var(--hero-text-2); max-width: 32em; }
@media (min-width: 1024px) {
  .hero { padding: 148px 0 80px; }
  .hero-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
}

/* ── Carousel ────────────────────────────────────────────────────────── */
/* Default (no JS, reduced motion): a row you scroll sideways. */
.cx { position: relative; min-width: 0; }
.cx-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 0 12px; scrollbar-width: none;
}
.cx-track::-webkit-scrollbar { display: none; }
.cx-card { flex: 0 0 160px; scroll-snap-align: start; }
.cx-card a { display: block; border-radius: var(--r-card); }
.cx-card img, .cx-noposter { width: 100%; aspect-ratio: 2 / 3; border-radius: var(--r-card); object-fit: cover; background: #1E232D; }
.cx-noposter { display: block; }
.cx-info { display: grid; gap: 2px; margin-top: 8px; }
.cx-rank { font-size: 13px; font-weight: 700; color: var(--accent); }
.cx-title { font-size: 15px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-year { font-size: 13px; color: var(--hero-text-2); }

.cx-controls { display: flex; justify-content: center; margin-top: 8px; }
.cx-dots { display: flex; }
.cx-dot { width: 24px; height: 44px; position: relative; }
.cx-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background .2s, transform .2s; }
.cx-dot[aria-current="true"]::before { background: #FFFFFF; transform: scale(1.25); }

/* Coverflow (site.js adds .is-3d when motion is allowed). Every frame is
   placed by site.js from a continuous position, so there are no CSS
   transitions on the cards: the hand and the spring drive them. */
.cx.is-3d { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.cx.is-3d .cx-track {
  display: block; position: relative; overflow: visible; height: 460px; padding: 0;
  perspective: 1100px; perspective-origin: 50% 40%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.cx.is-dragging .cx-track { cursor: grabbing; }
.cx.is-3d .cx-card {
  position: absolute; left: 50%; top: 8px; width: 230px; margin-left: -115px;
  will-change: transform, opacity; backface-visibility: hidden;
}
.cx.is-3d .cx-card a { position: relative; -webkit-user-drag: none; }
.cx.is-3d .cx-card img { -webkit-user-drag: none; pointer-events: none; box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .55); }
/* Cards further from the front darken, as if out of the light. */
.cx.is-3d .cx-card a::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 2 / 3; border-radius: var(--r-card); background: #000; opacity: var(--dim, 0); pointer-events: none; }
.cx.is-3d .cx-info { text-align: center; opacity: var(--info, 0); }
@media (max-width: 767px) {
  .cx.is-3d .cx-track { height: 380px; }
  .cx.is-3d .cx-card { width: 186px; margin-left: -93px; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-note { margin-top: 4px; font-size: 13px; color: var(--text-3); }
.see-all { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.see-all:hover { text-decoration: underline; }

.page-head { padding-top: 40px; padding-bottom: 8px; }
.lede { margin-top: 12px; font-size: 20px; line-height: 1.4; color: var(--text-2); max-width: 36em; }
.why { margin-top: 16px; font-size: 15px; color: var(--text-3); max-width: 44em; }

.tabs { display: flex; gap: 8px; margin-top: 24px; }
.tabs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 15px; background: var(--bg-2); color: var(--text-2); }
.tabs a[aria-current="page"] { background: var(--text); color: var(--bg); font-weight: 600; }

/* ── Chart rows ──────────────────────────────────────────────────────── */
.chart-grid { display: grid; gap: 0 32px; }
@media (max-width: 767px) {
  .chart-grid {
    grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: 86%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .chart-grid::-webkit-scrollbar { display: none; }
  .chart-grid .row { scroll-snap-align: start; }
}
@media (min-width: 768px) {
  .chart-grid { grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chart-grid--short { grid-template-rows: repeat(2, auto); }
}
.chart-list { display: grid; gap: 0 32px; }
@media (min-width: 900px) { .chart-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(10, auto); } }

.row a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 88px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.row-rank { flex: none; width: 28px; font-size: 17px; font-weight: 700; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.row-poster { flex: none; width: 48px; height: 72px; border-radius: var(--r-poster); object-fit: cover; background: var(--bg-2); transition: transform .2s var(--ease); }
.row a:hover .row-poster { transform: scale(1.02); }
.row-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.row-title { font-size: 17px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.move { flex: none; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.move--up { color: var(--up); }
.move--down, .move--same { color: var(--text-3); }
.move--new { color: var(--accent-ink); letter-spacing: .04em; }

/* ── App block ───────────────────────────────────────────────────────── */
.app-block {
  display: grid; gap: 32px; align-items: center; overflow: hidden;
  padding: 40px 24px 0; border-radius: var(--r-block);
  background: var(--brand-deep); color: #FFFFFF;
}
.app-copy { padding-bottom: 40px; }
.app-copy h2 { font-size: 28px; }
.app-copy p { margin-top: 12px; color: rgba(255, 255, 255, .85); max-width: 30em; }
.app-shots { display: flex; justify-content: center; gap: 16px; align-self: end; order: 2; }
.app-shots img { width: 44%; max-width: 220px; border-radius: 24px 24px 0 0; }
.app-get { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.app-qr { display: none; }
.app-qr img, .title-qr img { background: #FFFFFF; padding: 8px; border-radius: 12px; }
.app-qr figcaption { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .85); max-width: 112px; line-height: 1.3; }
.app-badges { display: grid; gap: 8px; justify-items: start; }
.badge img { width: 144px; height: 48px; }
.app-android { font-size: 15px; text-decoration: underline; }
.app-free { margin: 0 !important; font-size: 13px; }
.app-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 15px; font-weight: 600; }
.app-more:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .app-block { grid-template-columns: 1fr 1fr; padding: 56px 56px 0; gap: 56px; }
  .app-shots { order: 0; }
  .app-copy { padding-bottom: 56px; }
  .app-copy h2 { font-size: 40px; }
  .app-qr { display: block; }
}

/* ── Soundtracks ─────────────────────────────────────────────────────── */
.shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter);
}
.shelf::-webkit-scrollbar { display: none; }
.st-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (min-width: 768px) { .st-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
.st-grid--one { grid-template-columns: minmax(0, 560px); }
h2 + .st-grid, h2 + .steps { margin-top: 16px; }
.st-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--bg-2); overflow: hidden; }
.st-art { width: 100%; aspect-ratio: 1; object-fit: cover; }
.st-grid--one .st-card { flex-direction: row; }
.st-grid--one .st-art { width: 160px; height: 160px; flex: none; }
.st-body { padding: 16px; display: grid; gap: 4px; align-content: start; }
.st-film { font-size: 17px; font-weight: 600; line-height: 1.25; }
.st-film:hover { text-decoration: underline; }
.st-album { font-size: 13px; color: var(--text-3); }
.st-tracks { margin-top: 8px; display: grid; gap: 4px; }
.st-tracks li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.track { min-width: 0; display: grid; }
.track-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-artist { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.play { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.play-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--text); position: relative; }
.play-icon::before { content: ""; position: absolute; left: 12px; top: 9px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--bg); }
.play[aria-pressed="true"] .play-icon::before { left: 11px; top: 10px; width: 10px; height: 12px; border: 0; border-left: 3px solid var(--bg); border-right: 3px solid var(--bg); }
.st-listen { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.st-listen:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .st-grid--one .st-card { flex-direction: column; }
  .st-grid--one .st-art { width: 100%; height: auto; }
}

/* ── App page ────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 24px; margin-top: 24px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* "How it works": one phone frame for all three steps. Steps 1–2 are drawn
   in HTML (a reel, the iOS share sheet); step 3 is a real app screenshot. */
.phone { text-align: left; width: 100%; max-width: 248px; aspect-ratio: 9 / 19.5; padding: 8px; border-radius: 44px; background: #0B0C0F; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 24px 48px -20px rgba(0, 0, 0, .35); }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #000; isolation: isolate; }
.phone-island { position: absolute; z-index: 5; top: 10px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 999px; background: #000; }
.phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.reel-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-ui { position: absolute; inset: 0; color: #FFFFFF; font-size: 12px; line-height: 1.3; }
.reel-ui::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); z-index: -1; }
.reel-ui--dim { background: rgba(0, 0, 0, .35); }
.reel-top { position: absolute; top: 44px; left: 16px; font-size: 17px; font-weight: 700; }
.reel-side { position: absolute; right: 12px; bottom: 96px; display: grid; gap: 16px; }
.reel-side svg { width: 24px; height: 24px; }
.reel-meta { position: absolute; left: 12px; right: 52px; bottom: 32px; display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: center; }
.reel-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #FFC371, #C8323A); box-shadow: 0 0 0 2px #FFFFFF; }
.reel-meta b { font-weight: 600; }
.reel-cap { grid-column: 1 / -1; }
.share-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 12px 20px; border-radius: 18px 18px 0 0; background: #F2F2F7; color: #1D1D1F; font-size: 11px; display: grid; gap: 12px; }
.share-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.share-head img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.share-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; text-align: center; }
.share-app { display: grid; justify-items: center; gap: 4px; }
.share-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; overflow: hidden; }
.share-icon svg { width: 24px; height: 24px; }
.share-icon--msg { background: #34C759; }
.share-icon--mail { background: #0A84FF; }
.share-icon--copy { background: #8E8E93; }
.share-icon--flx img { width: 44px; height: 44px; }
.share-app.is-on .share-icon { box-shadow: 0 0 0 3px #F2F2F7, 0 0 0 5px var(--accent); }
.share-app.is-on span:last-child { font-weight: 700; }
.share-rows { display: grid; border-radius: 10px; background: #FFFFFF; }
.share-rows span { padding: 8px 10px; }
.share-rows span + span { border-top: 1px solid rgba(0, 0, 0, .08); }
.step { display: grid; gap: 16px; justify-items: center; text-align: center; }
.step h3 { justify-content: center; }
@media (max-width: 767px) {
  .steps { gap: 40px; }
  .phone { max-width: 212px; border-radius: 38px; }
  .phone-screen { border-radius: 30px; }
  .share-sheet { padding: 12px 8px 16px; gap: 10px; font-size: 10px; }
  .share-apps { gap: 2px; }
  .share-icon, .share-icon--flx img { width: 38px; height: 38px; border-radius: 10px; }
  .share-icon svg { width: 20px; height: 20px; }
}
.step h3 { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.step-n { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); font-size: 15px; }
.step p, .narrow > p { margin-top: 8px; color: var(--text-2); }
.narrow h2 + p { margin-bottom: 32px; }
.faq { margin-top: 16px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; min-height: 56px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; padding-left: 16px; font-size: 20px; color: var(--text-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--text-2); }

/* ── Title page ──────────────────────────────────────────────────────── */
.title-hero { padding: 104px 0 48px; }
.title-row { display: grid; gap: 32px; justify-items: center; }
.title-poster { width: min(60vw, 280px); aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-card); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
.title-copy { max-width: 640px; width: 100%; }
.title-copy h1 { font-size: 40px; }
.title-meta { margin-top: 12px; font-size: 15px; color: var(--hero-text-2); }
.score { display: inline-block; margin-top: 12px; font-size: 15px; color: var(--hero-text-2); }
.score b { font-size: 20px; color: #FFFFFF; margin-right: 4px; }
.credit { margin-top: 12px; font-size: 15px; color: var(--hero-text-2); }
.credit b { color: #FFFFFF; font-weight: 600; }
.title-overview { margin-top: 16px; color: rgba(255, 255, 255, .88); }
.title-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rank-badge { display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 12px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }
.rank-badge:hover { background: rgba(255, 255, 255, .22); }
.title-qr { display: none; margin-top: 24px; align-items: center; gap: 12px; }
.title-qr figcaption { font-size: 13px; color: var(--hero-text-2); max-width: 160px; }
@media (min-width: 900px) {
  .title-hero { padding: 120px 0 64px; }
  .title-row { grid-template-columns: 300px minmax(0, 1fr); justify-items: start; gap: 48px; align-items: start; }
  .title-poster { width: 300px; }
  .title-copy h1 { font-size: 56px; }
  .title-qr { display: flex; }
}

/* ── Static pages (guides, about, legal) ─────────────────────────────── */
.page { padding: 40px 0 72px; }
.prose { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.prose .micro { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.prose h1 { font-size: 40px; }
.prose h2 { font-size: 28px; margin-top: 48px; }
.prose h3 { font-size: 20px; margin-top: 32px; }
.prose p, .prose li { color: var(--text-2); }
.prose p { margin-top: 16px; }
.prose .lede { font-size: 20px; color: var(--text); }
.prose .updated { font-size: 13px; color: var(--text-3); }
.prose ul, .prose ol { margin-top: 16px; padding-left: 24px; display: grid; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a:not(.related a), .prose .link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.prose code { font: 15px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-2); padding: 2px 4px; border-radius: 4px; }
.callout { margin-top: 24px; padding: 16px 20px; border-radius: var(--r-card); background: var(--bg-2); color: var(--text-2); }
.tablewrap { margin-top: 24px; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.related { margin-top: 48px; display: grid; gap: 12px; }
.related a { display: grid; gap: 4px; padding: 16px 20px; border-radius: var(--r-card); background: var(--bg-2); font-weight: 600; color: var(--text); }
.related a span { font-weight: 400; font-size: 15px; color: var(--text-3); }
.related a:hover { background: var(--line); }
.backrow { margin-top: 48px; font-size: 15px; }
.credit-tmdb img { width: 120px; height: 16px; }
.shelf-credit { margin-top: 12px; }
.backrow a { color: var(--accent-ink); }

/* 404 */
.notfound { padding: 96px var(--gutter); text-align: center; }
.notfound .code { font-size: 56px; font-weight: 700; letter-spacing: -.02em; color: var(--text-3); }
.notfound h1 { margin-top: 8px; font-size: 40px; }
.notfound p { margin: 16px auto 0; max-width: 32em; color: var(--text-2); }
.notfound .actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.notfound .btn-ghost { background: var(--bg-2) !important; color: var(--text); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { margin-top: 32px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 32px; font-size: 13px; color: var(--text-3); }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { width: 20px; height: 20px; border-radius: 5px; }
.footer h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 8px; }
.footer li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text-3); }
.footer a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { display: inline-flex; align-items: center; min-height: 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}
