/* =========================================================
   Fregata — marketing site styles
   Palette sampled from icon: deep violet → magenta highlights
   ========================================================= */

:root {
  /* Base */
  --bg:           #0B0A12;
  --bg-1:         #100E1A;
  --bg-2:         #15121F;
  --surface:      #181425;
  --surface-2:    #1F1A2E;
  --line:         rgba(168,148,236,0.10);
  --line-strong:  rgba(168,148,236,0.18);

  /* Text */
  --text:         #ECE8F7;
  --text-2:       #B6AECC;
  --muted:        #847C9E;
  --dim:          #5A5474;

  /* Accents — sampled from icon */
  --accent:       #A875FF;       /* lavender-violet, primary CTA */
  --accent-2:     #6B3FE0;       /* deep violet body */
  --accent-3:     #D070FF;       /* magenta highlight, used sparingly */
  --accent-soft:  rgba(168,117,255,0.14);
  --accent-glow:  rgba(168,117,255,0.32);

  /* Status (sparingly) */
  --ok:           #6FE3A4;
  --bad:          #FF7591;

  /* Type */
  --f-sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Tiempos", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --section-y: clamp(60px, 7vw, 100px);
  --r: 14px;
  --r-sm: 8px;
  --r-lg: 22px;

  /* Easing */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01","cv11";
  text-rendering: optimizeLegibility;
  /* faint cool tint */
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(107,63,224,0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(168,117,255,0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.mono { font-family: var(--f-mono); font-size: 0.92em; }
.code {
  font-family: var(--f-mono);
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.eyebrow--serif {
  font-family: var(--f-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
  color: var(--accent);
}
.eyebrow--center { justify-content: center; }

.h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 600;
  margin: 14px 0 0;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(40px, 5.4vw, 68px); }
.h2--serif {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: clamp(36px, 4.6vw, 56px);
}

.origin__lede {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin: 0 auto 56px; text-align: center; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 16px; max-width: 640px; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

.muted { color: var(--muted); }

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--sm { padding: 6px 12px; font-size: 13px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(180deg, #B689FF 0%, var(--accent) 55%, #8E5BEE 100%);
  color: #16101F;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 8px 24px -10px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 14px 32px -10px var(--accent-glow);
}

.btn--ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: rgba(168,117,255,0.4);
  background: rgba(168,117,255,0.06);
  transform: translateY(-1px);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row--center { justify-content: center; }

.trust {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
}
.trust--center { text-align: center; }
.dot { color: var(--dim); margin: 0 6px; }

/* ============== Nav ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(11,10,18,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em;
}
.nav__mark { width: 26px; height: 26px; }
.nav__word { font-size: 16.5px; }
.nav__links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px;
  color: var(--text-2);
}
.nav__links a:hover { color: var(--text); }
.nav__icon-link {
  display: inline-flex; opacity: .8;
}
.nav__icon-link:hover { opacity: 1; color: var(--accent); }
.nav__cta { padding: 9px 16px; font-size: 13.5px; }
@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -10% -10% auto -10%;
  height: 90%;
  background:
    radial-gradient(60% 60% at 80% 30%, rgba(168,117,255,0.18), transparent 60%),
    radial-gradient(50% 50% at 20% 70%, rgba(107,63,224,0.16), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; }
}
.display {
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 18px 0 22px;
  text-wrap: balance;
}
.lede {
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.55;
  margin: 0;
}

/* === Hero visual: menu bar + window === */
.hero__visual {
  position: relative;
  perspective: 1800px;
}

.menubar {
  position: relative;
  height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
  font-size: 12px;
  color: var(--text-2);
  backdrop-filter: blur(10px);
  margin-bottom: -1px; /* sit on top of window */
  z-index: 2;
}
.menubar__left, .menubar__right { display: flex; align-items: center; gap: 14px; }
.menubar__apple {
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.4 6.5c-.9 0-2 .5-2.7 1.2-.6.6-1.2 1.6-1 2.6 1 .1 2-.5 2.6-1.1.6-.7 1.2-1.7 1.1-2.7zm2.4 6.4c0-1.6 1.3-2.4 1.4-2.4-.7-1.1-1.9-1.2-2.3-1.3-1-.1-1.9.6-2.4.6s-1.3-.6-2.1-.6c-1.1 0-2.1.6-2.7 1.6-1.1 2-.3 4.9.8 6.5.5.8 1.2 1.6 2.1 1.6.8 0 1.1-.5 2.2-.5s1.3.5 2.2.5c.9 0 1.5-.8 2-1.6.6-.9.9-1.8.9-1.9-.1 0-1.7-.7-1.8-2.5z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.4 6.5c-.9 0-2 .5-2.7 1.2-.6.6-1.2 1.6-1 2.6 1 .1 2-.5 2.6-1.1.6-.7 1.2-1.7 1.1-2.7zm2.4 6.4c0-1.6 1.3-2.4 1.4-2.4-.7-1.1-1.9-1.2-2.3-1.3-1-.1-1.9.6-2.4.6s-1.3-.6-2.1-.6c-1.1 0-2.1.6-2.7 1.6-1.1 2-.3 4.9.8 6.5.5.8 1.2 1.6 2.1 1.6.8 0 1.1-.5 2.2-.5s1.3.5 2.2.5c.9 0 1.5-.8 2-1.6.6-.9.9-1.8.9-1.9-.1 0-1.7-.7-1.8-2.5z'/></svg>") center/contain no-repeat;
}
.menubar__dim { color: var(--dim); }
.menubar__icon {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  position: relative;
}
.menubar__icon img { width: 16px; height: 16px; }
.menubar__icon--active::after {
  content: "";
  position: absolute; left: -3px; top: -3px; right: -3px; bottom: -3px;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid rgba(168,117,255,0.45);
}

/* Tray */
.tray {
  position: absolute;
  top: 30px; right: 6px;
  width: 240px;
  background: linear-gradient(180deg, rgba(28,22,46,0.95), rgba(20,16,34,0.95));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(168,117,255,0.05);
  padding: 10px;
  font-size: 12.5px;
  z-index: 5;
  backdrop-filter: blur(20px);
}
.tray__head { display: flex; gap: 10px; align-items: center; padding: 4px 4px 10px; border-bottom: 1px solid var(--line); }
.tray__icon { width: 28px; height: 28px; }
.tray__title { font-weight: 600; }
.tray__sub { color: var(--muted); font-size: 11.5px; display: flex; align-items: center; gap: 6px; }
.tray__pills { display: flex; gap: 10px; padding: 4px 6px 8px; flex-wrap: wrap; }
.tray__pills--nowrap { flex-wrap: nowrap; white-space: nowrap; justify-content: space-between; gap: 6px; }
.tray__pills--nowrap .tray__pill { font-size: 11px; }
.tray__pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-2); }
.tray__pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px rgba(111,227,164,0.18); }
.tray__meter { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 3px 6px; color: var(--text-2); font-size: 12px; }
.tray__meter-k { color: var(--text-2); }
.tray__spark { color: var(--accent); display: block; height: 14px; opacity: 0.85; }
.tray__spark svg { width: 100%; height: 100%; display: block; }
.tray__meter-v { color: var(--text); }
.tray__row { display: flex; justify-content: space-between; padding: 4px 6px; color: var(--text-2); font-size: 12px; }
.tray__divider { height: 1px; background: var(--line); margin: 6px 0; }
.tray__action { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 6px; cursor: default; color: var(--text); gap: 12px; }
.tray__action:hover { background: rgba(168,117,255,0.10); }
.tray__action--quiet { color: var(--muted); }
.tray__action--disabled { color: var(--dim); }
.tray__action--disabled:hover { background: transparent; }
.tray__chev { color: var(--dim); font-size: 14px; line-height: 1; }
.tray .kbd { font-family: var(--f-mono); font-size: 11px; color: var(--dim); background: transparent; border: 0; padding: 0; }

.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(111,227,164,0.18);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Window chrome */
.window {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: linear-gradient(180deg, #15121F 0%, #100E1A 100%);
  overflow: hidden;
  box-shadow:
    0 50px 120px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(168,117,255,0.04),
    0 0 80px -20px rgba(168,117,255,0.20);
}
.window--tilt {
  transform: perspective(1800px) rotateX(2deg) rotateY(-3deg);
}
.window__chrome {
  display: flex; align-items: center;
  height: 38px;
  padding: 0 14px;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl--r { background: #FF5F57; }
.tl--y { background: #FEBC2E; margin-left: -7px; }
.tl--g { background: #28C840; margin-left: -7px; }
.tl + .tl { margin-left: 0; } /* override */
.window__chrome > .tl:first-child { margin-left: 0; }
.window__chrome > .tl + .tl { margin-left: 6px; }

.window__url {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--text-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 6px;
  flex: 1; max-width: 360px; margin: 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  justify-content: center;
}
.window__lock { color: var(--accent); }
.window__path { color: var(--muted); }
.window__chrome-r { display: flex; gap: 6px; margin-left: auto; }
.window__btn {
  font-size: 11.5px; padding: 4px 10px;
  border-radius: 5px; color: var(--text-2);
  border: 1px solid var(--line);
}

/* App body grid */
.window__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 460px;
}

.app-sidebar {
  border-right: 1px solid var(--line);
  padding: 14px 12px;
  font-size: 13px;
  background: rgba(0,0,0,0.18);
}
.app-sidebar__brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; padding: 4px 8px 14px;
}
.app-sidebar__brand img { width: 18px; height: 18px; }
.app-sidebar__group {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--dim); padding: 14px 8px 6px;
}
.app-sidebar__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px; border-radius: 6px; color: var(--text-2);
}
.app-sidebar__item .bullet {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dim); margin-right: 8px;
}
.app-sidebar__item--active {
  background: rgba(168,117,255,0.10);
  color: var(--text);
}
.app-sidebar__item--active .bullet { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bullet--ok { background: var(--ok) !important; box-shadow: 0 0 0 3px rgba(111,227,164,0.18); }
.app-sidebar__item .count {
  font-size: 11px; color: var(--dim);
  background: rgba(255,255,255,0.04);
  padding: 1px 6px; border-radius: 4px;
}

/* App main */
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  gap: 12px;
}
.app-toolbar__l, .app-toolbar__r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.04); color: var(--text-2);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px;
}
.pill--live { color: var(--ok); }
.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
  font-size: 11px;
}
.seg__opt { padding: 3px 9px; color: var(--muted); }
.seg__opt--active { background: rgba(168,117,255,0.16); color: var(--text); }
.kbd {
  font-family: var(--f-mono); font-size: 10.5px;
  padding: 2px 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text-2);
}
.mini-stat { color: var(--muted); font-size: 11.5px; }
.mini-stat b { color: var(--text); font-weight: 500; font-family: var(--f-mono); }

