:root {
  --bg: #f6f8fb; --surface: #ffffff; --text: #0f172a; --muted: #5b6b80; --line: #e2e8f0;
  --accent: #0284c7; --accent-strong: #0369a1; --accent-text: #ffffff; --soft: #e0f2fe;
  --tv-frame: #0f172a; --tv-screen: #111827; --tv-text: #e5e7eb; --tv-muted: #9ca3af;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220; --surface: #131c2e; --text: #e2e8f0; --muted: #94a3b8; --line: #243149;
    --accent: #38bdf8; --accent-strong: #7dd3fc; --accent-text: #0b1220; --soft: #0c2a40;
    --tv-frame: #020617; --tv-screen: #0f172a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
       backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; font-size: 13px; font-weight: 700; }
.langs a { padding: 3px 7px; border-radius: 6px; color: var(--muted); text-decoration: none; }
.langs a[aria-current] { background: var(--soft); color: var(--accent-strong); }
@media (max-width: 720px) { .nav .section-link { display: none; } }

.btn { display: inline-block; font-weight: 700; text-decoration: none; border-radius: 10px; padding: 11px 20px;
       border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.small { padding: 6px 13px; font-size: 14px; }
.btn:hover { filter: brightness(1.06); }

/* hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-strong); background: var(--soft);
           padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* TV mock */
.tv { background: var(--tv-frame); border-radius: 18px; padding: 12px; box-shadow: 0 24px 60px -24px rgba(2, 132, 199, .45); }
.screen { background: var(--tv-screen); border-radius: 8px; padding: 16px; color: var(--tv-text); font-size: 13px; }
.screen-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.clock { font-size: 26px; font-weight: 800; }
.status { color: #7dd3fc; font-weight: 700; margin-bottom: 10px; }
.bar { height: 5px; background: #1f2937; border-radius: 3px; overflow: hidden; margin: 4px 0 12px; }
.bar span { display: block; width: 62%; height: 100%; background: #38bdf8; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.week b { font-size: 11px; color: var(--tv-muted); text-transform: uppercase; letter-spacing: .05em; }
.week i { font-style: normal; border-radius: 5px; padding: 5px 6px; font-size: 11px; font-weight: 700; color: #0b1220;
          white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stand { width: 30%; height: 10px; margin: 0 auto; background: var(--tv-frame); border-radius: 0 0 8px 8px; }

/* sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 30px; max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps, .cards { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
section:not(.alt) .card { background: var(--surface); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center;
                       width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
                       font-weight: 800; margin-bottom: 12px; }
.icon { font-size: 26px; margin-bottom: 8px; display: block; }
.soon { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-strong); background: var(--soft);
        border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 8px 0 0; }

.cta-band { text-align: center; }
.cta-band .ctas { justify-content: center; }

/* legal pages */
.doc { max-width: 760px; padding: 48px 16px 64px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc h2 { font-size: 22px; margin-top: 34px; }
.doc p, .doc li { color: var(--text); }
.doc .updated { color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
footer .spacer { flex: 1; }
