:root {
  color-scheme: dark;
  --bg: #090a0f;
  --panel: #151722;
  --panel-soft: #1d2030;
  --text: #f7f7fb;
  --muted: #b6bac8;
  --line: #2d3142;
  --accent: #e50914;
  --accent-strong: #ff343e;
  --blue: #55d6ff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(229, 9, 20, 0.22), transparent 34rem),
    radial-gradient(circle at 90% 8%, rgba(85, 214, 255, 0.13), transparent 30rem),
    linear-gradient(180deg, #0d0f17 0%, var(--bg) 54%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 10, 15, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ff6b4a);
  box-shadow: 0 14px 32px rgba(229, 9, 20, 0.28);
}

.brand-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero,
.page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 56px;
  padding: 72px 0 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  font-size: clamp(44px, 7vw, 82px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: white;
  box-shadow: 0 18px 40px rgba(229, 9, 20, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.device-preview {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.tv-frame {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(22, 33, 62, 0.9), rgba(10, 10, 15, 0.95)),
    #11131c;
  display: grid;
  align-content: center;
  gap: 14px;
}

.play-tile {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--accent);
}

.play-tile::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid white;
}

.preview-title {
  font-size: 25px;
  font-weight: 850;
}

.preview-copy {
  max-width: 260px;
  color: var(--muted);
}

.section {
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  padding: 64px 0 88px;
}

.policy-sidebar {
  position: sticky;
  top: 96px;
  height: max-content;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.policy-sidebar a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.policy-sidebar a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.policy-content {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.policy-content .lead {
  margin-bottom: 36px;
}

.policy-section {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-section:first-of-type {
  border-top: 0;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section ul {
  padding-left: 22px;
}

.notice {
  margin: 24px 0;
  padding: 18px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(229, 9, 20, 0.1);
  color: var(--text);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .device-preview {
    max-width: 460px;
  }

  .grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .hero,
  .page-shell,
  .nav,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .policy-content {
    padding: 22px;
  }

  .actions {
    flex-direction: column;
  }
}
