@font-face { font-family: Manrope; src: url(/fonts/manrope-400.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/manrope-500.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/manrope-600.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/manrope-800.ttf) format("truetype"); font-weight: 800; font-display: swap; }

/* Lame's palette (app tokens + B identity). */
:root {
  --ice: #f4f7fa; --paper: #ffffff; --ink: #16161a; --ink-2: #56555d; --ink-3: #727079; --line: #dad7dc;
  --wine: #2a0509; --front: #400608; --burg: #6e0a18; --burg-hi: #981727; --rear: #76101b;
  --live: #e0394e; --night: #0b0c0f; --night-2: #14161b; --night-line: #25272d; --mist: #b4b7be; --rose: #ff8f9c;
  --cut: clamp(36px, 6vw, 96px);
  --page: min(1240px, calc(100vw - 48px));
  --gutter: max(24px, calc((100vw - 1240px) / 2));
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--wine);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; background: var(--wine); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .intro { display: none; }

/* Chamfer: opposing top-left and bottom-right cuts, the logo's geometry. Small elements only. */
.plate span, .plate::before, .card, .tv, .compare, .take, .rule-card, .faq details, .facts li, .chip, .race-track, .race-track i, .provider {
  --c: 12px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}

/* Diagonal seam where sections meet: a small triangle in the section's colour,
   instead of clipping whole sections (which forced repaints while scrolling). */
.seam { position: relative; }
.seam::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--cut) * -1 + 1px); height: var(--cut); background: var(--seam, inherit); clip-path: polygon(0 100%, 100% 0, 100% 100%); pointer-events: none; }

.kicker { margin: 0 0 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--live); }
.giant { margin: 0; font-weight: 800; letter-spacing: -.055em; line-height: .92; font-size: clamp(48px, 7.8vw, 128px); text-wrap: balance; }
.giant em { font-style: normal; color: var(--burg); }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 34em; margin: 26px 0 0; }
.fine { font-size: 13px; opacity: .6; margin: 26px 0 0; }

/* Layered plate button: the front panel rests over its rear panel, as in the logo. */
.plate { --o: 6px; position: relative; display: inline-block; text-decoration: none; font-weight: 800; font-size: 15px; letter-spacing: -.01em; padding: 0 var(--o) var(--o) 0; color: var(--ice); }
.plate::before { content: ""; position: absolute; inset: var(--o) 0 0 var(--o); background: var(--rear); transition: transform .25s var(--ease); }
.plate span { position: relative; display: block; padding: 17px 28px; background: var(--front); transition: transform .25s var(--ease); }
.plate:hover span { transform: translate(-2px, -2px); }
.plate:hover::before { transform: translate(2px, 2px); }
.plate:active span { transform: translate(var(--o), var(--o)); transition-duration: .06s; }
.plate-ice { color: var(--wine); }
.plate-ice::before { background: var(--live); }
.plate-ice span { background: var(--ice); }
.plate-sm { --o: 4px; font-size: 13px; }
.plate-sm span { padding: 10px 16px; }

/* Hover highlight: a focus ring appears on the thing you point at, like focus on the TV. */
.card::after, .facts li::after, .rule-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  box-shadow: inset 0 0 0 2px var(--live); }
.card:hover::after, .facts li:hover::after, .rule-card:hover::after { opacity: 1; }

/* ───────── Intro ───────── */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--wine);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path 1s var(--ease); }
.intro.out { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.intro.gone { display: none; }
.intro-logo { width: min(560px, 72vw); }
.lg { width: 100%; height: auto; overflow: visible; }
.lg-rear { fill: var(--ice); }
.lg-front { fill: var(--front); }
.lg-l { fill: var(--ice); }
.intro .lg-rear { animation: rear-in .8s var(--ease) .1s both; }
.intro .lg-front { transform-box: fill-box; transform-origin: 50% 50%; animation: front-in .7s var(--ease) both; }
.intro .lg-l { animation: letter-in .7s var(--ease) both; }
.intro .lg-l1 { animation-delay: .35s; } .intro .lg-l2 { animation-delay: .43s; } .intro .lg-l3 { animation-delay: .51s; } .intro .lg-l4 { animation-delay: .59s; }
@keyframes rear-in { from { transform: translate(-60px, -60px); opacity: 0; } }
@keyframes front-in { from { transform: scale(.92); opacity: 0; } }
@keyframes letter-in { from { transform: translate(0, 90px); opacity: 0; } }

/* ───────── Header bar (no backdrop blur: it re-rendered the page under it every frame) ───────── */
.bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 76px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; color: var(--ice); transition: background-color .3s, color .3s, box-shadow .3s; }
.bar.solid { background: rgba(36, 4, 8, .96); }
.bar.night { background: rgba(11, 12, 15, .96); }
.bar.light { background: rgba(244, 247, 250, .97); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bar-brand { position: relative; width: 92px; height: 46px; }
.bar-brand img { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity .3s; }
.bar .on-light { opacity: 0; }
.bar.light .on-light { opacity: 1; } .bar.light .on-dark { opacity: 0; }
.bar-nav { margin-left: auto; display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.bar-nav a { text-decoration: none; opacity: .72; transition: opacity .2s; position: relative; }
.bar-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--live); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.bar-nav a:hover { opacity: 1; } .bar-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 820px) { .bar-nav { display: none; } .bar { gap: 12px; } .bar .plate { margin-left: auto; } }

