/* Virtual Monitor website. No build step, no external files. */
:root {
  --bg: #090b10;
  --bg-2: #0f131b;
  --card: #141925;
  --line: #232a3a;
  --text: #eef1f7;
  --muted: #9aa5ba;
  --accent: #6ef0c2;
  --accent-ink: #04261b;
  --violet: #8b7bff;
  --radius: 18px;
  --wrap: 1120px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9, 11, 16, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav a.btn { color: var(--accent-ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 700; font-size: 16px;
  padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 30px rgba(110, 240, 194, 0.22);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 10px 36px rgba(110, 240, 194, 0.34); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.btn.small { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn.big { padding: 17px 30px; font-size: 18px; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 40px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 720px; z-index: -1;
  background:
    radial-gradient(600px 340px at 50% 30%, rgba(139, 123, 255, 0.28), transparent 70%),
    radial-gradient(520px 300px at 68% 55%, rgba(110, 240, 194, 0.16), transparent 70%);
}
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(44px, 8.4vw, 104px); font-weight: 800; margin: 18px 0 22px; letter-spacing: -0.045em; line-height: 0.98; }
.hero h1 span { display: block; }
.hero h1 .dim { color: #6f7a91; }
.lede { color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); max-width: 680px; margin: 0 auto; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* three floating screens */
.stage { perspective: 1400px; margin: 64px auto 0; max-width: 1040px; padding: 0 8px; }
.screens { display: flex; align-items: center; justify-content: center; gap: 2.2%; transform-style: preserve-3d; }
.screen {
  background: linear-gradient(160deg, #1a2030, #10141d);
  border: 1px solid #2c3550; border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(139, 123, 255, 0.12);
  padding: 2.2%; display: flex; flex-direction: column; gap: 7%; overflow: hidden;
}
.screen.tall { width: 19%; aspect-ratio: 9 / 16; transform: rotateY(24deg); }
.screen.main { width: 44%; aspect-ratio: 16 / 10; }
.screen.wide { width: 33%; aspect-ratio: 16 / 9; transform: rotateY(-24deg); }
.bar { display: flex; gap: 5px; flex: none; }
.bar i { width: 7px; height: 7px; border-radius: 50%; background: #39435c; }
.rows { display: grid; gap: 9%; flex: 1; align-content: start; }
.rows b { display: block; height: 7px; border-radius: 4px; background: #2a3349; }
.rows b.a { background: var(--accent); opacity: .85; }
.rows b.v { background: var(--violet); opacity: .85; }
.tiles { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6%; flex: 1; }
.tiles u { border-radius: 8px; background: #212941; }
.tiles u.chart { background: linear-gradient(180deg, rgba(110, 240, 194, .35), rgba(110, 240, 194, .04)); grid-row: span 2; }
.film { flex: 1; border-radius: 8px; background: linear-gradient(135deg, #3b2f7a, #14383a 70%); position: relative; }
.film::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 16px solid rgba(255, 255, 255, .8); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.cable { width: 2px; height: 56px; margin: 0 auto; background: linear-gradient(var(--accent), transparent); opacity: .7; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.8vw, 54px); font-weight: 800; letter-spacing: -0.035em; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 16px; }

.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* big alternating feature statements */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .art { order: -1; }
.feature h3 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.035em; }
.feature p { color: var(--muted); font-size: 19px; margin-top: 18px; max-width: 30em; }
.feature .tag { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.art {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 8%; position: relative; overflow: hidden;
}
.art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 20%, rgba(139, 123, 255, .16), transparent 70%); }
.art svg { position: relative; width: 100%; height: 100%; }

/* small benefit cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(110, 240, 194, .12); color: var(--accent); margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 18px; }
.steps h3 { font-size: 21px; font-weight: 700; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.steps.one-col { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }

/* closing call to action */
.closing { text-align: center; }
.closing h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
.closing p { color: var(--muted); font-size: 19px; margin: 18px auto 0; max-width: 560px; }

/* ---------- inner pages ---------- */
.page-head { padding: 72px 0 12px; text-align: center; }
.page-head h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.04em; }
.page-head p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 18px auto 0; }

.download-box {
  max-width: 640px; margin: 40px auto 0; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.download-box form { margin: 0; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 15px; margin-top: 22px; }
.meta strong { color: var(--text); font-weight: 600; }
.notice { max-width: 640px; margin: 20px auto 0; padding: 14px 18px; border-radius: 14px; border: 1px solid #5a4a1e; background: #221c0c; color: #f3d98b; font-size: 15px; text-align: left; }
.notice.error { border-color: #6a2a2a; background: #241010; color: #ffb4b4; }

.needs { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 12px; }
.needs li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; display: flex; gap: 14px; align-items: flex-start; }
.needs li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--accent); }
.needs span { color: var(--muted); }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 18px; }
.faq details p + p { margin-top: -6px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer .legal { flex-basis: 100%; font-size: 13px; opacity: .8; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .feature:nth-child(even) .art { order: 0; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding-top: 56px; }
  .nav a:not(.btn) { padding: 8px 8px; font-size: 14px; }
  .nav .hide-s { display: none; }
  .grid, .steps { grid-template-columns: 1fr; }
  .stage { margin-top: 44px; }
  .screen { border-radius: 8px; }
  .screen.tall { transform: rotateY(18deg); }
  .screen.wide { transform: rotateY(-18deg); }
  .bar i { width: 4px; height: 4px; }
  .rows b { height: 4px; }
  .cta .btn { width: 100%; }
  .download-box { padding: 30px 18px; }
  .download-box .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- account page ---------- */
.account-box { text-align: left; max-width: 560px; }
.tabs { display: flex; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.tab { flex: 1; font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 10px 12px; cursor: pointer; }
.tab.on { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
/* Anything marked hidden stays hidden, whatever layout its class gives it. */
[hidden] { display: none !important; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input { font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.form input:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.form .fine { margin-top: -6px; }
.form .btn { width: 100%; }
.facts { margin: 0; display: grid; gap: 16px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.pill { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid #5a4a1e; background: #221c0c; color: #f3d98b; vertical-align: middle; }
.pill.good { border-color: #1f5a47; background: #0c221b; color: var(--accent); }
#devices li { align-items: center; }
#devices li > div { flex: 1; min-width: 0; text-align: left; }
#devices li::before { margin-top: 0; }
.form textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; resize: vertical; }
.form textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.form textarea:disabled, .form button:disabled { opacity: .45; cursor: not-allowed; }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent); flex: none; }
.check span { color: var(--muted); font-size: 15px; }
.check strong { color: var(--text); font-size: 17px; }

/* long text pages: privacy and terms */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.prose p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { overflow-wrap: anywhere; }

/* download page: the PC download and the glasses app side by side */
.download-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 36px auto 0; align-items: stretch; }
.download-pair .download-box { margin: 0; max-width: none; width: auto; display: flex; flex-direction: column; align-items: center; }
.download-pair h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.download-pair .about { color: var(--muted); font-size: 16px; margin: 10px 0 24px; max-width: 360px; flex: 1; }
.download-pair .meta { font-size: 14px; gap: 6px 16px; }
.pair-note { color: var(--muted); font-size: 15px; margin-top: 16px; }
@media (max-width: 760px) { .download-pair { grid-template-columns: 1fr; } }
