:root {
  color-scheme: dark;
  --page: #05080d;
  --page-soft: #0a1018;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.095);
  --text: #f7f9fc;
  --muted: #aeb9c8;
  --soft: #778394;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --cyan: #55d9ff;
  --blue: #4f7cff;
  --coral: #ff7f68;
  --gold: #ffd16e;
  --mint: #8cf1bd;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -5%, rgba(66, 198, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 92% 10%, rgba(255, 112, 91, 0.14), transparent 31rem),
    linear-gradient(165deg, var(--page-soft), var(--page) 48%);
  font-size: 16px;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand img {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  box-shadow: 0 14px 35px rgba(76, 196, 255, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px 24px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover { color: var(--text); }

.site-nav .nav-cta {
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #041018;
  background: linear-gradient(125deg, var(--cyan), var(--mint));
  font-weight: 820;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 6vw, 78px);
  padding: 52px 0 26px;
}

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

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.2vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.068em;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 780;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.42); }
.button[hidden] { display: none; }
.button-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.button.primary {
  border-color: transparent;
  color: #041018;
  background: linear-gradient(125deg, var(--cyan), var(--mint));
}

.visual-stack { position: relative; padding: 8px 0 14px; }
.visual-stack::before {
  content: "";
  position: absolute;
  inset: 4% 3% 0;
  border-radius: 44px;
  background: linear-gradient(125deg, rgba(75, 208, 255, 0.22), rgba(255, 127, 104, 0.15));
  filter: blur(44px);
}

.tv-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  background: linear-gradient(150deg, #aab6c2, #39434d 8%, #161b20 70%, #64717e);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
}

.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px solid #020304;
  border-radius: 18px;
  background: #000;
}
.tv-screen img { width: 100%; height: 100%; object-fit: cover; }
.screen-label {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(3, 7, 11, 0.76);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 750;
  backdrop-filter: blur(14px);
}
.tv-stand { display: flex; justify-content: center; gap: 33%; height: 22px; }
.tv-stand::before, .tv-stand::after {
  content: "";
  width: 42px;
  height: 18px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #252c33, #8c98a3, #2f3740);
  transform: skewX(-16deg);
}
.tv-stand::after { transform: skewX(16deg); }

.requirement-bar {
  margin: 18px 0 0;
  padding: 25px 28px;
  border: 1px solid rgba(85, 217, 255, 0.36);
  border-radius: 20px;
  background: rgba(85, 217, 255, 0.1);
}
.requirement-title {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 830;
  text-decoration: underline;
  text-decoration-color: rgba(85, 217, 255, 0.55);
  text-underline-offset: 4px;
}
.requirement-title:hover { color: var(--text); text-decoration-color: currentColor; }
.requirement-bar strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: clamp(21px, 2.5vw, 29px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.requirement-bar p { margin: 0; color: var(--muted); font-size: 15px; }
.requirement-bar .requirement-secondary { margin-top: 5px; color: var(--soft); font-size: 14px; }
.text-link {
  color: var(--cyan);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(85, 217, 255, 0.48);
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--text); text-decoration-color: currentColor; }

.section { padding: 112px 0 0; }
.home-page .section { padding-top: 64px; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}
.section-lead { margin-bottom: 0; color: var(--muted); font-size: 18px; }