/* Camera grid */
.cam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  flex: 1;
}
.cam {
  background: #0c0a14;
  display: flex; flex-direction: column;
  position: relative;
  min-width: 0;
}
.cam__label {
  position: absolute; top: 8px; left: 10px;
  font-size: 11px; color: var(--text);
  display: flex; gap: 8px; align-items: center;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.cam__res {
  font-family: var(--f-mono); font-size: 9.5px;
  color: var(--muted);
  background: rgba(0,0,0,0.5);
  padding: 1px 5px; border-radius: 3px;
}
.cam__shot {
  flex: 1;
  min-height: 100px;
  position: relative;
  background-color: #0a0810;
}
/* Each camera shot: gradient placeholders evoking camera scenes */
.cam__shot--1 { background:
  radial-gradient(80% 60% at 50% 80%, #2a2238 0%, #15101e 60%, #0a0810 100%),
  linear-gradient(180deg, #1a1430 0%, #0a0810 100%);
  background-blend-mode: screen;
}
.cam__shot--2 { background:
  linear-gradient(160deg, #1a1326 0%, #0c0914 60%, #0a0810 100%);
}
.cam__shot--3 { background:
  radial-gradient(60% 80% at 30% 30%, #2a3a48 0%, #14202a 50%, #0a0e14 100%);
}
.cam__shot--4 { background:
  linear-gradient(180deg, #1a1626 0%, #0a0810 100%);
}
.cam__shot--5 { background:
  radial-gradient(70% 60% at 70% 70%, #2a2240 0%, #14102a 60%, #0a0810 100%);
}
.cam__shot--6 { background:
  radial-gradient(50% 70% at 50% 40%, #1e1a2a 0%, #0a0810 100%);
}

/* Subtle scene texture */
.cam__shot::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,0.012) 2px 3px);
  pointer-events: none;
}
/* Bounding boxes */
.cam__bbox {
  position: absolute;
  left: 28%; top: 32%; width: 38%; height: 50%;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(168,117,255,0.15), 0 0 20px rgba(168,117,255,0.20);
}
.cam__bbox--anim {
  animation: bboxPulse 2.6s ease-in-out infinite;
}
@keyframes bboxPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(168,117,255,0.15), 0 0 16px rgba(168,117,255,0.18); }
  50% { box-shadow: 0 0 0 1px rgba(168,117,255,0.30), 0 0 28px rgba(168,117,255,0.35); }
}
.cam__bbox-tag {
  position: absolute; top: -1px; left: -1.5px;
  transform: translateY(-100%);
  background: var(--accent);
  color: #1a0e2c;
  font-size: 10px; font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px 3px 3px 0;
  font-family: var(--f-mono);
  white-space: nowrap;
}
.cam__bbox-tag--alt {
  background: rgba(168,117,255,0.20);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cam__bbox--small {
  position: absolute;
  border: 1.2px solid var(--accent);
  border-radius: 2px;
}

.cam__foot {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  font-size: 10.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
}
.cam__time { margin-left: auto; color: var(--text-2); }

@media (max-width: 720px) {
  .window__body { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .cam-grid { grid-template-columns: repeat(2, 1fr); }
  .window--tilt { transform: none; }
}

/* ============== "What is it" strip ============== */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(60px, 7vw, 96px) 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 820px) {
  .strip__grid { grid-template-columns: 1fr; }
}
.strip__card {
  border-left: 1px solid var(--line);
  padding: 0 0 0 28px;
}
.strip__card:first-child { border-left-color: var(--accent); }
.strip__no {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.strip__card h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.strip__card p { color: var(--text-2); margin: 0; line-height: 1.55; }

/* ============== How it works ============== */
.how { padding: var(--section-y) 0; }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  counter-reset: steps;
}
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  position: relative;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(168,117,255,0.35);
  box-shadow: 0 18px 40px -22px var(--accent-glow);
}
.step__num {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px; font-weight: 600;
  font-family: var(--f-mono);
  margin-bottom: 16px;
  border: 1px solid rgba(168,117,255,0.25);
}
.step h3 {
  font-size: 19px; margin: 0 0 8px;
  letter-spacing: -0.01em; font-weight: 600;
}
.step p { color: var(--text-2); margin: 0 0 18px; font-size: 14.5px; }
.step__art {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.srtsp {
  font-family: var(--f-mono); font-size: 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px; color: var(--muted);
}
.srtsp__h { color: var(--accent); }
.schip {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-2);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
}
.schip--row { justify-content: space-between; }
.yaml {
  font-family: var(--f-mono); font-size: 11.5px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
  white-space: pre;
  overflow-x: auto;
}
.yk { color: var(--accent); }

/* ============== Performance ============== */
.perf {
  padding: var(--section-y) 0;
  position: relative;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(168,117,255,0.10), transparent 60%);
}
.perf__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(60px, 8vw, 100px);
}
@media (max-width: 880px) { .perf__cols { grid-template-columns: 1fr; } }
.perf__col {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
}
.perf__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--text-2);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 22px;
}
.perf__tag-dot { width: 7px; height: 7px; border-radius: 50%; }
.perf__tag-dot--ane { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.perf__tag-dot--vt  { background: var(--accent-3); box-shadow: 0 0 0 3px rgba(208,112,255,0.18); }
.perf__lede { color: var(--text-2); font-size: 16px; margin: 0 0 28px; line-height: 1.55; }
.perf__stat {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin: 22px 0;
}
.perf__num {
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9B6FF 60%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-feature-settings: "tnum";
}
.perf__unit {
  font-size: 0.42em;
  margin-left: 6px;
  font-weight: 500;
  letter-spacing: -0.01em;
  -webkit-text-fill-color: var(--text-2);
  background: none;
}
.perf__num-sub {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--f-mono);
  letter-spacing: 0.01em;
}
.perf__sub { color: var(--muted); font-size: 14px; margin: 0; }

