:root { color-scheme: light; --bg: #f3f3f5; --panel: #fff; --ink: #1b1b22; --line: #dddde4; --muted: #64646f; --brand: #702ee5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button, .button-link { cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 11px 16px; border-radius: 3px; font-weight: 600; }
button:hover { background: #ededf1; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #a178f5; outline-offset: 3px; }
.primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.primary:hover { background: #5920be; }
.button-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; text-decoration: none; }
.quiet { background: transparent; }
.header { display: flex; align-items: center; justify-content: space-between; padding: 20px max(24px, calc((100% - 1280px)/2)); background: #111114; color: #fff; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 153px; height: auto; }
.public-nav, .account-tools { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.public-nav a { color: #dddde5; text-decoration: none; }
.public-nav a:hover { color: #fff; }
.public-nav .nav-access { padding: 9px 16px; border: 1px solid #50505c; color: #fff; }
.account-tools .quiet { color: #fff; border-color: #50505c; }
main { min-height: calc(100vh - 164px); }
.feedback { max-width: 1280px; margin: 0 auto; padding: 0 24px; color: #432288; font-weight: 600; }
.feedback:not(:empty) { padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.feedback.error { color: #b5202e; }
.hero { background: #17171d; color: #fff; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; padding: 76px max(24px, calc((100% - 1280px)/2)) 84px; }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; font-weight: 700; color: var(--muted); }
.hero .eyebrow { color: #b28af9; }
h1, h2, h3, p { overflow-wrap: break-word; }
.hero h1 { font-size: clamp(46px, 4.5vw, 66px); line-height: 1.06; letter-spacing: -2.5px; margin: 22px 0 24px; }
.hero-copy > p { color: #bfbfc9; font-size: 17px; max-width: 420px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; flex-wrap: wrap; }
.hero-secondary { color: #e0e0e8; font-size: 12px; text-underline-offset: 5px; }
.hero-detail { font-size: 11px; color: #9494a3; margin-top: 32px; display: flex; align-items: center; gap: 9px; }
.detail-mark { width: 7px; height: 7px; background: #8850ef; }
.tv-illustration { min-width: 0; text-align: center; }
.tv-frame { border: 5px solid #36363e; border-bottom-width: 12px; border-radius: 7px; background: #09090c; padding: 5px; box-shadow: 0 24px 32px #0005; }
.tv-screen { background: #101016; text-align: left; padding: 20px; }
.tv-top { display: flex; align-items: center; gap: 25px; font-size: 9px; color: #a9a9b8; }
.tv-top span:last-child { margin-left: auto; }
.tv-feature { position: relative; padding: 28px 0 30px; overflow: hidden; }
.tv-feature > span { font-size: 8px; font-weight: 700; color: #a890d5; letter-spacing: 1px; }
.tv-feature strong { display: block; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.02; letter-spacing: -1.5px; margin-top: 12px; }
.tv-play { position: absolute; right: 5%; top: 26px; background: #702ee5; height: 136px; width: 136px; color: #fff; display: grid; place-items: center; font-size: 48px; box-shadow: 13px 13px 0 #2c1c45; }
.tv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tv-tiles > div { background: #24242c; padding: 12px; border-top: 2px solid #7c3aed; }
.tv-tiles > div:nth-child(2) { border-color: #d3d3df; }
.tv-tiles > div:nth-child(3) { border-color: #656573; }
.tv-tiles span { color: #7c7c8a; font-size: 9px; }
.tv-tiles b { display: block; font-size: 14px; margin: 8px 0 4px; }
.tv-tiles small { color: #9292a4; font-size: 6px; letter-spacing: .5px; }
.tv-stand { margin: 0 auto 18px; width: 34%; height: 16px; border-bottom: 4px solid #484854; border-left: 5px solid #36363e; border-right: 5px solid #36363e; }
.illustration-caption { font-size: 10px; color: #7c7c8a; }
.public-section { padding: 64px max(24px, calc((100% - 1280px)/2)); background: #fff; border-bottom: 1px solid var(--line); }
.public-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 100px; align-items: center; }
.public-heading .eyebrow { grid-column: 1 / -1; }
.public-section h2 { font-size: 34px; line-height: 1.18; margin: 16px 0 22px; letter-spacing: -1px; }
.public-heading p { color: var(--muted); max-width: 400px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; margin-top: 28px; }
.steps article { padding-top: 22px; border-top: 1px solid #2e2e38; }
.step-number { font-size: 12px; font-family: monospace; color: var(--brand); }
.steps h3 { font-size: 19px; margin: 16px 0 10px; }
.steps p { color: var(--muted); font-size: 13px; }
.activation-info { background: #ededf1; display: grid; grid-template-columns: .8fr 1.4fr; gap: 60px; }
.access-options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.access-options article { background: #fff; padding: 26px; border-top: 3px solid var(--brand); }
.access-options h3 { font-size: 21px; line-height: 1.25; }
.access-options p { font-size: 13px; color: var(--muted); }
.access-options a { display: flex; justify-content: space-between; color: var(--ink); font-size: 12px; text-decoration: none; font-weight: 700; margin-top: 24px; }
.tag { font-size: 9px; letter-spacing: 1px; font-weight: 700; color: #6430b4; }
.auth-section { display: grid; grid-template-columns: 1fr 420px; gap: 100px; align-items: center; }
.auth-intro > p { max-width: 400px; color: var(--muted); }
.auth-note { font-size: 12px; }
.surface { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.auth-tabs button { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--muted); }
.auth-tabs button.active { color: var(--ink); border-bottom-color: var(--brand); }
.auth-card .feedback { padding: 0; margin: 0 0 18px; border: 0; font-size: 12px; }
.auth-card .feedback:empty { display: none; }
form { display: grid; gap: 18px; }
form h3 { margin: 0; font-size: 16px; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
input { width: 100%; min-width: 0; color: var(--ink); background: #fafafb; border: 1px solid #c6c6d0; border-radius: 2px; padding: 12px; font-weight: 400; }
input::placeholder { color: #7e7e8a; }
small { font-size: 11px; color: var(--muted); font-weight: 400; }
.dashboard { display: grid; grid-template-columns: 215px minmax(0, 1fr); max-width: 1536px; margin: 0 auto; }
.sidebar { background: #1c1c23; color: #eeeef5; padding: 30px 15px; min-height: calc(100vh - 164px); }
.sidebar-heading { padding: 0 14px 24px; border-bottom: 1px solid #36363f; margin-bottom: 20px; }
.sidebar-heading .eyebrow { display: block; color: #9292a2; }
.sidebar-heading strong { display: block; margin-top: 6px; font-size: 14px; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar-link { display: flex; align-items: center; text-align: left; gap: 10px; border: 0; background: transparent; color: #bdbdcc; font-size: 12px; font-weight: 400; padding: 12px 14px; }
.sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-link:hover { background: #303039; }
.sidebar-link.active { background: #702ee5; color: #fff; font-weight: 700; }
.sidebar-note { margin: 50px 14px 0; color: #858593; font-size: 10px; line-height: 1.8; }
.dashboard-content { padding: 30px; min-width: 0; }
.page-title { display: flex; justify-content: space-between; align-items: center; margin: 0 0 26px; gap: 20px; }
.page-title h1 { font-size: 28px; margin: 7px 0 0; letter-spacing: -.8px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.metrics .surface { padding: 21px; }
.metrics .credit-metric { border-left: 3px solid var(--brand); }
.metrics span { display: block; color: var(--muted); font-size: 11px; }
.metrics strong { display: block; font-size: 34px; margin: 5px 0; line-height: 1.2; }
.metrics small { font-size: 10px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-title h2 { font-size: 18px; margin: 0; }
.section-title > span { font-size: 10px; color: var(--muted); }
.section-title > .tag { color: #6430b4; }
.hint { font-size: 12px; color: var(--muted); margin: 12px 0 24px; }
form > .hint { margin: 0; }
.narrow-section { max-width: 720px; }
.input-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.activation-cost { display: flex; justify-content: space-between; gap: 16px; background: #f4f4f7; padding: 16px; font-size: 13px; }
.activation-cost strong { white-space: nowrap; color: var(--brand); }
.playlist-import { display: grid; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 22px; }
.codes:not(:empty) { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 22px; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 0; }
.code-row + .code-row { border-top: 1px solid var(--line); }
.code-row strong, .code-row span { display: block; }
.code-row b { font: bold 23px monospace; letter-spacing: 2px; color: var(--brand); }
.code-row span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.table-wrapper { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin-top: 20px; text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: 9px; letter-spacing: .5px; text-transform: uppercase; }
td, th { padding: 15px 10px; border-bottom: 1px solid var(--line); }
td:first-child, th:first-child { padding-left: 0; }
td { font-size: 12px; }
td strong, td small { display: block; }
td small { font-size: 10px; margin-top: 4px; }
td button { padding: 7px 9px; font-size: 10px; margin: 3px; }
.status { display: inline-block; padding: 4px 8px; font-size: 10px; font-weight: 700; border: 1px solid var(--line); background: #f5f5f7; }
.status.active, .status.partnership { color: #205c3d; background: #f3faf5; border-color: #c8ddcf; }
.status.expired, .status.blocked { color: #b5202e; background: #fff7f8; border-color: #ebc6cc; }
.empty { padding: 40px 0 24px; color: var(--muted); font-size: 13px; }
.empty strong { color: var(--ink); font-size: 17px; }
footer { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; color: #666674; font-size: 10px; border-top: 1px solid var(--line); }
footer a { color: var(--ink); white-space: nowrap; text-underline-offset: 3px; }
[hidden] { display: none; }
@media (max-width: 1050px) {
  .hero { gap: 30px; padding-top: 52px; padding-bottom: 60px; }
  .tv-screen { padding: 14px; }
  .tv-play { width: 104px; height: 104px; }
  .activation-info { grid-template-columns: 1fr; gap: 20px; }
  .auth-section { gap: 40px; grid-template-columns: 1fr 360px; }
  .dashboard { grid-template-columns: 180px minmax(0, 1fr); }
  .dashboard-content { padding: 24px; }
  .sidebar { padding: 26px 8px; }
}
@media (max-width: 750px) {
  .header { padding: 18px 20px; gap: 16px; }
  .brand img { width: 120px; }
  .public-nav { gap: 12px; font-size: 11px; }
  .public-nav > a:not(.nav-access) { display: none; }
  .account-tools { font-size: 12px; gap: 12px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 42px 24px; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { font-size: 15px; }
  .tv-illustration { max-width: 520px; width: 100%; margin: 0 auto; }
  .tv-feature strong { font-size: 36px; }
  .tv-play { width: 105px; height: 105px; font-size: 40px; }
  .public-section { padding: 40px 24px; }
  .public-section h2 { font-size: 30px; }
  .public-heading, .auth-section { grid-template-columns: 1fr; gap: 16px; }
  .public-heading p { margin-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps p { margin-bottom: 0; }
  .access-options { grid-template-columns: 1fr; }
  .dashboard { grid-template-columns: minmax(0, 1fr); }
  .sidebar { min-width: 0; min-height: 0; padding: 10px 16px; }
  .sidebar-heading, .sidebar-note { display: none; }
  .sidebar nav { display: flex; overflow-x: auto; gap: 4px; }
  .sidebar-link { flex-shrink: 0; padding: 10px 12px; }
  .sidebar-link svg { width: 16px; height: 16px; }
  .dashboard-content { padding: 24px 16px; }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .metrics .surface { padding: 14px 10px; }
  .metrics strong { font-size: 28px; }
  .metrics small { display: none; }
  .metrics span { font-size: 10px; }
  .page-title { gap: 12px; }
  .page-title > div { min-width: 0; }
  .page-title h1 { font-size: 23px; }
  .page-title button { padding: 9px 11px; font-size: 11px; }
  .page-title .eyebrow { font-size: 8px; }
  .surface { padding: 20px; }
  .input-pair { grid-template-columns: 1fr; }
  .hero-detail { margin-top: 24px; }
  footer { flex-wrap: wrap; text-align: center; font-size: 10px; }
  footer > span { flex-basis: calc(100% - 60px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
