:root {
    --bg: #0b0b12; --panel: #15151f; --fg: #f5f5f7; --muted: #a1a1b0; --accent: #6b6cf8; --line: rgba(255,255,255,0.08);
  }
  * { box-sizing: border-box; }
  html { background: var(--bg); scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* Sticky, frosted top bar */
  .topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
            background: rgba(11, 11, 18, 0.62); border-bottom: 1px solid rgba(255,255,255,0.06); }
  .topbar header { padding: 14px 0; }
  header nav a { position: relative; padding: 6px 2px; transition: color .2s; }
  header nav a:hover, header nav a.current { color: var(--fg); }
  header nav a.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
                                background: linear-gradient(90deg, #8c7fff, #6b6cf8); }
  body {
    margin: 0; color: var(--fg); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    /* Full-width glow that fades smoothly into the page, instead of a boxed hero. */
    background:
      radial-gradient(1400px 900px at 72% -220px, rgba(91, 72, 232, 0.42), transparent 70%),
      radial-gradient(1000px 700px at -10% 18%, rgba(59, 43, 168, 0.30), transparent 70%),
      radial-gradient(900px 700px at 110% 70%, rgba(59, 43, 168, 0.18), transparent 70%),
      var(--bg);
    background-repeat: no-repeat;
  }
  a { color: var(--accent); }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
  header { padding: 20px 0; display: flex; align-items: center; gap: 12px; }
  header img { width: 40px; height: 40px; border-radius: 10px; }
  header strong { font-size: 20px; }
  header nav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
  header nav a { color: var(--muted); text-decoration: none; }
  .hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 72px 0 110px; }
  .hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.02em; }
  .hero p { color: var(--muted); font-size: 19px; margin: 0 0 24px; }
  .badge { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--fg); color: #000; font-weight: 600; text-decoration: none; }
  /* Google Play next to the App Store: same pill, outlined, so the two read as a pair */
  .badge.alt { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); margin-top: 8px; }
  .badge.alt:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
  .soon { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
  .phones { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
  .phones img { width: 48%; max-width: 250px; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
  .phones img:last-child { margin-top: 48px; }
  h2 { font-size: 30px; margin: 0 0 20px; letter-spacing: -0.01em; }
  section { padding: 180px 0 72px; scroll-margin-top: 64px; position: relative; }
  /* Separator: a hairline that fades in from the edges, glows in the middle, with a small center dot */
  section::before { content: ""; position: absolute; top: 64px; left: 50%; transform: translateX(-50%);
                    width: min(720px, 86%); height: 1px;
                    background: linear-gradient(90deg, transparent, rgba(140,127,255,0.55) 35%, rgba(190,184,255,0.9) 50%, rgba(140,127,255,0.55) 65%, transparent);
                    box-shadow: 0 0 18px rgba(124,108,255,0.45); }
  section::after { content: ""; position: absolute; top: 61px; left: 50%; transform: translateX(-50%);
                   width: 7px; height: 7px; border-radius: 50%; background: #cfc9ff; box-shadow: 0 0 14px 3px rgba(140,127,255,0.8); }
  section h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 36px; }
  /* Gentle reveal on scroll */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
  .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .card { background: rgba(255,255,255,0.045); border: 1px solid var(--line); border-radius: 18px; padding: 20px; backdrop-filter: blur(8px); }
  .card h3 { margin: 0 0 6px; font-size: 18px; }
  .card p { margin: 0; color: var(--muted); font-size: 15px; }
  .brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .brands ol { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
  .brands li { margin-bottom: 6px; }
  /* Brand picker for "Turn your TV on" */
  .brand-picker { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 24px; padding: 10px; }
  .brand-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; }
  .brand-tab { all: unset; cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted);
               transition: background .2s, color .2s; }
  .brand-tab:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
  .brand-tab.active { color: #fff; background: linear-gradient(135deg, #7c6bff, #5b48e8); box-shadow: 0 6px 20px rgba(91,72,232,0.35); }
  .brand-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .mini-beta { font-size: 10px; font-weight: 800; letter-spacing: 0.05em; opacity: 0.8; margin-left: 4px; }
  .brand-panel { display: none; padding: 18px 22px 22px; animation: fadeUp .35s ease; }
  .brand-panel.shown { display: block; }
  .brand-panel h3 { margin: 4px 0 18px; font-size: 22px; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
  .steps .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
                background: rgba(124,108,255,0.18); color: #cfc9ff; border: 1px solid rgba(124,108,255,0.35); }
  .steps li div { padding-top: 6px; line-height: 1.7; }
  .path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; vertical-align: middle; }
  .chip { display: inline-block; padding: 2px 10px; border-radius: 8px; font-size: 14px; background: rgba(255,255,255,0.08);
          border: 1px solid rgba(255,255,255,0.10); white-space: nowrap; }
  .chip.hl { background: rgba(124,108,255,0.28); border-color: rgba(160,150,255,0.55); color: #fff; font-weight: 600; }
  .sep { color: var(--muted); font-size: 13px; }
  .note-box { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,0.04); color: var(--muted); font-size: 14px; }
  /* Help center */
  .help-search { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; margin-bottom: 18px;
                 background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
  .help-search input { all: unset; flex: 1; font-size: 17px; color: var(--fg); }
  .help-search:focus-within { border-color: rgba(140,127,255,0.6); box-shadow: 0 0 0 4px rgba(124,108,255,0.15); }
  .help-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 44px; }
  .help-tile { display: grid; gap: 4px; padding: 16px; border-radius: 18px; text-decoration: none; color: var(--fg);
               background: rgba(255,255,255,0.045); border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s; }
  .help-tile:hover { transform: translateY(-2px); border-color: rgba(140,127,255,0.5); background: rgba(124,108,255,0.08); }
  .help-tile .ti { font-size: 24px; }
  .help-tile span:last-child { color: var(--muted); font-size: 13px; }
  .help-group { scroll-margin-top: 80px; margin-bottom: 36px; }
  .help-item { background: rgba(255,255,255,0.045); border: 1px solid var(--line); border-radius: 16px; padding: 0; margin-bottom: 10px;
               transition: border-color .2s, background .2s; }
  .help-item[open] { border-color: rgba(140,127,255,0.45); background: rgba(124,108,255,0.06); }
  .help-item summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; font-weight: 600; }
  .help-item summary::-webkit-details-marker { display: none; }
  .help-item .hi { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,0.06); flex: none; }
  .help-item .ht { flex: 1; }
  .help-item .chev { width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
                     transform: rotate(45deg); transition: transform .25s; margin-right: 4px; }
  .help-item[open] .chev { transform: rotate(-135deg); }
  .help-body { padding: 0 22px 20px 22px; animation: fadeUp .3s ease; }
  .help-body p, .help-body ol { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
  .help-empty { color: var(--muted); text-align: center; padding: 20px; }
  .stuck-card { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px;
                border-radius: 22px; background: linear-gradient(135deg, rgba(124,108,255,0.22), rgba(91,72,232,0.08));
                border: 1px solid rgba(140,127,255,0.4); }
  .stuck-card h3 { margin: 0 0 4px; font-size: 22px; }
  .stuck-card p { margin: 0; color: var(--muted); }
  .stuck-btn { flex: none; padding: 12px 22px; border-radius: 999px; background: #fff; color: #1a1340; font-weight: 700; text-decoration: none; }
  @media (max-width: 800px) {
    section { padding: 120px 0 48px; }
    .help-tiles { grid-template-columns: repeat(2, 1fr); }
    .help-body { padding-left: 18px; }
    .stuck-card { flex-direction: column; align-items: flex-start; }
  }
  .lead { color: var(--muted); margin-top: -8px; }
  /* Feature showcase: list on the left, one phone on the right that crossfades between screens. */
  .showcase { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center; }
  .show-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .show-list button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 16px 20px;
                      border-radius: 16px; border: 1px solid transparent; transition: background .25s, border-color .25s; }
  .show-list button strong { display: block; font-size: 19px; color: var(--muted); transition: color .25s; }
  .show-list button span { display: block; color: var(--muted); font-size: 15px; max-height: 0; opacity: 0; overflow: hidden;
                           transition: max-height .35s ease, opacity .35s ease, margin .35s; }
  .show-list button:hover strong { color: var(--fg); }
  .show-list button.active { background: rgba(255,255,255,0.05); border-color: var(--line); }
  .show-list button.active strong { color: var(--fg); }
  .show-list button.active span { max-height: 80px; opacity: 1; margin-top: 6px; }
  .show-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .phone { position: relative; aspect-ratio: 1320 / 2868; border-radius: 48px; padding: 12px; background: #111118;
           border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 120px rgba(91,72,232,0.25); }
  .phone img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover;
               border-radius: 38px; opacity: 0; transition: opacity .5s ease; }
  .phone img.shown { opacity: 1; }
  @media (max-width: 800px) {
    .showcase { grid-template-columns: 1fr; gap: 24px; }
    .phone { width: min(300px, 78vw); margin: 0 auto; order: -1; border-radius: 40px; }
    .phone img { border-radius: 30px; }
    .show-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
    .show-list button { width: auto; padding: 8px 14px; border-radius: 999px; border-color: var(--line); }
    .show-list button strong { font-size: 14px; }
    .show-list button span { display: none; }
    .show-list button.active { background: var(--accent); border-color: var(--accent); }
  }
  .beta.soon-badge { background: rgba(255, 183, 77, 0.18); color: #ffcf8a; margin-left: 6px; }
  .beta { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 999px; background: rgba(107,108,248,0.25); color: #c9c8ff; vertical-align: middle; }
  .note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
  .tips { margin-top: 16px; display: grid; gap: 10px; }
  .tip { background: rgba(255,255,255,0.045); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; color: var(--muted); font-size: 15px; margin: 10px 0 0; }
  .tips .tip { margin: 0; }
  h3.group { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 28px 0 12px; }
  details ol li { margin-bottom: 6px; }
  .stuck { margin-top: 28px; }
  .stuck p { color: var(--muted); }
  footer { padding: 80px 0 56px; color: var(--muted); font-size: 14px; }
  footer a { color: var(--muted); }
  @media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; padding-top: 16px; }
    .grid { grid-template-columns: 1fr; }
    .brands { grid-template-columns: 1fr; }
    header nav { display: none; }
  }
  @media (min-width: 801px) and (max-width: 1100px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* Multi-page additions */
  .page-hero { padding: 88px 0 8px; }
  .page-hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 12px; letter-spacing: -0.02em; }
  .page-hero p { color: var(--muted); font-size: 19px; max-width: 760px; margin: 0; }
  .page-hero + section { padding-top: 72px; }
  .page-hero + section::before, .page-hero + section::after { display: none; }
  header strong a { color: var(--fg); text-decoration: none; }
  header > a.logo { display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; }
  header nav a.current { color: var(--fg); }
  .site-footer { border-top: 1px solid var(--line); margin-top: 80px; }
  .site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; }
  .site-footer a { color: var(--muted); text-decoration: none; }
  .site-footer a:hover { color: var(--fg); }
  /* Text pages (What's New, Privacy): sections are cards/blocks, not homepage bands. */
  .prose section { padding: 0; scroll-margin-top: 80px; }
  .prose section::before, .prose section::after { display: none; }
  .prose + .site-footer, .prose ~ .site-footer { margin-top: 64px; }
  .prose section.release { padding: 28px; }

