/* Linkstreams landing page. The TV screens are rebuilt from the app's own
   sizes (a 1080p TV is 960 x 540 logical pixels) and scaled to fit. */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-600.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/inter-800.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 900; font-display: swap; src: url(assets/fonts/inter-900.woff2) format('woff2'); }

:root {
  --cobalt: #174ae4;
  --cobalt-dark: #1038b9;
  --lime: #dfff62;
  --ink: #142038;
  --paper: #f4f4ef;
  --canvas: #0c111d;
  --surface: #151d2e;
  --raised: #212c44;
  --line: #2e3b56;
  --text: #f5f7ff;
  --muted: #a9b5cb;
  --sky: #9db9ff;
  --light-muted: #56647a;
  --light-line: #d5d9df;
  --light-text: #34425a;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--text); }
#linkstreams-site { font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* Resets without weight, so any class below wins over them. */
:where(#linkstreams-site) img { max-width: 100%; }
:where(#linkstreams-site) a { color: inherit; }
:where(#linkstreams-site) button { font: inherit; color: inherit; cursor: pointer; }
:where(#linkstreams-site) :is(h1, h2, h3, p) { margin: 0; }
#linkstreams-site :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.ls-paper :focus-visible, .ls-download :focus-visible { outline-color: var(--cobalt) !important; }

.ls-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.ls-icon { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }
.ls-flip { transform: scaleX(-1); }
.ls-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ls-container { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.ls-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--lime); color: var(--ink); font-weight: 800; text-decoration: none; transition: top .2s; }
.ls-skip:focus { top: 12px; }

/* ---------- Buttons and links ---------- */
.ls-button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.ls-button::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.ls-button:hover::after { transform: translateX(120%); }
.ls-button:hover { transform: translateY(-2px); }
.ls-button:active { transform: translateY(0) scale(.98); }
.ls-button-lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(223, 255, 98, .6); }
.ls-button-lime:hover { box-shadow: 0 16px 40px -12px rgba(223, 255, 98, .75); }
.ls-button-ghost { border-color: rgba(255, 255, 255, .28); color: var(--text); background: rgba(255, 255, 255, .04); }
.ls-button-ghost:hover { border-color: var(--lime); background: rgba(223, 255, 98, .08); }
.ls-button-ink { background: var(--ink); color: #fff; }
.ls-button-ink:hover { background: var(--cobalt); }
.ls-button-big { min-height: 64px; padding: 0 32px; font-size: 1.125rem; }
.ls-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 800; text-decoration: none; color: var(--lime); }
.ls-link .ls-icon { transition: transform .25s var(--ease); }
.ls-link:hover .ls-icon { transform: translateX(4px); }
.ls-link-ink { color: var(--ink); }
.ls-chip-button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); font-size: .875rem; font-weight: 600; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.ls-chip-button:hover { border-color: var(--lime); }
.ls-round-button { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); transition: background-color .2s, border-color .2s, transform .2s; }
.ls-round-button:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.ls-round-button:disabled { opacity: .35; cursor: default; background: none; color: inherit; border-color: rgba(255, 255, 255, .22); }
.ls-when-paused, .ls-when-open { display: none; }
[aria-pressed="true"] > .ls-when-running, .is-paused > .ls-when-running, [aria-expanded="true"] > .ls-when-closed { display: none; }
[aria-pressed="true"] > .ls-when-paused, .is-paused > .ls-when-paused, [aria-expanded="true"] > .ls-when-open { display: inline-block; }

/* ---------- Header ---------- */
.ls-header { position: sticky; top: 0; z-index: 50; background: var(--canvas); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.ls-header.is-scrolled, .ls-header:has(.ls-nav.is-open) { background: rgba(12, 17, 29, .96); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.ls-header-inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.ls-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.ls-brand img { width: auto; height: 1.75rem; display: block; }
.ls-beta { font-size: .6875rem; font-weight: 800; letter-spacing: .08em; padding: 3px 7px 2px; border-radius: 6px; background: var(--lime); color: var(--ink); line-height: 1.2; }
.ls-nav { display: flex; align-items: center; gap: 4px; }
.ls-nav a { position: relative; padding: 10px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; color: rgba(245, 247, 255, .82); transition: color .2s, background-color .2s; }
.ls-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.ls-nav a.is-current { color: #fff; }
.ls-nav a.is-current::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--lime); }
.ls-nav .ls-nav-cta { margin-left: 8px; background: var(--lime); color: var(--ink); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.ls-nav .ls-nav-cta:hover { background: #fff; }
.ls-nav .ls-nav-cta::after { display: none; }
.ls-motion-toggle, .ls-menu-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); display: inline-grid; place-items: center; flex: none; transition: border-color .2s, background-color .2s; }
.ls-motion-toggle:hover, .ls-menu-toggle:hover { border-color: var(--lime); }
.ls-motion-toggle .ls-icon { width: 16px; height: 16px; }
.ls-menu-toggle { display: none; }

/* ---------- Hero ---------- */
.ls-hero { position: relative; padding-top: clamp(28px, 6vw, 72px); background: radial-gradient(120% 80% at 70% 0%, #13205a 0%, rgba(12, 17, 29, 0) 60%), var(--canvas); overflow: hidden; isolation: isolate; }
.ls-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ls-hero-glow { position: absolute; left: 50%; top: 52%; width: min(1200px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -30%); background: radial-gradient(closest-side, rgba(23, 74, 228, .55), rgba(23, 74, 228, 0)); filter: blur(10px); }
.ls-streak { position: absolute; right: -6%; height: clamp(24px, 3.4vw, 46px); border-radius: 999px 0 0 999px; background: linear-gradient(90deg, rgba(223, 255, 98, 0), rgba(223, 255, 98, .16)); animation: ls-streak 7s var(--ease-in-out) infinite alternate; }
.ls-streak-1 { top: 36px; width: 24%; }
.ls-streak-2 { top: calc(36px + clamp(32px, 4.6vw, 62px)); width: 38%; animation-delay: -2.4s; background: linear-gradient(90deg, rgba(23, 74, 228, 0), rgba(79, 124, 255, .38)); }
.ls-streak-3 { top: calc(36px + 2 * clamp(32px, 4.6vw, 62px)); width: 24%; animation-delay: -4.8s; }
@keyframes ls-streak { from { transform: translateX(5%); } to { transform: translateX(-5%); } }

.ls-hero-top { position: relative; }
.ls-hero-copy { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-top: clamp(24px, 3.4vw, 44px); }
.ls-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.ls-paper .ls-eyebrow, .ls-download .ls-eyebrow { color: var(--cobalt); }
.ls-download .ls-eyebrow { color: var(--ink); }
.ls-eyebrow-live { align-items: flex-start; }
.ls-eyebrow-live .ls-pulse { margin-top: .32em; flex: none; }
.ls-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(223, 255, 98, .7); animation: ls-pulse 2s infinite; }
@keyframes ls-pulse { 0% { box-shadow: 0 0 0 0 rgba(223, 255, 98, .6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(223, 255, 98, 0); } }
.ls-hero h1 { font-size: clamp(2.75rem, 7.6vw, 7rem); font-weight: 900; line-height: .9; letter-spacing: -.05em; text-transform: uppercase; }
.ls-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ls-line > span { display: inline-block; }
.ls-line-accent > span { color: var(--lime); }
.js .ls-line > span { animation: ls-rise 1s var(--ease) both; }
.js .ls-line:nth-child(2) > span { animation-delay: .12s; }
.js .ls-line:nth-child(3) > span { animation-delay: .24s; }
@keyframes ls-rise { from { transform: translateY(105%); } to { transform: none; } }
.js .ls-hero-copy, .js .ls-hero-top > .ls-eyebrow { animation: ls-fade-up .9s .35s var(--ease) both; }
.js .ls-hero-top > .ls-eyebrow { animation-delay: 0s; }
@keyframes ls-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ls-lead { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55; color: rgba(245, 247, 255, .8); max-width: 34em; }
.ls-lead + .ls-lead { margin-top: 12px; }
.ls-lead-strong { color: #fff; font-weight: 600; }
.ls-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ls-proof { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9375rem; font-weight: 600; color: rgba(245, 247, 255, .85); }
.ls-proof li { display: inline-flex; align-items: center; gap: 8px; }
.ls-proof .ls-icon { color: var(--lime); width: 18px; height: 18px; }

/* ---------- Stage: the TV and the remote ---------- */
.ls-stage { position: relative; margin-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 96px); }
.ls-stage-tv { position: relative; transform-origin: 50% 0; transform: perspective(1800px) rotateX(calc(var(--tilt, 0) * 14deg)) scale(calc(1 - var(--tilt, 0) * .05)); will-change: transform; }
.ls-tv { position: relative; padding: clamp(6px, .9vw, 12px); border-radius: clamp(12px, 1.6vw, 22px); background: linear-gradient(180deg, #1b2130, #07090f 30%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .09) inset, 0 50px 120px -30px rgba(23, 74, 228, .55), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.ls-tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(6px, .8vw, 10px); overflow: hidden; background: var(--canvas); outline: none; }
.ls-tv-screen:focus-visible { box-shadow: 0 0 0 3px var(--lime); }
.ls-tv-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-tv-screen.is-live .ls-tv-fallback { visibility: hidden; }
.ls-tv-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 32%); }
.ls-tv-foot { width: 24%; height: clamp(10px, 1.4vw, 18px); margin: 0 auto; background: linear-gradient(180deg, #0a0d15, #1a2031); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); border-radius: 0 0 6px 6px; }
.ls-demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 22px; }
.ls-demo-bar p { font-size: .875rem; color: var(--muted); max-width: 46em; }

.ls-remote { position: relative; z-index: 3; margin: 20px auto 0; width: max-content; max-width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 12px; border-radius: 999px; background: linear-gradient(160deg, #262f45, #0f1522 60%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 20px 40px -18px rgba(0, 0, 0, .8); }
.ls-remote-led, .ls-remote-mark { display: none; }
.ls-dpad { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #0b1019; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.ls-key { border: 0; background: none; color: rgba(245, 247, 255, .75); display: grid; place-items: center; transition: color .12s, background-color .12s, transform .12s, box-shadow .12s; -webkit-tap-highlight-color: transparent; }
.ls-dpad .ls-key { width: 44px; height: 44px; border-radius: 50%; }
.ls-key .ls-icon { width: 15px; height: 15px; }
.ls-key-up .ls-icon { transform: rotate(-90deg); }
.ls-key-down .ls-icon { transform: rotate(90deg); }
.ls-key-left .ls-icon { transform: rotate(180deg); }
.ls-dpad .ls-key-left { order: 1; } .ls-dpad .ls-key-up { order: 2; } .ls-dpad .ls-key-ok { order: 3; } .ls-dpad .ls-key-down { order: 4; } .ls-dpad .ls-key-right { order: 5; }
.ls-key-ok { background: #1e2638; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; }
.ls-key:hover { color: var(--lime); }
.ls-key.is-pressed { color: var(--ink); }
.ls-key-ok.is-pressed, .ls-key-round.is-pressed { background: var(--lime); transform: scale(.92); }
.ls-key-up.is-pressed, .ls-key-down.is-pressed, .ls-key-left.is-pressed, .ls-key-right.is-pressed { color: var(--lime); transform: scale(1.2); }
.ls-remote-row { display: flex; gap: 6px; }
.ls-key-round { width: 44px; height: 44px; border-radius: 50%; background: #1a2233; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.ls-remote-led.is-on { background: var(--lime); box-shadow: 0 0 10px var(--lime); }

@media (min-width: 1400px) {
  .ls-remote { position: absolute; right: -84px; bottom: 64px; margin: 0; width: 118px; padding: 18px 11px 22px; border-radius: 59px; flex-direction: column; gap: 16px; transform: rotate(-9deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 30px 60px -18px rgba(0, 0, 0, .8), 0 8px 18px rgba(0, 0, 0, .4); }
  .ls-remote-led { display: block; width: 6px; height: 6px; border-radius: 50%; background: #3a465f; transition: background-color .15s, box-shadow .15s; }
  .ls-remote-mark { display: block; width: 22px; height: 24px; color: rgba(223, 255, 98, .55); margin-top: 30px; }
  .ls-dpad { position: relative; width: 96px; height: 96px; padding: 0; border-radius: 50%; display: grid; grid-template: 1fr 1.1fr 1fr / 1fr 1.1fr 1fr; grid-template-areas: '. u .' 'l ok r' '. d .'; place-items: center; gap: 0; }
  .ls-dpad .ls-key { width: 100%; height: 100%; border-radius: 0; }
  .ls-dpad .ls-key-up { grid-area: u; } .ls-dpad .ls-key-down { grid-area: d; } .ls-dpad .ls-key-left { grid-area: l; } .ls-dpad .ls-key-right { grid-area: r; }
  .ls-dpad .ls-key-ok { grid-area: ok; width: 34px; height: 34px; border-radius: 50%; font-size: .625rem; }
  .ls-remote-row { gap: 12px; }
  .ls-key-round { width: 34px; height: 34px; }
  .ls-demo-bar { padding-right: 64px; }
}

/* ---------- The rebuilt TV screens (960 x 540, scaled) ---------- */
.ls-ui { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; transform: scale(var(--ui-scale, 1)); font-family: Inter, sans-serif; color: var(--text); line-height: 1.2; overflow: hidden; background: var(--canvas); }
.ls-ui:empty { display: none; }
.ui-screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.015); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; overflow: hidden; }
.ui-screen.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ui-bd { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .5s var(--ease); }
.ui-bd.is-on { opacity: 1; }
.ui-board-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, #0c111d 8%, rgba(12, 17, 29, .86) 26%, rgba(12, 17, 29, .42) 58%, rgba(12, 17, 29, .12) 100%), linear-gradient(0deg, rgba(12, 17, 29, .96) 0%, rgba(12, 17, 29, .7) 38%, rgba(12, 17, 29, 0) 66%); }
.ui-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 76px; background: #0c111d; border-right: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; align-items: center; padding-top: 24px; gap: 30px; z-index: 2; }
.ui-rail svg { width: 22px; height: 22px; color: #c9d1df; }
.ui-rail .ui-rail-mark { width: 27px; height: 30px; color: var(--lime); margin-bottom: 26px; }
.ui-rail .ui-rail-on { color: var(--lime); }
.ui-hero { position: absolute; left: 76px; top: 0; width: 656px; padding: 22px 28px 8px; z-index: 1; }
.ui-hero-inner { transition: opacity .26s var(--ease), transform .26s var(--ease); }
.ui-hero-inner.is-swapping { opacity: 0; transform: translateY(8px); }
.ui-title { font-size: 38px; font-weight: 900; line-height: 1.05; letter-spacing: -1.2px; text-shadow: 0 0 16px rgba(0, 0, 0, .4); }
.ui-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.ui-meta i { font-style: normal; color: var(--muted); }
.ui-meta b { font-weight: 600; width: 4px; height: 4px; border-radius: 50%; background: #c9d1df; }
.ui-desc { margin-top: 12px; font-size: 15px; line-height: 1.45; color: rgba(245, 247, 255, .9); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ui-shelves-view { position: absolute; left: 76px; right: 0; top: 206px; bottom: 0; overflow: hidden; z-index: 1; }
.ui-shelves { transition: transform .38s var(--ease); }
.ui-shelf { height: 258px; }
.ui-shelf-title { padding: 18px 0 0 32px; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.ui-shelf-title i { font-style: normal; font-weight: 600; color: var(--muted); }
.ui-row { display: flex; gap: 16px; padding: 12px 40px; }
.ui-poster { position: relative; flex: none; width: 128px; height: 192px; border-radius: 9px; background: var(--raised) center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 8px 18px rgba(0, 0, 0, .35); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.ui-poster.is-focus { transform: scale(1.075); box-shadow: 0 0 0 3px var(--lime), 0 0 0 5px rgba(12, 17, 29, .9), 0 16px 30px rgba(0, 0, 0, .55); z-index: 2; }
.ui-back { position: absolute; left: 20px; top: 26px; width: 22px; height: 22px; color: #fff; }
.ui-back svg, .ui-center-icon svg { display: block; width: 100%; height: 100%; }
.ui-detail-left { position: absolute; left: 48px; top: 80px; width: 400px; }
.ui-detail-left .ui-desc { -webkit-line-clamp: 4; }
.ui-divider { position: absolute; left: 480px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .07); }
.ui-detail-right { position: absolute; left: 506px; top: 86px; right: 36px; }
.ui-detail-bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .16; filter: blur(2px); }
.ui-detail-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 17, 29, .92), rgba(12, 17, 29, .96)); }
.ui-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ui-chip { height: 44px; padding: 0 18px; border-radius: 22px; display: inline-flex; align-items: center; background: #171f31; box-shadow: 0 0 0 1px var(--line) inset; font-size: 15px; font-weight: 600; color: var(--text); }
.ui-chip.is-selected { background: #243049; box-shadow: 0 0 0 2px var(--sky) inset; font-weight: 800; }
.ui-group { margin: 22px 0 12px; font-size: 17px; font-weight: 800; }
.ui-streams { display: flex; flex-direction: column; gap: 11px; transition: transform .3s var(--ease); }
.ui-stream { height: 101px; border-radius: 13px; background: #1a2131; box-shadow: 0 0 0 1px var(--line) inset; display: flex; align-items: center; gap: 16px; padding: 0 17px; transition: background-color .2s, box-shadow .2s; }
.ui-stream.is-focus { background: #1e2945; box-shadow: 0 0 0 3px var(--lime) inset, 0 12px 26px rgba(0, 0, 0, .45); }
.ui-badge { flex: none; width: 56px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; font-weight: 800; background: #262f40; box-shadow: 0 0 0 1px #3a4660 inset; color: #fff; }
.ui-badge.is-hd { color: var(--lime); background: #2c3a2c; box-shadow: 0 0 0 1px #4d6135 inset; }
.ui-badge.is-uhd { color: var(--sky); background: #212d4a; box-shadow: 0 0 0 1px #3b4f80 inset; }
.ui-stream-copy { flex: 1; min-width: 0; }
.ui-stream-copy strong { display: block; font-size: 17px; font-weight: 800; }
.ui-stream-copy span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.3; color: var(--muted); }
.ui-play { flex: none; height: 40px; padding: 0 17px 0 14px; border-radius: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; background: #1d2536; box-shadow: 0 0 0 1px #3a4660 inset; }
.ui-play svg { width: 16px; height: 16px; }
.is-focus .ui-play { background: var(--lime); color: var(--ink); box-shadow: none; }
.ui-play-big { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 30px 0 26px; border-radius: 16px; font-size: 18px; font-weight: 800; background: var(--lime); color: var(--ink); }
.ui-play-big svg { width: 20px; height: 20px; }
.ui-play-big.is-focus { box-shadow: 0 0 0 3px #fff inset, 0 0 0 7px rgba(223, 255, 98, .55); }
.ui-episodes { display: flex; flex-direction: column; gap: 11px; }
.ui-episode { height: 112px; border-radius: 13px; background: #1a2131; box-shadow: 0 0 0 1px var(--line) inset; display: flex; gap: 14px; padding: 11px; transition: box-shadow .2s, background-color .2s; }
.ui-episode.is-focus { background: #1e2945; box-shadow: 0 0 0 3px var(--lime) inset; }
.ui-episode-thumb { flex: none; width: 160px; height: 90px; border-radius: 8px; background: center / cover no-repeat; }
.ui-episode strong { font-size: 17px; font-weight: 800; padding-top: 4px; }
.ui-loading { background: #000; display: grid; place-items: center; text-align: center; }
.ui-spinner { width: 38px; height: 38px; margin: 0 auto 24px; border-radius: 50%; border: 4px solid rgba(223, 255, 98, .18); border-top-color: var(--lime); animation: ls-spin .9s linear infinite; }
@keyframes ls-spin { to { transform: rotate(360deg); } }
.ui-loading strong { display: block; font-size: 17px; font-weight: 600; }
.ui-phase { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.ui-peers { display: block; margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .54); font-variant-numeric: tabular-nums; min-height: 15px; }
.ui-player { background: #000; }
.ui-video { position: absolute; inset: -4%; background: center / cover no-repeat; animation: ls-kenburns 16s ease-in-out infinite alternate; }
@keyframes ls-kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-2%, 1%); } }
.ui-player-top, .ui-player-bottom { position: absolute; left: 0; right: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ui-player-top { top: 0; height: 110px; padding: 24px 30px; display: flex; align-items: center; gap: 20px; background: linear-gradient(180deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0)); align-items: flex-start; }
.ui-player-top .ui-back { position: static; }
.ui-player-top strong { font-size: 18px; font-weight: 600; }
.ui-player-bottom { bottom: 0; height: 150px; padding: 0 28px 16px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); }
.ui-pills { display: flex; justify-content: center; gap: 22px; font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, .78); margin-bottom: 22px; }
.ui-track { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); }
.ui-track-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--lime); }
.ui-track-knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px #0c111d; }
.ui-times { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); }
.ui-center-icon { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -40px 0 0 -28px; color: #fff; transition: opacity .3s, transform .3s var(--ease); }
.ui-player.is-hidden .ui-player-top { opacity: 0; transform: translateY(-12px); }
.ui-player.is-hidden .ui-player-bottom { opacity: 0; transform: translateY(12px); }
.ui-player.is-hidden .ui-center-icon { opacity: 0; transform: scale(.8); }
.ui-seek-toast { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); padding: 8px 16px; border-radius: 10px; background: rgba(0, 0, 0, .6); font-size: 16px; font-weight: 800; opacity: 0; transition: opacity .2s; }
.ui-seek-toast.is-on { opacity: 1; }

/* ---------- Ticker ---------- */
.ls-ticker { position: relative; background: var(--lime); color: var(--ink); overflow: hidden; transform: rotate(-1.2deg); margin: 0 -2% -14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); z-index: 2; }
.ls-ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; font-size: clamp(1rem, 1.8vw, 1.5rem); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; animation: ls-ticker 38s linear infinite; }
.ls-ticker-track .ls-icon { width: .9em; height: 1em; color: var(--cobalt); }
.ls-ticker:hover .ls-ticker-track { animation-play-state: paused; }
@keyframes ls-ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.ls-section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.ls-paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.ls-dark { background: var(--canvas); color: var(--text); }
.ls-cobalt { background: var(--cobalt); color: #fff; }
.ls-section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.ls-section-head-wide { max-width: 900px; }
.ls-section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; flex-wrap: wrap; }
.ls-section-head-split .ls-section-intro { max-width: 30em; }
.ls-section h2, .ls-download h2 { font-size: clamp(2.5rem, 5.8vw, 5.4rem); font-weight: 900; line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.ls-hl { color: var(--cobalt); }
.ls-dark .ls-hl, .ls-cobalt .ls-hl { color: var(--lime); }
.ls-section-intro { margin-top: 24px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; max-width: 38em; color: var(--light-muted); }
.ls-dark .ls-section-intro { color: var(--muted); }
.ls-cobalt .ls-section-intro { color: rgba(255, 255, 255, .86); }
.ls-section-intro a { color: var(--cobalt); font-weight: 600; }

/* ---------- Feature cards ---------- */
.ls-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ls-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: clamp(24px, 2.6vw, 34px); background: #fff; box-shadow: 0 0 0 1px var(--light-line) inset; display: flex; flex-direction: column; gap: 12px; min-height: 330px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ls-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(23, 74, 228, .1), transparent 60%); }
.ls-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--light-line) inset, 0 24px 50px -24px rgba(20, 32, 56, .35); }
.ls-card:hover::before { opacity: 1; }
.ls-card h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; }
.ls-card p { color: var(--light-muted); font-size: 1rem; line-height: 1.55; }
.ls-card .ls-tag { align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px 4px; border-radius: 999px; background: rgba(23, 74, 228, .09); color: var(--cobalt); }
.ls-card-engine, .ls-card-wide { background: var(--ink); color: #fff; box-shadow: none; }
.ls-card-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.ls-card-engine .ls-mini-pieces { margin-top: auto; }
.ls-card-engine::before, .ls-card-wide::before { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(223, 255, 98, .12), transparent 60%); }
.ls-card-engine:hover, .ls-card-wide:hover { box-shadow: 0 30px 60px -28px rgba(20, 32, 56, .7); }
.ls-card-engine .ls-card-copy, .ls-card-wide .ls-card-copy { display: flex; flex-direction: column; gap: 12px; }
.ls-card-engine p, .ls-card-wide p { color: rgba(255, 255, 255, .78); }
.ls-card-engine .ls-tag, .ls-card-wide .ls-tag { background: rgba(223, 255, 98, .14); color: var(--lime); }
.ls-card-wide h3 { font-size: clamp(1.625rem, 2.6vw, 2.375rem); }
.ls-card-debrid { background: var(--cobalt); color: #fff; box-shadow: none; }
.ls-card-debrid p { color: rgba(255, 255, 255, .85); }
.ls-card-debrid .ls-tag { background: rgba(255, 255, 255, .16); color: #fff; }
.ls-card-debrid::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 60%); }
.ls-card-resume { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; min-height: 0; }
.ls-card-resume .ls-card-copy { display: flex; flex-direction: column; gap: 12px; }
.ls-continue { padding: 20px; border-radius: 18px; background: var(--canvas); color: #fff; display: flex; flex-direction: column; gap: 14px; }
.ls-card .ls-continue-title { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.ls-continue-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ls-cw strong { display: block; margin-top: 8px; font-size: .875rem; font-weight: 800; line-height: 1.25; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-cw small { display: block; font-size: .8125rem; color: var(--muted); }
.ls-cw-art { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--raised) center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.ls-cw-1 .ls-cw-art { background-image: url(assets/demo/glass-harbor-backdrop.webp); }
.ls-cw-2 .ls-cw-art { background-image: url(assets/demo/paper-satellites-backdrop.webp); }
.ls-cw-3 .ls-cw-art { background-image: url(assets/demo/wild-frequencies-backdrop.webp); }
.ls-cw-badge { position: absolute; left: 8px; top: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(12, 17, 29, .82); font-size: .6875rem; font-weight: 800; color: #fff; }
.ls-cw-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ls-cw-bar span { display: block; height: 100%; background: var(--lime); }
.ls-cw-1 .ls-cw-bar { display: none; }
.ls-cw-2 .ls-cw-bar span { width: 69%; }
.ls-cw-3 .ls-cw-bar span { width: 55%; }
.ls-cw-1 .ls-cw-art { animation: ls-cw-focus 6s var(--ease) infinite; }
.ls-cw-2 .ls-cw-art { animation: ls-cw-focus 6s var(--ease) infinite 2s; }
.ls-cw-3 .ls-cw-art { animation: ls-cw-focus 6s var(--ease) infinite 4s; }
@keyframes ls-cw-focus { 0%, 30% { box-shadow: 0 0 0 3px var(--lime); transform: scale(1.03); } 36%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; transform: none; } }
.ls-card-resume .ls-mini-next { margin-top: 0; padding: 0; background: none; }
.ls-card-code { background: var(--lime); box-shadow: none; }
.ls-card-code p { color: rgba(20, 32, 56, .78); }
.ls-card-code .ls-tag { background: rgba(20, 32, 56, .1); color: var(--ink); }

/* Mini illustrations: they move only while their card is on screen. */
.ls-bento [aria-hidden="true"] *, .ls-bento [aria-hidden="true"] { animation-play-state: paused; }
.ls-card.is-live [aria-hidden="true"], .ls-card.is-live [aria-hidden="true"] * { animation-play-state: running; }
.ls-mini-pieces { display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.ls-mini-pieces span { aspect-ratio: 1; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background-color .35s, transform .35s var(--ease), box-shadow .35s; }
.ls-mini-pieces span.w { background: rgba(23, 74, 228, .55); }
.ls-mini-pieces span.f { background: var(--lime); }
.ls-mini-pieces span.h { background: #fff; }
.ls-mini-pieces span.p { box-shadow: 0 0 0 2px #fff; transform: scale(1.12); }
.ls-mini-debrid { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.ls-mini-services { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-mini-services span { padding: 8px 12px; border-radius: 10px; font-size: .875rem; font-weight: 800; background: rgba(255, 255, 255, .12); color: #fff; animation: ls-service 9.6s infinite; }
.ls-mini-services span:nth-child(2) { animation-delay: 2.4s; }
.ls-mini-services span:nth-child(3) { animation-delay: 4.8s; }
.ls-mini-services span:nth-child(4) { animation-delay: 7.2s; }
@keyframes ls-service { 0%, 22% { background: var(--lime); color: var(--ink); } 27%, 100% { background: rgba(255, 255, 255, .12); color: #fff; } }
.ls-mini-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .2); font-size: .9375rem; font-weight: 800; }
.ls-mini-switch { position: relative; flex: none; width: 52px; height: 30px; border-radius: 15px; background: rgba(255, 255, 255, .25); animation: ls-switch-bg 4.8s infinite; }
.ls-mini-switch span { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; animation: ls-switch-knob 4.8s var(--ease) infinite; }
@keyframes ls-switch-bg { 0%, 20% { background: rgba(255, 255, 255, .25); } 28%, 92% { background: var(--lime); } 100% { background: rgba(255, 255, 255, .25); } }
@keyframes ls-switch-knob { 0%, 20% { transform: none; background: #fff; } 28%, 92% { transform: translateX(22px); background: var(--ink); } 100% { transform: none; background: #fff; } }
.ls-mini-addons { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.ls-mini-addons span { padding: 8px 12px; border-radius: 10px; font-size: .875rem; font-weight: 800; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--light-line) inset; animation: ls-drop 4s var(--ease) infinite both; }
.ls-mini-addons span:nth-child(2) { animation-delay: .25s; }
.ls-mini-addons span:nth-child(3) { animation-delay: .5s; background: var(--ink); color: var(--lime); box-shadow: none; }
.ls-mini-addons span:nth-child(4) { animation-delay: .75s; }
@keyframes ls-drop { 0%, 82%, 100% { opacity: 1; transform: none; } 88% { opacity: 0; transform: translateY(8px); } 89% { opacity: 0; transform: translateY(-16px) rotate(-4deg); } 96% { opacity: 1; transform: none; } }
.ls-mini-code { margin-top: auto; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.ls-mini-code span { aspect-ratio: 3 / 4; border-radius: 8px; display: grid; place-items: center; background: rgba(20, 32, 56, .08); box-shadow: 0 0 0 1px rgba(20, 32, 56, .18) inset; font: 800 clamp(.9rem, 1.4vw, 1.2rem) ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); transition: background-color .2s, transform .2s var(--ease); }
.ls-mini-code span.is-typed { background: var(--ink); color: var(--lime); transform: translateY(-2px); }
.ls-mini-dpad { position: relative; margin-top: auto; align-self: center; width: 118px; height: 118px; border-radius: 50%; background: var(--ink); box-shadow: 0 16px 30px -12px rgba(20, 32, 56, .6); }
.ls-mini-dpad span { position: absolute; width: 0; height: 0; border: 9px solid transparent; animation: ls-dpad 4s infinite; }
.ls-mini-dpad .u { left: 50%; top: 13px; margin-left: -9px; border-bottom: 12px solid rgba(255, 255, 255, .35); border-top: 0; }
.ls-mini-dpad .d { left: 50%; bottom: 13px; margin-left: -9px; border-top: 12px solid rgba(255, 255, 255, .35); border-bottom: 0; animation-delay: 2s; }
.ls-mini-dpad .l { top: 50%; left: 13px; margin-top: -9px; border-right: 12px solid rgba(255, 255, 255, .35); border-left: 0; animation-delay: 3s; }
.ls-mini-dpad .r { top: 50%; right: 13px; margin-top: -9px; border-left: 12px solid rgba(255, 255, 255, .35); border-right: 0; animation-delay: 1s; }
.ls-mini-dpad .c { left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 0; border-radius: 50%; background: #26314a; animation-name: ls-dpad-ok; }
@keyframes ls-dpad { 0%, 20%, 100% { filter: none; } 5%, 15% { filter: drop-shadow(0 0 6px var(--lime)) brightness(3) sepia(1) hue-rotate(35deg) saturate(8); } }
@keyframes ls-dpad-ok { 0%, 60%, 80%, 100% { background: #26314a; transform: none; } 66%, 74% { background: var(--lime); transform: scale(.9); } }
.ls-mini-next { margin-top: auto; padding: 16px; border-radius: 16px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.ls-mini-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ls-mini-bar span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: 0 50%; animation: ls-fill 10s linear infinite; }
@keyframes ls-fill { from { transform: scaleX(.82); } to { transform: scaleX(1); } }
.ls-mini-next-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.ls-mini-next-label b { padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Engine ---------- */
.ls-engine { background: radial-gradient(90% 60% at 20% 0%, rgba(23, 74, 228, .28), rgba(12, 17, 29, 0) 60%), var(--canvas); }
.ls-paper.ls-engine { background: var(--paper); }
.ls-engine-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.ls-engine-visual { margin: 0; padding: clamp(14px, 2vw, 24px); border-radius: 24px; background: linear-gradient(180deg, #121a2c, #0d1322); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset, 0 40px 80px -40px rgba(23, 74, 228, .5); }
.ls-engine-visual canvas { display: block; width: 100%; height: 320px; }
.ls-engine-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ls-engine-sources span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: rgba(245, 247, 255, .45); background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset; transition: color .3s, background-color .3s, box-shadow .3s; }
.ls-engine-sources i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.ls-engine-sources b { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 1.2em; }
.ls-engine-sources span.is-on { color: #fff; background: rgba(255, 255, 255, .07); }
.ls-engine-sources span.is-on i { opacity: 1; }
.ls-engine-sources [data-src="0"].is-on i { background: #9db9ff; box-shadow: 0 0 8px #9db9ff; }
.ls-engine-sources [data-src="1"].is-on i { background: #dfff62; box-shadow: 0 0 8px #dfff62; }
.ls-engine-sources [data-src="2"].is-on i { background: #fff; box-shadow: 0 0 8px #fff; }
.ls-engine-sources [data-src="3"].is-on i { background: #ffb35c; box-shadow: 0 0 8px #ffb35c; }
.ls-engine-status { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: .9375rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ls-engine-phase { color: #fff; font-weight: 800; }
.ls-engine-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--muted); }
.ls-engine-legend li { display: inline-flex; align-items: center; gap: 8px; }
.ls-engine-legend li::before { content: ''; width: 12px; height: 12px; border-radius: 3px; }
.ls-engine-legend .lg-done::before { background: #dfff62; }
.ls-engine-legend .lg-flight::before { background: linear-gradient(0deg, #3f6fff 55%, rgba(255, 255, 255, .07) 55%); }
.ls-engine-legend .lg-window::before { background: rgba(23, 74, 228, .5); }
.ls-engine-legend .lg-index::before { background: #fff; }
.ls-engine-legend .lg-head::before { box-shadow: 0 0 0 2px #fff inset; }
.no-js .ls-engine-sources, .no-js .ls-engine-status, .no-js .ls-engine-legend { display: none; }
.ls-engine-visual figcaption { margin-top: 14px; font-size: .8125rem; color: rgba(169, 181, 203, .85); }
.no-js .ls-engine-visual canvas { display: none; }
.ls-engine-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ls-engine-steps button { width: 100%; text-align: left; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; padding: 14px 16px; border: 0; border-radius: 16px; background: transparent; transition: background-color .3s; }
.ls-engine-steps button:hover { background: rgba(255, 255, 255, .04); }
.ls-engine-steps .ls-step-n { grid-row: span 2; font-size: .8125rem; font-weight: 800; color: rgba(169, 181, 203, .7); padding-top: 3px; font-variant-numeric: tabular-nums; }
.ls-engine-steps .ls-step-t { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; color: rgba(245, 247, 255, .75); transition: color .3s; }
.ls-engine-steps .ls-step-d { font-size: .9375rem; line-height: 1.5; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s, padding-top .35s; }
.ls-engine-steps [aria-current="step"] { background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.ls-engine-steps [aria-current="step"] .ls-step-n { color: var(--lime); }
.ls-engine-steps [aria-current="step"] .ls-step-t { color: #fff; }
.ls-engine-steps [aria-current="step"] .ls-step-d { max-height: 12em; opacity: 1; padding-top: 4px; }
.no-js .ls-engine-steps .ls-step-d { max-height: none; opacity: 1; }
.ls-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(48px, 6vw, 72px) 0 0; }
.ls-stats div { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset; }
.ls-stats dt { font-size: clamp(2.5rem, 4.4vw, 3.75rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.ls-stats dd { margin: 10px 0 0; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.ls-specs-more { margin-top: 20px; }
.ls-more-body.ls-specs { padding: 18px; }
.ls-specs-title { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ls-specs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ls-specs li { padding: 7px 12px; border-radius: 8px; font: 600 .8125rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(157, 185, 255, .08); color: #cdd9f5; box-shadow: 0 0 0 1px rgba(157, 185, 255, .14) inset; }

/* ---------- Debrid ---------- */
.ls-cobalt { background: radial-gradient(80% 70% at 100% 100%, #0f33a8 0%, rgba(16, 56, 185, 0) 60%), var(--cobalt); overflow: hidden; }
.ls-debrid-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ls-debrid-copy .ls-eyebrow { color: var(--lime); }
.ls-switch { margin-top: 32px; display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 22px 8px 10px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .22); font-size: 1.0625rem; font-weight: 800; color: #fff; transition: background-color .25s; }
.ls-switch:hover { background: rgba(0, 0, 0, .32); }
.ls-switch-track { position: relative; width: 64px; height: 38px; border-radius: 19px; background: rgba(255, 255, 255, .28); transition: background-color .3s; flex: none; }
.ls-switch-track span { position: absolute; top: 5px; left: 5px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease), background-color .3s; }
.ls-switch[aria-checked="true"] .ls-switch-track { background: var(--lime); }
.ls-switch[aria-checked="true"] .ls-switch-track span { transform: translateX(26px); background: var(--ink); }
.ls-roads { margin-top: 24px; display: grid; }
.ls-road { font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 32em; }
.ls-road strong { color: #fff; }
.js .ls-road { grid-area: 1 / 1; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.js .ls-road[data-road="debrid"], .js [data-state="debrid"] .ls-road[data-road="p2p"] { opacity: 0; transform: translateY(8px); visibility: hidden; }
.js [data-state="debrid"] .ls-road[data-road="debrid"] { opacity: 1; transform: none; visibility: visible; }
.no-js .ls-road + .ls-road { margin-top: 12px; }
.no-js .ls-switch { display: none; }
.ls-debrid-visual { display: flex; flex-direction: column; gap: 20px; }
.ls-flow { width: 100%; height: auto; overflow: visible; }
.ls-flow-tall { display: none; }
.ls-flow-node rect { fill: rgba(0, 0, 0, .22); stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; transition: fill .35s, stroke .35s, opacity .35s; }
.ls-flow-node text { fill: #fff; font: 800 15px Inter, sans-serif; text-anchor: middle; transition: opacity .35s; }
.ls-flow-node .ls-flow-sub { font-weight: 600; font-size: 12px; fill: rgba(255, 255, 255, .75); }
.ls-flow-player rect { fill: var(--lime); stroke: var(--lime); }
.ls-flow-player text { fill: var(--ink); }
.ls-flow-line, .ls-flow-base { stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-dasharray: 2 10; animation: ls-dash 1.2s linear infinite; transition: opacity .35s, stroke .35s; }
@keyframes ls-dash { to { stroke-dashoffset: -24; } }
.ls-flow-debrid { opacity: .15; animation-play-state: paused; }
.ls-flow-debrid-node { opacity: .45; }
.ls-flow-p2p-node rect { fill: rgba(223, 255, 98, .16); stroke: var(--lime); }
.ls-flow-swarm circle { fill: var(--lime); animation: ls-swarm 2.4s ease-in-out infinite; transition: opacity .35s; }
.ls-flow-swarm circle:nth-child(2n) { animation-delay: -.8s; }
.ls-flow-swarm circle:nth-child(3n) { animation-delay: -1.6s; }
@keyframes ls-swarm { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-5px); opacity: .5; } }
[data-state="debrid"] .ls-flow-p2p { opacity: .15; animation-play-state: paused; }
[data-state="debrid"] .ls-flow-debrid { opacity: 1; animation-play-state: running; stroke: var(--lime); }
[data-state="debrid"] .ls-flow-p2p-node { opacity: .45; }
[data-state="debrid"] .ls-flow-p2p-node rect { fill: rgba(0, 0, 0, .22); stroke: rgba(255, 255, 255, .28); }
[data-state="debrid"] .ls-flow-debrid-node { opacity: 1; }
[data-state="debrid"] .ls-flow-debrid-node rect { fill: rgba(223, 255, 98, .16); stroke: var(--lime); }
[data-state="debrid"] .ls-flow-swarm circle { opacity: .15; }
.ls-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ls-services li { padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .18); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; display: flex; flex-direction: column; gap: 2px; }
.ls-services strong { font-size: 1.0625rem; font-weight: 800; }
.ls-services span { font-size: .875rem; color: rgba(255, 255, 255, .78); }
.ls-debrid-note { font-size: .9375rem; color: rgba(255, 255, 255, .85); padding-left: 14px; border-left: 3px solid var(--lime); }

/* ---------- Setup ---------- */
.ls-setup-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ls-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: #e7e8e1; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.ls-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; font-size: .9375rem; color: var(--light-muted); transition: background-color .25s, color .25s, box-shadow .25s; }
.ls-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(20, 32, 56, .35); }
.ls-steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 4px; counter-reset: none; }
.ls-steps > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--light-line); }
.ls-steps > li:last-child { border-bottom: 0; }
.ls-steps .ls-step-n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-weight: 900; font-size: .9375rem; }
.ls-steps h3 { font-size: 1.25rem; font-weight: 900; letter-spacing: -.02em; margin-bottom: 4px; }
.ls-steps p { color: var(--light-muted); font-size: 1rem; }
.ls-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ls-setup-note { margin-top: 32px; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--light-line) inset; font-size: .9375rem; color: var(--light-muted); }
.ls-setup-visuals { position: sticky; top: calc(var(--header-h) + 24px); }
.ls-setup-visual { margin: 0; }
.ls-setup-visual[hidden] { display: none; }
/* Without scripts every tab's steps are shown, so its video is too. */
.no-js .ls-start-video[hidden] { display: block; margin-top: 24px; }
.ls-setup-visual figcaption { margin-top: 16px; font-size: .875rem; color: var(--light-muted); }
.ls-tv-small { box-shadow: 0 0 0 1px rgba(255, 255, 255, .09) inset, 0 40px 80px -40px rgba(20, 32, 56, .55); }
.no-js .ls-setup-visual { display: none; }
.ls-kb { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; transform: scale(var(--ui-scale, 1)); background: var(--canvas); color: var(--text); font-family: Inter, sans-serif; overflow: hidden; }
.kb-view { position: absolute; inset: 0; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.kb-view.is-hidden { opacity: 0; transform: scale(1.02); pointer-events: none; }
.kb-title { position: absolute; left: 24px; top: 20px; font-size: 22px; font-weight: 600; }
.kb-field { position: absolute; left: 50px; top: 88px; width: 860px; height: 58px; padding: 0 16px; display: flex; align-items: center; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; font: 16px ui-monospace, 'DejaVu Sans Mono', Menlo, Consolas, monospace; letter-spacing: .02em; }
.kb-field.is-empty { color: var(--muted); font-family: Inter, sans-serif; }
.kb-caret { display: inline-block; width: 2px; height: 20px; margin-left: 2px; background: var(--lime); animation: ls-caret 1s steps(1) infinite; }
@keyframes ls-caret { 50% { opacity: 0; } }
.kb-key { position: absolute; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; font: 600 16px ui-monospace, 'DejaVu Sans Mono', Menlo, Consolas, monospace; color: var(--text); transition: background-color .12s, box-shadow .12s, color .12s, transform .12s; }
.kb-key.is-word { font: 600 13px Inter, sans-serif; }
.kb-key svg { width: 16px; height: 16px; }
.kb-key.is-focus { background: var(--sky); box-shadow: 0 0 0 2px var(--sky) inset; color: var(--ink); font-weight: 800; }
.kb-key.is-accent.is-focus { background: var(--lime); box-shadow: 0 0 0 2px var(--lime) inset; }
.kb-key.is-press { transform: scale(.94); }
.kb-home-head { position: absolute; left: 28px; right: 28px; top: 22px; display: flex; align-items: center; justify-content: space-between; }
.kb-home-head img { height: 30px; width: auto; }
.kb-home-head span { color: var(--lime); font-size: 17px; font-weight: 800; }
.kb-home-title { position: absolute; left: 24px; top: 96px; font-size: 32px; font-weight: 900; letter-spacing: -1px; }
.kb-home-list { position: absolute; left: 20px; right: 20px; top: 146px; display: flex; flex-direction: column; gap: 10px; }
.kb-home-item { height: 86px; border-radius: 13px; display: flex; align-items: center; gap: 18px; padding: 0 20px; background: #1a2131; box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .25s, transform .45s var(--ease), opacity .45s var(--ease); }
.kb-home-item.is-new { opacity: 0; transform: translateY(-16px); }
.kb-home-item.is-focus { box-shadow: 0 0 0 3px var(--lime) inset; background: #1e2945; }
.kb-folder { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #2c3a2c; color: var(--lime); }
.kb-folder svg { width: 22px; height: 22px; }
.kb-home-item strong { display: block; font-size: 18px; font-weight: 800; }
.kb-home-item small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.kb-loading { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: var(--canvas); font-size: 16px; color: var(--muted); }

/* ---------- Screens gallery ---------- */
.ls-screens { padding-bottom: clamp(64px, 8vw, 110px); overflow: hidden; }
.ls-gallery-track { position: relative; display: flex; gap: clamp(16px, 2.4vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc((100vw - min(100vw - 2 * var(--gutter), 1240px)) / 2); padding: 12px calc((100vw - min(100vw - 2 * var(--gutter), 1240px)) / 2) 28px; scrollbar-width: none; outline: none; }
.ls-gallery-track::-webkit-scrollbar { display: none; }
.ls-gallery-track:focus-visible { box-shadow: inset 0 0 0 3px var(--lime); }
.ls-shot { flex: none; width: min(84vw, 880px); margin: 0; scroll-snap-align: start; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .ls-shot { transform: scale(.97); }
.js .ls-shot .ls-shot-frame { opacity: .45; transition: opacity .4s var(--ease); }
.js .ls-shot.is-current { transform: none; }
.js .ls-shot.is-current .ls-shot-frame { opacity: 1; }
.ls-shot-frame { padding: clamp(5px, .7vw, 9px); border-radius: clamp(10px, 1.4vw, 18px); background: linear-gradient(180deg, #1b2130, #07090f 30%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .09) inset, 0 30px 60px -30px rgba(23, 74, 228, .45); }
.ls-shot-frame img { display: block; width: 100%; height: auto; border-radius: clamp(5px, .7vw, 9px); }
.ls-shot figcaption { margin-top: 16px; font-size: 1rem; color: var(--muted); }
.ls-shot figcaption strong { display: block; color: #fff; font-size: 1.125rem; font-weight: 800; margin-bottom: 2px; }
.ls-gallery-controls { display: flex; align-items: center; gap: 16px; }
.ls-gallery-dots { display: flex; gap: 8px; }
.ls-gallery-dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .25); transition: width .35s var(--ease), background-color .35s; }
.ls-gallery-dots span.is-current { width: 28px; background: var(--lime); }

/* ---------- FAQ ---------- */
.ls-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ls-faq .ls-section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.ls-faq-list { display: flex; flex-direction: column; gap: 10px; }
.ls-faq details { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--light-line) inset; transition: box-shadow .25s; }
.ls-faq details[open] { box-shadow: 0 0 0 2px var(--ink) inset; }
.ls-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; border-radius: 18px; }
.ls-faq summary::-webkit-details-marker { display: none; }
.ls-faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23142038' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.ls-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.ls-faq details p { padding: 0 22px 22px; color: var(--light-muted); line-height: 1.65; }
.ls-faq details p a { color: var(--cobalt); font-weight: 600; }
.ls-faq details[open] p { animation: ls-fade-up .35s var(--ease); }

/* ---------- Download ---------- */
.ls-download { position: relative; overflow: hidden; background: var(--lime); color: var(--ink); padding: clamp(88px, 12vw, 160px) 0; isolation: isolate; }
.ls-download h2 { font-size: clamp(3.25rem, 9vw, 8.5rem); }
.ls-download-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.ls-download-copy { font-size: 1.25rem; font-weight: 800; }
.ls-download-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ls-download-bars { position: absolute; right: -4%; top: clamp(24px, 3vw, 40px); width: 34%; z-index: -1; display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 16px); opacity: .18; }
.ls-download-bars span { display: block; height: clamp(22px, 3.6vw, 52px); border-radius: 999px 0 0 999px; background: var(--ink); animation: ls-bar 6s var(--ease-in-out) infinite; }
.ls-download-bars span:nth-child(1) { width: 62%; margin-left: 38%; animation-delay: -.4s; }
.ls-download-bars span:nth-child(2) { width: 100%; animation-delay: -1.2s; }
.ls-download-bars span:nth-child(3) { width: 62%; margin-left: 38%; animation-delay: -2s; }
@keyframes ls-bar { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6%); } }

/* ---------- Footer ---------- */
.ls-footer { background: #080b13; color: var(--muted); padding: 56px 0 44px; font-size: .9375rem; }
.ls-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.ls-footer-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ls-footer-brand p { color: rgba(245, 247, 255, .7); }
.ls-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ls-footer nav a { text-decoration: none; font-weight: 600; color: rgba(245, 247, 255, .85); }
.ls-footer nav a:hover { color: var(--lime); }
.ls-footer-note { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8125rem; color: rgba(169, 181, 203, .8); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .ls-bento [data-reveal]:nth-child(2) { --delay: .08s; }
.js .ls-bento [data-reveal]:nth-child(3) { --delay: .16s; }
.js .ls-bento [data-reveal]:nth-child(4) { --delay: .06s; }
.js .ls-bento [data-reveal]:nth-child(5) { --delay: .14s; }
.js .ls-bento [data-reveal]:nth-child(6) { --delay: .22s; }

/* ---------- Paused motion ---------- */
[data-motion="paused"] #linkstreams-site *, [data-motion="paused"] #linkstreams-site *::before, [data-motion="paused"] #linkstreams-site *::after { animation-play-state: paused !important; }
[data-motion="paused"] .ls-button::after { display: none; }
/* One-off entrances would freeze on their first, invisible frame: skip them. */
[data-motion="paused"] :is(.ls-line > span, .ls-hero-copy, .ls-hero-top > .ls-eyebrow, .ls-faq details p) { animation: none !important; }
/* No smooth jumps to anchors, and sections appear in place instead of sliding in. */
html[data-motion="paused"] { scroll-behavior: auto; }
.js[data-motion="paused"] [data-reveal] { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #linkstreams-site *, #linkstreams-site *::before, #linkstreams-site *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ls-streak { display: none; }
  .ls-ticker-track { animation: none !important; }
  .ls-stage-tv { transform: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ui-spinner { animation: ls-spin 1.6s linear infinite !important; animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ls-nav a { padding: 10px 10px; }
  .ls-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-card-wide { grid-column: 1 / -1; }
  .ls-engine-grid { grid-template-columns: minmax(0, 1fr); }
  .ls-engine-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ls-engine-steps .ls-step-d { max-height: none; opacity: 1; padding-top: 4px; }
  .ls-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .ls-menu-toggle { display: inline-grid; }
  .ls-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 24px; background: var(--canvas); box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 30px 50px rgba(0, 0, 0, .6); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .no-js .ls-nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; flex-wrap: wrap; background: none; box-shadow: none; padding: 0; }
  .no-js .ls-menu-toggle { display: none; }
  .no-js .ls-header-inner { height: auto; flex-wrap: wrap; padding: 12px 0; }
  .ls-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .ls-nav a { padding: 14px 12px; font-size: 1.0625rem; }
  .ls-nav a.is-current::after { left: 12px; right: auto; width: 24px; bottom: 8px; }
  .ls-nav .ls-nav-cta { margin: 10px 0 0; justify-content: center; min-height: 52px; }
  .ls-hero-copy { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ls-stage { padding-bottom: 48px; }
  .ls-demo-bar { flex-direction: column; align-items: flex-start; }
  .ls-card-resume { grid-template-columns: minmax(0, 1fr); }
  .ls-debrid-grid, .ls-setup-grid, .ls-faq-grid, .ls-download-inner { grid-template-columns: minmax(0, 1fr); }
  .ls-setup-visuals, .ls-faq .ls-section-head { position: static; }
  .ls-setup-visuals { order: -1; }
  .ls-card-wide { grid-template-columns: minmax(0, 1fr); }
  .ls-footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  #linkstreams-site { font-size: 1rem; }
  .ls-brand img { height: 1.5rem; }
  .ls-bento { grid-template-columns: minmax(0, 1fr); }
  .ls-card { min-height: 0; }
  .ls-mini-dpad { width: 96px; height: 96px; }
  .ls-engine-steps { grid-template-columns: minmax(0, 1fr); }
  .ls-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .ls-stats div { padding: 18px; }
  .ls-services { grid-template-columns: minmax(0, 1fr); }
  .ls-actions .ls-button { flex: 1 1 auto; }
  .ls-ticker { transform: rotate(-2deg); }
  .ls-tabs { display: flex; }
  .ls-tabs button { flex: 1 1 auto; padding: 0 14px; }
  .ls-download-bars { width: 60%; right: -20%; top: 28px; }
  .ls-streak { display: none; }
  .ls-stage-tv { margin-inline: calc(8px - var(--gutter)); }
  .ls-continue-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-cw-3 { display: none; }
  .ls-flow-wide { display: none; }
  .ls-flow-tall { display: block; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 420px) {
  .ls-remote { gap: 6px; padding: 6px 8px; }
  .ls-dpad { gap: 2px; }
  .ls-dpad .ls-key, .ls-key-round { width: 40px; height: 40px; }
  .ls-remote-row { gap: 4px; }
}

/* ---------- Get started ---------- */
.ls-start-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.ls-start-head .ls-section-head { margin-bottom: 0; }
.ls-start-video { margin: 0; }
.ls-tv-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.ls-start-video figcaption { margin-top: 14px; font-size: .875rem; color: var(--light-muted); }
.ls-start-video figcaption strong { color: var(--ink); }
.ls-start .ls-steps > li > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.ls-start .ls-steps h3 { margin-bottom: 0; }
.ls-start .ls-steps .ls-tab-panel { align-self: stretch; }
.ls-start .ls-steps .ls-button { margin-top: 6px; }
.ls-start .ls-steps b, .ls-faq details p b, .ls-card b { color: var(--ink); font-weight: 800; }
.ls-steps .ls-hint { font-size: .9375rem; }
.ls-tabs-small { margin: 4px 0 0; padding: 4px; gap: 2px; }
.ls-tabs-small button { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.ls-substeps { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; color: var(--light-muted); font-size: 1rem; }
.ls-substeps li::marker { font-weight: 800; color: var(--ink); }
.ls-start code, .ls-faq code { font: 600 .92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 1px 6px; border-radius: 6px; background: rgba(20, 32, 56, .08); overflow-wrap: anywhere; }
.ls-code-sample { padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--light-line) inset; font: 600 .9375rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); overflow-wrap: anywhere; }
.ls-steps .ls-code-sample { color: var(--ink); }
.ls-code-sample mark { padding: 1px 5px; border-radius: 6px; background: var(--lime); color: var(--ink); }
.ls-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 7vw, 88px); }
.ls-duo .ls-card { min-height: 0; }
.ls-card .ls-card-small { font-size: .875rem; }
/* Without the script every panel shows, each under its own title. */
.ls-panel-title { display: none; }
.no-js .ls-start .ls-tabs { display: none; }
.no-js .ls-start .ls-tab-panel[hidden] { display: block; }
.no-js .ls-start .ls-panel-title { display: block; margin: 20px 0 4px; font-weight: 900; font-size: 1.125rem; }

/* ---------- More details: the long version of a step, closed until asked ---------- */
.ls-more { align-self: stretch; }
.ls-more-intro { margin-top: 20px; }
.ls-more summary { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; list-style: none; cursor: pointer; font-size: .9375rem; font-weight: 800; color: var(--ink); border-radius: 8px; }
.ls-more summary::-webkit-details-marker { display: none; }
/* A plus drawn in the text colour, which turns into a cross when open. */
.ls-more summary::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat; background-color: rgba(20, 32, 56, .08); transition: transform .25s var(--ease), background-color .25s; }
.ls-more summary:hover::before { background-color: rgba(20, 32, 56, .14); }
.ls-more[open] summary::before { transform: rotate(45deg); background-color: var(--lime); color: var(--ink); }
.ls-more-body { margin-top: 8px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--light-line) inset; font-size: .9375rem; line-height: 1.6; color: var(--light-muted); }
.ls-more-body > * + * { margin-top: 10px; }
.ls-more-body ul { margin: 0; padding-left: 1.2em; list-style: disc; display: flex; flex-direction: column; gap: 10px; }
.ls-more-body b { color: var(--ink); font-weight: 800; }
.ls-more-body a { color: var(--cobalt); font-weight: 700; }
.ls-card .ls-more-body { background: var(--paper); }
.ls-more-cobalt { margin-top: 24px; max-width: 52em; }
.ls-more-cobalt summary { color: #fff; }
.ls-more-cobalt summary::before { background-color: rgba(255, 255, 255, .16); }
.ls-more-cobalt summary:hover::before { background-color: rgba(255, 255, 255, .26); }
.ls-more-cobalt .ls-more-body { background: rgba(0, 0, 0, .18); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; color: rgba(255, 255, 255, .86); }
.ls-more-cobalt .ls-more-body b { color: #fff; }
.ls-cobalt :focus-visible { outline-color: #fff; }

/* ---------- Debrid: the steps in the app ---------- */
.ls-debrid-setup { margin-top: clamp(48px, 7vw, 88px); }
.ls-debrid-setup-title { margin-bottom: 16px; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.ls-steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ls-steps-row > li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px; border-bottom: 0; border-radius: 18px; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset; }
.ls-steps-row > li:last-child { border-bottom: 0; }
.ls-cobalt .ls-steps .ls-step-n { background: var(--lime); color: var(--ink); }
.ls-cobalt .ls-steps p { color: rgba(255, 255, 255, .86); }
.ls-cobalt .ls-steps b { color: #fff; }
.ls-debrid-after { margin-top: 20px; max-width: 52em; font-size: .9375rem; color: rgba(255, 255, 255, .86); }
.ls-debrid-after b { color: #fff; font-weight: 800; }

/* ---------- FAQ groups ---------- */
.ls-faq-groups { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 56px); min-width: 0; }
.ls-faq-group { margin: 0 0 4px 4px; font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }

/* ---------- Other pages: title band, legal text, not found ---------- */
.ls-page-hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); background: radial-gradient(120% 80% at 70% 0%, #13205a 0%, rgba(12, 17, 29, 0) 60%), var(--canvas); overflow: hidden; isolation: isolate; }
.ls-page-hero h1 { max-width: 14em; font-size: clamp(2.5rem, 6.4vw, 5.5rem); font-weight: 900; line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.ls-page-meta { margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.ls-legal-section { padding-top: clamp(48px, 7vw, 88px); }
.ls-legal { max-width: 46rem; }
.ls-legal p, .ls-legal li { color: var(--light-text); line-height: 1.7; }
.ls-legal p + p, .ls-legal p + ul, .ls-legal ul + p { margin-top: 14px; }
.ls-legal ul { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.ls-legal a { color: var(--cobalt); font-weight: 600; }
.ls-legal strong { color: var(--ink); }
.ls-section .ls-legal h2 { margin: 44px 0 12px; font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; text-transform: none; }
.ls-callout { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 8px; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--light-line) inset; }
.ls-callout svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--cobalt); }
.ls-notfound { min-height: 72vh; display: flex; align-items: center; }
.ls-notfound .ls-lead { margin-top: 24px; }
.ls-notfound .ls-actions { margin-top: 32px; }
.ls-notfound-note { margin-top: 28px; max-width: 34em; font-size: .9375rem; color: var(--muted); }
.ls-notfound-note a { color: var(--lime); font-weight: 700; }

@media (max-width: 900px) {
  .ls-start-head, .ls-duo, .ls-steps-row { grid-template-columns: minmax(0, 1fr); }
  .ls-start .ls-setup-visuals { order: 1; }
}
@media (max-width: 640px) {
  .ls-tabs-small button { padding: 0 12px; }
}

/* ---------- Download banner above the header ---------- */
.ls-banner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 22px; padding: 14px var(--gutter); background: var(--lime); color: var(--ink); text-decoration: none; text-align: center; transition: background-color .2s; }
.ls-banner:hover { background: #e9ff8a; }
#linkstreams-site .ls-banner:focus-visible { outline-color: var(--ink); outline-offset: -4px; }
.ls-banner-big { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; line-height: 1; }
.ls-banner-big .ls-icon { width: 1em; height: 1em; }
.ls-banner-small { font-size: .9375rem; font-weight: 600; color: rgba(20, 32, 56, .78); }

/* ---------- Why Linkstreams on the dark canvas ---------- */
.ls-why .ls-card { background: var(--surface); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; color: var(--text); }
.ls-why .ls-card p { color: var(--muted); }
.ls-why .ls-card b { color: #fff; }
.ls-why .ls-card .ls-tag { background: rgba(157, 185, 255, .12); color: var(--sky); }
.ls-why .ls-card:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 24px 50px -24px rgba(0, 0, 0, .6); }
.ls-why .ls-card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(157, 185, 255, .1), transparent 60%); }
.ls-why .ls-card-code, .ls-why .ls-card-code b { color: var(--ink); }
.ls-why .ls-card-code { background: var(--lime); box-shadow: none; }
.ls-why .ls-card-code p { color: rgba(20, 32, 56, .78); }
.ls-why .ls-card-code .ls-tag { background: rgba(20, 32, 56, .1); color: var(--ink); }
.ls-why .ls-card-debrid { background: var(--cobalt); box-shadow: none; }
.ls-why .ls-card-debrid p { color: rgba(255, 255, 255, .85); }
.ls-why .ls-card-debrid .ls-tag { background: rgba(255, 255, 255, .16); color: #fff; }
.ls-why .ls-card-engine, .ls-why .ls-card-wide { background: var(--ink); box-shadow: none; }
.ls-why .ls-card-engine p, .ls-why .ls-card-wide p { color: rgba(255, 255, 255, .78); }
.ls-why .ls-card-engine .ls-tag, .ls-why .ls-card-wide .ls-tag { background: rgba(223, 255, 98, .14); color: var(--lime); }
.ls-why .ls-card-resume { background: var(--surface); }
.ls-why .ls-mini-addons span { background: var(--raised); color: #fff; box-shadow: none; }
.ls-why .ls-mini-dpad { background: var(--ink); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); }
.ls-why .ls-card .ls-card-small { font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.ls-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ls-compare-col { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.ls-compare-col > p { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ls-compare-col ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; line-height: 1.35; }
.ls-compare-old ol { color: rgba(255, 255, 255, .55); }
.ls-compare-old li::marker { color: rgba(255, 255, 255, .35); font-weight: 800; }
.ls-compare-new { display: flex; flex-direction: column; background: var(--lime); color: var(--ink); box-shadow: none; }
.ls-why .ls-card-wide .ls-compare-new > p { color: var(--ink); }
.ls-compare-new ol { font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; padding-left: 1.1em; }
.ls-compare-done { margin-top: auto; padding-top: 14px; font-size: .9375rem; font-weight: 800; }
.ls-why .ls-card-wide .ls-compare-old > p { color: var(--muted); }

/* ---------- Details boxes on dark sections ---------- */
.ls-more-dark summary { color: #fff; }
.ls-more-dark summary::before { background-color: rgba(255, 255, 255, .12); }
.ls-more-dark summary:hover::before { background-color: rgba(255, 255, 255, .22); }
.ls-more-dark .ls-more-body { background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; color: var(--muted); }
.ls-more-dark .ls-more-body b { color: #fff; }

/* ---------- Get started details ---------- */
.ls-device { font-size: 1rem; }
.ls-steps .ls-device b, .ls-start .ls-steps p b { color: var(--ink); }

@media (max-width: 640px) {
  .ls-banner { padding: 12px var(--gutter); gap: 2px 14px; }
  .ls-compare { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Engine section on the light canvas ---------- */
.ls-paper .ls-engine-steps button:hover { background: rgba(20, 32, 56, .05); }
.ls-paper .ls-engine-steps .ls-step-n { color: var(--light-muted); }
.ls-paper .ls-engine-steps .ls-step-t { color: rgba(20, 32, 56, .72); }
.ls-paper .ls-engine-steps .ls-step-d { color: var(--light-muted); }
.ls-paper .ls-engine-steps [aria-current="step"] { background: #fff; box-shadow: 0 0 0 1px var(--light-line) inset; }
.ls-paper .ls-engine-steps [aria-current="step"] .ls-step-n { color: var(--cobalt); }
.ls-paper .ls-engine-steps [aria-current="step"] .ls-step-t { color: var(--ink); }
.ls-paper .ls-stats div { background: #fff; box-shadow: 0 0 0 1px var(--light-line) inset; }
.ls-paper .ls-stats dt { color: var(--cobalt); }
.ls-paper .ls-stats dd { color: var(--light-muted); }
.ls-paper .ls-specs li { background: rgba(23, 74, 228, .08); color: var(--ink); box-shadow: 0 0 0 1px rgba(23, 74, 228, .16) inset; }
.ls-paper .ls-engine-visual { box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset, 0 40px 80px -40px rgba(20, 32, 56, .5); }