/* SoC die */
.soc {
  position: relative;
  max-width: 920px; margin: 0 auto;
  padding: 40px 0;
}
.soc__die {
  display: flex; justify-content: center;
}
.soc__pkg {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1.05 / 1;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(168,117,255,0.12), transparent 60%),
    linear-gradient(180deg, #1a1626 0%, #100D1A 100%);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 22px;
  position: relative;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
}
.soc__pkg::before, .soc__pkg::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(168,117,255,0.18);
  border-radius: 18px;
}
.soc__pkg::before { inset: 8px; }
.soc__pkg::after { inset: 14px; border-color: rgba(168,117,255,0.10); }

.soc__label {
  position: absolute; top: 12px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.soc__grid {
  position: relative;
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding-top: 18px;
}
.soc__cell {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.soc__cell--accent {
  background: linear-gradient(180deg, rgba(168,117,255,0.08), rgba(168,117,255,0.02));
  border-color: rgba(168,117,255,0.32);
  box-shadow: inset 0 0 30px rgba(168,117,255,0.06);
}
.soc__cell-label {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2);
}
.soc__cell--accent .soc__cell-label { color: var(--accent); }

.soc__core-row { display: flex; gap: 6px; }
.soc__core {
  flex: 1; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
}
.soc__core--e { height: 12px; opacity: 0.7; }

.soc__ane {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  flex: 1;
}
.soc__ane span {
  background: linear-gradient(180deg, rgba(168,117,255,0.65), rgba(168,117,255,0.18));
  border-radius: 3px;
  border: 1px solid rgba(168,117,255,0.45);
  box-shadow: 0 0 0 0 rgba(168,117,255,0);
  animation: aneFlicker 2.6s ease-in-out infinite;
  transform-origin: center;
}
.soc__ane span:nth-child(1)  { animation-delay: 0.0s; }
.soc__ane span:nth-child(2)  { animation-delay: 0.1s; }
.soc__ane span:nth-child(3)  { animation-delay: 0.2s; }
.soc__ane span:nth-child(4)  { animation-delay: 0.3s; }
.soc__ane span:nth-child(5)  { animation-delay: 0.15s; }
.soc__ane span:nth-child(6)  { animation-delay: 0.25s; }
.soc__ane span:nth-child(7)  { animation-delay: 0.35s; }
.soc__ane span:nth-child(8)  { animation-delay: 0.45s; }
.soc__ane span:nth-child(9)  { animation-delay: 0.30s; }
.soc__ane span:nth-child(10) { animation-delay: 0.40s; }
.soc__ane span:nth-child(11) { animation-delay: 0.50s; }
.soc__ane span:nth-child(12) { animation-delay: 0.60s; }
.soc__ane span:nth-child(13) { animation-delay: 0.45s; }
.soc__ane span:nth-child(14) { animation-delay: 0.55s; }
.soc__ane span:nth-child(15) { animation-delay: 0.65s; }
.soc__ane span:nth-child(16) { animation-delay: 0.75s; }

@keyframes aneFlicker {
  0%, 100% {
    opacity: 0.55;
    box-shadow: 0 0 0 0 rgba(168,117,255,0);
    transform: scale(1);
  }
  50% {
    opacity: 1.0;
    box-shadow: 0 0 6px 1px rgba(168,117,255,0.55);
    transform: scale(1.06);
  }
}

.soc__gpu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  flex: 1;
}
.soc__gpu span {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border-radius: 3px;
  border: 1px solid var(--line);
}

.soc__vt {
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.soc__vt-bar {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(208,112,255,0.05), rgba(208,112,255,0.45) 50%, rgba(208,112,255,0.05));
  background-size: 200% 100%;
  animation: vtSlide 2.4s linear infinite;
  border: 1px solid rgba(208,112,255,0.25);
}
.soc__vt-bar:nth-child(2) { animation-delay: -0.6s; }
.soc__vt-bar:nth-child(3) { animation-delay: -1.2s; }
@keyframes vtSlide {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}

