/* =============================================================
   Let's Watch — Design System
   Premium, cinematic, dark-first UI. Framework-free.
   Loaded by every page. Page-specific tweaks live in-page.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg: #08090d;
  --bg-2: #0b0d14;
  --surface: #12141d;
  --surface-2: #171a25;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f5f6fb;
  --muted: #a6abbe;
  --faint: #71768a;

  /* Brand accents — grey-forward with a blue accent from the logo.
     Token names kept (--violet/--cyan/etc.) so usages need no rewrite;
     only the values changed. --cyan is now the logo blue. */
  --violet: #7c8798;   /* steel grey (was purple) */
  --indigo: #5b6675;   /* graphite (was indigo)  */
  --cyan: #57a9e8;     /* logo blue accent       */
  --pink: #9aa4b3;     /* neutral grey           */
  --green: #34d399;    /* success ticks (kept)   */
  --amber: #fbbf24;    /* owner-review flags     */

  --grad: linear-gradient(135deg, #4a5566 0%, #78859a 100%);
  --grad-soft: linear-gradient(120deg, rgba(120, 130, 146, 0.20), rgba(87, 169, 232, 0.12));

  /* Structure */
  --container: 1140px;
  --r: 18px;
  --r-lg: 24px;
  --r-sm: 12px;
  --pill: 999px;

  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  --glow: 0 0 0 1px rgba(87, 169, 232, 0.32), 0 12px 40px -8px rgba(70, 85, 110, 0.5);

  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient cinematic background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60rem 40rem at 78% -8%, rgba(87, 169, 232, 0.12), transparent 60%),
    radial-gradient(50rem 40rem at 6% 4%, rgba(120, 133, 154, 0.12), transparent 55%),
    radial-gradient(70rem 60rem at 50% 118%, rgba(91, 102, 117, 0.14), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80rem 60rem at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(80rem 60rem at 50% 0%, #000 20%, transparent 75%);
}

img,
svg { max-width: 100%; display: block; }

/* The hidden attribute must win over component display rules
   (e.g. .contact-method{display:flex}), which otherwise override it. */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 0.4em;
}

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--violet);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(70, 85, 110, 0.65);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: var(--glass);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: var(--glass-strong);
  border-color: var(--violet);
  box-shadow: 0 10px 30px -18px rgba(87, 169, 232, 0.45);
}

.btn--sm { padding: 10px 16px; font-size: 0.92rem; }
.btn--lg { padding: 17px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}
.nav.is-stuck {
  background: rgba(8, 9, 13, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); background: var(--glass); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

/* The in-list Get Started button is only for the mobile menu;
   on desktop the .nav__cta button is the single visible CTA. */
@media (min-width: 761px) {
  .nav__links li:last-child { display: none; }
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.24rem;
  color: var(--text);
}
.logo__mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 8px 22px -8px rgba(70, 85, 110, 0.75);
}
.logo__mark svg { width: 21px; height: 21px; }
/* Owner's logo: TV with the wordmark on the screen. Sized so the
   on-screen text stays legible; no separate wordmark beside it. */
.logo__tv { height: 54px; width: auto; flex: none; display: block; }
@media (max-width: 480px) { .logo__tv { height: 46px; } }

.logo__word b { font-weight: 800; }
.logo__word span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Mobile menu button */
.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav.is-open .nav__toggle .icon-open { display: none; }
.nav.is-open .nav__toggle .icon-close { display: block; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; position: relative; }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--glass);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  margin: 18px 0 14px;
}
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.lede { color: var(--muted); font-size: 1.12rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 84px) 0 84px; position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  margin: 22px 0 20px;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  max-width: 30em;
  margin-bottom: 30px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
/* SVG has only a viewBox (no width/height); make it fill its container so it
   never collapses to 0 in a single-column grid on mobile. */
