/* VireoView – website. Same look as the TV app: night, mist, one accent (SEW blue). Angular, no glow. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/SpaceGrotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #0D0E12;
  --surface: #15171D;
  --surface-2: #1C1F27;
  --line: #23262E;
  --line-2: #3A3D45;
  --text: #F1EEE7;
  --muted: #B9B5AC;
  --dim: #8A8780;
  --accent: #0057B8;
  --accent-text: #5B9BE6; /* the accent as text on night: readable contrast */
  --err: #FF7A7F;
  --font: 'Space Grotesk', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand svg { height: 30px; width: auto; display: block; }

/* ---------- Header ---------- */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.top nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.top nav > a { text-decoration: none; color: var(--muted); }
.top nav > a:hover { color: var(--text); }
.top nav .lang { color: var(--text); border: 1px solid var(--line-2); padding: 4px 10px; font-weight: 500; }
@media (max-width: 719px) { .top nav > a { display: none; } }

/* ---------- Common ---------- */
section { padding: 72px 0; }
@media (min-width: 960px) { section { padding: 104px 0; } }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -1.5px; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -1px; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.3px; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head .lead { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero .wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero .lead { margin-bottom: 32px; }

/* ---------- Waiting list form ---------- */
.signup { max-width: 520px; }
.signup .row { display: flex; gap: 8px; }
.signup input[type=email] {
  flex: 1; min-width: 0; height: 54px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 2px solid var(--line-2); border-radius: 0; outline: none;
}
.signup input[type=email]:focus { border-color: var(--text); }
.btn {
  height: 54px; padding: 0 22px; font: inherit; font-size: 16px; font-weight: 700;
  color: var(--text); background: var(--accent); border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: #0066D6; }
.btn:disabled { opacity: .6; cursor: default; }
.signup .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.signup .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .msg { min-height: 22px; margin-top: 10px; font-size: 15px; }
.signup .msg.err { color: var(--err); }
.signup .done { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line-2); }
.signup .done svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--text); stroke-width: 3; background: var(--accent); padding: 5px; }
.signup [hidden] { display: none !important; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--muted); list-style: none; }
.perks li::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
@media (max-width: 479px) { .signup .row { flex-direction: column; } .btn { width: 100%; } }

/* ---------- TV mock-up (drawn, no screenshot) ---------- */
.tv { position: relative; }
.tv-screen {
  aspect-ratio: 16 / 9; background: var(--bg); border: 10px solid #050608; outline: 1px solid var(--line-2);
  padding: 5% 6%; display: flex; flex-direction: column; container-type: inline-size;
}
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: #050608; border: 1px solid var(--line-2); border-top: 0; }
.tv-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5cqw; }
.tv-bar .brand { font-size: 3.4cqw; gap: 1.2cqw; }
.tv-bar .brand svg { width: 3.6cqw; height: 3.6cqw; }
.tv-icons { display: flex; gap: 1.6cqw; }
.tv-icons span { width: 3.4cqw; height: 3.4cqw; border: 1px solid var(--line-2); }
.tv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2cqw; }
.tv-tile { aspect-ratio: 1 / .66; background: var(--surface); border: .35cqw solid transparent; padding: 2.2cqw; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.tv-tile.focus { border-color: var(--text); background: var(--surface-2); transform: scale(1.04); }
.tv-tile b { font-size: 3cqw; letter-spacing: -.2px; }
.tv-tile small { font-size: 1.8cqw; color: var(--muted); }
.tv-tile .live { position: absolute; top: 2cqw; left: 2.2cqw; font-size: 1.5cqw; font-weight: 700; letter-spacing: .2cqw; }
.tv-tile .live::before { content: ''; display: inline-block; width: 1.2cqw; height: 1.2cqw; background: var(--accent); margin-right: .8cqw; }
.tv-row { margin-top: auto; }
.tv-row p { font-size: 1.8cqw; color: var(--muted); margin-bottom: 1.2cqw; }
.tv-row div { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4cqw; }
.tv-row span { aspect-ratio: 16 / 9; background: var(--surface); border-bottom: .5cqw solid var(--line-2); }
.tv-row span:nth-child(1) { border-bottom-color: var(--accent); }
.tv-row span:nth-child(2) { border-bottom-color: var(--accent); }

/* ---------- Steps ---------- */
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; gap: 16px; list-style: none; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--bg); border: 1px solid var(--line); padding: 28px; counter-increment: step; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--accent); font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.steps p { color: var(--muted); margin-top: 8px; }
.compare { margin-top: 32px; color: var(--dim); font-size: 15px; max-width: 46em; }

/* ---------- Features ---------- */
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--bg); padding: 32px 28px; }
.feature svg { width: 36px; height: 36px; fill: none; stroke: var(--text); stroke-width: 2; margin-bottom: 22px; }
.feature svg .fill { fill: var(--accent); stroke: none; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* ---------- "What VireoView isn't" ---------- */
.notice { display: grid; gap: 24px; padding: 36px 32px; border: 1px solid var(--line-2); border-left: 6px solid var(--accent); background: var(--surface); }
@media (min-width: 860px) { .notice { grid-template-columns: 1fr 1.3fr; gap: 48px; padding: 48px; } }
.notice ul { list-style: none; display: grid; gap: 12px; }
.notice li { padding-left: 26px; position: relative; color: var(--muted); }
.notice li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--text); }
.notice li strong { color: var(--text); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--accent-text); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 42em; }

