:root {
  color-scheme: dark;
  --bg: #090b12;
  --orange: #fb7b2d;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: #f7f7fb;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
}

.site-header {
  height: 68px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff12;
}

.wordmark {
  color: var(--orange);
  text-decoration: none;
  font: 900 1rem 'Exo 2', sans-serif;
  letter-spacing: .16em;
}

.nav-host {
  padding: 9px 14px;
  border: 1px solid #ffffff2c;
  border-radius: 7px;
  color: #d5d6dc;
  text-decoration: none;
  font-size: .85rem;
}

.nav-host:hover { color: #fff; }

.hero {
  width: min(1480px, 100%);
  min-height: calc(100vh - 68px);
  margin: auto;
  padding: clamp(36px, 6vh, 72px) clamp(20px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.hero-copy { max-width: 510px; }

.hero h1 {
  margin: 0 0 18px;
  font: 900 clamp(3rem, 5vw, 5.5rem)/.98 'Exo 2', sans-serif;
  letter-spacing: -.035em;
}

.hero-description {
  max-width: 440px;
  margin: 0;
  color: #c0c2cb;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

.primary-button {
  margin-top: 28px;
  padding: 15px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #111;
  font-size: .98rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s, background .15s;
}

.primary-button:hover { transform: translateY(-2px); background: #ff9552; }
.primary-button:focus-visible, .nav-host:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.primary-button span { padding-left: 12px; font-size: 1.2rem; }

.board-frame {
  min-width: 0;
  padding: 5px;
  background: #050609;
  border: 1px solid #ffffff16;
  border-radius: 12px;
  box-shadow: 0 24px 70px #0009;
}

.board-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  overflow: hidden;
  background: var(--background, #000);
  container-type: inline-size;
  pointer-events: none;
  user-select: none;
}

.board-preview .tv-cell {
  min-width: 0;
  aspect-ratio: 1368 / 1080;
  overflow: hidden;
}

.board-preview .tv-screen { color: #fff; }
.board-preview .tv-cell--category .tv-screen { color: #fff1d8; }
.board-preview .tv-category-label {
  font-size: clamp(.45rem, 2vw, 1.5rem);
  text-shadow: 1px 2px 4px #000b;
}

.board-preview .landing-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.board-preview .landing-question {
  width: 100%;
  color: #fff;
  font: 700 clamp(.3rem, 1.25cqi, .8rem)/1.3 'Exo 2', sans-serif;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  filter: blur(4px);
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .hero-copy { max-width: 650px; }
  .board-frame { width: 100%; }
}

@media (max-width: 520px) {
  .site-header { height: 60px; padding: 0 16px; }
  .hero { padding: 40px 12px; gap: 28px; }
  .hero h1 { font-size: 3.2rem; }
  .board-frame { padding: 2px; border-radius: 8px; }
  .board-preview { gap: 1px; }
  .board-preview .tv-category-label { font-size: clamp(.36rem, 2vw, .72rem); }
}