.hero__visual { min-width: 0; }
.hero__visual svg { width: 100%; height: auto; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--faint);
  font-size: 0.92rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 22px;
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.feature__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
}
.feature__icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---------- How it works ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.step:not(:last-child) .step__num::after {
  content: "";
  position: absolute;
  left: 100%; top: 50%;
  width: calc(100% - 52px + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Devices ---------- */
.devices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.device {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.device:hover { border-color: var(--line-strong); background: var(--glass-strong); }
.device__icon { color: var(--violet); flex: none; }
.device__icon svg { width: 30px; height: 30px; }
.device strong { display: block; font-size: 1rem; }
.device small { color: var(--faint); font-size: 0.82rem; }

.apps__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 26px; }
.app-card { display: flex; gap: 18px; align-items: flex-start; }
.app-card .feature__icon { margin-bottom: 0; flex: none; }
.app-card h3 { margin-bottom: 4px; }

/* ---------- Desktop app download ---------- */
.app-dl { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 6px; }
.app-dl .btn { display: inline-flex; align-items: center; gap: 9px; }
.app-dl .btn svg { display: block; }
.app-dl__note { text-align: center; color: var(--faint); font-size: 0.9rem; margin-top: 18px; }
.app-dl__note strong { color: var(--muted); }

/* ---------- Downloader codes ---------- */
.codes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.code-card {
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(87, 169, 232, 0.14), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.code-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.code-card__app {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.18rem; margin-bottom: 6px;
}
.code-card__app .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.code-card__desc { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; }
.code-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.code-value {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap;
}
.code-number {
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", "Courier New", monospace;
  font-size: clamp(2.1rem, 7vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #eef4fb;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 20px;
  text-shadow: 0 0 24px rgba(87, 169, 232, 0.4);
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: var(--glass-strong);
  color: var(--text);
  font: inherit; font-weight: 700; font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}
.copy-btn:hover { border-color: var(--green); transform: translateY(-1px); }
.copy-btn svg { width: 17px; height: 17px; }
.copy-btn.is-copied { color: var(--green); border-color: var(--green); }
.copy-btn .icon-check { display: none; }
.copy-btn.is-copied .icon-copy { display: none; }
.copy-btn.is-copied .icon-check { display: block; }

.codes__how {
  margin-top: 26px;
  padding: 24px 26px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
}
.codes__how h3 { font-size: 1.05rem; margin-bottom: 14px; }
.codes__how ol { margin: 0; padding-left: 20px; color: var(--muted); }
.codes__how ol li { margin-bottom: 7px; }
.codes__how ol li strong { color: var(--text); }

/* ---------- Install tutorial (illustrated steps) ---------- */
.howto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.howto__step {
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.howto__step:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.howto__screen {
  background: #06070a;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.howto__screen svg { width: 100%; height: auto; display: block; }
.howto__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--grad); color: #fff;
  font-size: 0.85rem; font-weight: 800; margin-bottom: 9px;
}
.howto__step h4 { font-size: 1rem; margin: 0 0 6px; }
.howto__step p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Video slot — only rendered when a video is configured in js/main.js */
.howto__video { margin-top: 26px; }
.howto__video-frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #06070a;
  aspect-ratio: 16 / 9;
}
.howto__video-frame iframe,
.howto__video-frame video { width: 100%; height: 100%; border: 0; display: block; }
.howto__video-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  cursor: pointer; border: 0; width: 100%; height: 100%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(87,169,232,0.18), transparent 70%), #06070a;
  color: #fff; font: inherit;
}
.howto__video-play span.ring {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 12px 40px -10px rgba(70,85,110,0.8);
}
.howto__video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.howto__video-play small { display: block; margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 940px) { .howto { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .howto { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing__wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: stretch; }
.price-card {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(87, 169, 232, 0.16), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 34px;
  position: relative;
}
.price-card__badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--pill);
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan);
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.price-card__tagline { color: var(--muted); margin-bottom: 22px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-amount .num { font-size: clamp(2.6rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.price-amount .per { color: var(--muted); font-size: 1.05rem; }
.price-or { color: var(--faint); margin: 10px 0; font-size: 0.95rem; }
.price-year { font-weight: 700; font-size: 1.35rem; }
.price-year span { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.price-list { list-style: none; margin: 24px 0; padding: 0; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; color: var(--muted); }
.price-list li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.price-list li strong { color: var(--text); }
.price-note {
  font-size: 0.86rem; color: var(--faint); font-style: italic;
  border-top: 1px solid var(--line); padding-top: 16px; margin: 20px 0 0;
}
.price-aside {
  display: flex; flex-direction: column; gap: 20px;
}
.price-aside .card { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.placeholder-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber);
  border: 1px dashed rgba(251, 191, 36, 0.5); border-radius: 8px;
  padding: 3px 8px; margin-bottom: 10px;
}

/* ---------- Support / form ---------- */
.support__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: start; }
.support__list { list-style: none; padding: 0; margin: 22px 0 0; }
.support__list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--muted); }
.support__list li svg { width: 22px; height: 22px; color: var(--violet); flex: none; margin-top: 1px; }
.support__list li strong { color: var(--text); display: block; }

.contact-methods { margin-top: 26px; display: grid; gap: 12px; }
.contact-method {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--glass);
}
.contact-method svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.contact-method a { font-weight: 700; }
.contact-method small { color: var(--faint); display: block; font-size: 0.82rem; }

