/* VueGram — vuegram.com. The app's look: black, near-black cards, white and grey type, Outfit. */

:root {
  --bg: #000;
  --bg-alt: #070708;
  --card: #1c1c1f;
  --card-2: #141416;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --dim: #8e8e93;
  --dim-2: #636366;
  --indigo: #312e81;
  --violet: #7c3aed;
  --violet-soft: #a78bfa;
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: 24px;
  --max: 1160px;
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }
p a, li a, .lede a { color: var(--text); text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
p a:hover, li a:hover { text-decoration-color: var(--violet-soft); }
b, strong { font-weight: 500; color: var(--text); }
code {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.4em;
  color: var(--text);
}
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: #000; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 500;
}
.skip:focus { top: 16px; }

/* ---------- Buttons and pills ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 500 16px/1 var(--font); letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-light { background: var(--text); color: #000; box-shadow: 0 10px 40px -10px rgba(167, 139, 250, 0.55); }
.btn-light:hover { box-shadow: 0 14px 50px -10px rgba(167, 139, 250, 0.75); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(28, 28, 31, 0.7); border: 1px solid var(--line-strong);
  color: var(--dim); font-size: 14px; font-weight: 400; text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pill:hover { border-color: rgba(167, 139, 250, 0.5); color: var(--text); }
.pill [data-gh-version] { color: var(--text); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-soft); box-shadow: 0 0 12px var(--violet-soft); }
.pill-sep { color: var(--dim-2); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--dim); text-decoration: none; font-size: 15px; font-weight: 400; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.stars { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--text); font-size: 12px; }
.stars::before { content: "★ "; color: var(--violet-soft); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-inner { gap: 12px; }
  .nav-cta { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 12px;
    background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; margin: 0;
    background: #000; border-bottom: 1px solid var(--line);
    min-height: calc(100vh - 68px);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) { .pill { font-size: 13px; padding: 7px 14px; } .pill-sep, .pill-sep + span { display: none; } }
@media (max-width: 380px) { .nav-cta { display: none; } .nav-toggle { margin-left: auto; } }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 88px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0 -20%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  background:
    radial-gradient(ellipse 45% 38% at 50% 62%, rgba(124, 58, 237, 0.38), transparent 70%),
    radial-gradient(ellipse 60% 45% at 50% 70%, rgba(49, 46, 129, 0.55), transparent 72%);
  filter: blur(10px);
}
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(42px, 7.4vw, 92px);
  font-weight: 300; letter-spacing: -0.035em; line-height: 1.02;
}
.grad {
  background: linear-gradient(100deg, #fff 10%, #c4b5fd 55%, #8b5cf6 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 640px; margin: 26px auto 0; color: var(--dim); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.fineprint { margin: 22px 0 0; color: var(--dim-2); font-size: 13px; }

/* ---------- The TV mock ---------- */

