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

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

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

:root {
  --bg: #0b0d12;
  --bg-raise: #141820;
  --bg-sunken: #0e1116;
  --text: #f4f1ea;
  --muted: #c9c3b6;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #e0b15a;
  --accent-ink: #1a140c;
  --button: #f4f1ea;
  --button-text: #14120e;
  --header: 4.25rem;
  --max: 70rem;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(224, 177, 90, 0.14), transparent 55%),
    radial-gradient(700px 400px at 0% 20%, rgba(90, 120, 160, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f3d7a1;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 30;
  transform: translateY(-160%);
  background: var(--button);
  color: var(--button-text);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-width: 0;
}

#content,
[id] {
  scroll-margin-top: 8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(11, 13, 18, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-mark {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand-studio {
  color: var(--muted);
  font-size: 0.78rem;
}

.menu-button {
  display: none;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--text);
  font: inherit;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(244, 241, 234, 0.06);
}

.section-nav {
  position: sticky;
  top: var(--header);
  z-index: 15;
  background: rgba(11, 13, 18, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.section-nav nav {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.section-nav nav::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  flex: 0 0 auto;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.85rem 0.8rem;
  border-bottom: 2px solid transparent;
}

.section-nav a:hover,
.section-nav a[aria-current="true"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

main {
  padding-bottom: 4.5rem;
}

.hero,
.section {
  padding-top: 3rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.lede {
  margin-top: 0;
  font-size: 1.2rem;
  max-width: 38rem;
}

.muted,
.fine,
.fine-print {
  color: var(--muted);
}

.fine-print {
  font-size: 0.92rem;
  max-width: 40rem;
}

.product-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 2.75rem;
  padding-bottom: 2.5rem;
}

.hero-copy {
  min-width: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  background: var(--button);
  color: var(--button-text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--button);
  cursor: pointer;
}

.button:hover {
  background: #fff;
  color: var(--button-text);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button-ghost:hover {
  background: rgba(244, 241, 234, 0.06);
  color: var(--text);
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: 0.85rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.product-card:hover {
  border-color: rgba(224, 177, 90, 0.45);
  color: var(--text);
}

.product-card p {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
}

.card-action {
  font-weight: 700;
  color: var(--accent);
}

.price-panel,
.panel,
.feature-list article,
.install-grid article {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.35rem;
}

.price {
  margin: 0.2rem 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  border-top: 1px solid var(--line);
}

.ticks li:first-child {
  border-top: 0;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.feature-list,
.shot-grid,
.install-grid {
  display: grid;
  gap: 0.85rem;
}

.feature-list article,
.install-grid article {
  padding: 1.05rem 1.1rem;
  min-width: 0;
}

.feature-list p,
.install-grid p {
  margin: 0;
  color: var(--muted);
}

.shot-grid figure {
  margin: 0;
  min-width: 0;
}

.shot-grid figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.url-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 0.4rem 0 1.2rem;
}

.url-box {
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.88rem;
}

.steps {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 2.6rem;
  margin: 0 0 0.75rem;
  min-height: 2rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.82rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 0.95rem 0;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 44rem;
}

.roadmap {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.roadmap li + li {
  margin-top: 0.35rem;
}

.page {
  padding-top: 2.75rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.buy-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1rem 0;
  max-width: 28rem;
}

label span,
.field span {
  font-weight: 500;
}

input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-sunken);
  color: var(--text);
  font: inherit;
}

.key-box {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--bg-raise);
  border: 1px solid rgba(224, 177, 90, 0.45);
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.alert {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-name {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-grid a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-note,
.copyright {
  color: var(--muted);
  font-size: 0.92rem;
}

.copyright {
  margin-bottom: 0;
}

/* Television frame and in-screen UI. Decorative. */
.tv {
  min-width: 0;
  max-width: 100%;
  background: linear-gradient(180deg, #23262e, #15171c);
  border-radius: 18px;
  padding: 10px 10px 22px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
}

.tv::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3e48;
  transform: translateX(-50%);
}

.screen {
  background: #0c0f14;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  color: #e7e4dc;
  font-size: 0.62rem;
  line-height: 1.25;
}

.screen-bar,
.guide-head,
.guide-row,
.list-body,
.player-bar,
.lib-head {
  display: grid;
  gap: 3px;
}

.screen-bar,
.lib-head,
.player-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.55rem;
  background: #141820;
  color: #c9c3b6;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-head,
.guide-row {
  grid-template-columns: 2.1rem repeat(4, minmax(0, 1fr));
  padding: 0 0.35rem;
}

.guide-head {
  color: #9aa097;
  padding-top: 0.35rem;
  padding-bottom: 0.2rem;
}

.guide-row {
  flex: 1;
  align-items: stretch;
  min-height: 0;
}

.ch {
  display: flex;
  align-items: center;
  color: #c9c3b6;
  font-weight: 700;
}

.prog {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.span2 { grid-column: span 2; }
.a { background: #243044; }
.b { background: #2c3428; }
.c { background: #3a3228; }
.d { background: #2a2838; }

.list {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  height: 100%;
}

.groups {
  background: #12151b;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0.3rem;
}

.groups span,
.row {
  padding: 0.28rem 0.35rem;
  border-radius: 4px;
}

.groups .on,
.row.on {
  background: rgba(224, 177, 90, 0.18);
  color: #f4f1ea;
}

.rows {
  min-width: 0;
  height: 100%;
  padding: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.row {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.15rem 0.3rem;
  align-items: center;
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
}

.row b { font-weight: 700; }
.row em {
  grid-column: 2;
  color: #9aa097;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stage {
  flex: 1;
  margin: 0.4rem;
  border-radius: 6px;
  background:
    radial-gradient(120px 80px at 50% 45%, rgba(224, 177, 90, 0.25), transparent 70%),
    linear-gradient(160deg, #1a2230, #0c0f14 70%);
  position: relative;
}

.stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #f4f1ea;
  transform: translate(-40%, -50%);
}

.now-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0 0.45rem 0.45rem;
}

.now-next div {
  background: #141820;
  border-radius: 6px;
  padding: 0.35rem 0.45rem;
  min-width: 0;
}

.now-next small {
  display: block;
  color: var(--accent);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.library {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.posters {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.45rem;
}

.poster {
  border-radius: 5px;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.3rem;
  font-weight: 700;
  background: #243044;
}

.poster:nth-child(2) { background: #3a3228; }
.poster:nth-child(3) { background: #2c3428; }
.poster:nth-child(4) { background: #2a2838; }
.poster:nth-child(5) { background: #2a3140; }
.poster:nth-child(6) { background: #343028; }
.poster:nth-child(7) { background: #28342c; }
.poster:nth-child(8) { background: #322838; }

@media (min-width: 768px) {
  .wrap {
    width: min(var(--max), calc(100% - 3rem));
  }

  .feature-list,
  .shot-grid,
  .install-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-panel,
  .buy-layout,
  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .product-grid:has(.product-card:only-child) .product-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem;
  }
}

@media (min-width: 960px) {
  .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #12151b;
    border-bottom: 1px solid var(--line);
    padding: 0.35rem;
    gap: 0.1rem;
  }

  .site-nav.is-open a {
    padding: 0.85rem 0.9rem;
  }

  .actions,
  form .button {
    width: 100%;
  }

  .actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
