/* openHUB — landing page
   Palette and type taken from the app's Compose theme. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #050506;
  --bg-soft: #0a0b0d;
  --surface: #101216;
  --surface-2: #16181d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f5f7;
  --muted: #a0a4ac;
  --muted-2: #70747c;
  --orange: #ff6a00;
  --orange-2: #ff9a3d;
  --red: #ff2d3d;
  --pink: #ff3d8b;
  --radius: 18px;
  --wrap: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

p {
  margin: 0;
}

::selection {
  background: var(--orange);
  color: #160800;
}

:focus-visible {
  outline: 2px solid var(--orange-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: #160800;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip:focus {
  transform: none;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(5, 5, 6, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand span {
  color: var(--orange);
}

.brand:hover span {
  color: var(--orange-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.18s ease, background 0.18s ease;
}

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

.nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .close-icon {
  display: none;
}

.site-header.open .nav-toggle .close-icon {
  display: block;
}

.site-header.open .nav-toggle .menu-icon {
  display: none;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(140deg, #ff8a2b 0%, var(--orange) 45%, #f25400 100%);
  color: #1a0900;
  box-shadow: 0 12px 34px -12px rgba(255, 106, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px rgba(255, 106, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.88rem;
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: clamp(112px, 15vw, 168px) 0 clamp(56px, 7vw, 92px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -260px;
  right: -160px;
  width: min(920px, 84vw);
  height: min(920px, 84vw);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 106, 0, 0.26),
    rgba(255, 45, 61, 0.1) 42%,
    transparent 66%
  );
  filter: blur(24px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 108px,
    rgba(255, 106, 0, 0.055) 108px 110px
  );
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.07);
  color: #ffc49b;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 45, 61, 0.16);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.9rem, 6.4vw, 4.9rem);
  letter-spacing: -0.045em;
}

.grad {
  background: linear-gradient(96deg, #ffb066 0%, var(--orange) 46%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 33ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.62;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.fineprint {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.83rem;
}

.fineprint strong {
  color: var(--muted);
  font-weight: 600;
}

/* hero visual */

.hero-visual {
  position: relative;
  margin-right: -8%;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 4% 2%;
  border-radius: 40%;
  background: radial-gradient(
    ellipse at 60% 60%,
    rgba(255, 84, 0, 0.35),
    transparent 70%
  );
  filter: blur(60px);
  opacity: 0.75;
  pointer-events: none;
}

.tv {
  position: relative;
  padding: 9px;
  border: 1px solid #34383f;
  border-radius: 20px;
  background: linear-gradient(180deg, #2c3037 0%, #15171b 42%, #0a0b0d 100%);
  box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg);
  transform-origin: 60% 50%;
}

.tv-screen {
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tv img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.float-shot {
  position: absolute;
  left: -11%;
  bottom: -12%;
  width: 47%;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 138, 43, 0.55);
  border-radius: 13px;
  background: #111318;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.92),
    0 0 40px -12px rgba(255, 106, 0, 0.55);
  transform: rotate(-2.5deg);
}

.float-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.float-shot figcaption {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 8px 4px;
  color: #d7d9dd;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 45, 61, 0.18);
  flex: none;
}

.float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(16, 18, 22, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-epg {
  top: 8%;
  right: -5%;
  color: #9fe4bb;
  border-color: rgba(46, 160, 92, 0.35);
  background: rgba(12, 32, 21, 0.86);
}

.pill-live {
  bottom: 6%;
  right: -3%;
  color: #ffd2cf;
  border-color: rgba(255, 45, 61, 0.4);
  background: rgba(42, 8, 10, 0.86);
}

/* ------------------------------------------------------------------- stats */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent);
}

.stats dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  padding: 34px 0;
}

.stats dl > div {
  padding: 2px 18px;
  border-left: 1px solid var(--line);
}

