/* Stroku site. Dark like a room with the TV on: the screen supplies the colour,
   the page stays neutral, and the logo's violet marks actions and links. */
:root {
    color-scheme: dark;
    --bg: #09080c;
    --surface: #131118;
    --surface-2: #1b1922;
    --border: #282531;
    --text: #f2f1f5;
    --muted: #a7a4b2;
    --subtle: #6f6c7a;
    --accent: #a37cff;
    --accent-strong: #8d5cff;
    --on-accent: #ffffff;
    --warn: #f0c36b;
    --radius: 14px;
    --wide: 1180px;
    --prose: 680px;
    --gutter: 28px;
    --display: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -0.012em; margin: 0 0 0.45em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
code, kbd {
    font: 500 0.88em/1 ui-monospace, "SF Mono", Consolas, monospace;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.18em 0.42em;
    white-space: nowrap;
}

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--prose); }
/* A prose section keeps the page's left edge; only its contents narrow. */
.wrap.prose { max-width: var(--wide); }
.wrap.prose > * { max-width: var(--prose); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 600px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(9, 8, 12, 0.82); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 1.1rem/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 0.94rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .button { padding: 8px 14px; font-size: 0.88rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 20px; border-radius: 999px;
    font-weight: 600; font-size: 0.98rem; text-decoration: none; line-height: 1;
    border: 1px solid transparent; transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.button svg { width: 18px; height: 18px; flex: none; }
.button.primary { background: var(--text); color: var(--bg); }
.button.primary:hover { background: #fff; color: var(--bg); transform: translateY(-1px); }
.button.accent { background: var(--accent-strong); color: var(--on-accent); }
.button.accent:hover { background: var(--accent); color: var(--on-accent); }
.button.secondary { border-color: var(--border); color: var(--text); background: transparent; }
.button.secondary:hover { border-color: var(--subtle); }

/* Sections */
section { padding: 104px 0; position: relative; }
.rule { border-top: 1px solid var(--border); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--muted); margin: 0; max-width: 480px; }

/* Hero */
.hero { padding: 88px 0 40px; overflow: hidden; }
.hero h1 { max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--accent); }

/* The TV: a thin bezel, a stand, and the screen's own light spilling behind it. */
.tv-stage { position: relative; margin-top: 64px; }
.tv-glow {
    position: absolute; inset: 4% 6% 10%; z-index: 0;
    background-size: cover; background-position: center;
    filter: blur(70px) saturate(1.4); opacity: 0.55; transform: scale(1.08);
    transition: background-image 0.6s;
}
.tv { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; }
.tv-bezel {
    position: relative; padding: 10px; border-radius: 16px;
    background: linear-gradient(#1a1a1f, #0c0c10);
    box-shadow: 0 0 0 1px #2c2b33, 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.tv-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.tv-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.tv-screen img.on { opacity: 1; }
.tv-stand { width: 24%; height: 18px; margin: 0 auto; background: linear-gradient(#18171c, #0d0d11); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.tv-foot { width: 34%; height: 5px; margin: 0 auto; border-radius: 3px; background: #19181e; }

.screen-tabs { position: relative; z-index: 1; display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.screen-tabs button {
    font: 500 0.92rem/1 Inter, sans-serif; color: var(--muted); background: transparent;
    border: 1px solid transparent; border-radius: 999px; padding: 10px 16px; cursor: pointer; position: relative; overflow: hidden;
}
.screen-tabs button:hover { color: var(--text); }
.screen-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--border); background: var(--surface); }
.screen-tabs button[aria-selected="true"]::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background: var(--accent); transform-origin: left; animation: tab-progress var(--tab-ms, 6000ms) linear forwards;
}
.screen-tabs.paused button::after { animation-play-state: paused; }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.screen-caption { text-align: center; color: var(--subtle); font-size: 0.85rem; margin-top: 14px; position: relative; z-index: 1; }

/* Poster strip */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: drift 70s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 85s; }
.marquee img { width: 160px; height: 240px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip > .copy { order: 2; }
.feature .copy p { color: var(--muted); }
.feature .num { font: 600 0.82rem/1 ui-monospace, Consolas, monospace; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 16px; display: block; }
.shot img { border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 70px -30px rgba(0, 0, 0, 0.9); }
.shot figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--subtle); }
figure { margin: 0; }

/* Two columns that stack on small screens (guide heroes). */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Ways to play */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { border-radius: 20px; padding: 36px; border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.path h3 { font-size: 1.6rem; margin-bottom: 12px; }
.path p { color: var(--muted); }
.path ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.path li { display: flex; gap: 12px; color: var(--text); font-size: 0.97rem; }
.path li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--subtle); margin-top: 0.62em; }
.path.recommended { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(140deg, var(--accent), #3a2a66 60%, var(--border)) border-box; border: 1px solid transparent; }
.path.recommended li::before { background: var(--accent); }
.tag {
    display: inline-block; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 999px; margin-bottom: 20px;
    background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
}
.path.recommended .tag { background: var(--accent-strong); color: var(--on-accent); border-color: transparent; }

/* Remote keys */
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.key-card { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.key-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.keycap {
    display: inline-grid; place-items: center; min-width: 56px; height: 56px; padding: 0 16px; margin-bottom: 22px;
    font: 700 1.05rem/1 var(--display); color: var(--text);
    background: linear-gradient(#2a2733, #1b1922); border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 4px 0 #0e0d12, 0 6px 14px rgba(0, 0, 0, 0.5);
}
.keycap.round { border-radius: 50%; width: 56px; padding: 0; }

/* Closing band */
.cta { text-align: left; padding: 96px 0 112px; }
.cta-box { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.cta-box img { width: 72px; height: 72px; border-radius: 18px; }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.cta-box p { margin: 0; color: var(--muted); }

/* Guides: numbered steps */
.page-hero { padding: 88px 0 56px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 8px 0 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 44px 64px; }
.steps > li::before {
    content: counter(step);
    position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center; font: 700 1rem/1 var(--display);
    background: linear-gradient(#2a2733, #1b1922); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 3px 0 #0e0d12;
}
.steps > li::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 10px; width: 2px; background: var(--border); border-radius: 1px; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.4em; }
.steps p, .steps ul { color: var(--muted); }
.steps .shot { margin-top: 22px; max-width: 760px; }

.note { border-left: 3px solid var(--accent); padding: 6px 0 6px 20px; color: var(--muted); margin: 28px 0; }
.note.warn { border-left-color: var(--warn); }
.note strong { color: var(--text); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; margin-top: 32px; }
.facts p { color: var(--muted); margin: 0; }

/* FAQ and legal */
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--subtle); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { margin-top: 12px; color: var(--muted); }
.legal h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin-top: 2.4em; }
.legal li { margin-bottom: 0.5em; }
.legal table { border-collapse: collapse; width: 100%; font-size: 0.94rem; margin: 8px 0 18px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.legal th { color: var(--muted); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 60px; font-size: 0.9rem; color: var(--subtle); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }

@media (max-width: 900px) {
    .feature, .feature.flip, .section-head, .paths, .split { grid-template-columns: 1fr; gap: 28px; }
    .feature.flip > .copy { order: 0; }
    .feature + .feature { margin-top: 80px; }
    .keys { grid-template-columns: 1fr 1fr; }
    .cta-box { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 600px) {
    :root { --gutter: 18px; }
    body { font-size: 16px; }
    section { padding: 72px 0; }
    .hero { padding-top: 56px; }
    .tv-stage { margin-top: 44px; }
    .tv-bezel { padding: 5px; border-radius: 10px; }
    .nav { gap: 16px; }
    .nav .optional { display: none; }
    .keys { grid-template-columns: 1fr; }
    .path { padding: 26px; }
    .marquee img { width: 112px; height: 168px; }
    .screen-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .screen-tabs button { flex: none; }
    .steps > li { padding-left: 56px; }
}
