:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --line: #e8e8ed;
  --text: #1d1d1f;
  --dim: #6e6e73;
  --blue: #2f7cf6;
  --blue-dark: #1f5fd0;
  --accent-grad: linear-gradient(135deg, #2f7cf6 0%, #6e3df0 100%);
  --red: #e5484d;
  --green: #1f9d63;
  --orange: #c77400;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 40px rgba(47, 124, 246, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Anchor targets clear the sticky nav (and don't hide beneath it) */
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 251, 253, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; gap: 12px; padding: 12px 24px; }
nav img { width: 40px; height: 40px; border-radius: 9px; box-shadow: var(--shadow-sm); }
nav .brand {
  font-weight: 800; font-size: 21px; letter-spacing: -0.3px;
  color: var(--text); text-decoration: none;
}
/* Hamburger menu */
nav details.menu { margin-left: auto; position: relative; }
nav details.menu summary {
  list-style: none; cursor: pointer;
  width: 46px; height: 38px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--card);
  box-shadow: var(--shadow-sm);
}
nav details.menu summary::-webkit-details-marker { display: none; }
nav details.menu summary::marker { content: ""; display: none; }
nav details.menu summary span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
nav details.menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav details.menu[open] summary span:nth-child(2) { opacity: 0; }
nav details.menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@keyframes ddIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
nav .dropdown {
  animation: ddIn 0.18s ease;
  transform-origin: top right;
  position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); min-width: 250px; padding: 8px; z-index: 30;
}
nav .dropdown a {
  display: block; padding: 12px 15px; border-radius: 10px;
  color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none;
}
nav .dropdown a:hover { background: var(--bg-alt); color: var(--blue); }
nav .dropdown .soon-pill {
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  background: rgba(199, 116, 0, 0.12); color: var(--orange);
  border-radius: 99px; padding: 2px 8px; margin-left: 6px;
}
.dd-sep { height: 1px; background: var(--line); margin: 7px 9px; }

/* ---- Beta (TestFlight) callout — centered in the hero, above the badges ---- */
.beta-bar {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 9px 14px;
  margin: 6px auto 22px; padding: 11px 16px;
  background:
    linear-gradient(135deg, rgba(47, 124, 246, 0.10), rgba(110, 61, 240, 0.10));
  border: 1px solid rgba(47, 124, 246, 0.22);
  border-radius: 16px;
}
.beta-pill {
  flex: 0 0 auto; background: var(--accent-grad); color: #fff;
  font-weight: 800; font-size: 11.5px; letter-spacing: 0.09em;
  padding: 4px 10px; border-radius: 99px;
}
.beta-text { margin: 0; font-size: 14.5px; color: var(--dim); }
.beta-text strong { color: var(--text); font-weight: 700; }
.beta-btn {
  flex: 0 0 auto; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
  padding: 9px 18px; border-radius: 99px; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: background 0.15s ease, transform 0.12s ease;
}
.beta-btn:hover { background: var(--blue-dark); transform: translateY(-1px); text-decoration: none; }
.discord-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  background: #5865f2; color: #fff; font-weight: 700; font-size: 14.5px;
  white-space: nowrap; padding: 9px 16px; border-radius: 99px; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: background 0.15s ease, transform 0.12s ease;
}
.discord-btn:hover { background: #4752c4; transform: translateY(-1px); text-decoration: none; }
.discord-btn svg { width: 18px; height: 14px; }

/* ---- Hero ---- */
.hero {
  text-align: center; padding: 84px 0 64px;
  background:
    radial-gradient(1000px 480px at 50% -120px, rgba(47, 124, 246, 0.12), transparent 70%),
    radial-gradient(700px 380px at 85% 30px, rgba(110, 61, 240, 0.08), transparent 70%);
}
.hero img.appicon {
  width: 132px; height: 132px; border-radius: 30px;
  box-shadow: 0 20px 60px rgba(47, 124, 246, 0.30), 0 4px 14px rgba(0, 0, 0, 0.10);
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px); margin: 28px 0 14px;
  letter-spacing: -1.5px; line-height: 1.08; font-weight: 800;
}
.hero h1 .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.tagline {
  font-size: 21px; color: var(--dim); max-width: 640px; margin: 0 auto 36px;
  line-height: 1.5;
}