.soc__pulse {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  animation: socPulse 3.6s ease-in-out infinite;
}
.soc__pulse--ane { box-shadow: inset 0 0 0 1px rgba(168,117,255,0.35); }
.soc__pulse--vt  { box-shadow: inset 0 0 0 1px rgba(208,112,255,0.35); }
@keyframes socPulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* SoC callouts */
.soc__cap {
  display: none; /* hidden on small */
}
@media (min-width: 880px) {
  .soc { display: grid; grid-template-columns: 1fr 560px 1fr; gap: 24px; align-items: stretch; padding: 60px 0; }
  .soc__die { grid-column: 2; }
  .soc__cap {
    display: flex; flex-direction: column;
    justify-content: center;
    gap: 8px;
    color: var(--text-2);
  }
  .soc__cap--tl { grid-column: 1; grid-row: 1; align-items: flex-end; text-align: right; }
  .soc__cap--bl { grid-column: 1; grid-row: 1; align-items: flex-end; text-align: right; align-self: end; padding-bottom: 30px; }
  .soc__cap--tr { grid-column: 3; grid-row: 1; align-items: flex-start; text-align: left; align-self: start; padding-top: 30px; }
  .soc__cap--br { grid-column: 3; grid-row: 1; align-items: flex-start; text-align: left; align-self: end; padding-bottom: 30px; }
  .soc__die { grid-row: 1; }
  .soc__cap-label { max-width: 200px; }
  .soc__cap-line {
    height: 1px; width: 60px;
    background: linear-gradient(90deg, transparent, var(--line-strong));
    margin: 6px 0;
  }
  .soc__cap--accent .soc__cap-line {
    background: linear-gradient(90deg, transparent, rgba(168,117,255,0.6));
  }
}
.soc__cap-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.soc__cap-eyebrow--accent { color: var(--accent); }
.soc__cap-text { font-size: 13px; color: var(--text-2); margin-top: 4px; }