.stats dl > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.stats dd {
  margin: 0;
  font-size: clamp(1.55rem, 2.9vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}

.stats dd em {
  color: var(--orange);
  font-style: normal;
}

.stats dt {
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: clamp(60px, 7.5vw, 96px) 0;
}

.section-head {
  max-width: 700px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.03rem;
}

/* --------------------------------------------------------------- features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 4.5vw, 52px);
}

.feature {
  position: relative;
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, #14161b 0%, #0c0d10 100%);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.25s ease, background 0.25s ease;
}

.feature::after {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.42);
  background: linear-gradient(165deg, #191b20 0%, #0d0e11 100%);
}

.feature:hover::after {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 106, 0, 0.2), rgba(255, 45, 61, 0.08));
  color: var(--orange-2);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.feature .tag {
  display: inline-block;
  margin-top: 15px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5.5vw, 72px);
  margin-top: clamp(64px, 8vw, 104px);
}

.split.rev .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.split-media .tv {
  transform: none;
}

.split-media .tv img {
  aspect-ratio: 16 / 9;
}

.split-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
}

.split-copy > p {
  margin-top: 14px;
  color: var(--muted);
}

.checks {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 28px;
  color: #cdd0d6;
  font-size: 0.92rem;
  line-height: 1.5;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.4);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--orange-2);
  border-bottom: 2px solid var(--orange-2);
  transform: rotate(-45deg);
}

.note-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.78rem;
}

/* ------------------------------------------------------------------ shots */

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(34px, 4vw, 48px);
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
}

.shot-frame {
  position: relative;
  display: block;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(180deg, #1b1e23, #0d0e11);
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.shot-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 9px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.shot:hover .shot-frame {
  border-color: rgba(255, 106, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 26px 60px -28px rgba(255, 106, 0, 0.45);
}

.shot:hover .shot-frame img {
  transform: scale(1.012);
}

.shot-frame::after {
  content: "⤢";
  position: absolute;
  right: 15px;
  bottom: 15px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.shot:hover .shot-frame::after {
  opacity: 1;
  transform: none;
}

.shot figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 4px 0;
}

.shot strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.shot span {
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* ---------------------------------------------------------------- process */

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 4vw, 50px);
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  overflow: hidden;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 30px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.step::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 58px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.step h3 {
  font-size: 1.14rem;
}

.step p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------------- install */

.install {
  position: relative;
  isolation: isolate;
}

.install::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 20%;
  width: min(1000px, 90vw);
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 106, 0, 0.13), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.install-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 106, 0, 0.24);
  border-radius: 24px;
  background: linear-gradient(150deg, #17130f 0%, #0e0f12 48%, #0b0c0e 100%);
  box-shadow: 0 40px 90px -50px rgba(255, 106, 0, 0.5);
}

.install-panel h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.install-panel .lead {
  max-width: 46ch;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.96rem;
}

.install-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.install-meta strong {
  display: block;
  margin-bottom: 2px;
  color: #e6e8eb;
  font-size: 0.9rem;
  font-weight: 700;
}

.hash {
  margin-top: 18px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.6;
  word-break: break-all;
}

.hash span {
  color: #8d9198;
}

.qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f7f8;
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
}

.qr img {
  width: 172px;
  height: 172px;
  flex: none;
}

.qr figcaption {
  max-width: 180px;
  color: #54575d;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

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

.platform {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.platform-head svg {
  width: 20px;
  height: 20px;
  color: var(--orange-2);
  flex: none;
}

.platform-head h3 {
  font-size: 1rem;
}

.platform-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
}

.platform ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pstep;
}

.platform li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  counter-increment: pstep;
}

.platform li::before {
  content: counter(pstep);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.12);
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
}

.platform code,
.faq code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffc9a3;
  font-family: var(--mono);
  font-size: 0.76rem;
  word-break: break-word;
}

.platform-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* ------------------------------------------------------------------ specs */

.specs-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.specs {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.specs div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}

.specs dt {
  color: var(--muted-2);
}

.specs dd {
  margin: 0;
  color: #dcdee2;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 1px;
}