/* ---------- Final call ---------- */
.final { text-align: left; }
.final .wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .final .wrap { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
.legal { flex-basis: 100%; font-size: 13px; color: var(--dim); max-width: 60em; }

/* ---------- Privacy page ---------- */
.doc { max-width: 760px; padding: 56px 0 88px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc .updated { color: var(--dim); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 22px; letter-spacing: -.3px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; }
.doc strong { color: var(--text); font-weight: 500; }
.doc a { color: var(--accent-text); }

/* ---------- Real screenshots (TV + iPhone) ---------- */
.shots { position: relative; padding-right: 18%; }
/* Device mockups in plain CSS: a thin-bezel TV on a stand and a phone with a camera island. */
.frame-tv { position: relative; border: 7px solid #07080a; border-bottom-width: 9px; border-radius: 6px; background: #000;
  box-shadow: 0 0 0 1px #2c2f37, 0 30px 60px -20px rgba(0,0,0,.7); }
.frame-tv::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0, rgba(255,255,255,0) 38%); }
.frame-tv img { display: block; }
.stand { position: relative; margin-bottom: 22px; }
.stand::after { content: ""; position: absolute; left: 50%; bottom: -22px; width: 34%; height: 14px; margin-left: -17%;
  background: linear-gradient(#3a3e48, #1a1c21); border-radius: 0 0 8px 8px; box-shadow: 0 10px 18px -6px rgba(0,0,0,.8); }
.stand::before { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6%; height: 10px; margin-left: -3%; background: #2a2d34; }
.frame-tv img, .frame-phone img { width: 100%; height: auto; }
.frame-phone { position: relative; border: 7px solid #0b0c0f; border-radius: 30px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 2px #3a3e48, 0 0 0 3px #15171c, 0 24px 50px -16px rgba(0,0,0,.75); }
.frame-phone::before { content: ""; position: absolute; top: 2.2%; left: 50%; width: 30%; height: 3.4%; margin-left: -15%;
  background: #000; border-radius: 99px; z-index: 1; }
.frame-phone img { display: block; }
.shots .frame-phone { position: absolute; right: 0; bottom: -28px; width: 27%; }
.shot-note { font-size: 13px; color: var(--dim); margin-top: 44px; }

/* ---------- Status of each platform ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; list-style: none; }
.badges li { font-size: 13px; font-weight: 500; padding: 5px 10px; border: 1px solid var(--line-2); color: var(--muted); }
.badges li b { color: var(--text); font-weight: 700; }
.badges li.soon { border-color: var(--accent); }

/* ---------- Why VireoView ---------- */
.usp { display: grid; gap: 16px; }
@media (min-width: 720px) { .usp { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .usp { grid-template-columns: repeat(3, 1fr); } }
.usp div { background: var(--bg); border: 1px solid var(--line); padding: 28px; }
.usp b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.8px; color: var(--accent-text); margin-bottom: 10px; }
.usp p { color: var(--muted); font-size: 16px; }
.usp h3 { margin-bottom: 6px; }

/* ---------- Spotlight: continue on another device ---------- */
.spot { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .spot { grid-template-columns: 1fr 1fr; gap: 64px; } }
.spot ol { list-style: none; counter-reset: s; display: grid; gap: 14px; margin: 28px 0; }
.spot ol li { counter-increment: s; padding-left: 44px; position: relative; color: var(--muted); }
.spot ol li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--text); font-weight: 700; font-size: 15px; }
.spot ol li strong { color: var(--text); font-weight: 500; }
.spot .small { font-size: 14px; color: var(--dim); }
.pair { display: grid; grid-template-columns: 1fr 34%; gap: 16px; align-items: end; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: var(--accent); padding: 4px 8px; margin-bottom: 16px; }

/* ---------- Screenshot gallery ---------- */
.gallery { display: grid; gap: 24px; }
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; }
.gallery figcaption b { color: var(--text); font-weight: 500; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin-top: 40px; }

/* ---------- Platforms ---------- */
.platforms { display: grid; gap: 16px; }
@media (min-width: 720px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .platforms { grid-template-columns: repeat(4, 1fr); } }
.platforms div { border: 1px solid var(--line); background: var(--bg); padding: 24px; }
.platforms p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.state { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; margin-bottom: 14px; border: 1px solid var(--line-2); color: var(--muted); }
.state.go { background: var(--accent); border-color: var(--accent); color: var(--text); }
.state.dev { border-color: var(--accent-text); color: var(--accent-text); }

/* ---------- Comparison ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 14px; color: var(--muted); font-weight: 500; background: var(--surface); }
.cmp thead th.us { color: var(--text); font-weight: 700; }
.cmp td { color: var(--muted); }
.cmp td.us { color: var(--text); font-weight: 500; }
.cmp td.us::before { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 10px; }
.cmp tr:last-child td { border-bottom: 0; }
.fine { font-size: 14px; color: var(--dim); margin-top: 16px; max-width: 52em; }
.spot .lead { margin-top: 14px; }
.shot-note.tight { margin-top: 16px; }
@media (max-width: 479px) { .signup input[type=email] { flex: none; width: 100%; } }

/* ---------- Language menu (no script: a details element) ---------- */
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; color: var(--text); border: 1px solid var(--line-2); padding: 4px 10px; font-weight: 500; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ' ▾'; color: var(--muted); }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; background: var(--surface); border: 1px solid var(--line-2); min-width: 170px; z-index: 20; padding: 6px 0; }
.langs li a { display: block; padding: 8px 16px; color: var(--muted); text-decoration: none; }
.langs li a:hover, .langs li a[aria-current] { color: var(--text); background: var(--surface-2); }
@media (max-width: 719px) { .top nav .langs { display: block; } }

/* ---------- Videos ---------- */
.videos { display: grid; gap: 40px; align-items: end; }
@media (min-width: 860px) { .videos { grid-template-columns: 3fr 1fr; gap: 48px; } }
.videos figure { margin: 0; }
.videos video { display: block; width: 100%; height: auto; background: #000; }
.vid-qr .frame-phone { max-width: 300px; margin: 0 auto; }
.videos figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; }
