@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0b09;
  --bg-2: #14110c;
  --bg-3: #1c1812;
  --ink: #f4f1ea;
  --muted: #b9b0a0;
  --gold: #f0b429;
  --gold-2: #ffe7a3;
  --gold-logo: #e2b24a;
  --line: rgba(240, 180, 41, .18);
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --radius: 18px;
  --wrap: 1120px;
  --header: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Outfit, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--gold); color: #14110c;
  padding: 8px 14px; border-radius: 8px; font-weight: 600; z-index: 100;
}
.skip:focus { top: 12px; }

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold-2);
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.kicker {
  margin: 0 0 6px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 600;
  color: var(--gold-2);
}

.wordmark { font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.wordmark span, .ui-mark span { color: var(--gold-logo); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  text-decoration: none; font-weight: 650; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--gold); color: #14110c; }
.btn-primary:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(244, 241, 234, .2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 11, 9, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a:focus-visible { color: var(--gold-2); }
.nav-toggle {
  display: none; background: transparent; color: var(--ink);
  border: 1px solid rgba(244,241,234,.2); border-radius: 999px;
  min-height: 40px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer;
}

.hero { position: relative; padding: 36px 0 64px; overflow: hidden; }
.hero-mesh { position: absolute; inset: 0; pointer-events: none; }
.hero-mesh span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; }
.hero-mesh .a { width: 420px; height: 420px; background: #8a6a1c; top: -80px; right: 8%; }
.hero-mesh .b { width: 280px; height: 280px; background: #3a2a10; bottom: -40px; left: 10%; }
.hero-mesh .c { width: 200px; height: 200px; background: #f0b429; top: 30%; left: 40%; opacity: .12; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
  position: relative;
}
.hero-copy h1 { margin-bottom: 16px; }
.hero-copy h1 br { display: block; }

.stage-wrap { position: relative; }
.stage-glow {
  position: absolute; inset: 8% 10% 0;
  background: radial-gradient(ellipse at center, rgba(240,180,41,.22), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.tv { margin: 0; position: relative; }
.tv-bezel {
  background: linear-gradient(180deg, #2a261f, #161410);
  border-radius: 22px; padding: 14px 14px 18px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.06);
}
.tv-screen {
  background: #0a0908; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/10; display: flex; flex-direction: column;
  border: 1px solid rgba(240,180,41,.12);
}
.ui-top, .ui-rail { flex: 0 0 auto; }
.ui-hero { flex: 1 1 auto; min-height: 0; }
.tv-stand {
  width: 28%; height: 10px; margin: 8px auto 0;
  background: linear-gradient(180deg, #2a261f, #12100d);
  border-radius: 0 0 8px 8px;
}
.ui-top {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 6px; font-size: .7rem;
  background: #0a0908;
  position: relative;
  z-index: 1;
}
.ui-mark { font-weight: 600; letter-spacing: -.02em; }
.ui-tabs { display: flex; gap: 10px; color: #8d8678; flex: 1; }
.ui-tabs .on {
  color: #14110c; background: var(--gold); border-radius: 999px;
  padding: 2px 8px; font-weight: 700;
}
.ui-clock { color: #8d8678; margin-left: auto; font-variant-numeric: tabular-nums; }
.ui-hero {
  margin: 6px 14px 0; border-radius: 10px; min-height: 42%;
  background:
    linear-gradient(90deg, rgba(10,9,8,.92) 18%, rgba(10,9,8,.2) 70%),
    radial-gradient(circle at 75% 40%, #c9922a, #3a2a10 42%, #14110c 70%);
  padding: 16px 18px;
  display: flex; align-items: flex-end;
}
.ui-hero-copy { max-width: 62%; }
.ui-hero-copy h2 { font-size: clamp(.95rem, 1.6vw, 1.25rem); margin: 0 0 6px; }
.ui-hero-copy p { color: #d8d0c2; font-size: .75rem; margin: 0 0 10px; }
.ui-play {
  display: inline-block; background: var(--gold); color: #14110c;
  border-radius: 999px; padding: 5px 14px; font-size: .7rem; font-weight: 700;
}
.ui-rail { padding: 10px 14px 12px; }
.rail-label { margin: 0 0 8px; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tile {
  display: block; aspect-ratio: 2/3; border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.tile.on { outline: 2px solid var(--gold); outline-offset: 2px; }
.t1 { background: linear-gradient(180deg, #5b4a28, #241c10); }
.t2 { background: linear-gradient(180deg, #3d4a5b, #141820); }
.t3 { background: linear-gradient(180deg, #5b3a3a, #1c1212); }
.t4 { background: linear-gradient(180deg, #3a5b48, #101814); }
.t5 { background: linear-gradient(180deg, #4a3a5b, #16121c); }
.t6 { background: linear-gradient(180deg, #5b5428, #1c1a10); }

.logos-strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 18px 0; }
.strip p { margin: 0; color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; margin: 0; padding: 0; }
.strip li { color: var(--ink); font-weight: 500; }

.section { padding: 88px 0; }
.section-head { max-width: 38rem; margin-bottom: 40px; }
.section-head p:not(.eyebrow) { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.card p { color: var(--muted); font-size: .98rem; }
.icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; margin-bottom: 14px;
  color: var(--gold);
  background: rgba(240,180,41,.1);
  border: 1px solid rgba(240,180,41,.2);
}

.living { background: var(--bg-2); }
.living-grid, .lite-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.ticks { margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li {
  position: relative; padding: 8px 0 8px 28px; color: var(--ink);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.guide-mock {
  margin: 0;
  background: #0a0908;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 16px 16px 12px;
  box-shadow: var(--shadow);
}
.guide-bar { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.guide-day { color: var(--gold-2); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.guide-grid {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: 8px;
}
.g-ch {
  background: var(--bg-3); border-radius: 8px; padding: 10px;
  font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums;
  display: flex; flex-direction: column; gap: 2px;
}
.g-ch span { color: var(--muted); font-weight: 500; font-size: .75rem; }
.g-slot {
  background: #1a1713; border-radius: 8px; padding: 12px 14px;
  color: #d8d0c2; font-size: .9rem; display: flex; align-items: center;
}
.g-slot.s1 { background: rgba(240,180,41,.16); color: var(--gold-2); outline: 1px solid rgba(240,180,41,.4); }
.g-slot.s2, .g-slot.s3 { background: #221e18; }
.guide-note { margin: 12px 2px 0; color: #8d8678; font-size: .78rem; }

.lite { background: linear-gradient(180deg, #14110c, #0c0b09); }
.lite-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.lite-card ol { margin: 16px 0 0; padding: 0 0 0 20px; color: var(--muted); }
.lite-card li { margin: 0 0 10px; padding-left: 4px; }
.lite-card li::marker { color: var(--gold); font-weight: 700; }

.home-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.point {
  padding: 8px 0 0;
  border-top: 2px solid var(--gold);
}
.point p { color: var(--muted); }

.close { padding-top: 20px; }
.close-box {
  text-align: center; max-width: 40rem; margin-inline: auto;
  padding: 48px 28px; border-radius: 24px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at top, rgba(240,180,41,.12), transparent 60%), var(--bg-2);
}
.close-box h2 { margin-bottom: 12px; }
.close-box p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-row .logo img { width: 28px; height: 28px; }
.footer-row p { margin: 0; color: var(--muted); font-size: .9rem; }

.reveal { /* visible immediately; no fade-from-zero on first paint */ }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid, .living-grid, .lite-grid, .feature-grid, .home-points {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 16px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header);
    background: rgba(12,11,9,.97); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tiles .t5, .tiles .t6 { display: none; }
  .ui-tabs, .ui-clock { display: none; }
  .tv-screen { aspect-ratio: auto; min-height: 300px; }
  .ui-hero { align-items: flex-start; min-height: 150px; }
  .ui-hero-copy p { display: none; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .ui-tabs span:nth-child(n+5), .ui-clock { display: none; }
  .ui-hero-copy { max-width: 100%; }
  .guide-grid { grid-template-columns: 72px 1fr; }
  .guide-grid .g-slot:nth-child(3n) { display: none; }
  h1 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .hero-mesh span { filter: none; }
}