/* ============== Features grid ============== */
.features { padding: var(--section-y) 0; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
@media (min-width: 760px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .feat-grid { grid-template-columns: repeat(5, 1fr); } }

.feat {
  background: var(--bg-1);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.feat:hover { background: var(--surface); }
.feat h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.feat__ico {
  width: 28px; height: 28px;
  position: relative;
  color: var(--accent);
  margin-bottom: 6px;
}
/* SVG icons via data URI background masks for crispness */
.feat__ico::before {
  content: ""; position: absolute; inset: 0;
  background: currentColor;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.feat__ico[data-ico="grid"]::before     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='8' height='8' rx='1.5'/><rect x='13' y='3' width='8' height='8' rx='1.5'/><rect x='3' y='13' width='8' height='8' rx='1.5'/><rect x='13' y='13' width='8' height='8' rx='1.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='8' height='8' rx='1.5'/><rect x='13' y='3' width='8' height='8' rx='1.5'/><rect x='3' y='13' width='8' height='8' rx='1.5'/><rect x='13' y='13' width='8' height='8' rx='1.5'/></svg>"); }
.feat__ico[data-ico="zone"]::before     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polygon points='4,18 8,7 17,5 21,14 14,21'/><circle cx='4' cy='18' r='1.4'/><circle cx='8' cy='7' r='1.4'/><circle cx='17' cy='5' r='1.4'/><circle cx='21' cy='14' r='1.4'/><circle cx='14' cy='21' r='1.4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polygon points='4,18 8,7 17,5 21,14 14,21'/><circle cx='4' cy='18' r='1.4'/><circle cx='8' cy='7' r='1.4'/><circle cx='17' cy='5' r='1.4'/><circle cx='21' cy='14' r='1.4'/><circle cx='14' cy='21' r='1.4'/></svg>"); }
.feat__ico[data-ico="record"]::before   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='3' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='3' fill='black'/></svg>"); }
.feat__ico[data-ico="detect"]::before   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7V4h3'/><path d='M21 7V4h-3'/><path d='M3 17v3h3'/><path d='M21 17v3h-3'/><circle cx='12' cy='12' r='3.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7V4h3'/><path d='M21 7V4h-3'/><path d='M3 17v3h3'/><path d='M21 17v3h-3'/><circle cx='12' cy='12' r='3.5'/></svg>"); }
.feat__ico[data-ico="ha"]::before       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11 12 3l9 8'/><path d='M5 10v10h14V10'/><path d='M10 20v-6h4v6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11 12 3l9 8'/><path d='M5 10v10h14V10'/><path d='M10 20v-6h4v6'/></svg>"); }
.feat__ico[data-ico="webrtc"]::before   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><path d='M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0Z'/><path d='M2 12h20'/><path d='M12 2c3 3.5 3 16.5 0 20'/><path d='M12 2c-3 3.5-3 16.5 0 20'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><path d='M2 12a10 10 0 1 0 20 0 10 10 0 0 0-20 0Z'/><path d='M2 12h20'/><path d='M12 2c3 3.5 3 16.5 0 20'/><path d='M12 2c-3 3.5-3 16.5 0 20'/></svg>"); }
.feat__ico[data-ico="restream"]::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 7h12a4 4 0 0 1 0 8H8a4 4 0 0 0 0 8h12'/><path d='m20 7-3-3 3-3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 7h12a4 4 0 0 1 0 8H8a4 4 0 0 0 0 8h12'/><path d='m20 7-3-3 3-3'/></svg>"); }
.feat__ico[data-ico="menubar"]::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='4' rx='1.5'/><circle cx='17' cy='6' r='0.8' fill='black'/><rect x='3' y='12' width='18' height='8' rx='1.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='4' rx='1.5'/><circle cx='17' cy='6' r='0.8' fill='black'/><rect x='3' y='12' width='18' height='8' rx='1.5'/></svg>"); }
.feat__ico[data-ico="offline"]::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3l18 18'/><path d='M5 12a10 10 0 0 1 14-2'/><path d='M9 16a4 4 0 0 1 4-2'/><circle cx='12' cy='20' r='1' fill='black'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3l18 18'/><path d='M5 12a10 10 0 0 1 14-2'/><path d='M9 16a4 4 0 0 1 4-2'/><circle cx='12' cy='20' r='1' fill='black'/></svg>"); }
.feat__ico[data-ico="oss"]::before      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='m9 18-6-6 6-6'/><path d='m15 6 6 6-6 6'/><path d='m13 4-2 16'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='m9 18-6-6 6-6'/><path d='m15 6 6 6-6 6'/><path d='m13 4-2 16'/></svg>"); }

/* ============== Gallery ============== */
.gallery { padding: var(--section-y) 0; }
.gallery__rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
}
.shot--lg { grid-column: 1 / -1; }
@media (max-width: 880px) { .gallery__rail { grid-template-columns: 1fr; } }

.window--shot {
  transform: none;
}

/* Review timeline shot */
.window__body--review {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  min-height: 420px;
  padding: 16px;
  gap: 16px;
}
.review__player {
  background:
    radial-gradient(60% 70% at 60% 40%, #2a2240 0%, #14102a 50%, #0a0810 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 200px;
  position: relative;
}
.review__player::before {
  content: "▶";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px; color: rgba(255,255,255,0.3);
}
.review__rail { position: relative; }
.review__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.review__rowlabel { font-size: 11px; color: var(--muted); }
.review__track {
  position: relative;
  height: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 3px;
  overflow: hidden;
}
.review__seg {
  position: absolute;
  top: 2px; bottom: 2px;
  background: rgba(255,255,255,0.10);
  border-radius: 2px;
}
.review__seg--accent { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.review__ruler {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px; color: var(--dim);
  padding: 6px 0 0 90px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.review__playhead {
  position: absolute;
  left: calc(90px + 36%);
  top: 0; bottom: 18px;
  width: 1px; background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}
.review__playhead::before {
  content: "";
  position: absolute; left: -4px; top: -2px;
  width: 9px; height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Zone editor shot */
.window__body--zone {
  display: grid;
  grid-template-columns: 1fr 220px;
  min-height: 360px;
}
.zone__canvas {
  background:
    radial-gradient(60% 80% at 30% 30%, #2a3a48 0%, #14202a 50%, #0a0e14 100%);
  position: relative;
  border-right: 1px solid var(--line);
}
.zone__svg { width: 100%; height: 100%; display: block; }
.zone__poly {
  fill: rgba(168,117,255,0.18);
  stroke: var(--accent);
  stroke-width: 2;
}
.zone__handle { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.zone__handle--active { fill: var(--accent); }
.zone__lbl {
  position: absolute; top: 12px; left: 14px;
  font-size: 11px; color: var(--accent);
  background: rgba(168,117,255,0.12);
  border: 1px solid rgba(168,117,255,0.4);
  padding: 2px 8px; border-radius: 4px;
  font-family: var(--f-mono);
}
.zone__panel { padding: 14px; font-size: 12px; }
.zone__panel-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}
.zone__panel-row span:first-child { color: var(--muted); }
.chip {
  background: rgba(168,117,255,0.12);
  border: 1px solid rgba(168,117,255,0.3);
  color: var(--accent);
  padding: 1px 8px; border-radius: 999px;
  font-size: 11px;
}

/* Event detail shot */
.window__body--event {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 360px;
}
.event__hero {
  background:
    radial-gradient(70% 70% at 50% 70%, #2a2238 0%, #15101e 60%, #0a0810 100%);
  position: relative;
  border-right: 1px solid var(--line);
}
.event__bbox {
  position: absolute;
  left: 30%; top: 30%; width: 36%; height: 50%;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(168,117,255,0.15), 0 0 20px rgba(168,117,255,0.20);
}
.event__bbox .cam__bbox-tag { position: absolute; top: -1px; left: -1.5px; transform: translateY(-100%); }
.event__meta { padding: 18px; }
.event__row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.event__row span { color: var(--muted); }
.event__row b { font-weight: 500; }
.event__btns { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ============== Origin story ============== */
.origin {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(168,117,255,0.03), transparent);
}
.origin__wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  max-width: 920px;
}
@media (max-width: 720px) { .origin__wrap { grid-template-columns: 1fr; } }

.origin__art {
  display: flex; justify-content: center;
  padding-top: 30px;
}
.origin__logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(168,117,255,0.35));
}
.origin__copy p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.origin__copy p em { color: var(--accent); font-style: italic; font-family: var(--f-serif); font-size: 1.06em; }
.origin__copy .muted { font-size: 13px; color: var(--muted); }

/* ============== Compare ============== */
.compare { padding: var(--section-y) 0; }

.cmpf {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 60px;
}
@media (max-width: 1100px) { .cmpf { grid-template-columns: repeat(2, 1fr); } .cmpf__col--us { grid-column: 1 / -1; } }
@media (max-width: 600px)  { .cmpf { grid-template-columns: 1fr; } .cmpf__col--us { grid-column: auto; } }

.cmpf__col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.cmpf__col--us {
  background: linear-gradient(180deg, rgba(168,117,255,0.10), rgba(168,117,255,0.02));
  border-color: rgba(168,117,255,0.45);
  box-shadow: 0 24px 60px -28px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.04);
}
.cmpf__badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #1a0e2c;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.cmpf__name {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.01em;
  min-height: 44px;
}
.cmpf__icon { width: 24px; height: 24px; }
.cmpf__sub { color: var(--muted); font-weight: 400; font-size: 12.5px; display: block; }
.cmpf__rating .cmpf__cat {
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.dots {
  display: flex; gap: 5px;
  margin-bottom: 8px;
}
.dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line);
}
.dots--5 span { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 1px rgba(168,117,255,0.15); }
.dots--4 span:nth-child(-n+4) { background: var(--accent); border-color: var(--accent); }
.dots--3 span:nth-child(-n+3) { background: var(--accent); border-color: var(--accent); }
.dots--2 span:nth-child(-n+2) { background: var(--accent); border-color: var(--accent); }
.dots--1 span:nth-child(-n+1) { background: var(--accent); border-color: var(--accent); }
.dots--na {
  font-family: var(--f-mono);
  font-size: 11px; color: var(--dim);
  letter-spacing: 0.1em;
  padding: 2px 0;
}
.cmpf__qual { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* Full table */
.cmpt-wrap { margin-top: 0; }
.cmpt {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.cmpt th, .cmpt td {
  text-align: left;
  padding: 14px 16px;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
.cmpt thead th { border-top: 0; padding: 18px 16px; font-weight: 500; font-size: 13px; color: var(--text-2); background: rgba(255,255,255,0.02); }
.cmpt thead .cmpt__us { color: var(--text); }
.cmpt__head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cmpt__head img { width: 18px; height: 18px; }
.cmpt__hsub { color: var(--muted); font-size: 12px; font-weight: 400; }
.cmpt tbody th { font-weight: 500; color: var(--text-2); width: 22%; }
.cmpt tbody tr:hover td, .cmpt tbody tr:hover th { background: rgba(168,117,255,0.04); }

.cmpt__us {
  background: rgba(168,117,255,0.05) !important;
  border-left: 1px solid rgba(168,117,255,0.4);
  border-right: 1px solid rgba(168,117,255,0.4);
}
.cmpt tbody tr:last-child .cmpt__us { border-bottom: 1px solid rgba(168,117,255,0.4); }
.cmpt thead .cmpt__us { border-top: 1px solid rgba(168,117,255,0.4); }

.cmpt b.ok  { color: var(--ok); font-weight: 500; margin-right: 6px; }
.cmpt b.no  { color: var(--bad); font-weight: 500; margin-right: 6px; }
.cmpt b.mid { color: var(--muted); font-weight: 500; margin-right: 6px; }

/* Mobile cards */
.cmpm { display: none; }
@media (max-width: 880px) {
  .cmpt--desktop { display: none; }
  .cmpm { display: grid; gap: 14px; }
  .cmpm__card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px;
  }
  .cmpm__card--us {
    background: linear-gradient(180deg, rgba(168,117,255,0.08), rgba(168,117,255,0.02));
    border-color: rgba(168,117,255,0.45);
  }
  .cmpm__head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
  .cmpm__head img { width: 22px; height: 22px; }
  .cmpm__head h3 { margin: 0; font-size: 17px; }
  .cmpm__head h3 span { color: var(--muted); font-weight: 400; font-size: 13px; }
  .cmpm dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; }
  .cmpm dt { color: var(--muted); }
  .cmpm dd { margin: 0; color: var(--text); }
  .cmpm dd b.ok  { color: var(--ok); margin-right: 4px; }
  .cmpm dd b.no  { color: var(--bad); margin-right: 4px; }
  .cmpm dd b.mid { color: var(--muted); margin-right: 4px; }
}

.cmp-close {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============== Pricing ============== */
.pricing { padding: var(--section-y) 0; }
.price-card {
  position: relative;
  max-width: 480px; margin: 0 auto;
}
.price-card__glow {
  position: absolute; inset: -40px;
  background: radial-gradient(60% 60% at 50% 50%, var(--accent-glow), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}
.price-card__inner {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(168,117,255,0.30);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 1px rgba(168,117,255,0.06);
}
.price-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.price-card__icon { width: 44px; height: 44px; }
.price-card__product { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.price-card__sku { color: var(--muted); font-size: 13px; }

.price-card__price {
  display: flex; align-items: baseline; gap: 4px;
  margin: 14px 0 6px;
  font-feature-settings: "tnum";
}
.price-card__cur { font-size: 28px; color: var(--text-2); font-weight: 500; }
.price-card__amt {
  font-size: clamp(72px, 8vw, 110px);
  letter-spacing: -0.05em;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF, #C9B6FF 70%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card__per { color: var(--muted); font-size: 14px; margin-left: 6px; }

.price-card__lede { color: var(--text-2); font-size: 14.5px; margin: 0 0 22px; }
.price-card__list {
  list-style: none; padding: 0; margin: 0 0 26px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.price-card__list li { display: flex; align-items: center; gap: 12px; }
.check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(168,117,255,0.4);
  position: relative;
  flex: none;
}
.check::after {
  content: "";
  position: absolute;
  left: 5px; top: 3px;
  width: 4px; height: 8px;
  border: solid var(--accent);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.price-card__sub {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

.trust-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.trust-row__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  background: rgba(255,255,255,0.02);
}
.trust-row__chip svg { color: var(--accent); }

/* ============== FAQ ============== */
.faq { padding: var(--section-y) 0; }
.faq__list { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }

.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.qa[open] { border-color: rgba(168,117,255,0.30); background: var(--surface-2); }

.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -0.005em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 1.6px solid var(--text-2);
  border-bottom: 1.6px solid var(--text-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
  flex: none;
}
.qa[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.qa__body {
  padding: 0 22px 22px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.qa__body p { margin: 0 0 12px; }
.qa__body p:last-child { margin-bottom: 0; }
.qa__body a { color: var(--accent); }
.qa__body a:hover { text-decoration: underline; }

/* ============== Final CTA ============== */
.cta {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(168,117,255,0.10), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg));
}
.cta__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(208,112,255,0.10), transparent 70%);
  pointer-events: none;
}
.cta__wrap { position: relative; }
.cta__h { margin: 16px auto 24px; max-width: 720px; }

/* ============== Footer ============== */
.ft {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: var(--bg-1);
}
.ft__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 48px;
}
@media (max-width: 880px) { .ft__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft__inner { grid-template-columns: 1fr; } }

.ft__brand { display: flex; flex-direction: column; gap: 10px; }
.ft__brand .ft__icon { width: 30px; height: 30px; }
.ft__name { font-weight: 600; font-size: 16px; }
.ft__tag { color: var(--muted); font-size: 13.5px; max-width: 320px; line-height: 1.5; margin: 0; }
.ft__badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-2);
  align-self: flex-start;
  margin-top: 8px;
}
.ft__badge svg { color: var(--accent); }

.ft__col { display: flex; flex-direction: column; gap: 8px; }
.ft__col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 6px;
  font-weight: 500;
}
.ft__col a { font-size: 13.5px; color: var(--text-2); }
.ft__col a:hover { color: var(--accent); }
.ft__fine { color: var(--dim); font-size: 11.5px; line-height: 1.5; margin-top: 6px; }

.ft__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.ft__bottom-r { display: flex; gap: 18px; }
.ft__bottom-r a:hover { color: var(--accent); }
@media (max-width: 520px) {
  .ft__bottom { flex-direction: column; gap: 10px; }
}

/* ============== Reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .window--tilt { transform: none; }
}

/* ============== Buy dialog ============== */
.buy {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  color: var(--text);
  padding: 0;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
  width: min(440px, calc(100vw - 32px));
  max-width: 440px;
}
.buy::backdrop {
  background: rgba(8, 6, 16, 0.72);
  backdrop-filter: blur(4px);
}
.buy[open] { animation: buy-in 0.18s var(--ease); }
@keyframes buy-in {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.buy__form { padding: 22px 22px 20px; display: grid; gap: 12px; }
.buy__head {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.buy__icon { width: 36px; height: 36px; border-radius: 8px; }
.buy__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.buy__sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.buy__x {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-2);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.buy__x:hover {
  border-color: var(--line-strong);
  color: var(--text);
}
.buy__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  margin-top: 6px;
}
.buy__input {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.buy__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.buy__submit { margin-top: 4px; }
.buy__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.buy__status {
  margin: 0;
  min-height: 1em;
  font-size: 13px;
  color: var(--muted);
}
.buy__status--err { color: var(--bad); }
.buy__fine {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* =================================================================
   GALLERY MOCKUPS — structurally accurate, fictitious data
   Inspired by web/src/views/* + web/src/components/* but built in
   plain HTML/CSS so they render statically without React.
   ================================================================= */

/* ── Frame: tilt + accent glow under each shot ────────────────── */
.shot { position: relative; isolation: isolate; }
.shot::after {
  content: "";
  position: absolute;
  inset: -8% -6% -22%;
  background: radial-gradient(60% 45% at 50% 78%, var(--accent-glow), transparent 70%);
  filter: blur(48px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}
.shot--lg::after { inset: -6% -4% -18%; opacity: 0.9; }
/* Override the earlier transform: none to apply a subtle tilt */
.gallery .window--shot {
  transform: perspective(2200px) rotateX(1.5deg) rotateY(-2deg);
  transition: transform 0.5s var(--ease);
}
.gallery .shot--lg .window--shot {
  transform: perspective(2400px) rotateX(0.8deg) rotateY(-1deg);
}
@media (max-width: 880px) {
  .gallery .window--shot,
  .gallery .shot--lg .window--shot { transform: none; }
}

/* Common viewport surface — used by tiles, review viewport, event preview */
.mock-vp {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%,   rgba(168,117,255,0.06), transparent 55%),
    radial-gradient(140% 90% at 100% 100%, rgba(208,112,255,0.05), transparent 60%),
    linear-gradient(180deg, #0e0c18 0%, #07060d 100%);
}
.mock-vp::before {
  /* very faint scanline / sensor texture so it reads as video, not solid */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

/* =====================================================================
   1. LIVE DASHBOARD — multi-camera grid
   ===================================================================== */
.mock-live {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 12px;
  min-height: 420px;
}
.mock-live__bar {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  font-family: var(--f-sans);
}
.mock-live__pill {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-2);
  background: rgba(255,255,255,0.025);
}
.mock-live__pill--active {
  color: var(--text);
  border-color: rgba(168,117,255,0.45);
  background: var(--accent-soft);
}
.mock-live__sp { flex: 1; }
.mock-live__hud {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}
.mock-live__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}
.mock-live__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
}
.mock-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 75% at 25% 20%, rgba(168,117,255,0.08), transparent 55%),
    radial-gradient(110% 75% at 80% 90%, rgba(208,112,255,0.06), transparent 60%),
    linear-gradient(180deg, #0e0c18 0%, #07060d 100%);
}
.mock-tile::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 1;
}
.mock-tile--off {
  background: repeating-linear-gradient(
    135deg, #14111d 0 6px, #100e18 6px 12px);
  opacity: 0.55;
}
.mock-tile--off::before { display: none; }
.mock-tile__rec {
  position: absolute; top: 8px; right: 8px;
  font-family: var(--f-mono);
  font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 6px;
  background: rgba(0,0,0,0.45);
  border-radius: 4px;
  backdrop-filter: blur(2px);
}
.mock-tile__rec-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bad);
  box-shadow: 0 0 6px var(--bad);
  animation: rec-pulse 1.6s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.mock-tile__name {
  position: absolute; bottom: 8px; left: 8px;
  font-size: 11.5px; font-weight: 500;
  color: var(--text);
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}
.mock-tile__hud {
  position: absolute; bottom: 8px; right: 8px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--text-2);
  background: rgba(0,0,0,0.45);
  padding: 3px 6px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}
.mock-tile--off .mock-tile__name,
.mock-tile--off .mock-tile__hud { background: rgba(0,0,0,0.6); }
.mock-tile__bbox {
  position: absolute;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(168,117,255,0.25), inset 0 0 12px rgba(168,117,255,0.10);
}
.mock-tile__bbox--alt { border-color: var(--accent-3); box-shadow: 0 0 0 1px rgba(208,112,255,0.25), inset 0 0 12px rgba(208,112,255,0.10); }
.mock-tile__bbox-tag {
  position: absolute; top: -19px; left: -1px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: #0e0c18;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 3px 3px 3px 0;
  white-space: nowrap;
}
.mock-tile__bbox--alt .mock-tile__bbox-tag { background: var(--accent-3); }
@media (max-width: 540px) {
  .mock-live__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   2. REVIEW TIMELINE
   ===================================================================== */
.mock-rev {
  display: flex; flex-direction: column;
  background: var(--bg-1);
  padding: 12px;
  gap: 10px;
  min-height: 340px;
}
.mock-rev__viewport {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 75% at 30% 25%, rgba(208,112,255,0.08), transparent 55%),
    linear-gradient(180deg, #0e0c18 0%, #07060d 100%);
}
.mock-rev__viewport::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 1;
}
.mock-rev__name {
  position: absolute; top: 10px; left: 10px;
  font-size: 11.5px; color: var(--text);
  background: rgba(0,0,0,0.5);
  padding: 3px 8px; border-radius: 4px;
  backdrop-filter: blur(2px);
}
.mock-rev__det {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: #0e0c18;
  background: var(--accent-3);
  padding: 3px 7px; border-radius: 4px;
}
.mock-rev__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
  display: grid; place-items: center;
  font-size: 16px;
  backdrop-filter: blur(4px);
}
.mock-rev__time {
  position: absolute; bottom: 10px; right: 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--text-2);
  background: rgba(0,0,0,0.45);
  padding: 3px 7px; border-radius: 4px;
}
.mock-rev__ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--muted);
  padding: 0 4px 0 96px;
}
.mock-rev__ticks > span {
  position: relative;
  flex: 0 0 auto;
}
.mock-rev__ticks > span::before {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 1px; height: 5px;
  background: var(--line-strong);
}
.mock-rev__lanes {
  position: relative;
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}
.mock-rev__lane {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 4px;
}
.mock-rev__lname {
  font-size: 10.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  padding-left: 2px;
}
.mock-rev__track {
  position: relative;
  height: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.mock-rev__seg {
  position: absolute; top: 2px; bottom: 2px;
  border-radius: 2px;
  opacity: 0.95;
}
.mock-rev__seg--alert { background: linear-gradient(180deg, #ff7591, #c84161); }
.mock-rev__seg--det   { background: linear-gradient(180deg, #f5b860, #c98c2a); }
.mock-rev__seg--mot   { background: linear-gradient(180deg, #5a5474, #3a3650); }
.mock-rev__playhead {
  /* Positioned via inline style `left: NN%` on the element.
     The track region starts at 96px from .mock-rev__lanes' left edge
     (92px name column + 4px gap), so `left` here is a percentage of
     the lanes container width — close enough at screenshot scale. */
  position: absolute; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--text);
  box-shadow: 0 0 8px rgba(255,255,255,0.55);
  pointer-events: none;
}
.mock-rev__playhead::before {
  content: "";
  position: absolute;
  top: -4px; left: -4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 10px rgba(255,255,255,0.55);
}
.mock-rev__legend {
  display: flex; gap: 14px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.mock-rev__lg {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px;
  color: var(--text-2);
}
.mock-rev__sw { width: 10px; height: 10px; border-radius: 2px; }
.mock-rev__sw--alert { background: #ff7591; }
.mock-rev__sw--det   { background: #f5b860; }
.mock-rev__sw--mot   { background: #5a5474; }

/* =====================================================================
   3. EVENT DETAIL
   ===================================================================== */
.mock-evt {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  background: var(--bg-1);
  min-height: 340px;
}
.mock-evt__list {
  display: flex; flex-direction: column;
  padding: 10px;
  gap: 6px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}
.mock-evt__head {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 2px 4px 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.mock-evt__row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
}
.mock-evt__row--active {
  border-color: rgba(168,117,255,0.35);
  background: var(--accent-soft);
}
.mock-evt__thumb {
  width: 40px; height: 30px;
  border-radius: 4px;
  background: linear-gradient(180deg, #1a1530, #0c0a16);
  position: relative;
  overflow: hidden;
  flex: 0 0 40px;
}
.mock-evt__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mock-evt__col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mock-evt__lbl {
  font-size: 12.5px; font-weight: 500;
  color: var(--text);
}
.mock-evt__meta {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-evt__score {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-2);
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
}
.mock-evt__row--active .mock-evt__score {
  color: var(--text);
  border-color: rgba(168,117,255,0.4);
}

.mock-evt__main {
  display: flex; flex-direction: column;
  padding: 12px;
  gap: 10px;
}
.mock-evt__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 75% at 30% 25%, rgba(168,117,255,0.08), transparent 55%),
    linear-gradient(180deg, #0e0c18 0%, #07060d 100%);
}
.mock-evt__viewport::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 1;
}
.mock-evt__name {
  position: absolute; top: 8px; left: 8px;
  font-size: 10.5px; color: var(--text);
  background: rgba(0,0,0,0.5);
  padding: 3px 7px; border-radius: 4px;
  backdrop-filter: blur(2px);
}
.mock-evt__ts {
  position: absolute; top: 8px; right: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--text-2);
  background: rgba(0,0,0,0.45);
  padding: 3px 7px; border-radius: 4px;
  backdrop-filter: blur(2px);
}
.mock-evt__bbox {
  position: absolute;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(168,117,255,0.25), inset 0 0 14px rgba(168,117,255,0.10);
}
.mock-evt__bbox-tag {
  position: absolute; top: -19px; left: -1px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: #0e0c18;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 3px 3px 3px 0;
  white-space: nowrap;
}
.mock-evt__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 14px;
  margin: 0;
  padding: 8px 0 2px;
  border-top: 1px solid var(--line);
}
.mock-evt__grid > div { display: flex; flex-direction: column; gap: 1px; }
.mock-evt__grid dt {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-evt__grid dd {
  margin: 0;
  font-size: 12px;
  color: var(--text);
}
@media (max-width: 540px) {
  .mock-evt { grid-template-columns: 1fr; }
  .mock-evt__list { border-right: none; border-bottom: 1px solid var(--line); }
}

/* =================================================================
   v2 — refinements + image hooks
   Camera-feed images are loaded from /assets/cameras/*.jpg.
   If absent, the gradient backgrounds underneath remain visible.
   ================================================================= */

/* ── Live: image feeds + bottom-darken for legibility ─────────── */
.mock-tile__feed {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mock-tile > :not(.mock-tile__feed) { z-index: 3; }
.mock-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.mock-tile--off::after { display: none; }
.mock-tile__off-icon {
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  color: var(--dim);
  z-index: 2;
}

/* ── Live: real Frigate-style toolbar ────────────────────────── */
.mock-live__group {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
}
.mock-live__seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.025);
}
.mock-live__seg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 28px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.mock-live__seg-btn:last-child { border-right: none; }
.mock-live__seg-btn--on {
  color: var(--text);
  background: var(--accent-soft);
}
.mock-live__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 28px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
}

/* ── Review: top tabs + scrub bar inside viewport ─────────────── */
.mock-rev__topbar {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.mock-rev__tab {
  font-size: 12px;
  padding: 6px 10px;
  color: var(--muted);
  border-radius: 6px;
}
.mock-rev__tab--on {
  color: var(--text);
  background: var(--accent-soft);
}
.mock-rev__sp { flex: 1; }
.mock-rev__date,
.mock-rev__filter {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--muted);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
}
.mock-rev__feed {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mock-rev__viewport > :not(.mock-rev__feed) { z-index: 2; }
.mock-rev__viewport::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.mock-rev__bottombar {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.45);
  border-radius: 6px;
  backdrop-filter: blur(3px);
}
.mock-rev__bottombar .mock-rev__time,
.mock-rev__bottombar .mock-rev__hud {
  position: static;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.mock-rev__hud {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--text-2);
}
.mock-rev__scrub {
  position: relative;
  height: 4px;
}
.mock-rev__scrub-bar {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}
.mock-rev__scrub-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--accent-glow);
}
.mock-rev__scrub-fill::after {
  content: "";
  position: absolute;
  right: -4px; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* ── Event: list filter chip, object chips, detail tabs, feed ──── */
.mock-evt__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.mock-evt__filter {
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.mock-evt__chip {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
}
.mock-evt__chip--p {
  color: var(--text);
  background: rgba(255,117,145,0.16);
  border-color: rgba(255,117,145,0.32);
}
.mock-evt__chip--v {
  color: var(--text);
  background: rgba(245,184,96,0.16);
  border-color: rgba(245,184,96,0.32);
}
.mock-evt__chip--a {
  color: var(--text);
  background: rgba(111,227,164,0.16);
  border-color: rgba(111,227,164,0.32);
}
.mock-evt__tabs {
  display: flex; align-items: center; gap: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.mock-evt__tab {
  font-size: 11.5px;
  padding: 5px 10px;
  color: var(--muted);
  border-radius: 5px;
  white-space: nowrap;
}
.mock-evt__tab--on {
  color: var(--text);
  background: var(--accent-soft);
}
.mock-evt__sp { flex: 1; }
.mock-evt__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 24px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.mock-evt__feed {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mock-evt__viewport > :not(.mock-evt__feed) { z-index: 2; }
.mock-evt__viewport::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

/* =================================================================
   INNER PAGES (account, success, support, renew, privacy, convert)

   These pages share the marketing site's design tokens (background,
   font stack, accent, surfaces) but use a much simpler markup —
   `.container` with a header/content/footer flow rather than the
   landing page's stacked sections. The selectors here keep the
   legacy class names (.container, .site, .card, .lead, .prose,
   .status, etc.) so the existing pages and their JS hooks keep
   working with no markup churn beyond a head-tag change.
   ================================================================= */

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* ── Header ────────────────────────────────────────────────────── */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  gap: 16px;
}
header.site .brand {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
header.site .brand:hover { color: var(--accent); }
header.site nav {
  display: flex;
  gap: 22px;
}
header.site nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
header.site nav a:hover { color: var(--text); }

/* ── Footer ────────────────────────────────────────────────────── */

footer.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  gap: 16px;
}
footer.site a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
footer.site a:hover { color: var(--text); }

/* ── Page typography (inside .container, scoped tightly so we don't
       trample the marketing landing's own h1/h2/p rules) ────────── */

.container h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px;
}
.container h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 32px 0 12px;
}
.container h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.container p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 14px;
}
.container .lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 32px;
  max-width: 60ch;
}
.container .muted {
  color: var(--muted);
  font-size: 13.5px;
}
.container ul,
.container ol {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  padding-left: 22px;
  margin: 0 0 14px;
}
.container li { margin: 0 0 6px; }
.container li strong { color: var(--text); }
.container a:not(.btn):not(.brand) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(168,117,255,0.4);
  text-underline-offset: 2px;
  transition: color 0.15s var(--ease);
}
.container a:not(.btn):not(.brand):hover {
  color: var(--accent-3);
}
.container code {
  font-family: var(--f-mono);
  font-size: 0.88em;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text-2);
}
.container .prose h3 { margin-top: 32px; }
.container .prose ul,
.container .prose ol { margin-bottom: 18px; }

/* ── Card ──────────────────────────────────────────────────────── */

.container .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  margin: 0 0 20px;
}
.container .card h3:first-child { margin-top: 0; }
.container .card p:last-child,
.container .card ul:last-child,
.container .card ol:last-child { margin-bottom: 0; }