.badge-live {
  background: rgba(46, 160, 92, 0.16);
  color: #86e0a8;
  box-shadow: inset 0 0 0 1px rgba(46, 160, 92, 0.32);
}

.faq {
  display: grid;
  gap: 8px;
  margin-top: clamp(34px, 4vw, 44px);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq details[open] {
  border-color: rgba(255, 106, 0, 0.28);
  background: #121317;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  color: #e7e9ec;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  color: var(--orange-2);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease;
}

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

.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.faq details p + p {
  padding-top: 0;
  margin-top: -8px;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #09090b, #050506);
  padding: clamp(48px, 6vw, 72px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.85rem;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: #dfe1e5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.87rem;
  transition: color 0.16s ease;
}

.footer-col a:hover {
  color: var(--orange-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.74rem;
}

.footer-bottom .legal {
  max-width: 72ch;
  line-height: 1.6;
}

/* ----------------------------------------------------------------- dialog */

.lightbox {
  width: min(1100px, 94vw);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(2, 2, 3, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox-shell {
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #0d0e11;
  box-shadow: 0 50px 120px -30px #000;
}

.lightbox img {
  width: 100%;
  border-radius: 9px;
  background: #000;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 6px 2px;
}

.lightbox-bar p {
  color: var(--muted);
  font-size: 0.82rem;
}

.lightbox-bar p strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
}

.lightbox-nav {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.icon-btn:hover {
  background: rgba(255, 106, 0, 0.16);
  border-color: rgba(255, 106, 0, 0.5);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------ page (legal) */

.page-hero {
  padding: clamp(120px, 15vw, 176px) 0 28px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
}

.page-hero p {
  margin-top: 12px;
  color: var(--muted);
}

.prose {
  max-width: 760px;
  padding-bottom: clamp(64px, 8vw, 100px);
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.94rem;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.prose a {
  color: var(--orange-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .meta {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 78vh;
  padding: 120px 0 60px;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(4rem, 14vw, 8rem);
  color: var(--orange);
  letter-spacing: -0.06em;
}

.not-found p {
  margin: 8px 0 26px;
  color: var(--muted);
}

/* -------------------------------------------------------------- animations */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

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

  .hero-visual {
    width: min(760px, 100%);
    margin: 0 auto 18px;
  }

  .hero-visual .tv {
    transform: none;
  }

  .float-shot {
    left: 0;
    width: 40%;
  }

  .pill-epg,
  .pill-live {
    right: 0;
  }  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.rev {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .split.rev .split-media {
    order: 0;
  }

  .split-copy {
    max-width: 640px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .specs-faq {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #0b0c0e;
    box-shadow: 0 24px 60px -20px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .site-header.open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 13px 14px;
    font-size: 0.98rem;
  }

  .nav a[aria-current="true"]::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-inner {
    gap: 14px;
  }

  .stats dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
    padding: 28px 0;
  }

  .stats dl > div {
    padding-left: 16px;
  }

  .stats dl > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .shots {
    grid-template-columns: minmax(0, 1fr);
  }

  .process,
  .platforms {
    grid-template-columns: minmax(0, 1fr);
  }

  .install-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .qr {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: start;
    padding: 14px 18px;
  }

  .qr img {
    width: 112px;
    height: 112px;
    min-width: 112px;
  }

  .qr figcaption {
    max-width: 190px;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .header-actions .btn {
    display: inline-flex;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .header-actions .btn svg {
    display: none;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    letter-spacing: -0.04em;
  }

  .cta-row .btn {
    width: 100%;
  }

  .float-shot {
    left: 0;
    bottom: -9%;
    width: 52%;
  }

  .pill-epg {
    right: 0;
    top: 2%;
  }

  .pill-live {
    right: 0;
    bottom: 2%;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .specs div {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .lightbox-bar {
    flex-wrap: wrap;
  }
}

@media (hover: none) {
  .shot-frame::after {
    display: none;
  }

  .feature:hover,
  .shot:hover .shot-frame,
  .btn:hover {
    transform: none;
  }
}