.form-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px;
}
.field label .req { color: var(--pink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a6abbe' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(87, 169, 232, 0.28);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2); }
.field__error {
  display: none;
  color: #fca5a5; font-size: 0.84rem; margin-top: 6px;
}
.field.has-error .field__error { display: block; }

.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: block; padding: 11px 18px; border-radius: var(--pill);
  border: 1px solid var(--line-strong); background: var(--glass);
  font-weight: 600; font-size: 0.92rem; transition: all 0.2s var(--ease);
}
.radio-pill input:checked + span { border-color: var(--violet); background: var(--grad-soft); color: #fff; }
.radio-pill input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  margin-bottom: 18px; padding: 14px 16px; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem;
}
.form-status.is-visible { display: block; }
.form-status--success { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: #6ee7b7; }
.form-status--error { background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.4); color: #fca5a5; }

.form-success-panel { display: none; text-align: center; padding: 20px 10px; }
.form-success-panel.is-visible { display: block; }
.form-success-panel .check-badge {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, 0.15); border: 1px solid rgba(52, 211, 153, 0.5); color: var(--green);
}
.form-success-panel .check-badge svg { width: 34px; height: 34px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--glass);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); background: var(--glass-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.03rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none; width: 22px; height: 22px; color: var(--cyan);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__body p { margin: 0; }
.faq .faq__body .review-flag {
  display: inline-block; margin-top: 10px; font-size: 0.78rem; color: var(--amber);
  border: 1px dashed rgba(251, 191, 36, 0.5); border-radius: 8px; padding: 2px 8px;
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-lg);
  padding: clamp(34px, 6vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(91, 102, 117, 0.3), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
}
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 40em; margin: 0 auto 26px; font-size: 1.06rem; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; margin-top: 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; margin: 16px 0 0; }
.footer__col h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--faint); font-size: 0.85rem;
}
.footer__disclaimer { max-width: 62ch; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  z-index: 90;
  box-shadow: var(--shadow-lg);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 56px 0 20px; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal-hero .updated { color: var(--faint); font-size: 0.9rem; }
.legal-body { max-width: 800px; padding-bottom: 80px; }
.legal-body h2 { font-size: 1.4rem; margin: 40px 0 12px; padding-top: 8px; }
.legal-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.review-note {
  display: block;
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px dashed rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.06);
  color: #fcd34d;
  font-size: 0.88rem;
}
.review-note strong { color: var(--amber); }
.legal-toc {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--glass);
  padding: 22px 24px; margin: 24px 0 8px;
}
.legal-toc h2 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; padding: 0; }
.legal-toc ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.legal-toc li { margin-bottom: 8px; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 520px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .step__num::after { display: none; }
  .pricing__wrap { grid-template-columns: 1fr; }
  .support__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 22px 24px;
    background: rgba(8, 9, 13, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav.is-open .nav__links a { padding: 13px; font-size: 1.05rem; border-radius: 10px; }
  .nav.is-open .nav__links li:last-child { margin-top: 8px; }
  .nav.is-open .nav__links .btn { display: inline-flex; width: 100%; }
  .mobile-cta { display: inline-flex; }
  .codes__grid, .apps__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__brand { grid-column: 1 / -1; }
  .legal-toc ul { columns: 1; }
  .section { padding: 68px 0; }
  body { padding-bottom: 76px; } /* room for mobile sticky CTA */
}

@media (max-width: 480px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float-anim { animation: none !important; }
}

/* ---------- Hero visual float ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floaty-2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes pulseGlow { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.9; } }
.float-anim { animation: floaty 6s ease-in-out infinite; }
.float-anim-2 { animation: floaty-2 7s ease-in-out infinite; }
.pulse-anim { animation: pulseGlow 4s ease-in-out infinite; transform-origin: center; }