/* ── Forms ─────────────────────────────────────────────────────── */

.container label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  margin: 0 0 6px;
}
.container input[type="email"],
.container input[type="text"],
.container input[type="password"] {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  margin-bottom: 14px;
}
.container input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Status messages (used by the page-specific JS) ─────────────── */

.container .status {
  font-size: 13.5px;
  color: var(--muted);
  margin: 8px 0 0;
  min-height: 1em;
  line-height: 1.5;
}
.container .status.err { color: var(--bad); }
.container .status.ok  { color: var(--ok); }

/* ── CTA row (overrides landing.css .cta-row spacing for inner pages) */

.container .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

/* ── Legacy `.btn primary` / bare `.btn` mapping ───────────────────
       The inner pages currently mark buttons as `.btn primary`
       (single dash) and bare `.btn` for secondary actions. Map both
       to landing.css's `--primary` / `--ghost` styles so we don't
       have to touch markup or JS. */

.btn.primary {
  background: linear-gradient(180deg, #B689FF 0%, var(--accent) 55%, #8E5BEE 100%);
  color: #16101F;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 8px 24px -10px rgba(168,117,255,0.55),
    0 0 0 1px rgba(168,117,255,0.18);
  border-color: transparent;
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 12px 28px -10px rgba(168,117,255,0.7),
    0 0 0 1px rgba(168,117,255,0.28);
}
.container .btn:not(.primary):not(.btn--primary):not(.btn--ghost) {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--line-strong);
}
.container .btn:not(.primary):not(.btn--primary):not(.btn--ghost):hover {
  border-color: rgba(168,117,255,0.4);
  background: rgba(168,117,255,0.06);
  transform: translateY(-1px);
}

/* ── Mobile ────────────────────────────────────────────────────── */

@media (max-width: 540px) {
  header.site,
  footer.site { flex-direction: column; align-items: flex-start; }
  header.site nav { flex-wrap: wrap; }
}