.tv { position: relative; margin: 72px auto 0; max-width: 1040px; }
.tv-bezel {
  position: relative; padding: clamp(6px, 1.1vw, 12px); border-radius: clamp(14px, 2vw, 26px);
  background: linear-gradient(180deg, #2a2a2e, #111113 40%, #0b0b0c);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 50px 120px -30px rgba(124, 58, 237, 0.45),
    0 30px 80px -20px rgba(0, 0, 0, 0.9);
}
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: clamp(8px, 1.2vw, 16px); background: #000;
  container-type: inline-size;
}
.tv-screen::after { /* a soft glare across the glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 32%);
}
.tv-stand {
  width: 26%; height: clamp(10px, 1.6vw, 20px); margin: 0 auto;
  background: linear-gradient(180deg, #1a1a1d, #0c0c0d);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

/* The screen's content is sized in container units, so it scales with the TV like a real 1080p screen. */
.scr { position: absolute; inset: 0; padding: 3.2cqw 4cqw; font-size: 1.25cqw; color: var(--text); }
.scr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2cqw; }
.scr-eyebrow { color: var(--dim); font-size: 1.15cqw; font-weight: 400; letter-spacing: 0.04em; }
.scr-title { font-size: 2.9cqw; font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.scr-search {
  display: flex; align-items: center; gap: 0.8cqw; width: 30cqw; height: 3.4cqw; padding: 0 1.4cqw;
  border-radius: 1.7cqw; background: var(--card); color: var(--dim); font-size: 1.25cqw;
}
.scr-search svg { width: 1.5cqw; height: 1.5cqw; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.scr-label { margin: 2.2cqw 0 1.1cqw; font-size: 1.45cqw; font-weight: 400; }
.scr-continue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqw; }
.vcard .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 1.1cqw; overflow: hidden; }
.vcard .len {
  position: absolute; right: 0.7cqw; top: 0.7cqw; padding: 0.15cqw 0.5cqw; border-radius: 0.4cqw;
  background: rgba(0, 0, 0, 0.7); font-size: 0.95cqw; font-weight: 400;
}
.vcard .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0.35cqw; background: rgba(255, 255, 255, 0.22); }
.vcard .bar b { display: block; height: 100%; background: #fff; }
.p62 { width: 62%; } .p21 { width: 21%; } .p78 { width: 78%; }
.vtitle { margin-top: 0.8cqw; font-size: 1.3cqw; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsub { color: var(--dim); font-size: 1.05cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.scr-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4cqw; }
.ccard { display: flex; flex-direction: column; align-items: center; }
.cphoto {
  position: relative; width: 100%; height: 7.4cqw; border-radius: 1.1cqw; background: var(--card);
  display: grid; place-items: center; font-size: 3cqw; font-weight: 200;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.cname { margin-top: 0.8cqw; font-size: 1.15cqw; font-weight: 400; color: var(--text); white-space: nowrap; }

/* The glass focus highlight, as on the TV. */
.ccard.is-focused .cphoto, .vcard.is-focused .thumb {
  transform: scale(1.08);
  box-shadow: 0 0 0 0.22cqw rgba(255, 255, 255, 0.92), 0 1.2cqw 3cqw rgba(0, 0, 0, 0.6), 0 0 4cqw rgba(167, 139, 250, 0.35);
}
.ccard.is-focused .cphoto::after, .vcard.is-focused .thumb::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 45%);
}
.vcard .thumb { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease; }

/* Thumbnails and channel photos: painted with gradients, no images. */
.t1 { background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(52, 211, 153, 0.75), transparent 70%), radial-gradient(ellipse 60% 40% at 70% 40%, rgba(139, 92, 246, 0.6), transparent 70%), linear-gradient(180deg, #050816, #0b1530 60%, #050505); }
.t2 { background: radial-gradient(circle at 40% 55%, #f5d0a9 0 14%, #c48a52 15% 26%, transparent 27%), radial-gradient(ellipse at 60% 40%, rgba(251, 191, 36, 0.35), transparent 60%), linear-gradient(160deg, #3b2412, #1a0f08); }
.t3 { background: linear-gradient(180deg, #fbbf77 0%, #f472b6 32%, #6d28d9 52%, transparent 53%), linear-gradient(170deg, transparent 55%, #1f1a2e 56%), linear-gradient(190deg, #2d1b45 60%, #120d1c 61%); }
.c1 { background: radial-gradient(circle at 30% 30%, #fff 0 1.5%, transparent 2%), radial-gradient(circle at 70% 60%, #fff 0 1%, transparent 1.5%), radial-gradient(circle at 55% 25%, #fff 0 1%, transparent 1.5%), radial-gradient(ellipse at 50% 120%, #4c1d95, #0b0b2a 70%); }
.c2 { background: var(--card); }
.c3 { background: linear-gradient(160deg, #134e4a, #064e3b 40%, #022c22); }
.c4 { background: var(--card); }
.c5 { background: conic-gradient(from 210deg at 50% 60%, #f472b6, #8b5cf6, #3b82f6, #f472b6); }
.c6 { background: var(--card); }
.c3::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(150deg, transparent 50%, rgba(255, 255, 255, 0.12) 51% 54%, transparent 55%); }

/* ---------- Sections ---------- */

.section { padding: 128px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 64px; }
.eyebrow { margin: 0 0 18px; color: var(--violet-soft); font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.section h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }
.section-sub { margin: 22px 0 0; color: var(--dim); font-size: 18px; max-width: 620px; }

/* ---------- Features (bento) ---------- */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.feature:hover { border-color: var(--line-strong); }
.feature h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.015em; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--dim); font-size: 16px; }
.f-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.ficon {
  width: 48px; height: 48px; margin-bottom: 26px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
}
.ficon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Mini library in the first card */
.mini-lib { padding: 18px; border-radius: 16px; background: #000; border: 1px solid var(--line); }
.mini-row { margin: 2px 0 8px; }
.mini-row + .mini-cont + .mini-row { margin-top: 14px; }
.mini-label { font-size: 12px; color: var(--dim); }
.mini-cont { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-cont i { display: block; aspect-ratio: 16 / 9; border-radius: 8px; }
.mini-chats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.mini-chats i { display: block; aspect-ratio: 1 / 0.8; border-radius: 7px; }
.mini-chats i.focus { transform: scale(1.12); box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(167, 139, 250, 0.5); }

/* Remote in the player card */
.remote { display: flex; justify-content: center; margin: 4px 0 26px; }
.dpad {
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2c2c30, #161618);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.06), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.k { position: absolute; display: grid; place-items: center; font-size: 12px; font-weight: 500; color: var(--dim); }
.k-ok {
  left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: #0a0a0b; border: 1px solid var(--line-strong); color: #fff; font-size: 14px;
}
.k-left { left: 8px; top: 50%; transform: translateY(-50%); }
.k-right { right: 8px; top: 50%; transform: translateY(-50%); }
.k-up, .k-down { left: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateX(-50%); }
.k-up { top: 14px; border-bottom-color: var(--dim-2); }
.k-down { bottom: 14px; border-top-color: var(--dim-2); }
.k-left, .k-right { color: var(--violet-soft); }
@media (prefers-reduced-motion: no-preference) {
  .feature:hover .k-ok { box-shadow: 0 0 0 2px #fff, 0 0 24px rgba(167, 139, 250, 0.55); }
}

/* QR card */
.qr-card {
  justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 22px 22px 16px; border-radius: 20px; background: #000; border: 1px solid var(--line);
}
.qr { width: 156px; height: 156px; padding: 10px; background: #fff; border-radius: 12px; }
.qr rect { fill: #000; }
.qr-card span { color: var(--dim); font-size: 14px; }

/* ---------- How it works ---------- */

.flow { display: flex; align-items: stretch; gap: 0; margin-bottom: 56px; }
.flow-node {
  flex: 1 1 0; min-width: 0; padding: 24px 22px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--line);
}
.flow-cloud { flex: 0 0 22%; background: linear-gradient(160deg, rgba(49, 46, 129, 0.5), rgba(28, 28, 31, 1) 70%); }
.flow-icon {
  width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
}
.flow-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-title { font-size: 18px; font-weight: 500; }
.flow-sub { color: var(--dim); font-size: 14px; line-height: 1.45; margin-top: 4px; }
.flow-arrow { flex: 0 0 44px; display: grid; place-items: center; }
.flow-arrow span { position: relative; display: block; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(167, 139, 250, 0.2), var(--violet-soft)); overflow: hidden; }
.flow-arrow span::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { to { left: 100%; } }
.flow-tv {
  position: relative; flex: 1 1 auto; display: flex; align-items: stretch;
  padding: 34px 16px 16px; border-radius: calc(var(--radius) + 2px);
  border: 1.5px dashed rgba(167, 139, 250, 0.45); background: rgba(124, 58, 237, 0.04);
}
.flow-tv-label {
  position: absolute; top: -12px; left: 20px; padding: 2px 12px; border-radius: 999px;
  background: var(--bg-alt); color: var(--violet-soft); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio-item { padding: 28px 0 0; border-top: 1px solid var(--line-strong); }
.trio-item h3 { font-size: 21px; margin-bottom: 8px; }
.trio-item p { margin: 0; color: var(--dim); font-size: 16px; }

/* ---------- Privacy ---------- */

.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.pcard-head { margin-bottom: 20px; }
.ptag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.ptag-tv { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ptag-tg { background: rgba(124, 58, 237, 0.2); color: #c4b5fd; }
.ptag-gh { background: rgba(255, 255, 255, 0.05); color: var(--dim); border: 1px solid var(--line-strong); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: #d1d1d6; font-size: 16px; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(167, 139, 250, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.privacy-note { margin: 36px 0 0; color: var(--dim); font-size: 16px; max-width: 760px; }

/* ---------- Install ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step-n {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 24px; border-radius: 50%;
  background: #fff; color: #000; font-size: 18px; font-weight: 500;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--dim); font-size: 16px; }
.install-cta {
  margin-top: 18px; padding: 30px 34px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(49, 46, 129, 0.55), rgba(124, 58, 237, 0.28) 60%, rgba(28, 28, 31, 0.9));
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.install-cta .cta-row { margin-top: 0; justify-content: flex-start; }
.install-title { font-size: 24px; font-weight: 400; letter-spacing: -0.015em; }
.install-sub { color: #c7c7cc; font-size: 15px; margin-top: 4px; }

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 48px 24px 0; font-size: 19px; font-weight: 400; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim);
  transform: rotate(45deg); transition: transform 0.25s ease, margin 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { color: #fff; }
.faq details p { margin: 0 0 24px; color: var(--dim); font-size: 16px; max-width: 640px; }

/* ---------- Closing band ---------- */

.closing { position: relative; overflow: hidden; padding: 140px 0; text-align: center; border-top: 1px solid var(--line); }
.closing-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(124, 58, 237, 0.35), transparent 70%),
    radial-gradient(ellipse 70% 70% at 50% 110%, rgba(49, 46, 129, 0.6), transparent 70%);
}
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.closing-mark { width: 84px; height: 84px; color: #fff; margin-bottom: 28px; filter: drop-shadow(0 0 30px rgba(167, 139, 250, 0.5)); }
.closing h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--dim); font-size: 15px; margin: 14px 0 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 14px; letter-spacing: 0; }
.footer-cols a { display: block; color: var(--dim); text-decoration: none; font-size: 15px; padding: 4px 0; transition: color 0.2s ease; }
.footer-cols a:hover { color: var(--text); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-legal p { margin: 0; color: var(--dim-2); font-size: 13px; max-width: 640px; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flow-arrow span::after { animation: none; display: none; }
  .cphoto, .vcard .thumb { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .f-wide { grid-column: span 2; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .privacy-grid .pcard:last-child { grid-column: span 2; }
  .flow { flex-direction: column; }
  .flow-cloud { flex: none; }
  .flow-arrow { flex: 0 0 40px; }
  .flow-arrow span { width: 2px; height: 100%; background: linear-gradient(180deg, rgba(167, 139, 250, 0.2), var(--violet-soft)); }
  .flow-arrow span::after { display: none; }
  .flow-tv { flex-direction: column; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section-head { position: static; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding-top: 56px; }
  .tv { margin-top: 48px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .section-sub { font-size: 17px; }
  .bento, .privacy-grid, .steps, .trio { grid-template-columns: 1fr; }
  .f-wide, .privacy-grid .pcard:last-child { grid-column: auto; }
  .f-wide { grid-template-columns: 1fr; gap: 26px; }
  .feature, .pcard, .step { padding: 26px; }
  .install-cta { padding: 26px; }
  .btn { height: 50px; }
  .cta-row .btn { flex: 1 1 auto; }
  .closing { padding: 100px 0; }
  .footer-cols { gap: 40px; }
}

/* ---------- 404 ---------- */

.notfound { min-height: 100vh; display: grid; align-items: center; border-top: 0; }
.notfound h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }
.notfound .eyebrow { margin-bottom: 14px; }
.notfound .section-sub { margin-left: auto; margin-right: auto; }

/* Update checks in the updates card */
.verify { list-style: none; margin: 0; padding: 22px; border-radius: 16px; background: #000; border: 1px solid var(--line); display: grid; gap: 14px; }
.verify li { display: flex; align-items: center; gap: 12px; color: #d1d1d6; font-size: 15px; line-height: 1.35; }
.vdot {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: rgba(167, 139, 250, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.verify li:last-child .vdot { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 1000px) { .bento { grid-auto-flow: dense; } }