.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 24px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--text); text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.badge.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.badge .small { display: block; font-size: 11px; opacity: 0.75; line-height: 1.2; text-align: left; }
.badge .big { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.3; text-align: left; }
.badge.soon { cursor: default; }
.badge.soon:hover { transform: none; box-shadow: var(--shadow-sm); }
.badge .soon-pill {
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  background: rgba(199, 116, 0, 0.12); color: var(--orange);
  border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px;
}
.badge svg { width: 26px; height: 26px; flex: 0 0 auto; }

.platforms { color: var(--dim); font-size: 14px; margin-top: 26px; letter-spacing: 0.01em; font-weight: 500; }

/* ---- Sections ---- */
section { padding: 76px 0; }
section.alt { background: var(--bg-alt); }
section h2 {
  font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; text-align: center;
  letter-spacing: -0.8px; font-weight: 800;
}
section p.sub { color: var(--dim); text-align: center; max-width: 660px; margin: 0 auto 44px; font-size: 18px; }

/* ---- TV vignette (pure-CSS guide mockup — stays dark like a real TV) ---- */
.tv-vignette { max-width: 760px; margin: 56px auto 0; }
.tv-frame {
  background: linear-gradient(180deg, #101a2e, #0a1322);
  border-radius: 20px;
  padding: 24px 24px 18px;
  box-shadow: 0 30px 90px rgba(13, 36, 80, 0.35), 0 0 0 7px #1a1c20;
  text-align: left;
}
.tv-stand { width: 190px; height: 11px; margin: 0 auto; background: #1a1c20; border-radius: 0 0 10px 10px; }
.mini-guide { position: relative; font-size: 12.5px; }
.mg-timebar {
  display: grid; grid-template-columns: 46px 1fr 1fr 1fr; gap: 6px;
  color: #8da2c8; font-weight: 600; font-size: 11px; margin-bottom: 8px;
}
.mg-timebar span:first-child { grid-column: 2; }
.mg-clock { color: #e8eefc; }
.mg-row { display: flex; gap: 6px; margin-bottom: 6px; align-items: stretch; }
.mg-ch {
  flex: 0 0 40px; display: flex; align-items: center; justify-content: center;
  background: #0d1626; border: 1px solid #1f2c47; border-radius: 8px;
  color: #8da2c8; font-weight: 700; font-size: 11px;
}
.mg-cell {
  flex: 1; padding: 10px 11px; border-radius: 8px;
  background: #0d1626; border: 1px solid #1f2c47;
  color: #8da2c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mg-cell.w2 { flex: 2; }
.mg-cell.now {
  background: rgba(47, 124, 246, 0.25); border-color: var(--blue);
  color: #e8eefc; font-weight: 600;
}
.live-pill {
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em;
  background: var(--blue); color: #fff; border-radius: 4px; padding: 1px 5px;
  vertical-align: 1px; margin-left: 5px;
}
.mg-cell.rec { color: #e8eefc; }
.rec-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); margin-left: 5px;
  box-shadow: 0 0 7px rgba(229, 72, 77, 0.85);
}
.mg-nowline {
  position: absolute; top: 22px; bottom: 0; left: calc(46px + 33%);
  width: 2px; background: var(--red); opacity: 0.85; border-radius: 2px;
}
.mini-scrub {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; padding-top: 15px; border-top: 1px solid #1f2c47;
}
.ms-label { color: #8da2c8; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ms-label.live { color: var(--red); }
.ms-track { position: relative; flex: 1; height: 6px; border-radius: 99px; background: #0d1626; }
.ms-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 72%; border-radius: 99px; background: var(--accent-grad); }
.ms-head {
  position: absolute; left: 72%; top: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 9px rgba(47, 124, 246, 0.95);
}

/* ---- Screenshots ---- */
.shots { display: flex; gap: 22px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.shot { text-align: center; }
.shot img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 100%; height: auto;
}
.shot.tv img { max-width: 660px; }
.shot.phone img { max-width: 235px; }
.shot .cap { color: var(--dim); font-size: 14px; margin-top: 12px; font-weight: 500; }

/* ---- Features ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 780px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature .icon { font-size: 30px; }
.feature h3 { font-size: 17px; margin: 12px 0 7px; letter-spacing: -0.2px; }
.feature p { font-size: 14.5px; color: var(--dim); margin: 0; line-height: 1.55; }
.feature a { color: var(--blue); text-decoration: none; }

/* ---- Comparison ---- */
.compare { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.compare table { width: 100%; border-collapse: collapse; min-width: 580px; }
.compare th, .compare td {
  padding: 15px 20px; text-align: left; font-size: 15px;
  border-bottom: 1px solid var(--line); color: var(--dim);
}
.compare tr:last-child td { border-bottom: none; }
.compare thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.compare td:first-child { color: var(--text); font-weight: 600; }
.compare .hl { color: var(--text); }
.compare td.hl { background: rgba(47, 124, 246, 0.06); font-weight: 600; }
.compare thead th.hl { color: var(--blue); }

/* ---- Downloads ---- */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .downloads { grid-template-columns: 1fr; } }
.dl-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 34px 28px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.dl-card .oslogo { height: 52px; margin-bottom: 14px; }
.dl-card .oslogo svg { height: 52px; width: auto; }
.dl-card h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.3px; }
.dl-card .req { color: var(--dim); font-size: 14px; margin: 0 0 22px; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 980px;
  background: var(--blue); color: #fff; font-weight: 700;
  text-decoration: none; font-size: 16px;
  box-shadow: 0 6px 20px rgba(47, 124, 246, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.dl-card .ver { color: var(--dim); font-size: 13px; margin-top: 12px; font-weight: 600; }
.dl-card .note { color: var(--dim); font-size: 12.5px; margin-top: 10px; line-height: 1.5; }

.steps { max-width: 660px; margin: 44px auto 0; }
.steps ol { color: var(--dim); padding-left: 24px; font-size: 16px; }
.steps li { margin-bottom: 10px; }
.steps strong { color: var(--text); }

/* ---- Callout ---- */
.callout {
  max-width: 760px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 24px;
  color: var(--dim); font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.callout strong { color: var(--text); }

/* ---- FAQ ---- */
.faq { max-width: 740px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 0 22px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px;
  list-style: none; position: relative; letter-spacing: -0.1px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%); color: var(--blue); font-size: 22px; font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); font-size: 15px; margin: 0 0 18px; }

/* ---- Article pages (support / privacy / terms) ---- */
article { max-width: 780px; margin: 0 auto; padding: 64px 24px 90px; }
article h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; letter-spacing: -1px; font-weight: 800; }
article .updated { color: var(--dim); font-size: 14px; margin-bottom: 40px; }
article h2 { font-size: 23px; margin: 44px 0 12px; letter-spacing: -0.4px; }
article h3 { font-size: 17px; margin: 28px 0 8px; }
article p, article li { color: var(--dim); font-size: 16px; }
article strong { color: var(--text); }
article a { color: var(--blue); text-decoration: none; }
article a:hover { text-decoration: underline; }
article code {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 7px; font-size: 14px; color: var(--text);
}
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 6px 22px; margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); padding: 40px 0 52px; background: var(--bg-alt); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer, footer a { color: var(--dim); font-size: 14px; text-decoration: none; }
footer a:hover { color: var(--blue); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---- Mobile tweaks ---- */
@media (max-width: 700px) {
  nav .wrap { padding: 10px 16px; }
  nav img { width: 36px; height: 36px; }
  nav .brand { font-size: 20px; white-space: nowrap; }
  .hero { padding: 56px 0 48px; }
  .hero img.appicon { width: 108px; height: 108px; }
  .badges { padding: 0 8px; }
}

/* ---- Mini features grid ---- */
.minifeatures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .minifeatures { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .minifeatures { grid-template-columns: 1fr; } }
.mini {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
  box-shadow: var(--shadow-sm);
}
.mini .icon { font-size: 24px; }
.mini h4 { font-size: 15.5px; margin: 10px 0 6px; letter-spacing: -0.1px; }
.mini p { font-size: 13.5px; color: var(--dim); margin: 0; line-height: 1.5; }

/* ---- Responsive nav: centered inline links on wide screens, hamburger when they can't fit ---- */
nav .links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: none; gap: 28px; align-items: center;
}
nav .wrap { position: relative; }
nav .links a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 14.5px; }
nav .links a:hover { color: var(--blue); }
/* Hamburger menu is always shown — the single nav on every width */
nav details.menu { display: block; }

/* ---- User guide (book) page ---- */
article.book { max-width: 820px; }
article h2[id], article h3[id] { scroll-margin-top: 86px; }
.toc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px 30px 26px;
  box-shadow: var(--shadow-sm); margin: 0 0 26px;
}
.toc h2 { margin: 0 0 12px; font-size: 19px; letter-spacing: -0.3px; }
.toc ol { margin: 0; padding-left: 24px; columns: 2; column-gap: 44px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.toc li { margin: 5px 0; font-size: 15.5px; break-inside: avoid; }
.toc a { font-weight: 600; }
.chapter-end { display: block; font-size: 13.5px; font-weight: 600; margin: 30px 0 4px; }
.key {
  display: inline-block; background: var(--bg-alt);
  border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 7px; padding: 0 8px 1px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  white-space: nowrap; line-height: 1.5;
}
.gtable {
  overflow-x: auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-sm); margin: 18px 0 22px;
}
.gtable table { width: 100%; border-collapse: collapse; min-width: 540px; }
.gtable th, .gtable td {
  padding: 12px 16px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--line); color: var(--dim); vertical-align: top;
}
.gtable tr:last-child td { border-bottom: none; }
.gtable thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.gtable td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
/* Color legend swatches */
.swatch {
  display: inline-block; width: 34px; height: 13px; border-radius: 7px;
  vertical-align: -2px; margin-right: 9px; border: 1px solid rgba(0, 0, 0, 0.08);
}
.swatch.dot { width: 13px; border-radius: 50%; }
.sw-red { background: #e5484d; }
.sw-red-low { background: rgba(229, 72, 77, 0.35); }
.sw-orange { background: #f5a623; }
.sw-orange-low { background: rgba(245, 166, 35, 0.45); }
.sw-blue { background: linear-gradient(90deg, #2f7cf6, rgba(47, 124, 246, 0.28)); }
.sw-green { background: #1f9d63; }
.sw-green-mid { background: rgba(31, 157, 99, 0.55); }
.sw-green-low { background: rgba(31, 157, 99, 0.25); }
.sw-gray { background: #d6d6dc; }
.sw-white { background: #fff; border-color: rgba(0, 0, 0, 0.28); }
.sw-black { background: #26262b; }
/* Progress-bar diagrams (drawn, until real screenshots land) */
.bar-demo {
  background: linear-gradient(180deg, #101a2e, #0a1322);
  border-radius: 16px; padding: 20px 26px 18px; margin: 22px 0;
  box-shadow: var(--shadow-sm);
}
.bd-label {
  color: #8da2c8; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.05em; margin-bottom: 10px;
}
.bd-track {
  position: relative; display: flex; height: 10px;
  border-radius: 99px; background: rgba(255, 255, 255, 0.10);
}
.bd-seg { height: 10px; }
.bd-track .bd-seg:first-child { border-radius: 99px 0 0 99px; }
.bd-track .bd-seg:last-of-type { border-radius: 0 99px 99px 0; }
.bd-red { background: rgba(229, 72, 77, 0.92); }
.bd-red-low { background: rgba(229, 72, 77, 0.35); }
.bd-orange { background: #f5a623; }
.bd-orange-low { background: rgba(245, 166, 35, 0.45); }
.bd-blue { background: linear-gradient(90deg, #2f7cf6, rgba(47, 124, 246, 0.30)); }
.bd-greenhi { background: #23b873; }
.bd-greenmid { background: rgba(35, 184, 115, 0.45); }
.bd-gray { background: rgba(255, 255, 255, 0.14); }
.bd-tickw { flex: 0 0 2px; background: #fff; border-radius: 0 !important; }
.bd-knob {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 9px rgba(47, 124, 246, 0.95);
}
.bd-livedot {
  position: absolute; top: 50%; right: -2px; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 7px rgba(229, 72, 77, 0.85);
}
.bd-times {
  display: flex; justify-content: space-between;
  color: #8da2c8; font-size: 11px; font-weight: 600; margin-top: 9px;
}
.bd-live-label { color: #ff6b6f; }

/* Guide-page figures */
.fig { margin: 22px 0 26px; text-align: center; }
.fig img {
  max-width: 100%; height: auto; border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.fig.phone img { max-width: 300px; }
.fig figcaption { color: var(--dim); font-size: 13.5px; margin-top: 10px; font-weight: 500; }
.fig-row { display: flex; gap: 20px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.fig-row .fig { flex: 1 1 280px; min-width: 0; }

/* Real-screenshot TV frame */
.tv-frame-img { padding: 12px; }
.tv-frame-img img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* TV screenshots must shrink on small screens (flex min-width trap) */
.shots .shot { min-width: 0; max-width: 100%; }
.shot.tv { flex: 1 1 auto; width: 100%; }
.shot.tv img { width: 100%; max-width: 660px; height: auto; }
