:root {
  --bg: #010101;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --label: #8e8e8e;
  --red: #e8484a;
  --red-hi: #f06a6c;
  --free-bg: #0c2f14;
  --free-bd: #2f8f4a;
  --pro-bg: #391519;
  --pro-bd: #a3343a;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-bd: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.1);
  --nav-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
/* Selected text: Native IT red. Text that is already red turns black, so it stays readable on the red. */
::selection { background: #c92c2a; color: #fff; }
:is(.eyebrow, .plan.pro .plan-name, .legal a, .quote-author)::selection,
:is(.eyebrow, .plan.pro .plan-name, .legal a, .quote-author) ::selection { color: #000; }
.nw { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 10px; }

.wrap { width: min(100% - 40px, 1240px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow {
  color: var(--red);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: clamp(16px, 1.6vw, 24px);
}
.display {
  font-size: clamp(50px, 8.6vw, 136px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
.lede {
  color: var(--muted);
  font-size: clamp(19px, 1.65vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin-top: clamp(20px, 2vw, 32px);
  max-width: 32ch;
  text-wrap: pretty;
}
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-primary { background: #f5f5f7; color: #000; }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost { color: var(--text); border: 1px solid rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }

/* Official Apple "Download on Apple TV" badge. Use the artwork unmodified:
   min 40px tall onscreen, clear space = 1/4 of badge height, one badge per page. */
.store-badge { display: inline-block; line-height: 0; border-radius: 9px; }
.store-badge img { display: block; height: 48px; width: auto; }

.text-cta { font-size: 17px; font-weight: 600; color: var(--text); --underline: rgba(255, 255, 255, 0.3); }

/* App Store links: the underline is drawn as a 1px background line so it also runs under the chevron
   (a real text underline skips inline-block icons). --underline sets its color. */
.nav-cta, .text-cta {
  text-decoration: none;
  /* room for the line below the text; the negative margin keeps the box the same height,
     so the text stays aligned with the nav links and the language button */
  padding-bottom: 0.2em; margin-bottom: -0.2em;
  background: linear-gradient(var(--underline), var(--underline)) left bottom / 100% 1px no-repeat;
}
.nav-cta:hover, .text-cta:hover { --underline: currentColor; }

/* chevron.right after App Store links, drawn in the link's own color and centered on the capitals */
.nav-cta::after, .text-cta::after {
  content: ""; display: inline-block;
  width: 0.36em; height: 0.62em; margin-left: 0.45em; vertical-align: -0.02em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 16'%3E%3Cpath d='M1.5 1.5 7.5 8l-6 6.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 16'%3E%3Cpath d='M1.5 1.5 7.5 8l-6 6.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(1, 1, 1, 0.66);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.wordmark img { display: block; height: 28px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 34px); font-size: 13px; }
.nav-links a {
  font-size: 13px; color: rgba(245, 245, 247, 0.8); text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
/* Section currently on screen (set by js/main.js). */
.nav-links a[aria-current="location"] { color: var(--red); }
.nav-cta { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; --underline: transparent; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Side menu in the style of the tvOS 26 sidebar. Desktop only: a wide window and a mouse.
   Folded it shows icons in circles; on hover or keyboard focus it opens over the page, dims the page
   and shows labels and group headings. Items are capsules; the one under the mouse or keyboard focus
   is white (as on tvOS); the section on screen is red. Sizes follow the tvOS proportions:
   row height about 3x the text size, icon slightly larger than the text, panel corners concentric
   with the capsules (capsule radius + panel padding). */
.tv-menu { display: none; }
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .nav-links { display: none; }
  /* Room on the left for the folded menu. */
  .wrap { width: min(100% - 2 * 108px, 1240px); }
  .tv-menu {
    --item-h: 52px;
    --pad: 8px;
    display: block;
    position: fixed; z-index: 56; left: 16px; top: calc(var(--nav-h) + 16px);
    width: calc(var(--item-h) + 2 * var(--pad) + 2px);
    padding: var(--pad);
    overflow: hidden;
    /* Folded: no panel, just the icons floating in the left margin. */
    background: transparent;
    border: 1px solid transparent;
    border-radius: calc(var(--item-h) / 2 + var(--pad));
    transition: width 0.3s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  }
  /* Open: the glass panel appears around the icons. */
  .tv-menu:hover, .tv-menu:focus-within {
    width: 272px;
    background-color: rgba(36, 35, 39, 0.66);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    backdrop-filter: saturate(180%) blur(30px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  /* minmax(0, 1fr): the items follow the menu width instead of stretching to their label, so the
     capsule of the current or focused item stays whole when the menu is folded. */
  .tv-menu ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tv-menu a {
    display: flex; align-items: center; gap: 14px;
    height: var(--item-h);
    padding: 0 calc((var(--item-h) - 22px) / 2);  /* centres the icon in a circle when folded */
    border-radius: 999px; overflow: hidden;
    color: rgba(245, 245, 247, 0.55); text-decoration: none;
    font-size: 17px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
    transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  }
  .tv-menu svg { flex: none; width: 22px; height: 22px; }
  .tv-menu-app { flex: none; width: 22px; height: 22px; border-radius: 5px; }
  .tv-menu:hover a, .tv-menu:focus-within a { color: rgba(245, 245, 247, 0.9); }
  /* Group headings ("Playback", "More"): small grey text when open, a small gap when folded. */
  .tv-menu-head {
    height: 8px; overflow: hidden; padding: 0 0 0 calc((var(--item-h) - 22px) / 2);
    font-size: 13px; font-weight: 600; color: rgba(245, 245, 247, 0.45); white-space: nowrap;
    transition: height 0.3s var(--ease), padding 0.3s var(--ease);
  }
  .tv-menu:hover .tv-menu-head, .tv-menu:focus-within .tv-menu-head { height: 34px; padding-top: 12px; }
  .tv-menu span { opacity: 0; transition: opacity 0.2s; }
  .tv-menu:hover span, .tv-menu:focus-within span { opacity: 1; }
  .tv-menu a[aria-current="location"] { color: var(--red); background: rgba(255, 255, 255, 0.08); }
  .tv-menu a:hover, .tv-menu a:focus {
    background: #f5f5f7; color: #000; outline: none;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }
  /* Dim the page while the menu is open, as tvOS does. Clicks still go through. */
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 55; pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3) 60%);
    opacity: 0; transition: opacity 0.3s var(--ease);
  }
  body:has(.tv-menu:hover, .tv-menu:focus-within)::after { opacity: 1; }
}
@media (max-width: 400px) { .nav-cta .long { display: none; } }

/* Phone menu (hamburger): section links and the App Store button. Only on narrow screens,
   where the top bar has no room for them; the language button stays in the bar. */
.nav-menu { display: none; }
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-menu { display: block; }
  .nav-menu summary {
    display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px;
    list-style: none; cursor: pointer; user-select: none; border-radius: 10px;
    color: rgba(245, 245, 247, 0.9);
  }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu summary .icon { width: 22px; height: 22px; }
  .nav-menu .icon-close, .nav-menu[open] .icon-open { display: none; }
  .nav-menu[open] .icon-close { display: block; }
  /* Positioned against the sticky nav bar, so it spans the screen just below it. */
  .nav-menu-panel {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; z-index: 60;
    max-height: calc(100svh - var(--nav-h) - 24px); overflow-y: auto;
    padding: 8px;
    background: #1c1c1e; /* solid: a blur nested inside the blurred nav bar doesn't render */
    border: 1px solid var(--glass-bd); border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  }
  .nav-menu-panel ul { display: grid; gap: 2px; }
  .nav-menu-panel ul a {
    display: flex; align-items: center; gap: 14px;
    min-height: 50px; padding: 0 14px; border-radius: 14px;
    font-size: 17px; font-weight: 500; color: rgba(245, 245, 247, 0.9); text-decoration: none;
  }
  .nav-menu-panel svg { flex: none; width: 22px; height: 22px; }
  .nav-menu-panel ul a:hover { background: rgba(255, 255, 255, 0.08); }
  .nav-menu-panel ul a[aria-current="location"] { color: var(--red); background: rgba(255, 255, 255, 0.06); }
  .nav-menu-panel .btn { display: flex; width: 100%; margin-top: 8px; }
}

/* Language button: globe + language code, opens a list of all languages */
.nav-end { display: flex; align-items: center; gap: clamp(16px, 2vw, 24px); }
.lang-menu { position: relative; }
.lang-menu summary {
  display: flex; align-items: center; gap: 5px;
  list-style: none; cursor: pointer; user-select: none;
  font-size: 13px; font-weight: 600; color: rgba(245, 245, 247, 0.8);
  transition: color 0.2s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: #fff; }
.lang-menu summary .icon { width: 17px; height: 17px; color: currentColor; }
.lang-menu-list {
  position: absolute; top: calc(100% + 14px); right: -12px; z-index: 60;
  min-width: 230px; max-height: calc(100vh - var(--nav-h) - 24px); overflow-y: auto;
  padding: 6px;
  background: #1c1c1e; /* solid: a blur nested inside the blurred nav bar doesn't render */
  border: 1px solid var(--glass-bd); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.lang-menu-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; color: rgba(245, 245, 247, 0.85); text-decoration: none;
}
.lang-menu-list a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lang-menu-list a[aria-current="page"] { color: #fff; font-weight: 600; }
.lang-menu-list a[aria-current="page"]::after {
  content: ""; width: 12px; height: 12px; flex: none; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5L19.5 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5L19.5 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Sections ---------- */
section {
  position: relative;
  padding-block: clamp(96px, 12vw, 168px);
  overflow: hidden;
  overflow: clip;
  scroll-margin-top: var(--nav-h);
}
@media (min-width: 960px) and (min-height: 640px) {
  /* Capped so very tall windows (e.g. headless screenshots) do not stretch each section. */
  .panel {
    min-height: min(calc(100vh - var(--nav-h)), 1080px);
    min-height: min(calc(100svh - var(--nav-h)), 1080px);
    display: flex; flex-direction: column; justify-content: center;
  }
}

/* ---------- Reveal (content is visible by default; JS only hides below-the-fold items) ---------- */
.reveal.is-pending { opacity: 0; transform: translateY(40px); }
.reveal.is-pending.is-in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

/* ---------- 2. Hero ---------- */
.hero {
  padding-top: clamp(72px, 10vw, 136px);
  padding-bottom: clamp(80px, 9vw, 140px);
  background:
    radial-gradient(42% 34% at 18% 30%, rgba(150, 88, 34, 0.30), transparent 72%),
    radial-gradient(38% 34% at 84% 58%, rgba(96, 72, 170, 0.22), transparent 72%),
    radial-gradient(30% 22% at 50% 82%, rgba(232, 72, 74, 0.10), transparent 72%);
}
.hero .lede { max-width: 30ch; }
.cta-row {
  margin-top: clamp(28px, 3vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
}
.meta { margin-top: 18px; color: var(--muted); font-size: 15px; letter-spacing: 0.01em; }
.tv {
  position: relative;
  margin: clamp(56px, 6vw, 96px) auto 0;
  max-width: 1120px;
  isolation: isolate;
}
.tv::before {
  content: "";
  position: absolute; inset: -3% -5% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 176, 96, 0.36), rgba(120, 96, 255, 0.16) 60%, transparent);
  filter: blur(56px);
}
.tv-frame {
  padding: clamp(5px, 0.75vw, 11px);
  border-radius: clamp(18px, 2.4vw, 34px);
  background: linear-gradient(180deg, #1b1b1d, #0a0a0b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.tv-frame img { width: 100%; border-radius: clamp(13px, 1.65vw, 23px); }

/* ---------- 3. Audio ---------- */
.audio {
  background:
    radial-gradient(34% 40% at 76% 50%, rgba(78, 46, 170, 0.36), transparent 72%),
    radial-gradient(22% 26% at 64% 40%, rgba(60, 90, 200, 0.16), transparent 72%),
    radial-gradient(26% 20% at 22% 74%, rgba(232, 72, 74, 0.10), transparent 72%);
}
.split { display: grid; gap: clamp(56px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }
.channels { margin-top: clamp(32px, 3.2vw, 48px); display: grid; gap: 10px; }
.ch-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .ch-row { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.ch {
  display: flex; align-items: center; justify-content: center;
  min-height: 2.75em;
  font-size: clamp(13px, 1.1vw, 17px); font-weight: 700; letter-spacing: -0.01em;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.6em;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.6s ease;
}
.ch.h {
  background: var(--red);
  border-color: var(--red-hi);
  box-shadow: 0 0 26px -4px rgba(232, 72, 74, 0.75);
}
.channels.armed .ch.h {
  background: #1c1c1e; border-color: rgba(255, 255, 255, 0.18); box-shadow: none;
}
.channels.armed.play .ch.h {
  background: var(--red);
  border-color: var(--red-hi);
  box-shadow: 0 0 26px -4px rgba(232, 72, 74, 0.75);
  transition-delay: calc(var(--i) * 170ms + 250ms);
}
.stats {
  margin-top: clamp(24px, 2.4vw, 36px);
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 4px;
}
.stats strong { color: var(--text); font-weight: 700; }
.stats > * + *::before { content: "·"; margin-right: 12px; color: rgba(255, 255, 255, 0.35); }
/* Narrow screens: stack the stats, so a wrapped line never starts with a "·". */
@media (max-width: 520px) {
  .stats { flex-direction: column; }
  .stats > * + *::before { content: none; }
}

.menu {
  position: relative;
  max-width: 560px; margin-inline: auto;
  padding: 1.15em 0 0.85em;
  font-size: clamp(18px, 1.75vw, 27px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04) 55%, rgba(120, 100, 200, 0.07));
  -webkit-backdrop-filter: blur(36px) saturate(150%);
  backdrop-filter: blur(36px) saturate(150%);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.45em;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.menu-title { color: rgba(255, 255, 255, 0.55); font-size: 0.74em; font-weight: 600; padding: 0 1.4em 0.4em; }
.menu li { position: relative; padding: 0.62em 1.4em 0.62em 2.5em; color: rgba(255, 255, 255, 0.9); letter-spacing: -0.01em; }
.menu li.sel {
  margin-inline: -0.3em;
  padding-left: 2.8em; padding-right: 1.7em;
  background: #fff; color: #000; font-weight: 600;
  border-radius: 0.65em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 12px 70px rgba(255, 255, 255, 0.24);
}
.menu li.sel svg { position: absolute; left: 1.1em; top: 50%; width: 1em; height: 1em; transform: translateY(-50%); }

/* ---------- 4. Dolby Vision ---------- */
.video {
  background:
    radial-gradient(48% 30% at 50% 26%, rgba(150, 84, 20, 0.30), transparent 72%),
    radial-gradient(30% 24% at 20% 60%, rgba(120, 70, 30, 0.14), transparent 72%);
}
.pills { margin-top: clamp(28px, 2.8vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill {
  padding: 0.42em 1em;
  font-size: clamp(15px, 1.2vw, 18px); font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}
.compare { margin: clamp(48px, 5vw, 80px) auto 0; max-width: 1180px; }
.compare img {
  width: 100%;
  border-radius: clamp(16px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 120px -40px rgba(150, 84, 20, 0.45);
}
.compare figcaption {
  /* Two equal columns keep each caption under its own half of the split image. */
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 18px 1.2em 0;
  font-size: clamp(15px, 1.5vw, 22px); font-weight: 600;
}
.cap-dv { color: var(--text); }
.cap-sdr { color: var(--label); text-align: right; }
.facts { margin-top: clamp(56px, 6vw, 96px); display: grid; gap: 40px; }
@media (min-width: 760px) { .facts { grid-template-columns: 1fr 1fr; gap: 64px; } }
.fact { border-top: 1px solid var(--line); padding-top: 24px; }
.fact h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
.fact p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 42ch; }
.tag-pro {
  display: inline-block; vertical-align: 0.2em;
  margin-left: 2px; padding: 0.25em 0.7em; /* + the space before it in the HTML ≈ the old 8px gap */
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: var(--pro-bg); border: 1px solid var(--pro-bd); border-radius: 999px;
}

/* ---------- 5. Formats ---------- */
.formats {
  background:
    radial-gradient(38% 34% at 74% 36%, rgba(40, 70, 150, 0.28), transparent 72%),
    radial-gradient(30% 26% at 62% 70%, rgba(130, 64, 40, 0.16), transparent 72%);
}
.fmt { margin-top: clamp(48px, 5vw, 72px); }
.fmt-row { display: grid; gap: 12px; padding: 12px 0; }
@media (min-width: 760px) { .fmt-row { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; } }
.fmt-label {
  color: var(--label);
  font-size: clamp(13px, 1.05vw, 16px); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding-top: 0.6em;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  padding: 0.36em 0.95em;
  font-size: clamp(15px, 1.25vw, 19px); font-weight: 600; letter-spacing: -0.01em;
  color: #fff;
  background: var(--free-bg);
  border: 1.5px solid var(--free-bd);
  border-radius: 999px;
  white-space: nowrap;
}
.chip.pro { background: var(--pro-bg); border-color: var(--pro-bd); }
.pro-tag { font-size: 0.72em; font-weight: 600; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.62); }
.fmt-note {
  margin-top: clamp(32px, 3.4vw, 52px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  color: var(--muted); font-size: clamp(16px, 1.3vw, 20px);
}
.fmt-note .chip { white-space: normal; }

/* ---------- 6. Sources + 7. Details ---------- */
.sources {
  background:
    radial-gradient(36% 30% at 24% 40%, rgba(70, 50, 150, 0.22), transparent 72%),
    radial-gradient(30% 26% at 80% 62%, rgba(150, 90, 34, 0.16), transparent 72%);
}
.tiles { margin-top: clamp(48px, 5vw, 80px); display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); }
.tile {
  padding: clamp(22px, 2vw, 30px);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.tile:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
/* 8 tiles (6 live, Plex in beta + 2 "Soon"): 4 + 4 on wide screens, 2 + 2 + 2 + 2 in between. */
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile.soon { background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, 0.16); }
.tile.soon:hover { border-color: rgba(255, 255, 255, 0.16); transform: none; }
.tile.soon .icon { color: var(--label); }
.tag-soon {
  display: inline-block; vertical-align: 0.15em;
  margin-left: 2px; padding: 0.25em 0.7em;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px;
}
/* Plex: available, still in beta. Brighter than "Soon", since it can be used today. */
.tag-beta {
  display: inline-block; vertical-align: 0.15em;
  margin-left: 2px; padding: 0.25em 0.7em;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px;
}
.icon { width: 36px; height: 36px; color: #fff; }
.tile h3, .detail h3 { margin-top: 20px; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.tile p, .detail p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.45; }
@media (max-width: 559px) {
  .tiles { grid-template-columns: 1fr; }
  .tile, .detail { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; }
  .tile .icon, .detail .icon { grid-row: span 2; }
  .tile h3, .detail h3 { margin-top: 4px; }
}

.details { padding-top: clamp(40px, 6vw, 96px); }
.detail-list { margin-top: clamp(48px, 5vw, 72px); display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.detail { border-top: 1px solid var(--line); padding-top: 24px; }
.detail .icon { width: 30px; height: 30px; color: var(--red); }

/* ---------- 8. Media coverage ---------- */
.press { padding-top: 0; }
/* Carousel: a row of cards that scrolls sideways (swipe, trackpad or the buttons) and snaps to a card.
   js/main.js moves it on by one card every few seconds. Two cards side by side on wide screens,
   one near full-width card with the next one peeking in on narrow screens, where only the arrow
   buttons move it (no swiping). */
.carousel { margin-top: clamp(48px, 5vw, 72px); }
.carousel-track {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
/* Card width leaves room for a sliver of the next card: 2 cards + 18 %. Narrow screens: see below. */
.carousel-track > .quote { flex: 0 0 calc((100% - 40px) / 2.18); scroll-snap-align: start; }
/* Slivers of the neighbouring cards are blurred and fade out, as a hint that there is more.
   At rest (never moved) only the next card shows, on the right. Once the row has moved
   (.is-scrolled, set by js/main.js) the cards shift so the previous card shows on the left as well,
   with both slivers the same width. The numbers follow the card widths above:
   --edge is the sliver plus the gap to the card next to it. */
.carousel-viewport {
  position: relative;
  --edge: calc((100% - 40px) * 0.18 / 2.18 + 20px);          /* at rest: the right-hand sliver */
  --edge-moved: calc((100% - 40px) * 0.09 / 2.18 + 10px);    /* moved: half of it on each side */
}
.carousel.is-scrolled .carousel-track { scroll-padding-left: var(--edge-moved); }
/* The row itself fades to transparent towards each edge, so a neighbouring card dissolves into the
   page instead of being cut off by the edge of the row. No fade on the left until the row has moved. */
.carousel-track {
  --fade-l: 0px;
  --fade-r: var(--edge);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1), #000 calc(var(--fade-l) * 0.7), #000 calc(100% - var(--fade-r) * 0.7), rgba(0, 0, 0, 0.1));
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1), #000 calc(var(--fade-l) * 0.7), #000 calc(100% - var(--fade-r) * 0.7), rgba(0, 0, 0, 0.1));
}
.carousel.is-scrolled .carousel-track { --fade-l: var(--edge-moved); --fade-r: var(--edge-moved); }
/* Each edge fade reaches 48px past the sliver into the card next to it (the card's own padding),
   with an eased curve, so blurred and sharp blend without a visible line. */
.carousel-viewport::before, .carousel-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: width 0.4s var(--ease), opacity 0.4s var(--ease);
}
.carousel-viewport::after {
  right: 0; width: calc(var(--edge) + 48px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.88) 62%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.88) 62%, #000 80%);
}
.carousel-viewport::before {
  left: 0; width: calc(var(--edge-moved) + 48px); opacity: 0;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.88) 62%, #000 80%);
  mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.88) 62%, #000 80%);
}
.carousel.is-scrolled .carousel-viewport::after { width: calc(var(--edge-moved) + 48px); }
.carousel.is-scrolled .carousel-viewport::before { opacity: 1; }
/* Narrow screens: no blur or fade, the row runs to the screen edges, and each card fills the width
   except for a 16px peek of the next card. Cards are only as tall as their own quote.
   20px = the page gutter (.wrap). js/main.js knows there is no "moved" offset here. */
@media (max-width: 819px) {
  .carousel-track {
    gap: 12px; align-items: flex-start;
    overflow: hidden;  /* no swiping: only the arrows (and the timer) move it. js/main.js sets the row's height to the card on screen; every card takes that height */
    scroll-snap-type: none; touch-action: pan-y;
    margin-inline: -20px; padding-inline: 20px;
    -webkit-mask-image: none; mask-image: none;
  }
  .carousel-track, .carousel.is-scrolled .carousel-track { scroll-padding-left: 20px; }
  .carousel-track > .quote { flex-basis: calc(100% - 8px); padding: 24px; height: 100%; overflow: hidden; }
  .carousel-track.is-measuring > .quote { height: auto; }
  .carousel-viewport::before, .carousel-viewport::after { display: none; }
  /* Controls above the cards across the full width (pause and page dots left, arrows right), so they
     stay put while the row's height changes with each card. */
  .carousel { display: flex; flex-direction: column; margin-top: 32px; }
  .carousel-controls { order: -1; margin: 0 0 16px; }
}
.carousel-controls { margin-top: 24px; display: flex; justify-content: flex-end; gap: 12px; }
.carousel-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; cursor: pointer;
  background: var(--glass); border: 1px solid var(--glass-bd); color: var(--text);
  transition: background-color 0.2s, border-color 0.2s;
}
.carousel-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-toggle .icon-play, .carousel-toggle[data-paused] .icon-pause { display: none; }
.carousel-toggle[data-paused] .icon-play { display: block; }
/* Page dots (narrow screens only, filled in by js/main.js): the card on screen gets a wider, white dot. */
.carousel-dots { display: none; }
.carousel-dots span {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.3s var(--ease), background-color 0.3s;
}
.carousel-dots span.is-current { width: 18px; background: var(--text); }
@media (max-width: 819px) {
  .carousel-dots { display: flex; align-items: center; gap: 8px; margin-right: auto; }
}
.quote {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: 32px;
}
.quote-outlet { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
/* Outlet logos (transparent backgrounds) are shown in white so they read on the dark card and match.
   --h sets each logo's height, since they have different proportions and margins. */
.outlet-wordmark { height: var(--h, 22px); width: auto; filter: brightness(0) invert(1); }
/* Logos whose own colours already read on the dark card (white type on a coloured box) keep them. */
.outlet-logo { height: var(--h, 32px); width: auto; }
.outlet-badge { width: 44px; height: 44px; border-radius: 11px; }
.quote blockquote { margin: 20px 0 0; }
.quote blockquote p {
  font-size: clamp(21px, 2vw, 28px); font-weight: 600; line-height: 1.22; letter-spacing: -0.02em;
  text-indent: -0.4em; text-wrap: pretty;
}
.quote blockquote:lang(fr) p { text-indent: 0; }
/* Translation of a quote that is not in the page language. Left empty on the page in the quote's own language. */
.quote-tr { margin-top: 14px; color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; }
.quote-tr:empty { display: none; }
.quote figcaption { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.quote-meta { color: var(--muted); font-size: 15px; line-height: 1.45; }
.quote-author { color: var(--red); font-weight: 600; }
.quote-links { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
/* Apple's "Listen on Apple Podcasts" lockup (white type for dark backgrounds). Apple: at least 25 px tall, clear space of a quarter of its height. */
.podcast-lockup { display: block; margin: 8px 0; }
.podcast-lockup img { height: 32px; width: auto; }

/* ---------- 9. Pricing ---------- */
.pricing {
  background:
    radial-gradient(30% 34% at 70% 58%, rgba(232, 72, 74, 0.14), transparent 72%),
    radial-gradient(30% 30% at 28% 54%, rgba(47, 143, 74, 0.10), transparent 72%);
}
.plans {
  margin: clamp(48px, 5vw, 80px) auto 0; max-width: 1000px;
  display: grid; gap: 20px; text-align: left;
}
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: 32px;
}
.plan.pro { background: linear-gradient(160deg, rgba(57, 21, 25, 0.75), rgba(255, 255, 255, 0.04) 70%); border-color: rgba(163, 52, 58, 0.7); }
.plan-name { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6fd08c; }
.plan.pro .plan-name { color: var(--red); }
.plan-price { margin-top: 14px; font-size: clamp(44px, 4.4vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.plan-sub { margin-top: 10px; color: var(--muted); }
.prices { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price {
  padding: 16px 18px; border-radius: 20px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.1);
}
.price-term { color: var(--muted); font-size: 15px; font-weight: 600; }
.price-amt { margin-top: 2px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
/* "Early adopter" corner ribbon on the PRO card. #d63a3d keeps white text at 4.6:1 contrast. */
.plan.pro { position: relative; overflow: hidden; }
.ribbon {
  position: absolute; top: 30px; right: -52px;
  width: 200px; padding: 7px 0;
  transform: rotate(45deg);
  background: #d63a3d; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
/* Keep the price boxes clear of the ribbon when the card padding shrinks (narrow screens). */
.plan.pro .prices { margin-top: max(14px, calc(101px - 2 * clamp(28px, 3vw, 44px))); }
.checks { margin-top: 28px; display: grid; gap: 12px; flex: 1; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: #d2d2d7; }
.checks svg { width: 20px; height: 20px; margin-top: 2px; color: #6fd08c; }
.plan.pro .checks svg { color: var(--red-hi); }
.plan .text-cta { margin-top: 32px; align-self: flex-start; }
.fine { margin-top: 24px; color: var(--label); font-size: 14px; }

/* ---------- 10. New in 2.0 + community ---------- */
.new {
  background: radial-gradient(40% 36% at 50% 82%, rgba(84, 52, 170, 0.24), transparent 72%);
}
.new-list {
  margin-top: clamp(40px, 4.4vw, 64px);
  display: grid; gap: 0 28px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.new-list li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.new-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: translateY(-3px); }
.community {
  margin-top: clamp(64px, 7vw, 112px);
  display: grid; gap: 28px; align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: 36px;
}
@media (min-width: 860px) { .community { grid-template-columns: 1fr auto; } }
.community h3 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.03em; line-height: 1.05; }
.community p { margin-top: 12px; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 11. Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr auto; align-items: start; } }
.foot p { color: var(--muted); }
.foot .wordmark { display: inline-block; color: var(--text); margin-bottom: 8px; }
.foot .wordmark img { height: 96px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-links a { color: #d2d2d7; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-langs { margin-top: 40px; }
.lang-switch { display: flex; align-items: flex-start; gap: 12px; }
.lang-switch .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--label); }
.lang-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.lang-links a { color: var(--label); text-decoration: none; }
.lang-links a:hover { color: #fff; text-decoration: underline; }
.lang-links a[aria-current="page"] { color: var(--text); }
.foot-langs + .foot-bottom { margin-top: 28px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot-bottom p { color: var(--label); }
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: #fff; text-decoration: underline; }
.foot-legal { flex-basis: 100%; max-width: 72ch; font-size: 12px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Privacy policy ---------- */
.legal { padding-block: clamp(56px, 8vw, 104px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; }
.legal .effective { color: var(--muted); margin-top: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.legal p { color: #d2d2d7; line-height: 1.6; }
.legal a { color: var(--red-hi); }
.legal a:hover { color: #fff; }

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100svh - var(--nav-h));
  display: grid; place-items: center; text-align: center;
  padding-block: clamp(72px, 10vw, 136px);
  background:
    radial-gradient(40% 34% at 30% 36%, rgba(150, 88, 34, 0.22), transparent 72%),
    radial-gradient(36% 32% at 72% 60%, rgba(96, 72, 170, 0.20), transparent 72%);
}
.notfound .code {
  font-size: clamp(96px, 18vw, 220px); line-height: 0.9; font-weight: 700; letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.28));
  -webkit-background-clip: text; background-clip: text;
}
.notfound .h2 { margin-top: clamp(12px, 1.4vw, 20px); }
.notfound .lede { margin-inline: auto; }

/* ---------- Translations ---------- */
/* Japanese has no spaces, so let Chrome break lines between phrases instead of mid-word. */
:lang(ja) { word-break: auto-phrase; }
