:root {
  color-scheme: dark;
  --ink: #eef6ff;
  --muted: #9db0c5;
  --blue: #43a5ff;
  --cyan: #63eadf;
  --gold: #f0bf6a;
  --rose: #ff7d8e;
  --line: rgba(155, 190, 220, .18);
  --panel: rgba(9, 24, 42, .78);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #050c15;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 8%, rgba(31, 124, 184, .26), transparent 32%),
    radial-gradient(circle at 12% 48%, rgba(84, 159, 128, .16), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(240, 191, 106, .12), transparent 27%),
    linear-gradient(150deg, #06101c, #050a11 64%);
}
a { color: inherit; text-decoration: none; }
.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
}
nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
nav a:hover, nav a:focus-visible { color: var(--ink); }
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 62px;
  padding: 82px 0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 750;
}
.platform-badge {
  width: max-content;
  margin: 0 0 28px;
  padding: 7px 11px;
  border: 1px solid rgba(99, 234, 223, .3);
  border-radius: 999px;
  color: #b9fff8;
  background: rgba(66, 199, 190, .08);
  font-size: 12px;
  font-weight: 700;
}
.platform-badge span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cyan);
  vertical-align: 1px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: .94;
  letter-spacing: -.055em;
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.045em;
}
h3 { margin-bottom: 7px; font-size: 21px; line-height: 1.15; }
.lede { max-width: 620px; color: #c4d3e2; font-size: 20px; line-height: 1.55; }
.body-copy { color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 31px 0 17px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 750;
  font-size: 14px;
}
.button-primary {
  color: #03101a;
  background: linear-gradient(120deg, var(--cyan), #7abaff);
  box-shadow: 0 12px 35px rgba(54, 180, 210, .2);
}
.button-secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.quiet { color: #7890a7; font-size: 13px; }
.hero-visual { perspective: 1200px; }
.device-stack { position: relative; min-height: 560px; }
.phone-frame {
  position: absolute;
  right: 28px;
  top: 8px;
  width: min(360px, 72vw);
  min-height: 520px;
  padding: 46px 22px 28px;
  border: 1px solid rgba(172, 210, 240, .28);
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(15, 37, 60, .96), rgba(3, 11, 21, .96));
  box-shadow: 0 42px 105px rgba(0, 0, 0, .52), 0 0 80px rgba(42, 154, 211, .12);
  transform: rotateY(-8deg) rotateX(3deg);
}
.phone-top {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 92px;
  height: 22px;
  border-radius: 999px;
  background: #02070d;
  transform: translateX(-50%);
}
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 21%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .34);
}
.mac-panel {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: min(430px, 82vw);
  overflow: hidden;
  border: 1px solid rgba(172, 210, 240, .24);
  border-radius: 18px;
  background: rgba(8, 19, 33, .94);
  box-shadow: 0 32px 85px rgba(0, 0, 0, .42);
  transform: rotateY(6deg) rotateX(1deg);
}
.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: #7f93a6;
  font-size: 11px;
}
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4d5d6c; }
.window-bar i:first-child { background: #ff6b64; }
.window-bar i:nth-child(2) { background: #f8c34b; }
.window-bar i:nth-child(3) { background: #45cb62; }
.window-bar span { margin-left: auto; margin-right: auto; }
.mac-content { padding: 28px; background: linear-gradient(145deg, rgba(19, 60, 83, .45), rgba(4, 14, 26, .3)); }
.mac-content strong { display: block; margin-bottom: 5px; font-size: 28px; letter-spacing: -.03em; }
.mac-content span { color: var(--muted); }
.mac-lines { display: grid; gap: 10px; margin-top: 24px; }
.mac-lines b { height: 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.mac-lines b:nth-child(2) { width: 72%; background: rgba(99, 234, 223, .18); }
.mac-lines b:nth-child(3) { width: 48%; background: rgba(240, 191, 106, .16); }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  color: #aebfd0;
  text-align: center;
  font-size: 13px;
}
.trust-strip span { padding: 20px; border-right: 1px solid var(--line); }
.trust-strip span:last-child { border: 0; }
.section { padding: 118px 0; border-bottom: 1px solid var(--line); }
.featured {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 70px;
  align-items: center;
}
.feature-card {
  min-height: 430px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  border: 1px solid rgba(99, 234, 223, .28);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(35, 117, 131, .2), rgba(8, 22, 38, .82));
  box-shadow: 0 25px 70px rgba(0, 0, 0, .22);
}
.feature-icon { width: 96px; height: 96px; margin-bottom: 38px; border-radius: 22px; }
.feature-icon-tv { object-fit: contain; background: #07111f; }
.feature-card > div > span { display: block; margin-bottom: 12px; color: var(--cyan); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.feature-card strong { font-size: 32px; line-height: 1.08; letter-spacing: -.035em; }
.feature-card strong span { display: block; }
.feature-shot {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .34);
}
.feature-shot-tv {
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  align-self: center;
  width: 100%;
}
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.app-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.app-card img { width: 68px; height: 68px; border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.app-card p { color: var(--muted); margin-bottom: 0; }
.app-card span { margin-top: auto; color: #8da3b8; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.app-card a { width: max-content; color: var(--cyan); font-weight: 750; }
.card-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.price-note { margin: 26px 0 0; color: #7890a7; font-size: 13px; }
.legal-page { max-width: 980px; padding: 88px 0 120px; }
.legal-page h1 { font-size: clamp(46px, 7vw, 78px); }
.legal-card {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.legal-card h2 { font-size: 30px; margin-bottom: 12px; }
.legal-card p, .legal-card li, .legal-card td { color: var(--muted); }
.legal-card a { color: var(--cyan); font-weight: 750; }
.legal-card ul { margin: 0; padding-left: 20px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.app-detail-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0;
}
.app-detail-icon { width: 118px; height: 118px; border-radius: 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, .32); }
.app-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.app-meta span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #c7d8e8; font-size: 12px; font-weight: 750; }
.app-panel { padding: 34px; border: 1px solid rgba(99, 234, 223, .28); border-radius: 20px; background: linear-gradient(145deg, rgba(35, 117, 131, .2), rgba(8, 22, 38, .82)); }
.app-panel h2 { font-size: 30px; line-height: 1.1; margin-bottom: 14px; }
.app-panel h3 { margin-top: 26px; color: var(--ink); }
.app-panel p { color: var(--muted); }
.app-panel ul { margin: 0; padding-left: 20px; color: var(--muted); }
.app-panel li { margin: 10px 0; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.detail-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}
.detail-grid h3 { margin: 0 0 8px; }
.detail-grid p { margin: 0; color: var(--muted); }
.app-detail-hero .lede strong { color: var(--ink); }
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  align-items: start;
}
.screenshot-gallery img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: top;
  justify-self: center;
  border: 1px solid rgba(172, 210, 240, .18);
  border-radius: 18px;
  background: rgba(8, 19, 33, .86);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.screenshot-gallery img:first-child { grid-row: auto; }
.screenshot-gallery.compact img { max-height: 520px; }
.app-screen { width: min(260px, 100%); border-radius: 28px; box-shadow: 0 25px 70px rgba(0,0,0,.34); }
.tv-screen { width: 100%; border-radius: 16px; box-shadow: 0 25px 70px rgba(0,0,0,.34); }
.split { display: grid; grid-template-columns: .8fr 1fr; gap: 80px; align-items: center; }
.principle-list { display: grid; gap: 14px; }
.principle-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}
.principle-list span { grid-row: span 2; color: var(--cyan); font: 750 13px/1 monospace; }
.principle-list strong { font-size: 20px; }
.principle-list p { margin: 4px 0 0; color: var(--muted); }
.retrieve {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}
.retrieve img { width: 86px; height: 86px; border-radius: 20px; }
.retrieve h2 { font-size: 42px; margin-bottom: 10px; }
.retrieve p { margin-bottom: 0; }
footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 50px 0 65px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
footer strong { color: var(--ink); }
footer p { margin: 3px 0; }
footer > p { grid-column: 1 / -1; }

@media (max-width: 940px) {
  .site-header nav { display: none; }
  .hero, .featured, .split, .app-detail-hero { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 42px; }
  .device-stack { min-height: 610px; }
  .apps-grid, .detail-grid, .screenshot-gallery { grid-template-columns: repeat(2, 1fr); }
  .screenshot-gallery img:first-child { grid-row: auto; }
  .retrieve { grid-template-columns: auto 1fr; }
  .retrieve .button { grid-column: 1 / -1; width: max-content; }
}

@media (max-width: 640px) {
  .site-header, main, footer { width: min(100% - 26px, 1180px); }
  h1 { font-size: 46px; }
  h2 { font-size: 38px; }
  .platform-badge { width: auto; }
  .device-stack { min-height: 560px; }
  .phone-frame { right: 0; width: 100%; min-height: 450px; padding-inline: 18px; }
  .mac-panel { display: none; }
  .app-grid { gap: 12px; }
  .trust-strip, .apps-grid, .detail-grid, .screenshot-gallery { grid-template-columns: 1fr; }
  .screenshot-gallery img { max-height: none; }
  .trust-strip span { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 85px 0; }
  .featured { gap: 35px; }
  .feature-card { min-height: 300px; grid-template-columns: 1fr; }
  .feature-shot { max-height: 420px; object-fit: contain; background: rgba(255, 255, 255, .04); }
  .feature-shot-tv { max-height: none; }
  .retrieve, footer { grid-template-columns: 1fr; }
  .legal-card { padding: 22px; }
  .app-detail-hero { padding: 62px 0; gap: 34px; }
  footer nav { flex-wrap: wrap; gap: 16px; }
}

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