:root {
  --bg: #05070e; --panel: #0c1324; --line: #1d2a44; --text: #e9fbff; --dim: #9fb3c8;
  --cyan: #00e5ff; --gold: #ffcf3f;
  font-family: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--cyan); }
.top, main, footer { max-width: 1100px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.08em; }
nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
nav a { color: var(--dim); text-decoration: none; }
nav a:hover { color: var(--text); }
nav a.play, .cta { background: var(--gold); color: #1a1a1a; border-radius: 8px; padding: 6px 14px; font-weight: 700; text-decoration: none; box-shadow: 0 0 14px rgba(255, 207, 63, 0.45); }
.cta { display: inline-block; padding: 12px 22px; font-size: 1.1rem; }
.cta:hover, nav a.play:hover { filter: brightness(1.08); }
main { padding-top: 24px; padding-bottom: 48px; }
footer { display: flex; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 28px; color: var(--dim); font-size: 0.9rem; }

/* home */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; padding: 28px 0 40px; }
.hero h1 { font-size: 3.4rem; margin: 4px 0 0; letter-spacing: 0.06em; line-height: 1.1; }
.hero .logo { width: 120px; height: 120px; display: block; }
.hero-shot { margin: 0; }
.hero-shot img, .feature img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 0 50px rgba(0, 229, 255, 0.14); }
.lead { font-size: 1.15rem; }
.actions { margin: 22px 0 8px; }
.small { color: var(--dim); font-size: 0.9rem; }
.section-title { font-size: 1.7rem; margin: 48px 0 18px; }
.features { display: flex; flex-direction: column; gap: 36px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; }
.feature.flip > div { order: 2; }
.feature h3, .steps h3 { color: var(--cyan); font-size: 1.3rem; margin: 0 0 6px; }
.feature p { margin: 0 0 10px; }
.isotope, .steps article, .faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.isotope { margin: 48px 0 0; }
.isotope h2 { margin: 0 0 6px; font-size: 1.2rem; color: var(--cyan); }
.install-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: center; }
.install-grid .lead { margin-top: 0; }
.install-grid .steps { grid-template-columns: minmax(0, 1fr); }
.phone-shot { margin: 0; }
.phone-shot img { width: 100%; height: auto; display: block; border-radius: 28px; border: 6px solid #1a2236; box-shadow: 0 0 50px rgba(0, 229, 255, 0.16); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.steps p { margin: 0; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; }
.faq details[open] summary { color: var(--cyan); }
.closing { text-align: center; padding: 48px 0 8px; }
.closing p { margin: 12px 0 0; }

/* document pages (privacy, credits) */
.doc { max-width: 820px; overflow-wrap: anywhere; }
.doc h1 { font-size: 2rem; line-height: 1.2; }
.doc h2 { margin-top: 2rem; color: var(--cyan); font-size: 1.25rem; }
.doc table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
.doc th, .doc td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--panel); }
.draft { background: #2a2610; border: 1px solid var(--gold); border-radius: 10px; padding: 10px 14px; }

@media (max-width: 760px) {
  .hero, .feature { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero { text-align: center; padding: 16px 0 24px; }
  .hero .logo { margin: 0 auto; width: 96px; height: 96px; }
  .hero h1 { font-size: 2.6rem; }
  .feature.flip > div { order: 0; }
  .install-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .phone-shot { max-width: 260px; margin: 0 auto; }
  .section-title { margin-top: 36px; }
  nav { gap: 12px; }
}

/* analytics consent (site/consent.js) */
.consent { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; width: min(560px, calc(100vw - 24px)); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 40px #000c; font-size: 0.95rem; }
.consent p { margin: 0 0 10px; }
.consent-row { display: flex; gap: 8px; justify-content: flex-end; }
.consent-row button { font: inherit; font-weight: 700; border-radius: 8px; padding: 8px 16px; min-width: 110px; cursor: pointer; border: 0; background: var(--gold); color: #1a1a1a; }
.consent-row button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