.source-cloud {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0 22px;
}
.source-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 13px 2px;
  border-top: 1px solid var(--line);
  font-weight: 760;
}
.source-dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 18px currentColor; }
.source-chip:nth-child(1) .source-dot { color: #f5f7fa; background: currentColor; }
.source-chip:nth-child(2) .source-dot { color: #42a5ff; background: currentColor; }
.source-chip:nth-child(3) .source-dot { color: #ff6a43; background: currentColor; }
.source-chip:nth-child(4) .source-dot { color: #8c78ff; background: currentColor; }
.source-chip:nth-child(5) .source-dot { color: #4ec5f1; background: currentColor; }
.source-chip:nth-child(6) .source-dot { color: #ef4e72; background: currentColor; }

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
  margin-top: 52px;
}
.home-page .story { margin-top: 34px; }
.story.reverse { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.story.reverse .story-media { order: -1; }
.story-copy h3 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.07; letter-spacing: -0.04em; }
.story-copy p { color: var(--muted); font-size: 17px; }
.story-points { margin: 20px 0 0; padding: 0; list-style: none; }
.story-points li { display: flex; gap: 10px; margin: 10px 0; color: var(--muted); }
.story-points li::before { content: "•"; color: var(--cyan); font-weight: 900; }
.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #000;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.38);
}
.screenshot-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 86px);
  margin-top: 84px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-page .feature-pair { margin-top: 48px; padding: 24px 0; }
.feature-essay h3 {
  margin-bottom: 12px;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.feature-essay p { color: var(--muted); }
.feature-essay p:last-child { margin-bottom: 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  counter-reset: setup-step;
}
.step-card {
  position: relative;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  counter-increment: setup-step;
}
.step-card::before {
  content: counter(setup-step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 900;
}
.step-card h3 { margin-bottom: 8px; font-size: 21px; }
.step-card p { margin-bottom: 0; color: var(--muted); }

.privacy-panel, .explore-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 34px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(85, 217, 255, 0.09), rgba(255, 127, 104, 0.06)),
    rgba(255, 255, 255, 0.035);
}
.privacy-panel h2, .explore-panel h2 { font-size: clamp(32px, 4.5vw, 50px); }
.privacy-panel p, .explore-panel p { color: var(--muted); }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { margin: 11px 0; color: var(--muted); }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--mint); font-weight: 900; }

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 110px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}
.home-page .site-footer { margin-top: 58px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Host download page */
.host-hero { max-width: 870px; padding: 78px 0 42px; }
.host-hero h1 { max-width: 820px; }
.required-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.05em;
}
.required-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.connection-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  margin: 28px 0 68px;
}
.flow-device {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 17px 4px 4px;
  border-top: 2px solid var(--line-strong);
}
.flow-step {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.flow-icon {
  width: 52px;
  height: 52px;
  margin: 14px 0 12px;
  color: var(--cyan);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-device strong { display: block; margin: 0 0 5px; font-size: 19px; letter-spacing: -0.02em; }
.flow-device p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.42; }
.flow-arrow { align-self: center; color: var(--soft); font-size: 30px; }

.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.download-card {
  display: flex;
  flex-direction: column;
  min-height: 326px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(145deg, var(--surface-strong), rgba(255, 255, 255, 0.03));
}
.platform-tag { color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.download-card h2 { margin: 28px 0 8px; font-size: 34px; }
.download-detail, .download-status { color: var(--muted); }
.download-status { min-height: 52px; }
.download-meta { margin: 0 0 22px; color: var(--soft); font-size: 13px; }
.download-card .button { align-self: flex-start; margin-top: auto; }
.release-state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}
.release-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.release-state.available::before { background: var(--mint); }

.host-screens {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 28px;
}
.device-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
}
.device-shot.mac { aspect-ratio: 16 / 10; }
.device-shot.phone { width: min(420px, 100%); aspect-ratio: 0.56 / 1; max-height: 750px; justify-self: center; }
.device-shot img { width: 100%; height: 100%; object-fit: cover; }
.device-shot.mac img { object-position: center 67%; transform: scale(1.32); }
.device-shot figcaption { padding: 12px 15px; color: var(--muted); font-size: 13px; }

.install-list { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: install-step; }
.install-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  counter-increment: install-step;
}
.install-list li::before {
  content: counter(install-step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--mint);
  font-weight: 900;
}
.install-list strong { color: var(--text); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-copy { max-width: 780px; }
  .visual-stack { width: min(760px, 100%); margin: 0 auto; }
  .source-cloud { grid-template-columns: repeat(3, 1fr); }
  .story, .story.reverse { grid-template-columns: 1fr; }
  .story.reverse .story-media { order: initial; }
}

@media (max-width: 720px) {
  .site-shell { width: min(100% - 28px, 1180px); }
  .site-header { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .site-nav { justify-content: flex-start; gap: 8px 17px; }
  .hero, .host-hero { padding-top: 46px; }
  h1 { font-size: clamp(45px, 14vw, 66px); }
  .section { padding-top: 82px; }
  .home-page .section { padding-top: 48px; }
  .source-cloud, .steps-grid, .download-grid { grid-template-columns: 1fr 1fr; }
  .feature-pair { grid-template-columns: 1fr; }
  .privacy-panel, .explore-panel { grid-template-columns: 1fr; }
  .connection-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .host-screens { grid-template-columns: 1fr; }
  .device-shot.phone { width: min(360px, 100%); }
  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 7px;
  }
  .site-nav a { font-size: 11.5px; }
  .site-nav .nav-cta { padding: 6px 9px; }
  .source-cloud, .steps-grid, .download-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .tv-frame { padding: 7px; border-radius: 20px; }
  .tv-screen { border-radius: 13px; }
}

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