/* ───────── Hero ───────── */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; overflow: hidden; color: var(--ice);
  background: radial-gradient(900px 600px at 12% 108%, rgba(152, 23, 39, .55), transparent 70%), linear-gradient(165deg, #3d0710 0%, #240408 55%, #1a0306 100%); }
.hero-seam { position: absolute; top: -10%; bottom: -10%; left: 54%; width: 16px; background: var(--ice); transform: skewX(-17deg); z-index: 2; box-shadow: 34px 0 0 -4px var(--burg-hi); }
.wall { position: absolute; top: 0; bottom: 0; left: 54%; right: -8%; overflow: hidden; perspective: 1400px; z-index: 1; }
.wall-3d { position: absolute; inset: -20% -10% -20% 6%; transform-style: preserve-3d; transform: rotateY(-26deg) rotateX(10deg) rotateZ(-8deg); transform-origin: 30% 50%; }
.wall-plane { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; will-change: transform; animation: wall-drift 70s linear infinite; }
@keyframes wall-drift { to { transform: translateY(-50%); } }
/* Fades are overlays, not masks, so the drifting wall stays a cheap composited layer. */
.wall-fade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #2a0509 0%, rgba(42,5,9,0) 22%), linear-gradient(180deg, #34060e 0%, rgba(52,6,14,0) 20%, rgba(28,3,6,0) 78%, #1c0306 100%); }
/* The tile is a still hit target; only its face moves, so hover can't flicker. */
.wtile { position: relative; }
.wtile-face { position: relative; --c: 14px; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); background: #16171c; transition: transform .45s var(--ease); }
.wtile .art { height: 118px; }
.wtile b { position: absolute; left: 10px; top: 10px; background: var(--live); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 3px 6px; border-radius: 2px; }
.wtile span { display: block; padding: 10px 12px 2px; font-size: 14px; font-weight: 700; color: var(--ice); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtile small { display: block; padding: 0 12px 12px; font-size: 11px; color: var(--mist); }
.wtile i { position: absolute; left: 10px; right: 10px; top: 106px; height: 4px; background: rgba(255,255,255,.3); }
.wtile i::after { content: ""; position: absolute; inset: 0; width: var(--p); background: var(--live); }
.wtile-face::after { content: ""; position: absolute; inset: 0; border: 4px solid var(--ice); clip-path: inherit; opacity: 0; transition: opacity .2s; }
.wtile.on .wtile-face { transform: translateZ(40px) scale(1.06); }
.wtile.on .wtile-face::after { opacity: 1; }
.wall.hovering .wall-plane { animation-play-state: paused; }
.hero-copy { position: relative; z-index: 3; width: var(--page); margin: 0 auto; padding: clamp(140px, 20vh, 210px) 0 calc(var(--cut) + 120px); pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.mega { margin: 0; font-weight: 800; font-size: clamp(64px, 10.4vw, 176px); line-height: .9; letter-spacing: -.06em; max-width: 7.2em; }
.mega .line { display: block; overflow: hidden; padding-bottom: .06em; }
.mega .line > span { display: inline-block; transform: translateY(108%); }
.ready .mega .line > span { transform: none; transition: transform 1.1s var(--ease); }
.ready .mega .line:nth-child(2) > span { transition-delay: .12s; }
.hero-lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 26em; margin: 30px 0 0; color: rgba(244,247,250,.8); }
.hero-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 38px; }
.ghost { font-size: 14px; font-weight: 700; text-decoration: none; opacity: .82; }
.ghost i { font-style: normal; display: inline-block; transition: transform .25s var(--ease); }
.ghost:hover { opacity: 1; } .ghost:hover i { transform: translateX(4px); }
.reveal { opacity: 0; transform: translateY(24px); }
.ready .reveal { opacity: 1; transform: none; transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); position: relative; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.scroll-cue { position: absolute; z-index: 3; left: var(--gutter); bottom: calc(var(--cut) + 20px); display: flex; align-items: center; gap: 12px; color: var(--ice); text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.scroll-cue span { width: 2px; height: 44px; background: rgba(244,247,250,.25); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--live); animation: cue 1.8s var(--ease) infinite; }
.scroll-cue em { font-style: normal; }
@keyframes cue { from { transform: translateY(-14px); } to { transform: translateY(44px); } }
@media (max-width: 900px) {
  .hero-seam { left: 90%; } .wall { left: 86%; opacity: .45; }
  .hero-copy { padding-top: 140px; }
}

/* ───────── Marquee ───────── */
.marquee { z-index: 2; background: var(--ice); color: var(--wine); padding: 26px 0 calc(var(--cut) + 30px); }
.marquee-row { white-space: nowrap; overflow: hidden; }
.marquee-track { display: inline-flex; align-items: center; gap: .42em; font-size: clamp(46px, 8vw, 132px); font-weight: 800; letter-spacing: -.05em; line-height: 1.04; will-change: transform; }
.marquee-row.soft .marquee-track { font-size: clamp(34px, 5.4vw, 88px); color: #c9c3c6; }
.chip { --c: .12em; display: inline-block; width: .42em; height: .42em; background: var(--live); flex: none; }
.marquee-row.soft .chip { background: var(--burg); }

/* ───────── Story (pinned tour) ───────── */
.story { z-index: 3; height: 420vh; background: var(--night); color: var(--ice); }
.story-pin { position: sticky; top: 0; height: 100vh; width: min(1440px, calc(100vw - 96px)); margin: 0 auto; display: grid; grid-template-columns: minmax(250px, .6fr) minmax(0, 2.3fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: 60px; }
.tour-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 38px; }
.tour-tabs button { position: relative; border: 0; background: transparent; color: var(--mist); padding: 14px 0 0; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.tour-tabs button i { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--night-line); overflow: hidden; }
.tour-tabs button i::after { content: ""; position: absolute; inset: 0; background: var(--live); transform: scaleX(var(--fill, 0)); transform-origin: 0 50%; }
.tour-tabs button[aria-selected="true"] { color: var(--ice); }
.tour-tabs button:hover { color: var(--ice); }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; }
.chapters li { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.chapters li.on { opacity: 1; transform: none; }
.ch-num { display: block; font-size: clamp(80px, 9vw, 150px); font-weight: 800; letter-spacing: -.07em; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--burg-hi); }
.chapters h3 { margin: 22px 0 0; font-size: clamp(30px, 3.1vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.chapters p { margin: 16px 0 0; color: var(--mist); font-size: 17px; line-height: 1.55; max-width: 22em; }
.take { --c: 10px; margin-top: 34px; border: 0; cursor: pointer; background: var(--night-line); color: var(--ice); font-weight: 800; font-size: 14px; padding: 14px 20px; transition: background-color .2s; }
.take:hover, .take.on { background: var(--burg-hi); }
.story-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(90px, 9vw, 130px); grid-template-rows: auto auto; gap: 14px clamp(18px, 2.5vw, 36px); align-items: center; }
.tv { --c: 22px; grid-column: 1; grid-row: 1; padding: 12px; background: linear-gradient(150deg, #2b2d33, #0f1013 55%); }
.tv-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; outline: none; cursor: pointer; --c: 12px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.tv-screen.engaged::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--live); pointer-events: none; z-index: 30; }
/* Chapter change: a burgundy plate sweeps across the screen; the screen changes behind it. */
.wipe { position: absolute; top: 0; bottom: 0; left: -30%; width: 160%; z-index: 25; pointer-events: none; transform: translateX(-110%) skewX(-18deg); background: linear-gradient(90deg, var(--front) 0 70%, var(--ice) 70% 73%, var(--burg-hi) 73% 100%); }
.wipe.run { animation: wipe .9s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes wipe { from { transform: translateX(-110%) skewX(-18deg); } to { transform: translateX(110%) skewX(-18deg); } }
.autopilot { position: absolute; right: 14px; top: 12px; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 7px 11px; background: rgba(11,12,15,.84); color: var(--ice); font-size: 11px; font-weight: 700; border-radius: 999px; transition: opacity .3s; }
.ap-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.autopilot.off { opacity: 0; }
.remote { grid-column: 2; grid-row: 1; position: relative; transform: rotate(-7deg); filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); }
.remote img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.demo-note { grid-column: 1; grid-row: 2; color: var(--mist); font-size: 12px; margin: 0; text-align: center; }
.hot { position: absolute; transform: translate(-50%, -50%); border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hot::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(224, 57, 78, .85), rgba(224, 57, 78, 0) 72%); opacity: 0; transition: opacity .35s; }
.hot:hover::after { opacity: .45; }
.hot.pressed::after { opacity: 1; transition: none; }
@media (max-width: 900px) {
  .story { height: auto; padding: 40px 0 80px; }
  .story-pin { position: relative; height: auto; width: var(--page); grid-template-columns: 1fr; padding-top: 0; }
  .story-stage { grid-template-columns: 1fr 64px; gap: 12px 14px; }
  .autopilot { font-size: 9px; padding: 4px 8px; right: 8px; top: 8px; }
}

/* ───────── Speed ───────── */
.speed { z-index: 4; --seam: #2a0509; color: var(--ice); padding: 110px var(--gutter) 150px;
  background: radial-gradient(900px 500px at 90% 10%, rgba(152,23,39,.5), transparent 70%), linear-gradient(180deg, #2a0509, #1a0306); }
.speed .kicker { color: var(--rose); }
.speed .lede { color: rgba(244,247,250,.78); }
.race { margin-top: 64px; display: grid; gap: 16px; }
.race-row { display: grid; grid-template-columns: 170px 1fr 150px; gap: 22px; align-items: center; }
.race-label { font-size: 15px; font-weight: 700; color: rgba(244,247,250,.78); }
.race-track { --c: 12px; position: relative; height: 54px; background: rgba(255,255,255,.07); overflow: hidden; }
.race-track i { --c: 12px; position: absolute; inset: 0; background: linear-gradient(90deg, var(--burg-hi), var(--live)); transform: scaleX(0); transform-origin: 0 50%; }
.race-time { white-space: nowrap; font-size: clamp(28px, 3vw, 44px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; text-align: right; }
.race-time.done::after { content: " ✓"; color: #7ee2a8; font-size: .6em; }
.counters { margin: 80px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.counters div { padding: 34px 26px 0 0; }
.counters dt { font-size: clamp(56px, 7vw, 116px); font-weight: 800; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.counters small { font-size: .34em; letter-spacing: 0; margin-left: 6px; color: var(--rose); }
.counters dd { margin: 14px 0 0; color: rgba(244,247,250,.72); font-size: 15px; line-height: 1.45; max-width: 18em; }
@media (max-width: 820px) { .race-row { grid-template-columns: 1fr 110px; } .race-label { grid-column: 1 / -1; } .counters { grid-template-columns: 1fr; } }

/* ───────── Remote ───────── */
.rules { z-index: 5; background: var(--ice); color: var(--ink); padding: 100px 0 140px; }
.rules > * { width: var(--page); margin-left: auto; margin-right: auto; }
.rules-body { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: center; margin-top: 70px; }
.dpad { position: relative; width: min(360px, 78vw); aspect-ratio: 1; justify-self: center; border-radius: 50%; background: conic-gradient(from 45deg, #1c1d22 0 25%, #202127 0 50%, #1c1d22 0 75%, #202127 0); box-shadow: 0 40px 80px -30px rgba(42,5,9,.55), inset 0 0 0 1px rgba(255,255,255,.06); }
.dpad i { font-style: normal; }
.seg { position: absolute; width: 30%; height: 30%; }
.seg::before { content: ""; position: absolute; inset: 34%; background: #6a6d76; clip-path: polygon(50% 18%, 88% 76%, 12% 76%); transition: background-color .3s; }
.seg-up { left: 35%; top: 3%; } .seg-down { left: 35%; bottom: 3%; } .seg-down::before { transform: rotate(180deg); }
.seg-left { left: 3%; top: 35%; } .seg-left::before { transform: rotate(-90deg); } .seg-right { right: 3%; top: 35%; } .seg-right::before { transform: rotate(90deg); }
.seg.active::before { background: var(--live); }
.dpad-ok { position: absolute; inset: 31%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, #34363d, #25272d); color: var(--mist); font-weight: 800; font-size: clamp(16px, 2vw, 22px); letter-spacing: .08em; box-shadow: 0 6px 0 #101114, inset 0 1px 0 rgba(255,255,255,.1); transition: transform .15s, color .3s, box-shadow .3s; }
.dpad-ok.active { color: #fff; transform: translateY(3px); box-shadow: 0 3px 0 #101114, 0 0 40px rgba(224,57,78,.5); }
.dpad-back { position: absolute; left: -2%; bottom: -4%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #25272d; display: grid; place-items: center; box-shadow: 0 5px 0 #101114; transition: background-color .3s; }
.dpad-back svg { width: 42%; fill: none; stroke: var(--mist); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dpad-back.active { background: var(--burg-hi); } .dpad-back.active svg { stroke: #fff; }
.rule-cards { display: grid; gap: 14px; }
/* Cards never move: only colour changes, so nothing shifts under the pointer. */
.rule-card { --c: 16px; position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; padding: 22px 26px; text-align: left; border: 0; background: var(--paper); cursor: pointer; transition: background-color .45s var(--ease), color .45s; }
.rc-text b { display: block; font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.rc-text span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.5; transition: color .45s; }
.rule-card.on { background: var(--front); color: var(--ice); }
.rule-card.on .rc-text span { color: rgba(244,247,250,.75); }
.rule-card.on::after { box-shadow: none; }
.rc-demo { position: relative; display: block; height: 92px; background: var(--night); overflow: hidden; --c: 10px; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.rc-demo i { position: absolute; display: block; }
.rc-left .rc-row { left: 22%; right: 8%; height: 14px; background: #24262c; }
.rc-left .rc-row:nth-child(2) { top: 16px; background: var(--burg-hi); } .rc-left .rc-row:nth-child(3) { top: 38px; } .rc-left .rc-row:nth-child(4) { top: 60px; }
.rc-left .rc-side { left: 0; top: 0; bottom: 0; width: 60%; background: #2e0810; z-index: 1; transform: translateX(-73%); }
.on .rc-left .rc-side { animation: side-open 2.6s var(--ease) infinite; }
@keyframes side-open { 0%, 20% { transform: translateX(-73%); } 40%, 85% { transform: none; } 100% { transform: translateX(-73%); } }
.rc-back i { width: 58%; height: 52%; left: 12%; top: 10%; background: #24262c; border: 2px solid #34363d; }
.rc-back i:nth-child(2) { left: 22%; top: 24%; } .rc-back i:nth-child(3) { left: 32%; top: 38%; background: var(--burg-hi); border-color: var(--live); }
.on .rc-back i:nth-child(3) { animation: layer-close 2.6s var(--ease) infinite; }
@keyframes layer-close { 0%, 25% { transform: none; opacity: 1; } 50%, 90% { transform: translate(40%, 40%); opacity: 0; } 100% { opacity: 0; } }
.rc-ok .rc-video { inset: -10%; background: radial-gradient(60% 80% at 30% 40%, #5ee0a6, transparent 60%), linear-gradient(140deg, #06301f, #031a11); }
.on .rc-ok .rc-video { animation: drift-video 5s ease-in-out infinite alternate; }
@keyframes drift-video { to { transform: translate(8%, -4%) scale(1.08); } }
.rc-ok .rc-hud { left: 8px; right: 8px; bottom: 8px; height: 24px; background: rgba(244,247,250,.94); transform: translateY(46px); }
.on .rc-ok .rc-hud { animation: hud-up 2.6s var(--ease) infinite; }
@keyframes hud-up { 0%, 20% { transform: translateY(46px); } 40%, 90% { transform: none; } 100% { transform: translateY(46px); } }
@media (max-width: 900px) { .rules-body { grid-template-columns: 1fr; } .rule-card { grid-template-columns: 110px 1fr; gap: 16px; padding: 18px; } }

/* ───────── Themes ───────── */
.themes { z-index: 6; background: var(--ice); color: var(--ink); padding: 60px 0 150px; }
.themes > * { width: var(--page); margin-left: auto; margin-right: auto; }
.themes .lede { color: var(--ink-2); }
.compare { --c: 26px; position: relative; margin-top: 60px; aspect-ratio: 16 / 9; background: #000; overflow: hidden; touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; isolation: isolate; }
.cmp-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cmp-dark { will-change: clip-path; clip-path: polygon(calc(var(--pos) + 7%) 0, 100% 0, 100% 100%, calc(var(--pos) - 7%) 100%); }
.cmp-handle { position: absolute; z-index: 2; top: -5%; bottom: -5%; left: var(--pos); width: 14px; margin-left: -7px; background: var(--ice); transform: skewX(-14.5deg); box-shadow: 0 0 0 1px rgba(0,0,0,.08), 18px 0 0 -4px var(--live); outline: none; touch-action: none; cursor: ew-resize; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) skewX(14.5deg); background: var(--front); color: var(--ice); font-size: 13px; font-weight: 800; padding: 12px 14px; white-space: nowrap; letter-spacing: .1em; transition: background-color .2s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.compare.dragging .cmp-handle span, .cmp-handle:hover span, .cmp-handle:focus-visible span { background: var(--live); }
.cmp-tag { position: absolute; bottom: 18px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; background: rgba(11,12,15,.72); color: var(--ice); pointer-events: none; }
.cmp-tag-l { left: 18px; } .cmp-tag-d { right: 18px; }

/* ───────── Features ───────── */
.features { z-index: 7; background: var(--night); color: var(--ice); padding: 100px var(--gutter) 150px; }
.bento { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { --c: 18px; position: relative; padding: 26px; background: var(--night-2); min-height: 280px; display: flex; flex-direction: column; transition: background-color .3s; }
.card:hover { background: #1a1c22; }
.card h3 { margin: auto 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.035em; }
.card p { margin: 8px 0 0; color: var(--mist); font-size: 15px; line-height: 1.5; }
.c-art { height: 110px; position: relative; margin-bottom: 22px; }
.c-art svg { width: 64px; height: 64px; fill: none; stroke: var(--ice); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.c-replay .rp-bar { position: absolute; left: 0; right: 0; top: 46px; height: 6px; background: #2a2c33; }
.c-replay .rp-bar b { position: absolute; inset: 0; background: var(--live); transform-origin: 0 50%; animation: rewind 4.4s var(--ease) infinite; }
.c-replay .rp-t { position: absolute; left: 0; top: 70px; font-size: 13px; font-weight: 700; color: var(--mist); }
@keyframes rewind { 0%, 15% { transform: scaleX(.86); } 60%, 85% { transform: scaleX(.12); } 100% { transform: scaleX(.86); } }
.c-remind svg { transform-origin: 50% 10%; animation: ring 3s ease-in-out infinite; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(14deg); } 70% { transform: rotate(-12deg); } 76% { transform: rotate(8deg); } 82% { transform: rotate(-4deg); } }
.c-search .sq { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; background: #24262c; font-size: 14px; font-weight: 700; color: var(--mist); width: 80%; }
.c-search .sq i { width: 2px; height: 16px; background: var(--live); animation: blink 1s steps(1) infinite; }
.c-search .sr1, .c-search .sr2 { display: block; height: 12px; margin-top: 10px; background: #24262c; animation: result 3.2s var(--ease) infinite; }
.c-search .sr1 { width: 70%; background: var(--burg-hi); } .c-search .sr2 { width: 52%; animation-delay: .15s; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes result { 0%, 20% { transform: translateX(-20px); opacity: 0; } 40%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.c-fav svg path { fill: var(--live); stroke: var(--live); transform-origin: center; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(.98); } 45% { transform: scale(1.08); } }
.c-pin .c-art { display: flex; gap: 14px; align-items: center; }
.c-pin i { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--mist); }
.c-pin i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: var(--live); transform: scale(0); animation: pin 3.2s var(--ease) infinite; }
.c-pin i:nth-child(2)::after { animation-delay: .25s; } .c-pin i:nth-child(3)::after { animation-delay: .5s; } .c-pin i:nth-child(4)::after { animation-delay: .75s; }
@keyframes pin { 0%, 10% { transform: scale(0); } 22%, 80% { transform: scale(1); } 100% { transform: scale(0); } }
.c-backup .shackle { animation: lock 3s var(--ease) infinite; }
@keyframes lock { 0%, 30% { transform: translateY(-4px); } 50%, 90% { transform: none; } 100% { transform: translateY(-4px); } }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* ───────── Setup ───────── */
.setup { z-index: 8; --seam: var(--front); color: var(--ice); padding: 100px var(--gutter) 150px;
  background: radial-gradient(800px 500px at 0% 100%, rgba(224,57,78,.25), transparent 70%), var(--front); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.setup .kicker { color: var(--rose); }
.setup .giant { font-size: clamp(44px, 5.6vw, 92px); }
.steps { list-style: none; padding: 0; margin: 40px 0 44px; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; color: rgba(244,247,250,.84); font-size: 17px; line-height: 1.5; }
.steps b { width: 32px; height: 32px; display: grid; place-items: center; background: var(--ice); color: var(--front); font-size: 14px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.steps em { font-style: normal; color: #fff; font-weight: 700; }
.pair { position: relative; height: 440px; }
.pair-tv { position: absolute; inset: 10px 70px 110px 0; padding: 10px; background: #111216; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.pair-screen { height: 100%; background: var(--night); display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--mist); font-size: 13px; position: relative; overflow: hidden; }
.pair-url { color: var(--ice); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.flap { display: flex; gap: 7px; margin-top: 8px; perspective: 400px; }
.flap i { font-style: normal; width: 38px; height: 50px; display: grid; place-items: center; background: #1c1e24; color: var(--ice); font-weight: 800; font-size: 24px; border-bottom: 3px solid var(--burg-hi); position: relative; }
.flap i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.5); }
.flap i.flip { animation: flip .12s linear; }
@keyframes flip { 50% { transform: rotateX(90deg); } }
.pair-ok { position: absolute; inset: auto 0 0; padding: 12px; text-align: center; background: var(--burg-hi); color: #fff; font-weight: 800; font-size: 13px; transform: translateY(100%); transition: transform .5s var(--ease); }
.pair.done .pair-ok { transform: none; }
.pair-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pair-path path { fill: none; stroke: rgba(244,247,250,.35); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.packet { position: absolute; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--live); box-shadow: 0 0 22px var(--live); opacity: 0; will-change: transform; clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
.pair-phone { position: absolute; right: 0; bottom: 0; width: 190px; height: 330px; padding: 9px; border-radius: 28px; background: #121317; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); transform: rotate(6deg); }
.pair-phone-screen { height: 100%; border-radius: 20px; background: var(--ice); padding: 24px 16px; display: grid; align-content: start; gap: 10px; color: var(--ink); }
.pair-phone .field { font-size: 11px; color: var(--ink-2); margin-top: 8px; }
.pair-phone .typed { background: #fff; border: 1px solid var(--line); padding: 10px 8px; font-size: 11px; overflow: hidden; white-space: nowrap; }
.pair-phone .typed span { display: inline-block; overflow: hidden; max-width: 0; vertical-align: bottom; }
.pair.typing .typed span { max-width: 100%; transition: max-width 1.6s steps(30); }
.pair-phone .send { margin-top: 8px; background: var(--front); color: var(--ice); text-align: center; padding: 11px; font-size: 12px; font-weight: 800; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); transition: background-color .2s; }
.pair.sending .send { background: var(--live); }
@media (max-width: 900px) { .setup { grid-template-columns: 1fr; } .pair { height: 380px; } }

/* ───────── Price ───────── */
.statement { z-index: 9; background: var(--ice); color: var(--ink); padding: 120px var(--gutter) 100px; }
.statement .giant { font-size: clamp(56px, 10vw, 170px); }
.stack { position: relative; display: inline-block; padding: .02em .16em .1em; margin-left: -.16em; color: var(--ice); z-index: 0; }
.stack::before, .stack::after { content: ""; position: absolute; inset: 0; z-index: -1; --c: .22em; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); transition: transform 1s var(--ease); }
.stack::before { background: var(--rear); transform: translate(.08em, .08em) scaleX(0); transform-origin: 0 50%; }
.stack::after { background: var(--front); transform: scaleX(0); transform-origin: 0 50%; }
.in .stack::before { transform: translate(.08em, .08em) scaleX(1); transition-delay: .25s; }
.in .stack::after { transform: scaleX(1); }
.statement .lede { color: var(--ink-2); max-width: 30em; }
.facts { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facts li { --c: 14px; position: relative; padding: 26px 22px; background: var(--paper); display: grid; gap: 6px; transition: background-color .3s, color .3s; }
.facts li:hover { background: var(--front); color: var(--ice); }
.facts li:hover::after { box-shadow: none; }
.facts strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.facts span { font-size: 14px; opacity: .7; }
.provider { --c: 20px; margin-top: 28px; padding: 34px 36px; background: var(--night); color: var(--ice); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center; }
.provider h3 { margin: 0; font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.provider p { margin: 0; color: var(--mist); font-size: 17px; line-height: 1.55; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .provider { grid-template-columns: 1fr; } }

/* ───────── FAQ ───────── */
.faq { z-index: 10; background: var(--ice); color: var(--ink); padding: 60px var(--gutter) 150px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; }
.faq-list { display: grid; gap: 10px; align-content: start; }
.faq details { --c: 12px; background: var(--paper); }
.faq details[open] { box-shadow: inset 4px 0 0 var(--live); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; position: relative; transition: color .2s; }
.faq summary:hover { color: var(--burg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--burg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 24px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ───────── Footer: the whole logo, rising into place ───────── */
.foot { z-index: 11; background: var(--wine); color: rgba(244,247,250,.7); padding: 110px 0 56px; overflow: hidden; }
.foot-mark { width: min(980px, calc(100% - 48px)); margin: 0 auto 70px; }
.js .foot-mark { transform: translateY(14%); opacity: 0; transition: transform 1.3s var(--ease), opacity 1s var(--ease); }
.js .foot.in .foot-mark { transform: none; opacity: 1; }
.foot-mark .lg-rear { fill: var(--live); }
.foot-row { width: var(--page); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.foot-row p { margin: 0; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { text-decoration: none; color: var(--ice); }
.foot-links a:hover { color: var(--rose); }

/* Loops run only while their section is on screen (the script toggles .playing). */
.js .hero:not(.playing) *, .js .hero:not(.playing) *::after, .js .marquee:not(.playing) *, .js .features:not(.playing) *, .js .features:not(.playing) *::after,
.js .rules:not(.playing) *, .js .rules:not(.playing) *::after, .js .story:not(.playing) * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; } .mega .line > span { transform: none; }
  .stack::before { transform: translate(.08em, .08em); } .stack::after { transform: none; }
  .story { height: auto; padding: 80px 0 90px; } .story-pin { position: relative; height: auto; }
  .intro { display: none; } .js .foot-mark { transform: none; opacity: 1; }
}

.app-static { pointer-events: none; }
/* ───────────── The miniature Lame (960 × 540, scaled to the screen) ───────────── */
.app {
  --a-bg: #f4f7fa; --a-plate: #ffffff; --a-plate-2: #fcfcfd; --a-ink: #16161a; --a-ink-2: #56555d; --a-ink-3: #727079;
  --a-burg: #6e0a18; --a-burg-strong: #4f0711; --a-tint: #f4e3e5; --a-on: #f4f7fa; --a-ring: #6e0a18; --a-logo: #e4e3e8;
  --a-cell: rgba(22, 22, 26, .045); --a-line: rgba(0, 0, 0, .07); --a-live: #c4202f; --a-now: #6e0a18;
  position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; transform: scale(var(--k, 1));
  background: var(--a-bg); color: var(--a-ink); font-family: Manrope, system-ui, sans-serif; overflow: hidden; user-select: none;
}
.app[data-theme="dark"] {
  --a-bg: #0b0c0f; --a-plate: #14161b; --a-plate-2: #111317; --a-ink: #f6f6f7; --a-ink-2: #b4b7be; --a-ink-3: #7f838c;
  --a-burg: #981727; --a-burg-strong: #6c0f1b; --a-tint: #2a0d12; --a-on: #ffffff; --a-ring: #f4f7fa; --a-logo: #1f2227;
  --a-cell: rgba(255, 255, 255, .05); --a-line: rgba(255, 255, 255, .08); --a-live: #d02a3d; --a-now: #e04a5c;
}
.app { contain: layout paint; }
.a-cut { clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }

.a-side { position: absolute; left: 0; top: 0; bottom: 0; width: 56px; z-index: 5; background: var(--a-bg); display: flex; flex-direction: column; gap: 4px; padding-top: 12px; transition: width .18s ease, box-shadow .18s; }
.a-side.open { width: 190px; box-shadow: 1px 0 0 var(--a-line); }
.a-mark { width: 30px; height: 30px; margin: 0 0 16px 13px; }
.a-nav { position: relative; height: 38px; display: flex; align-items: center; gap: 18px; padding-left: 18px; color: var(--a-ink-2); font-size: 13px; font-weight: 500; white-space: nowrap; }
.a-nav svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-nav span { opacity: 0; transition: opacity .12s; }
.a-side.open .a-nav span { opacity: 1; }
.a-nav.current { color: var(--a-burg); font-weight: 600; }
.a-nav.current::before { content: ""; position: absolute; left: 0; top: 9px; width: 3px; height: 20px; background: var(--a-burg); }
.a-nav.f { color: var(--a-on); }
.a-nav.f::after { content: ""; position: absolute; inset: 1px 6px; z-index: -1; background: var(--a-burg); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.a-nav.f::before { display: none; }
.a-nav.bottom { margin-top: auto; margin-bottom: 12px; }

.a-screen { position: absolute; left: 72px; right: 0; top: 0; bottom: 0; display: none; }
.a-screen.on { display: block; }
.a-scroll { transition: transform .32s cubic-bezier(.2, .7, .2, 1); }

/* Home */
.h-hero { position: relative; height: 196px; margin-right: 0; overflow: hidden; background: #2a0509; }
.h-hero .art { position: absolute; inset: 0 0 0 38%; }
.h-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, #5a0a14 0%, #3c050c 44%, transparent 44.2%); }
.h-hero::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 43.2%; width: 10px; background: #f4f7fa; transform: skewX(-24deg); opacity: .9; }
.h-copy { position: absolute; z-index: 2; left: 26px; top: 24px; width: 330px; color: #f4f7fa; }
.h-kicker { font-size: 9.5px; font-weight: 600; letter-spacing: .16em; opacity: .75; }
.h-title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; line-height: 1.1; }
.h-meta { font-size: 11px; opacity: .8; margin-top: 8px; }
.h-bar { width: 170px; height: 3px; margin-top: 10px; background: rgba(255,255,255,.25); }
.h-bar i { display: block; height: 100%; width: 62%; background: #e0394e; }
.h-btns { display: flex; gap: 8px; margin-top: 16px; }
.h-btn { height: 32px; padding: 0 15px; display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(255,255,255,.16); }
.h-btn svg { width: 10px; height: 10px; fill: currentColor; }
.h-btn.f { background: #fff; color: #2a0509; }
.shelf { margin-top: 14px; }
.shelf-t { font-size: 12.5px; font-weight: 600; margin: 0 0 6px; }
.row { overflow: hidden; padding: 4px 0 6px 4px; margin-left: -4px; }
.track { display: flex; gap: 8px; transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.tile { position: relative; flex: none; width: 140px; background: var(--a-plate); transition: transform .14s ease; }
.tile .art { height: 72px; }
.tile .t-name { font-size: 10px; font-weight: 600; padding: 7px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .t-sub { font-size: 8.5px; color: var(--a-ink-2); padding: 1px 8px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { position: absolute; left: 6px; top: 6px; background: var(--a-live); color: #fff; font-size: 7px; font-weight: 800; letter-spacing: .06em; padding: 2px 4px; border-radius: 2px; }
.prog { position: absolute; left: 6px; right: 6px; top: 64px; height: 3px; background: rgba(255,255,255,.4); }
.prog i { display: block; height: 100%; background: #e0394e; }
.poster { flex: none; width: 92px; position: relative; transition: transform .14s ease; }
.poster .art { height: 138px; }
.poster .p-t { position: absolute; left: 8px; right: 8px; bottom: 10px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.05; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.f.tile, .f.poster { transform: translateY(-2px) scale(1.035); z-index: 2; }
.f.tile::after, .f.poster::after { content: ""; position: absolute; inset: -3px; border: 2px solid var(--a-ring); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.tile.a-cut, .poster.a-cut { overflow: visible; }

/* Abstract artwork: colour fields, not stock imagery. */
.art { background: #222; }
.art-1 { background: radial-gradient(120% 90% at 80% 20%, #f2b04a 0%, transparent 45%), radial-gradient(90% 90% at 20% 90%, #7a1020 0%, transparent 60%), linear-gradient(135deg, #2b0a14, #521020); }
.art-2 { background: radial-gradient(80% 80% at 25% 30%, #58c4c9 0%, transparent 55%), linear-gradient(160deg, #0d2a3a, #081419); }
.art-3 { background: radial-gradient(70% 70% at 70% 70%, #ffd166 0%, transparent 50%), linear-gradient(200deg, #3a2a10, #120d05); }
.art-4 { background: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 6px, transparent 6px 18px), linear-gradient(135deg, #1f4d2c, #0b1e12); }
.art-5 { background: radial-gradient(100% 70% at 50% 100%, #e05a7a 0%, transparent 60%), linear-gradient(180deg, #1a1033, #2e1450); }
.art-6 { background: conic-gradient(from 210deg at 70% 40%, #d7e3ea, #6d8ea3, #1c2a36, #d7e3ea); }
.art-7 { background: radial-gradient(60% 80% at 30% 40%, #ff7a3d 0%, transparent 55%), linear-gradient(120deg, #3a0d05, #120605); }
.art-8 { background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)), radial-gradient(90% 60% at 60% 30%, #b8c9ff 0%, transparent 60%), linear-gradient(160deg, #213a7a, #0c1733); }
.art-hero { background: radial-gradient(55% 80% at 70% 45%, #5ee0a6 0%, transparent 55%), radial-gradient(40% 60% at 90% 90%, #1b8c63 0%, transparent 60%), linear-gradient(150deg, #06301f, #031a11); }

/* Live TV */
.l-head { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 34px 0 0; }
.l-title { font-size: 20px; font-weight: 700; }
.l-tools { display: flex; gap: 18px; font-size: 11px; color: var(--a-ink-2); }
.l-body { display: grid; grid-template-columns: 170px 1fr; gap: 12px; margin-top: 14px; padding-right: 34px; }
.sec { font-size: 8.5px; font-weight: 600; letter-spacing: .14em; color: var(--a-ink-3); margin: 10px 0 4px 8px; }
.grp { position: relative; height: 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 11px; font-weight: 500; color: var(--a-ink-2); }
.grp small { font-size: 8.5px; color: var(--a-ink-3); }
.grp.sel { color: var(--a-burg); font-weight: 600; }
.grp.sel::before { content: ""; position: absolute; left: 0; top: 5px; width: 3px; height: 14px; background: var(--a-burg); }
.grp.f { background: var(--a-burg); color: var(--a-on); font-weight: 600; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.grp.f small { color: var(--a-on); opacity: .8; }
.grp.f::before { display: none; }
.l-list-t { font-size: 13px; font-weight: 600; margin: 4px 0 8px; }
.ch { position: relative; height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 8px; }
.logo { flex: none; width: 44px; height: 26px; display: grid; place-items: center; background: var(--a-logo); color: var(--a-ink-3); font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.ch-main { min-width: 0; flex: 1; }
.ch-name { font-size: 11.5px; font-weight: 600; }
.ch-now { font-size: 9px; color: var(--a-ink-2); margin-top: 1px; }
.ch-time { font-size: 8.5px; color: var(--a-ink-3); }
.ch.f { background: var(--a-plate); }
.ch.f::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--a-burg); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.ch-bar { height: 2px; margin-top: 4px; background: var(--a-line); width: 120px; }
.ch-bar i { display: block; height: 100%; background: var(--a-burg); }

/* Guide */
.g-head { display: flex; align-items: center; gap: 6px; padding: 16px 20px 0 0; }
.g-title { font-size: 20px; font-weight: 700; margin-right: 12px; }
.g-act { font-size: 10px; font-weight: 500; padding: 6px 10px; background: var(--a-cell); border-radius: 3px; }
.g-act.p { background: var(--a-burg-strong); color: var(--a-on); }
.g-clock { margin-left: auto; font-size: 10.5px; font-weight: 600; }
.g-prev { display: flex; gap: 14px; margin: 12px 20px 0 0; height: 86px; padding: 6px; background: var(--a-plate-2); border-radius: 5px; }
.g-prev .art { width: 136px; border-radius: 3px; }
.g-pt { font-size: 9px; color: var(--a-ink-3); margin-top: 6px; }
.g-pn { font-size: 18px; font-weight: 700; margin-top: 2px; }
.g-pd { font-size: 9.5px; color: var(--a-ink-2); margin-top: 4px; }
.g-grid { position: relative; margin: 10px 20px 0 0; }
.g-times { display: flex; height: 20px; margin-left: 132px; font-size: 8.5px; color: var(--a-ink-2); position: relative; }
.g-times span { position: absolute; top: 4px; }
.g-row { display: flex; height: 33px; align-items: stretch; }
.g-ch { width: 132px; flex: none; display: flex; align-items: center; gap: 8px; font-size: 10.5px; padding-left: 6px; position: relative; }
.g-ch .logo { width: 26px; height: 26px; font-size: 8px; }
.g-ch.sel::before { content: ""; position: absolute; left: 0; top: 7px; width: 2px; height: 19px; background: var(--a-burg); }
.g-cells { position: relative; flex: 1; }
.cell { position: absolute; top: 1px; bottom: 1px; padding: 4px 8px; border-radius: 3px; background: var(--a-cell); overflow: hidden; white-space: nowrap; }
.cell b { display: block; font-size: 9.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.cell small { display: block; font-size: 7.5px; color: var(--a-ink-2); }
.cell.gap b { color: var(--a-ink-2); font-weight: 400; }
.cell.f { background: var(--a-burg-strong); color: var(--a-on); }
.cell.f small, .cell.f.gap b { color: var(--a-on); opacity: .85; }
.g-now { position: absolute; top: 20px; bottom: 0; width: 1px; background: var(--a-now); opacity: .8; }
.g-now::before { content: ""; position: absolute; left: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--a-now); }

/* On demand */
.v-page { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 26px 30px 0 0; }
.v-poster { height: 225px; }
.v-kicker { font-size: 9px; font-weight: 700; letter-spacing: .14em; color: var(--a-burg); }
.v-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.v-meta { font-size: 10px; color: var(--a-ink-2); margin-top: 6px; }
.v-syn { font-size: 10.5px; line-height: 1.55; color: var(--a-ink-2); margin-top: 10px; max-width: 520px; }
.v-res { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 9.5px; color: var(--a-ink-2); }
.v-res .v-progress { width: 150px; height: 3px; background: var(--a-line); }
.v-res .v-progress i { display: block; height: 100%; width: 46%; background: var(--a-live); }
.v-acts { display: flex; gap: 6px; margin-top: 12px; }
.v-btn { position: relative; height: 34px; padding: 3px; }
.v-btn span { height: 100%; display: flex; align-items: center; gap: 6px; padding: 0 13px; font-size: 11px; font-weight: 600; background: var(--a-cell); }
.v-btn svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.v-btn.primary span { background: var(--a-burg); color: var(--a-on); }
.v-btn.primary svg { fill: currentColor; stroke: none; }
.v-btn.f span { background: var(--a-burg); color: var(--a-on); }
.v-btn.f::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--a-ring); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.v-more { font-size: 12.5px; font-weight: 600; margin: 22px 0 6px; }

/* Player */
.a-player { position: absolute; inset: 0; z-index: 10; background: #000; display: none; }
.a-player.on { display: block; }
.a-video { position: absolute; inset: -20%; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-3%, -2%) scale(1.02); } to { transform: translate(3%, 2%) scale(1.08); } }
.a-hud { position: absolute; left: 50px; right: 50px; bottom: 28px; padding: 14px 18px; background: rgba(250, 250, 252, .95); color: #16161a; display: flex; align-items: center; gap: 16px; transition: opacity .2s, transform .2s; }
.app[data-theme="dark"] .a-hud { background: rgba(11, 12, 15, .94); color: #f6f6f7; }
.a-hud.hidden { opacity: 0; transform: translateY(10px); }
.hud-main { flex: 1; min-width: 0; }
.hud-t { font-size: 14px; font-weight: 700; }
.hud-s { font-size: 9.5px; opacity: .7; margin-top: 2px; }
.hud-bar { height: 3px; margin-top: 8px; background: rgba(128,128,128,.3); }
.hud-bar i { display: block; height: 100%; width: 38%; background: var(--a-burg); }
.hud-b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; font-size: 8px; font-weight: 600; gap: 2px; align-content: center; }
.hud-b svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hud-b.primary { background: var(--a-burg); color: #fff; }
.hud-b.f { box-shadow: 0 0 0 2px var(--a-burg); }
.hud-b.primary.f { background: var(--a-burg-strong); }
.a-toast { position: absolute; top: 18px; right: 22px; z-index: 11; padding: 7px 11px; background: rgba(11, 12, 15, .82); color: #f4f7fa; font-size: 10px; font-weight: 600; border-radius: 4px; opacity: 0; transition: opacity .2s; }
.a-toast.on { opacity: 1; }
