/* Remotely TV site. Colors come from the app icon: slate body, violet D-pad. */
:root {
  --ink: #111827;
  --ink-soft: #4b5563;
  --violet: #5b3fd9;
  --violet-bright: #7b61ff;
  --paper: #ffffff;
  --mist: #f4f3f8;
  --line: #e2e0ea;
  --slate: #1f2937;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f3f4f6;
    --ink-soft: #a7adb9;
    --violet: #a594ff;
    --paper: #1a2130;
    --mist: #111827;
    --line: #2c3546;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 18px/1.6 var(--body);
}

a { color: var(--violet); text-underline-offset: 0.18em; }
a:focus-visible { outline: 3px solid var(--violet-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 40rem; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.top nav { display: flex; gap: 20px; }
header.top nav a { color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
header.top nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 40px 0 56px; }
h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; }
h1 em { font-style: normal; color: var(--violet); }
.lede { font-size: 20px; color: var(--ink-soft); margin: 0 0 24px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.pills li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 15px; font-weight: 600; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; background: var(--slate); color: #fff; border-radius: 12px; padding: 10px 18px; text-decoration: none; min-width: 170px; }
.store small { font-size: 12px; opacity: 0.75; }
.store strong { font-size: 18px; }
.note { font-size: 15px; color: var(--ink-soft); margin-top: 12px; }

/* Phone illustration, drawn in CSS so it stays sharp and themes cleanly. */
.phone { justify-self: center; width: 240px; aspect-ratio: 9 / 18.5; background: var(--slate); border-radius: 40px; padding: 14px; box-shadow: 0 30px 60px rgba(17, 24, 39, 0.25); }
.screen { height: 100%; background: #0f1522; border-radius: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 26px 18px; color: #e5e7eb; }
.screen .tv { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.screen .tv::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.dpad { position: relative; width: 150px; height: 150px; border-radius: 50%; background: #1f2937; }
.dpad::after { content: "OK"; position: absolute; inset: 45px; border-radius: 50%; background: var(--violet-bright); display: grid; place-items: center; font-weight: 700; font-size: 15px; box-shadow: 0 6px 14px rgba(123, 97, 255, 0.45); }
.keys { display: grid; grid-template-columns: repeat(3, 40px); gap: 12px; }
.keys span { height: 40px; border-radius: 12px; background: #1f2937; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.tiles span { height: 30px; border-radius: 8px; }

h2.section { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 24px; }
h3 { font-size: 20px; margin: 28px 0 6px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 0; margin: 0 0 64px; list-style: none; }
.features li { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.features h3 { margin: 0 0 6px; font-size: 18px; }
.features p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.band { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; margin-bottom: 64px; }
.band p { color: var(--ink-soft); }

details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p, details ul { color: var(--ink-soft); margin: 10px 0 0; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--ink-soft); font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 8px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .phone { width: 210px; }
  .band { padding: 22px; }
  header.top nav .optional { display: none; }
}