/* Setup page: Good to know */
.good-to-know { margin-top: 72px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.know-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.know-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px;
             background: rgba(255,255,255,0.045); border: 1px solid var(--line); }
.know-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
             background: rgba(107,108,248,0.16); color: #c9c8ff; }
.know-card h4 { margin: 0 0 4px; font-size: 16px; }
.know-card p { margin: 0; color: var(--muted); font-size: 15px; }
.good-to-know .stuck-card { margin-top: 16px; }
.stuck-actions { display: flex; gap: 10px; flex: none; flex-wrap: wrap; }
.stuck-btn.ghost { background: transparent; color: var(--fg); border: 1px solid rgba(255,255,255,0.25); }
@media (max-width: 700px) {
  .know-grid { grid-template-columns: 1fr; }
  .good-to-know { margin-top: 48px; }
}

/* Pricing: Free / Pro / Skin packs */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.plan { background: rgba(255,255,255,0.045); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.plan.featured { border-color: rgba(140,127,255,0.55); background: linear-gradient(180deg, rgba(107,108,248,0.16), rgba(255,255,255,0.04)); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { margin: 8px 0 2px; font-size: 32px; font-weight: 700; letter-spacing: -0.01em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan .what { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.plan li { position: relative; padding-left: 24px; color: var(--muted); }
.plan li strong { color: var(--fg); font-weight: 600; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px;
                   border-left: 2px solid #8c7fff; border-bottom: 2px solid #8c7fff; transform: rotate(-45deg); }
.plans-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
#pricing h2 { text-align: center; }
#pricing .plans-note { text-align: center; max-width: 640px; margin: 24px auto 0; }
.plan { display: flex; flex-direction: column; }
.plan h3, .plan .price, .plan .what { text-align: center; }
.plan .what { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
@media (max-width: 800px) { .plans, .plans.two { grid-template-columns: 1fr; } }

/* Skins: a fan of three, with more behind */
.beta.now-badge { background: rgba(107,108,248,0.25); color: #c9c8ff; margin-left: 6px; }
#skins h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
#skins h2 .beta { font-size: 12px; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.skins-show { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.skins-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.skins-list li { position: relative; padding-left: 26px; color: var(--muted); }
.skins-list li strong { color: var(--fg); }
.skins-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px;
                         border-left: 2px solid #8c7fff; border-bottom: 2px solid #8c7fff; transform: rotate(-45deg); }
.skin-fan { position: relative; height: 560px; }
.skin-fan img { position: absolute; top: 40px; width: 210px; height: auto; border-radius: 28px;
                border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,0.55); }
.skin-fan .fan-center { left: 50%; top: 10px; width: 236px; transform: translateX(-50%); z-index: 3; }
.skin-fan .fan-left { left: 50%; transform: translateX(-118%) rotate(-9deg); z-index: 2; }
.skin-fan .fan-right { left: 50%; transform: translateX(18%) rotate(9deg); z-index: 2; }
.fan-ghost { position: absolute; top: 70px; left: 50%; width: 200px; height: 435px; border-radius: 28px;
             border: 1px dashed rgba(140,127,255,0.35); background: linear-gradient(160deg, rgba(107,108,248,0.14), rgba(255,255,255,0.02)); }
.fan-ghost.g1 { transform: translateX(42%) rotate(17deg); z-index: 1; }
.fan-ghost.g2 { transform: translateX(-142%) rotate(-17deg); z-index: 1; }
.fan-more { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 4; white-space: nowrap;
            padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--fg);
            background: rgba(21,21,31,0.85); border: 1px solid rgba(140,127,255,0.45); backdrop-filter: blur(10px); }
.beta.soon-badge { background: rgba(255,183,77,0.18); color: #ffcf8a; margin-left: 6px; font-size: 12px; letter-spacing: 0.05em;
                   padding: 4px 10px; border-radius: 999px; font-weight: 700; vertical-align: middle; }
.holiday { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: 56px;
           padding: 36px; border-radius: 28px; border: 1px solid var(--line);
           background: radial-gradient(ellipse at 20% 0%, rgba(255,138,30,0.16), transparent 60%),
                       radial-gradient(ellipse at 90% 100%, rgba(31,140,90,0.18), transparent 60%); }
.holiday.sports { background: radial-gradient(ellipse at 20% 0%, rgba(52,160,80,0.18), transparent 60%),
                               radial-gradient(ellipse at 90% 100%, rgba(230,130,40,0.16), transparent 60%); }
.holiday.space { background: radial-gradient(ellipse at 20% 0%, rgba(80,110,255,0.20), transparent 60%),
  radial-gradient(ellipse at 90% 100%, rgba(150,80,220,0.18), transparent 60%), #0a0b18; }
.holiday.layouts { background: radial-gradient(ellipse at 15% 0%, rgba(255,70,160,0.20), transparent 60%),
  radial-gradient(ellipse at 90% 100%, rgba(60,220,255,0.16), transparent 60%), #0e0a18; margin-top: 0; }
#layouts { padding-top: 0; }
.holiday h3 { font-size: 26px; margin: 0 0 14px; }
.holiday-pics { position: relative; height: 470px; }
.holiday-pics img { position: absolute; top: 20px; left: 50%; width: 200px; height: auto; border-radius: 26px;
                    border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,0.55); }
.holiday-pics .h-left { transform: translateX(-96%) rotate(-6deg); }
.holiday-pics .h-right { transform: translateX(-4%) rotate(6deg); top: 34px; }
@media (max-width: 800px) {
  .holiday { grid-template-columns: 1fr; gap: 8px; padding: 24px 16px; margin-top: 36px; }
  .holiday-pics { height: 360px; overflow: hidden; }
  .holiday-pics img { width: 150px; border-radius: 20px; }
  .holiday-copy { order: -1; }
}
@media (max-width: 800px) {
  .skins-show { grid-template-columns: 1fr; gap: 8px; }
  .skin-fan { height: 430px; overflow: hidden; margin: 0 -16px; }
  .skin-fan img { width: 150px; border-radius: 22px; }
  .skin-fan .fan-center { width: 172px; }
  .fan-ghost { width: 144px; height: 312px; border-radius: 22px; top: 60px; }
}

/* Section divider comes alive like a TV: it switches on as the section scrolls in (the dot lights,
   the line stretches out to the full window width, then settles), then breathes: every few
   seconds it slowly stretches edge to edge and brightens, and eases back. Reduce Motion keeps it still.
   The page clips anything wider than the window, so the full-width glow never adds sideways scrolling. */
html, body { overflow-x: clip; }
@keyframes tv-line-on {
  0%   { width: 0; opacity: 0; }
  14%  { width: 0; opacity: 1; }
  52%  { width: 100vw; opacity: 1; filter: brightness(2); box-shadow: 0 0 30px rgba(170,160,255,0.85); }
  100% { width: min(720px, 86%); opacity: 1; filter: none; box-shadow: 0 0 18px rgba(124,108,255,0.45); }
}
@keyframes tv-dot-on {
  0%   { opacity: 0; transform: translateX(-50%) scale(0.2); }
  14%  { opacity: 1; transform: translateX(-50%) scale(1.8); box-shadow: 0 0 26px 8px rgba(200,192,255,0.95); }
  52%  { transform: translateX(-50%) scale(1.25); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); box-shadow: 0 0 14px 3px rgba(140,127,255,0.8); }
}
@keyframes tv-line-breathe {
  0%, 100% { width: min(720px, 86%); opacity: 1; filter: none; box-shadow: 0 0 18px rgba(124,108,255,0.45); }
  35%  { width: 100vw; opacity: 1; filter: brightness(1.6); box-shadow: 0 0 28px rgba(160,150,255,0.75); }
  65%  { width: min(720px, 86%); filter: none; }
  82%  { opacity: 0.65; }
}
@keyframes tv-dot-breathe {
  0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 14px 3px rgba(140,127,255,0.8); }
  35%  { transform: translateX(-50%) scale(1.4); box-shadow: 0 0 24px 7px rgba(200,192,255,0.95); }
  65%  { transform: translateX(-50%) scale(1); }
  82%  { box-shadow: 0 0 10px 2px rgba(140,127,255,0.6); }
}
.reveal:not(.in)::before { width: 0; opacity: 0; }
.reveal:not(.in)::after { opacity: 0; }
.reveal.in::before { animation: tv-line-on 2.6s cubic-bezier(.3,.7,.2,1) both, tv-line-breathe 12s ease-in-out 5s infinite; }
.reveal.in::after { animation: tv-dot-on 2.6s ease-out both, tv-dot-breathe 12s ease-in-out 5s infinite; }
.reveal.in:nth-of-type(even)::before, .reveal.in:nth-of-type(even)::after { animation-delay: 0s, 11s; }
@media (prefers-reduced-motion: reduce) {
  .reveal::before, .reveal::after, .reveal.in::before, .reveal.in::after { animation: none !important; width: min(720px, 86%); opacity: 1; }
  .reveal::after, .reveal.in::after { width: 7px; }
}

/* The top divider (first section) keeps breathing after its big switch-on: small, continuous, no pauses. */
@keyframes tv-line-soft {
  0%, 100% { width: min(720px, 86%); opacity: 1; filter: none; }
  50%  { width: min(830px, 92%); opacity: 0.8; filter: brightness(1.3); }
}
@keyframes tv-dot-soft {
  0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 14px 3px rgba(140,127,255,0.8); }
  50%  { transform: translateX(-50%) scale(1.2); box-shadow: 0 0 20px 5px rgba(180,172,255,0.9); }
}
.reveal.in:first-of-type::before { animation: tv-line-on 2.6s cubic-bezier(.3,.7,.2,1) both, tv-line-soft 6s ease-in-out 2.6s infinite; }
.reveal.in:first-of-type::after { animation: tv-dot-on 2.6s ease-out both, tv-dot-soft 6s ease-in-out 2.6s infinite; }
@media (prefers-reduced-motion: reduce) {
  .reveal.in:first-of-type::before, .reveal.in:first-of-type::after { animation: none !important; }
}

/* Brand pages, press kit, footer "Works with" */
.page-hero .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.page-hero .hero-cta .badge { margin: 0; }
.page-hero .hero-cta .soon { flex-basis: 100%; margin: 2px 0 0; }
.works-with { margin: 6px 0 0; }
.works-with a { color: var(--fg); }
.press-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.press-grid h3 { margin: 0 0 8px; }
.press-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.press-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.press-facts strong { color: var(--fg); }
.press-hero { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); margin-bottom: 20px; }
.press-assets { columns: 2; padding-left: 20px; color: var(--muted); }
.press-assets li { margin-bottom: 8px; }
#faq .help-item { margin-bottom: 10px; }
@media (max-width: 800px) { .press-grid { grid-template-columns: 1fr; } .press-assets { columns: 1; } }
.press-videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.press-video { margin: 0; }
.press-video video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 20px; border: 1px solid var(--line); background: #000; }
.press-video figcaption { margin-top: 10px; display: grid; gap: 2px; font-size: 15px; }
.press-video figcaption a { font-size: 14px; }
@media (max-width: 800px) { .press-videos { grid-template-columns: repeat(2, 1fr); } }

/* Comparison table (free-tv-remote-app) */
.compare-wrap { overflow-x: auto; margin: 0 -4px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; letter-spacing: 0.03em; color: var(--muted); font-weight: 600; background: rgba(255,255,255,0.03); }
.compare thead th:nth-child(2) { color: #c9c8ff; }
.compare tbody th { color: var(--fg); font-weight: 600; width: 28%; }
.compare td { color: var(--muted); }
.compare td.yes { color: var(--fg); background: rgba(107,108,248,0.08); }
@media (max-width: 600px) { .compare { font-size: 13px; } .compare th, .compare td { padding: 10px; } }

/* Hero demo, inside the app: the remote opens ••• › Skins, the page scrolls through every pack
   (and sideways along Retro) down to Space, Orbit is tapped and the remote turns into Earth's horizon. 16 s loop, pure CSS.
   All sizes are in cqw of the phone's width, so it scales as one picture. */
.hero-demo { width: min(330px, 80vw); margin: 0 auto; container-type: inline-size; }
.dph { position: relative; width: 100%; aspect-ratio: 600 / 1303; border-radius: 13cqw; overflow: hidden; box-sizing: border-box;
  border: 2.6cqw solid #0b0b10; background: #0b0b12; box-shadow: 0 12cqw 24cqw rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.12);
  animation: dfloat 7s ease-in-out infinite; }
@keyframes dfloat { 50% { translate: 0 -10px; } }
.dr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dr-grid { opacity: 0; animation: d-grid 16s infinite; }
.ds { position: absolute; left: 0; right: 0; top: 9cqw; bottom: 0; background: #1c1c22; border-radius: 7cqw 7cqw 0 0; translate: 0 105%;
  box-shadow: 0 -4cqw 10cqw rgba(0,0,0,0.5); animation: d-sheet 16s infinite; color: #f2f2f7; font-family: inherit; }
.ds-top { position: relative; height: 15cqw; display: flex; align-items: center; justify-content: center; }
.ds-top i { position: absolute; top: 2.2cqw; left: 50%; width: 10cqw; height: 1.3cqw; margin-left: -5cqw; border-radius: 1cqw; background: rgba(255,255,255,0.3); }
.ds-top span { font-weight: 600; font-size: 4.6cqw; }
.ds-top em { position: absolute; right: 4cqw; font-style: normal; font-weight: 600; font-size: 4cqw; color: #8c84ff; padding: 1.8cqw 3.6cqw; border-radius: 9cqw; background: rgba(255,255,255,0.08); }
.ds-view { position: absolute; top: 15cqw; left: 0; right: 0; bottom: 0; overflow: hidden; }
.ds-in { animation: d-scroll 16s infinite; }
.ds-all { margin: 2cqw 5cqw 0; height: 17cqw; display: flex; align-items: center; gap: 3cqw; padding: 0 4cqw; border-radius: 5cqw; background: rgba(255,255,255,0.07); }
.ds-all span { font-size: 6cqw; color: #ffd60a; }
.ds-all div { flex: 1; }
.ds-all h4, .ds-sec h4 { margin: 0; font-size: 4.2cqw; font-weight: 700; }
.ds-all p, .ds-sec p { margin: 0.6cqw 0 0; font-size: 2.9cqw; line-height: 1.25; color: rgba(235,235,245,0.6); }
.ds-all b, .ds-sec header b { flex: none; font-size: 3.6cqw; font-weight: 700; color: #fff; padding: 1.6cqw 3.4cqw; border-radius: 9cqw; background: #6b5cff; }
.ds-sec header b.free { background: rgba(255,255,255,0.12); }
.ds-sec { height: 78cqw; padding-top: 6cqw; box-sizing: border-box; }
.ds-sec header { display: flex; align-items: flex-start; gap: 3cqw; padding: 0 5cqw; height: 13cqw; }
.ds-sec header div { flex: 1; }
.ds-sec h4 { font-size: 5.2cqw; }
.ds-row { display: flex; gap: 3.2cqw; padding: 2.4cqw 5cqw 0; width: max-content; }
.ds-row figure { margin: 0; width: 22cqw; }
.ds-row img { display: block; width: 100%; height: auto; border-radius: 3.6cqw; border: 1px solid rgba(255,255,255,0.14); }
.ds-row figcaption { margin-top: 1.4cqw; text-align: center; font-size: 2.7cqw; font-weight: 500; white-space: nowrap; color: rgba(235,235,245,0.85); }
.ds-s1 .ds-row { animation: d-side 16s infinite; }
.ds-s7 .ds-row figure:first-child img { animation: d-pick 16s infinite; }
.dtap { position: absolute; width: 13cqw; aspect-ratio: 1; margin: -6.5cqw 0 0 -6.5cqw; border-radius: 50%; background: rgba(255,255,255,0.6);
  box-shadow: 0 0 0 1cqw rgba(255,255,255,0.3); opacity: 0; scale: 0.4; }
.dt-more { left: 89.4%; top: 9.9%; animation: d-tapA 16s infinite; }
.dt-grid { left: 16%; top: 38.8%; animation: d-tapB 16s infinite; }
@keyframes d-tapA { 0%, 9% { opacity: 0; scale: 0.4; } 10.2% { opacity: 1; scale: 0.8; } 13% { opacity: 0; scale: 1.5; } 100% { opacity: 0; } }
@keyframes d-tapB { 0%, 66% { opacity: 0; scale: 0.4; } 67.2% { opacity: 1; scale: 0.8; } 70% { opacity: 0; scale: 1.5; } 100% { opacity: 0; } }
@keyframes d-sheet { 0%, 11% { translate: 0 105%; } 15.5%, 69% { translate: 0 0; animation-timing-function: ease-in; } 73.5%, 100% { translate: 0 105%; } }
@keyframes d-scroll { 0%, 33% { translate: 0 0; } 41%, 44% { translate: 0 -238cqw; } 52%, 54% { translate: 0 -394cqw; } 62%, 100% { translate: 0 -550cqw; } }
@keyframes d-side { 0%, 23% { translate: 0 0; } 29%, 33% { translate: -34cqw 0; } 38%, 100% { translate: 0 0; } }
@keyframes d-pick { 0%, 67% { box-shadow: none; } 68%, 72% { box-shadow: 0 0 0 0.9cqw #8c84ff; } 74%, 100% { box-shadow: none; } }
@keyframes d-grid { 0%, 70% { opacity: 0; } 71%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@media (max-width: 800px) { .hero-demo { margin-top: 12px; } }
/* Reduce Motion: a still picture of the Skins page over the remote. */
@media (prefers-reduced-motion: reduce) {
  .hero-demo *, .dph { animation: none !important; }
  .ds { translate: 0 0; }
}

/* ===== Layouts demo (kept in sync with AppStore/ads/layouts-demo.css) ===== */
/* Layouts demo: a pure-CSS 12 s loop of the layout editor on the Neon skin.
   Drag Mute two cells right (with the snap ghost), pull Play's corner bigger, color Power teal, tap Save, and the
   finished remote appears. Shared by remotepapi.com (#layouts) and the Instagram reel (layouts-reel.html).
   Units: the stage is a container; --u is one grid cell (12 across, 24 down), like the app. */
.ld-stage { width: min(300px, 80vw); margin: 0 auto; container-type: inline-size; }
.ld { --u: 7.6cqw; --x0: 4.4cqw; --y0: 17cqw; --gap: 1.3cqw; --cycle: 12s;
  --pink: #ff3fa4; --cyan: #5de0ff; --tile: rgba(74,22,118,0.62);
  position: relative; width: 100%; aspect-ratio: 600 / 1303; border-radius: 13cqw; overflow: hidden; box-sizing: border-box;
  border: 2.6cqw solid #0b0b10; box-shadow: 0 12cqw 24cqw rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.12);
  background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(120,40,160,0.55), transparent 70%), linear-gradient(#1c0a2e, #0e0718 60%, #090512);
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Inter, Arial, sans-serif; color: #fff; }
.ld * { box-sizing: border-box; }
.ld-top { position: absolute; left: 0; right: 0; top: 3cqw; height: 11cqw; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5cqw; font-size: 4.2cqw; animation: ld-chrome var(--cycle) infinite; }
.ld-top .c, .ld-top .s { color: var(--pink); }
.ld-top .t { font-weight: 600; font-size: 4.6cqw; }
.ld-hdr { position: absolute; left: 0; right: 0; top: 3cqw; height: 11cqw; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; animation: ld-hdr var(--cycle) infinite; }
.ld-hdr b { font-size: 4.6cqw; }
.ld-hdr i { font-style: normal; font-size: 3cqw; color: rgba(255,255,255,0.6); margin-top: 0.8cqw; padding: 1cqw 2.6cqw; border-radius: 9cqw; background: rgba(255,255,255,0.08); }
.ld-hdr i::before { content: ""; display: inline-block; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #30d158; margin-right: 1.2cqw; vertical-align: middle; }
.ld-dots { position: absolute; left: var(--x0); top: var(--y0); width: calc(12 * var(--u)); height: calc(24 * var(--u));
  background-image: radial-gradient(rgba(255,255,255,0.22) 0.45cqw, transparent 0.7cqw); background-size: var(--u) var(--u); background-position: 0 0;
  animation: ld-chrome var(--cycle) infinite; }
.ld-tile { position: absolute; border-radius: 50%; background: var(--tile); border: 0.45cqw solid var(--pink);
  box-shadow: 0 0 2.4cqw rgba(255,63,164,0.75), inset 0 0 2cqw rgba(255,63,164,0.25); display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-weight: 700; font-size: 3.8cqw; text-shadow: 0 0 2cqw rgba(93,224,255,0.9); }
.ld-tile.pill { border-radius: 9cqw; font-size: 4.8cqw; }
.ld-power { left: calc(var(--x0) + var(--gap)); top: calc(var(--y0) + var(--gap)); width: calc(2 * var(--u) - 2 * var(--gap)); height: calc(2 * var(--u) - 2 * var(--gap));
  background: #ee3b45; border-color: #ff6b73; color: #fff; text-shadow: none; box-shadow: 0 0 3cqw rgba(238,59,69,0.7); animation: ld-power var(--cycle) infinite; }
.ld-mute { left: calc(var(--x0) + 5 * var(--u) + var(--gap)); top: calc(var(--y0) + var(--gap)); width: calc(2 * var(--u) - 2 * var(--gap)); height: calc(2 * var(--u) - 2 * var(--gap));
  animation: ld-mute var(--cycle) infinite; }
.ld-apps { left: calc(var(--x0) + 10 * var(--u) + var(--gap)); top: calc(var(--y0) + var(--gap)); width: calc(2 * var(--u) - 2 * var(--gap)); height: calc(2 * var(--u) - 2 * var(--gap)); }
.ld-pad { position: absolute; left: calc(var(--x0) + var(--gap)); top: calc(var(--y0) + 2 * var(--u) + var(--gap)); width: calc(12 * var(--u) - 2 * var(--gap)); height: calc(12 * var(--u) - 2 * var(--gap));
  border-radius: 50%; background: radial-gradient(circle, rgba(70,20,100,0.7), rgba(40,10,60,0.6)); border: 0.45cqw solid var(--pink);
  box-shadow: 0 0 3cqw rgba(255,63,164,0.7); color: var(--cyan); font-size: 4.2cqw; font-weight: 700; text-shadow: 0 0 2cqw rgba(93,224,255,0.9); }
.ld-pad i { position: absolute; left: 50%; top: 50%; width: 36%; height: 36%; translate: -50% -50%; border-radius: 50%;
  background: linear-gradient(#ff6fc0, #ff2d95); box-shadow: 0 0 4cqw rgba(255,63,164,0.9); display: flex; align-items: center; justify-content: center;
  font-style: normal; color: #fff; font-size: 5cqw; text-shadow: none; }
.ld-pad::before, .ld-pad::after { position: absolute; left: 50%; translate: -50% 0; font-size: 5cqw; }
.ld-pad::before { content: "⌃"; top: 7%; }
.ld-pad::after { content: "⌄"; bottom: 7%; }
.ld-pad b, .ld-pad s { position: absolute; top: 50%; translate: 0 -50%; font-size: 5cqw; text-decoration: none; }
.ld-pad b { left: 8%; } .ld-pad s { right: 8%; }
.ld-back { left: calc(var(--x0) + var(--gap)); top: calc(var(--y0) + 15 * var(--u) + var(--gap)); width: calc(4 * var(--u) - 2 * var(--gap)); height: calc(2 * var(--u) - 2 * var(--gap)); }
.ld-home { left: calc(var(--x0) + 4 * var(--u) + var(--gap)); top: calc(var(--y0) + 15 * var(--u) + var(--gap)); width: calc(4 * var(--u) - 2 * var(--gap)); height: calc(2 * var(--u) - 2 * var(--gap)); }
.ld-menu { left: calc(var(--x0) + 8 * var(--u) + var(--gap)); top: calc(var(--y0) + 15 * var(--u) + var(--gap)); width: calc(4 * var(--u) - 2 * var(--gap)); height: calc(2 * var(--u) - 2 * var(--gap)); }
.ld-vol, .ld-ch { flex-direction: column; justify-content: space-between; padding: 2cqw 0; font-size: 2.4cqw; letter-spacing: 0.1em; }
.ld-vol span, .ld-ch span { font-size: 4.2cqw; }
.ld-vol { left: calc(var(--x0) + var(--gap)); top: calc(var(--y0) + 18 * var(--u) + var(--gap)); width: calc(2 * var(--u) - 2 * var(--gap)); height: calc(5 * var(--u) - 2 * var(--gap)); }
.ld-ch { left: calc(var(--x0) + 10 * var(--u) + var(--gap)); top: calc(var(--y0) + 18 * var(--u) + var(--gap)); width: calc(2 * var(--u) - 2 * var(--gap)); height: calc(5 * var(--u) - 2 * var(--gap)); }
.ld-play { left: calc(var(--x0) + 3 * var(--u) + var(--gap)); top: calc(var(--y0) + 19 * var(--u) + var(--gap)); width: calc(6 * var(--u) - 2 * var(--gap)); height: calc(3 * var(--u) - 2 * var(--gap));
  font-size: 4.6cqw; animation: ld-play var(--cycle) infinite; }
.ld-sel { position: absolute; inset: -1.6cqw; border-radius: inherit; border: 0.7cqw solid #ff9f0a; box-shadow: 0 0 3cqw rgba(255,159,10,0.9); opacity: 0; pointer-events: none; }
.ld-mute .ld-sel { animation: ld-sel-mute var(--cycle) infinite; }
.ld-play .ld-sel { animation: ld-sel-play var(--cycle) infinite; }
.ld-power .ld-sel { animation: ld-sel-power var(--cycle) infinite; }
.ld-handle { position: absolute; right: -2.6cqw; bottom: -2.6cqw; width: 6cqw; height: 6cqw; border-radius: 50%; background: #ff9f0a;
  box-shadow: 0 0.6cqw 1.6cqw rgba(0,0,0,0.45); opacity: 0; animation: ld-sel-play var(--cycle) infinite; }
.ld-handle::after { content: "⤡"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.4cqw; font-weight: 800; color: #fff; }
.ld-ghost { position: absolute; left: calc(var(--x0) + 7 * var(--u) + var(--gap)); top: calc(var(--y0) + var(--gap)); width: calc(2 * var(--u) - 2 * var(--gap)); height: calc(2 * var(--u) - 2 * var(--gap));
  border-radius: 50%; border: 0.5cqw dashed #30d158; background: rgba(48,209,88,0.16); opacity: 0; animation: ld-ghost var(--cycle) infinite; }
.ld-ghost2 { position: absolute; left: calc(var(--x0) + 3 * var(--u) + var(--gap)); top: calc(var(--y0) + 19 * var(--u) + var(--gap)); width: calc(7 * var(--u) - 2 * var(--gap)); height: calc(4 * var(--u) - 2 * var(--gap));
  border-radius: 9cqw; border: 0.5cqw dashed #30d158; background: rgba(48,209,88,0.16); opacity: 0; animation: ld-ghost2 var(--cycle) infinite; }
.ld-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 17cqw; padding: 2cqw 3cqw 0; display: flex; justify-content: space-between;
  background: rgba(20,10,30,0.82); backdrop-filter: blur(6px); animation: ld-chrome var(--cycle) infinite; }
.ld-bar span { width: 15cqw; text-align: center; font-size: 2.6cqw; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.2; }
.ld-bar span::before { content: attr(data-i); display: block; font-size: 4.6cqw; line-height: 1.1; margin-bottom: 0.6cqw; font-weight: 500; }
.ld-bar .col { color: #3ddbc0; animation: ld-colorbtn var(--cycle) infinite; }
.ld-bar .rm { color: #ff453a; }
.ld-finger { position: absolute; width: 11cqw; height: 11cqw; margin: -5.5cqw 0 0 -5.5cqw; border-radius: 50%; background: rgba(255,255,255,0.55);
  box-shadow: 0 0 0 1cqw rgba(255,255,255,0.28), 0 2cqw 4cqw rgba(0,0,0,0.4); opacity: 0; animation: ld-finger var(--cycle) infinite; }
.ld-fade { position: absolute; inset: 0; background: #090512; opacity: 0; animation: ld-fade var(--cycle) infinite; pointer-events: none; }

@keyframes ld-chrome { 0%, 74% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes ld-hdr { 0%, 76% { opacity: 0; } 80%, 100% { opacity: 1; } }
@keyframes ld-fade { 0%, 96% { opacity: 0; } 99.5%, 100% { opacity: 1; } }
@keyframes ld-finger {
  0%, 6% { opacity: 0; left: calc(var(--x0) + 6 * var(--u)); top: calc(var(--y0) + 1 * var(--u)); }
  8%, 10% { opacity: 1; left: calc(var(--x0) + 6 * var(--u)); top: calc(var(--y0) + 1 * var(--u)); }
  18% { opacity: 1; left: calc(var(--x0) + 8 * var(--u)); top: calc(var(--y0) + 1 * var(--u)); }
  20%, 24% { opacity: 0; left: calc(var(--x0) + 8 * var(--u)); top: calc(var(--y0) + 1 * var(--u)); }
  25% { opacity: 0; left: calc(var(--x0) + 9 * var(--u)); top: calc(var(--y0) + 22 * var(--u)); }
  28%, 32% { opacity: 1; left: calc(var(--x0) + 9 * var(--u)); top: calc(var(--y0) + 22 * var(--u)); }
  42% { opacity: 1; left: calc(var(--x0) + 11 * var(--u)); top: calc(var(--y0) + 23 * var(--u)); }
  44%, 48% { opacity: 0; left: calc(var(--x0) + 11 * var(--u)); top: calc(var(--y0) + 23 * var(--u)); }
  49% { opacity: 0; left: calc(var(--x0) + 1 * var(--u)); top: calc(var(--y0) + 1 * var(--u)); }
  51%, 53% { opacity: 1; left: calc(var(--x0) + 1 * var(--u)); top: calc(var(--y0) + 1 * var(--u)); }
  55% { opacity: 0; left: calc(var(--x0) + 1 * var(--u)); top: calc(var(--y0) + 1 * var(--u)); }
  56% { opacity: 0; left: 75cqw; top: 207cqw; }
  58%, 60% { opacity: 1; left: 75cqw; top: 207cqw; }
  62%, 66% { opacity: 0; left: 75cqw; top: 207cqw; }
  67% { opacity: 0; left: 91cqw; top: 8.5cqw; }
  70%, 72% { opacity: 1; left: 91cqw; top: 8.5cqw; }
  74%, 100% { opacity: 0; left: 91cqw; top: 8.5cqw; }
}
@keyframes ld-mute {
  0%, 9% { translate: 0 0; scale: 1; box-shadow: 0 0 2.4cqw rgba(255,63,164,0.75); }
  11% { translate: 0 0; scale: 1.1; box-shadow: 0 3cqw 6cqw rgba(0,0,0,0.6), 0 0 2.4cqw rgba(255,63,164,0.75); }
  18% { translate: calc(2 * var(--u)) 0; scale: 1.1; box-shadow: 0 3cqw 6cqw rgba(0,0,0,0.6), 0 0 2.4cqw rgba(255,63,164,0.75); }
  20%, 100% { translate: calc(2 * var(--u)) 0; scale: 1; box-shadow: 0 0 2.4cqw rgba(255,63,164,0.75); }
}
@keyframes ld-ghost { 0%, 10% { opacity: 0; } 12%, 18% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes ld-ghost2 { 0%, 31% { opacity: 0; } 33%, 42% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes ld-sel-mute { 0%, 7% { opacity: 0; } 9%, 20% { opacity: 1; } 23%, 100% { opacity: 0; } }
@keyframes ld-sel-play { 0%, 26% { opacity: 0; } 28%, 46% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes ld-sel-power { 0%, 50% { opacity: 0; } 52%, 66% { opacity: 1; } 68%, 100% { opacity: 0; } }
@keyframes ld-play {
  0%, 32% { width: calc(6 * var(--u) - 2 * var(--gap)); height: calc(3 * var(--u) - 2 * var(--gap)); }
  42%, 100% { width: calc(7 * var(--u) - 2 * var(--gap)); height: calc(4 * var(--u) - 2 * var(--gap)); }
}
@keyframes ld-power {
  0%, 59% { background: #ee3b45; border-color: #ff6b73; box-shadow: 0 0 3cqw rgba(238,59,69,0.7); }
  62%, 100% { background: #2fc9b4; border-color: #7fe9d9; box-shadow: 0 0 3cqw rgba(47,201,180,0.8); }
}
@keyframes ld-colorbtn { 0%, 57% { scale: 1; } 59% { scale: 1.25; } 61%, 100% { scale: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ld * { animation: none !important; }
  .ld-top, .ld-dots, .ld-bar, .ld-ghost, .ld-ghost2, .ld-finger, .ld-fade, .ld-sel, .ld-handle { opacity: 0 !important; }
  .ld-hdr { opacity: 1 !important; }
  .ld-mute { translate: calc(2 * var(--u)) 0; }
  .ld-play { width: calc(7 * var(--u) - 2 * var(--gap)); height: calc(4 * var(--u) - 2 * var(--gap)); }
  .ld-power { background: #2fc9b4; border-color: #7fe9d9; }
}
/* On the website the demo sits where the holiday sections put their pictures. */
.holiday-pics.ld-wrap { height: auto; display: flex; justify-content: center; padding: 10px 0; }
.holiday-pics.ld-wrap .ld-stage { width: min(300px, 78vw); }
.ld-wrap .ld { animation: dfloat 7s ease-in-out infinite; }
@media (max-width: 800px) { .holiday-pics.ld-wrap { height: auto; overflow: visible; } }
