/* mirrorgo.app: the MirrorGo app's look (near-black page, dark cards with a hairline border, Sora,
   the purple gradient). Colours from the app's asset catalog: appBackground #0e0e12, surfacePrimary
   #1b1b22, fill #24242d, fillStrong #2e2e38, textSecondary #8e8e99, cardBorder white 6%,
   primaryPurpleStart #755cff → primaryPurpleEnd #5c44e2. */

@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("fonts/Sora-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("fonts/Sora-Bold.ttf") format("truetype"); }

:root {
  --bg: #0e0e12;
  --surface: #1b1b22;
  --fill: #24242d;
  --fill-strong: #2e2e38;
  --text: #ffffff;
  --text-2: #a3a3ae;
  --border: rgba(255, 255, 255, 0.07);
  --purple-1: #755cff;
  --purple-2: #5c44e2;
  --lilac: #a897ff;
  --green: #3ddc84;
  --gradient: linear-gradient(180deg, var(--purple-1), var(--purple-2));
  --radius: 22px;
  --max: 1160px;
  --head: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "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: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lilac); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 5.6vw, 68px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 21px; letter-spacing: -0.015em; }
p { margin: 0; }
.muted { color: var(--text-2); }
.grad-text {
  background: linear-gradient(90deg, #b3a6ff, #8b7bff 40%, #4fc3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }

/* MARK: Header */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 18, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.scrolled { border-bottom-color: var(--border); }
.header .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 20px var(--head); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
.menu-btn { display: none; margin-left: auto; background: var(--fill); border: 1px solid var(--border); color: var(--text); width: 42px; height: 42px; border-radius: 12px; font-size: 18px; cursor: pointer; }

/* MARK: Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 16px;
  font: 600 16px var(--head); letter-spacing: -0.01em;
  color: #fff; background: var(--gradient);
  box-shadow: 0 10px 30px -10px rgba(117, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform .2s, box-shadow .2s;
  border: 0; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(117, 92, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn.small { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn.ghost { background: var(--fill); box-shadow: none; border: 1px solid var(--border); }
.btn.disabled { cursor: default; opacity: .9; }
.btn.disabled:hover { transform: none; }
.btn svg { width: 20px; height: 20px; }

/* MARK: Hero */

.hero { position: relative; padding: 64px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(117, 92, 255, 0.30), transparent 70%),
    radial-gradient(500px 340px at 92% 60%, rgba(79, 195, 255, 0.16), transparent 70%),
    radial-gradient(520px 360px at 10% 10%, rgba(200, 107, 250, 0.12), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(117, 92, 255, 0.12); border: 1px solid rgba(168, 151, 255, 0.22);
  color: #cfc6ff; font: 600 13px var(--head); letter-spacing: 0;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.18); }
.hero h1 { margin: 20px 0 20px; }
.hero .lead { font-size: 19px; color: var(--text-2); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero .fine span::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 700; }

/* The scene: a TV showing the phone's screen, the phone in front, dots flowing between them. */
.scene { position: relative; aspect-ratio: 1 / 0.86; }
.tv-wrap { position: absolute; left: 0; top: 4%; width: 92%; }
.tv {
  position: relative; aspect-ratio: 16 / 9;
  background: #050507; border-radius: 18px;
  border: 10px solid #1d1d25;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06), 0 0 120px -20px rgba(117, 92, 255, .45);
  overflow: hidden;
}
.tv img { height: 100%; width: auto; margin: 0 auto; }
.tv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.06), transparent 40%); pointer-events: none; }
.tv-foot { width: 30%; height: 12px; margin: 0 auto; background: linear-gradient(180deg, #1d1d25, #121218); border-radius: 0 0 12px 12px; }
.scene .phone { position: absolute; right: 0; bottom: 0; width: 38%; }
.live-pill {
  position: absolute; left: 5%; top: 9%; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(14, 14, 18, .8); border: 1px solid var(--border);
  font: 600 12px var(--head);
}
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.beam { position: absolute; right: 30%; bottom: 40%; width: 22%; height: 14px; display: flex; justify-content: space-between; z-index: 3; }
.beam i { width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); opacity: .2; animation: flow 1.4s infinite; }
.beam i:nth-child(1) { animation-delay: .8s; } .beam i:nth-child(2) { animation-delay: .6s; }
.beam i:nth-child(3) { animation-delay: .4s; } .beam i:nth-child(4) { animation-delay: .2s; }
@keyframes flow { 0%, 100% { opacity: .2; transform: scale(.8); } 30% { opacity: 1; transform: scale(1.15); } }

/* Phone frame around a screenshot (the screenshots already have the status bar). */
.phone {
  position: relative;
  border-radius: 15% / 7.2%;
  padding: 3.2%;
  background: linear-gradient(145deg, #3a3a46, #15151b 40%, #2a2a33);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone img { width: 100%; border-radius: 12.2% / 5.8%; background: #000; }
/* MARK: TV brands strip */

.brands { padding: 30px 0 10px; }
.brands p { text-align: center; color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font: 600 15px var(--head); color: var(--text);
}
.chip:hover { text-decoration: none; border-color: rgba(168, 151, 255, .4); }
.chip i { width: 8px; height: 8px; border-radius: 50%; }

/* MARK: Sections */

section { padding: 90px 0; }
.section-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--text-2); }
.kicker { display: block; margin-bottom: 14px; color: var(--lilac); font: 600 14px var(--head); letter-spacing: .04em; text-transform: uppercase; }

/* Feature grid (Home's tiles) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 60%), var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform .25s, border-color .25s;
}
a.tile:hover { text-decoration: none; transform: translateY(-3px); border-color: rgba(255,255,255,.14); }
.tile::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: var(--c, #755cff); opacity: .13; filter: blur(30px);
}
.tile.wide { grid-column: span 2; }
.tile h3 { margin: 18px 0 8px; }
.tile p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px -8px var(--c2);
}
.icon img, .icon svg { width: 28px; height: 28px; }

/* Alternating feature rows with a phone */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 50px 0; }
.feature.flip .feature-media { order: 2; }
.feature-media { position: relative; display: flex; justify-content: center; gap: 22px; }
.feature-media::before {
  content: ""; position: absolute; inset: 10% 5%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, rgba(117, 92, 255, .35)), transparent);
  filter: blur(20px);
}
.feature-media .phone { width: min(300px, 46%); }
.feature-media.single .phone { width: min(320px, 70%); }
.feature-media .phone.back { transform: translateY(40px); }
.feature-text .icon { margin-bottom: 22px; }
.feature-text h2 { font-size: clamp(28px, 3.2vw, 40px); }
.feature-text > p { margin-top: 16px; color: var(--text-2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: #dedee6; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(117, 92, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23b3a6ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.works-on { margin-top: 22px; font-size: 14px; color: var(--text-2); }
.works-on b { color: var(--text); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient); font: 700 18px var(--head); margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 15px; }

/* Compatibility table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
th, td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--border); }
th { font: 600 14px var(--head); color: var(--text); background: rgba(255,255,255,.02); }
th:first-child, td:first-child { text-align: left; }
td:first-child { font-weight: 600; color: var(--text); }
tr:last-child td { border-bottom: 0; }
td { color: var(--text-2); }
.yes { color: var(--green); font-weight: 700; }
.no { color: #6b6b76; }
.note-cell { display: block; font-size: 12px; color: var(--text-2); font-weight: 400; margin-top: 2px; }
.table-foot { margin-top: 14px; font-size: 14px; color: var(--text-2); text-align: center; }

/* Privacy band */
.band {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 50px; border-radius: 30px;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(61, 220, 132, .14), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.band li { padding: 16px 18px; border-radius: 16px; background: var(--fill); border: 1px solid var(--border); font-size: 15px; color: #dedee6; }
.band li b { display: block; font: 600 16px var(--head); color: var(--text); margin-bottom: 2px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group > h2 { font-size: 24px; margin-bottom: 14px; }
details { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
details[open] { border-color: rgba(168, 151, 255, .28); }
summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 600 17px/1.4 var(--head); letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: var(--fill); color: var(--text-2); font: 400 20px/1 var(--body);
  transition: transform .25s;
}
details[open] summary::after { content: "–"; }
details h3 { font: inherit; letter-spacing: inherit; }
.answer { padding: 0 22px 22px; color: #cfcfd8; font-size: 16px; }
.answer p + p, .answer p + ol, .answer p + ul, .answer ol + p, .answer ul + p { margin-top: 10px; }
.answer ol, .answer ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.answer .tip { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--fill); color: var(--text-2); font-size: 15px; }

/* Final call to action */
.final {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 30px; border-radius: 34px;
  background: radial-gradient(700px 360px at 50% 120%, rgba(117, 92, 255, .55), transparent 70%), var(--surface);
  border: 1px solid var(--border);
}
.final img.app-icon { width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 20px 50px -14px rgba(117, 92, 255, .8); }
.final p { margin: 16px auto 30px; color: var(--text-2); font-size: 18px; max-width: 34em; }

/* Brand (TV) pages */
.page-hero { padding: 60px 0 30px; }
.crumbs { font-size: 14px; color: var(--text-2); margin-bottom: 22px; }
.crumbs a { color: var(--text-2); }
.page-hero .wrap.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }
.page-hero .lead { margin-top: 18px; font-size: 19px; color: var(--text-2); }
.answer-box {
  margin-top: 26px; padding: 22px 24px; border-radius: 20px;
  background: rgba(117, 92, 255, .08); border: 1px solid rgba(168, 151, 255, .22);
}
.answer-box h2 { font-size: 17px; margin-bottom: 10px; color: #cfc6ff; letter-spacing: -0.01em; }
.answer-box ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: #e4e4ec; }
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin: 50px 0 14px; }
.prose p, .prose li { color: #d2d2da; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.card { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
a.card:hover { text-decoration: none; border-color: rgba(168, 151, 255, .35); }
.card b { display: block; font: 600 16px var(--head); margin-bottom: 4px; }
.card span { font-size: 14px; color: var(--text-2); }
.status { display: inline-block; font: 600 12px var(--head); padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
.status.ok { background: rgba(61, 220, 132, .14); color: var(--green); }
.status.part { background: rgba(255, 181, 71, .14); color: #ffb547; }
.status.not { background: rgba(255, 255, 255, .06); color: #8e8e99; }
.feature-list { list-style: none; padding: 0 !important; display: grid; gap: 10px !important; }
.feature-list li { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.feature-list li small { display: block; color: var(--text-2); font-size: 14px; margin-top: 2px; }

/* Footer */
.footer { margin-top: 90px; padding: 50px 0 40px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { margin: 0 0 12px; font: 600 14px var(--head); color: var(--text); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer .legal { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* Reveal on scroll: only when JS has run (content stays visible to crawlers and without JS). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .float, .beam i, .live-pill i { animation: none; }
  .beam i { opacity: .8; }
}

/* MARK: Small screens */

@media (max-width: 980px) {
  .hero .wrap, .feature, .band, .page-hero .wrap.split { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .scene { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .feature { gap: 36px; padding: 30px 0; }
  .feature.flip .feature-media { order: 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps, .cards { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .band { padding: 30px; }
  .page-hero .phone { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: rgba(14, 14, 18, .97); border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 17px; }
  .menu-btn { display: block; }
  .header .btn.small { display: none; }
  section { padding: 60px 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .final { padding: 56px 22px; }
}
.page-hero .wrap.split > .phone { width: 100%; max-width: 300px; justify-self: center; }

/* Brand chips (TV makers), guides */
.brand-chip { font-weight: 700; letter-spacing: .02em; color: var(--bc, #fff); background: rgba(255,255,255,.03); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.guide-grid { grid-template-columns: repeat(3, 1fr); }
.byline { margin-top: 18px; font-size: 14px; color: var(--text-2); }
.blog-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-group { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.blog-group h2 { font-size: 21px; margin-bottom: 14px; }
.blog-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.blog-group a { color: #d8d8e2; font-size: 15px; }
.blog-group a:hover { color: var(--text); }
table { min-width: 980px; }
@media (max-width: 980px) { .blog-groups, .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .blog-groups, .guide-grid { grid-template-columns: 1fr; } }
