/* ==========================================================================
   veil — marketing site styles
   tokens + component patterns reused verbatim from /home/biksy/veil/web/style.css
   so this reads as the same instrument, in a marketing register.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #0a0a0b;
  --panel: #111114;
  --panel-raised: #131317;
  --border: #1f1f24;
  --border-soft: #17171b;

  /* text */
  --text: #e7e7ea;
  --text-dim: #9c9ca4;
  --text-faint: #7d7d84;

  /* accent — violet family, one hue, three weights */
  --accent: #8b5cf6;
  --accent-rgb: 139, 92, 246;
  --accent-active: #6d4bd8;
  --accent-soft: #b9a2ff;
  --accent-dim: #6f5aa8;
  --accent-glow: rgba(139, 92, 246, 0.16);
  --accent-border: rgba(139, 92, 246, 0.35);

  /* status, muted on purpose — used sparingly (problem-section illustration only) */
  --ok: #7fa88a;
  --ok-dim: rgba(127, 168, 138, 0.14);
  --warn: #c2a06a;
  --warn-dim: rgba(194, 160, 106, 0.14);
  --fail: #b57575;
  --fail-dim: rgba(181, 117, 117, 0.14);
  --unknown: #7c7c84;

  /* type */
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --font-sans: system-ui, -apple-system, "Segoe UI", sans-serif;

  --plus: #cbb98f;
  --plus-dim: rgba(203, 185, 143, 0.12);

  --shadow: rgba(0, 0, 0, 0.5);
  --hover-tint: rgba(255, 255, 255, 0.02);
  --hover-tint-strong: rgba(255, 255, 255, 0.015);
  --hairline-tint: rgba(255, 255, 255, 0.012);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-med: 220ms;
  --dur-theme: 200ms;

  --radius: 10px;
  --radius-sm: 6px;

  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3f2f7;
  --panel: #fbfaff;
  --panel-raised: #ffffff;
  --border: #e2e0eb;
  --border-soft: #ebe9f3;

  --text: #201d2b;
  --text-dim: #4a4658;
  --text-faint: #706c7e;

  --accent: #7c5cff;
  --accent-rgb: 124, 92, 255;
  --accent-active: #6234db;
  --accent-soft: #9678f0;
  --accent-dim: #8879c9;
  --accent-glow: rgba(124, 92, 255, 0.1);
  --accent-border: rgba(124, 92, 255, 0.3);

  --ok: #3f7a53;
  --ok-dim: rgba(79, 138, 99, 0.12);
  --warn: #8f651b;
  --warn-dim: rgba(163, 121, 47, 0.12);
  --fail: #a8433f;
  --fail-dim: rgba(178, 80, 79, 0.12);
  --unknown: #6f6d7e;

  --plus: #93732c;
  --plus-dim: rgba(147, 115, 44, 0.1);

  --shadow: rgba(80, 70, 110, 0.18);
  --hover-tint: rgba(32, 29, 43, 0.035);
  --hover-tint-strong: rgba(32, 29, 43, 0.045);
  --hairline-tint: rgba(32, 29, 43, 0.05);

  color-scheme: light;
}

@media (prefers-reduced-motion: no-preference) {
  body, .nav, .card, .fix-btn {
    transition: background-color var(--dur-theme) var(--ease),
                color var(--dur-theme) var(--ease),
                border-color var(--dur-theme) var(--ease);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mono { font-family: var(--font-mono); }

::selection {
  background: var(--accent-glow);
  color: var(--text);
}

button { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--panel-raised);
  border: 1px solid var(--accent-border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   background field — reused verbatim from the app, grid + scanline pass
   ========================================================================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--hairline-tint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline-tint) 1px, transparent 1px);
  background-size: 28px 28px;
}

.bg-field {
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgb(var(--accent-rgb) / 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(var(--accent-rgb) / 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: bg-drift 46s linear infinite;
  will-change: transform;
}

.bg-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgb(var(--accent-rgb) / 0.05) 50%, transparent 100%);
  height: 240px;
  animation: bg-scan 12s linear infinite;
}

@keyframes bg-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-64px, -64px, 0); }
}
@keyframes bg-scan {
  from { transform: translate3d(0, -20vh, 0); }
  to   { transform: translate3d(0, 120vh, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-field { animation: none; }
  .bg-field::after { display: none; }
}

/* ==========================================================================
   layout primitives
   ========================================================================== */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 128px 0;
  border-top: none;
}

.section--panel {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--tight { padding: 96px 0; }

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .wrap { padding: 0 20px; }
}

/* reveal-on-scroll: IntersectionObserver adds .is-visible; CSS handles the rest */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* kicker — numbered schematic index, not a pill badge */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 16px;
}

/* section-number rail, desktop only — sticky left edge wayfinding */
.rail-number {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  display: none;
}

h1, h2, h3, p { margin: 0; }

/* fluid type — clamp() instead of a hard breakpoint jump, so 320px through
   4k scales continuously instead of snapping at 640px. min/max match the
   old mobile/desktop values exactly, just interpolated between them. */
.h-display {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(34px, 8.5vw + 14px, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h-2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(24px, 5.2vw + 12px, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.h-3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(18px, 2vw + 13px, 22px);
  line-height: 1.3;
}
.body-lg { font-size: clamp(14.5px, 1vw + 12px, 17px); line-height: 1.6; color: var(--text-dim); }
.body-sm { font-size: 13px; line-height: 1.5; color: var(--text-faint); }

.measure { max-width: 68ch; }

/* ==========================================================================
   top bar — language + currency, sits above the nav, scrolls away (not sticky,
   the nav below it is what stays pinned)
   ========================================================================== */

.topbar {
  position: relative;
  z-index: 21;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 7px 24px;
  flex-wrap: wrap;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.topbar__btn {
  appearance: none;
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 3px 7px;
  min-height: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.topbar__btn:hover { color: var(--text-dim); }
.topbar__btn.is-active {
  color: var(--accent);
  background: var(--accent-glow);
}

@media (max-width: 520px) {
  .topbar__row { justify-content: center; padding: 7px 16px; gap: 10px; }
}

/* ==========================================================================
   nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: none;
}

.nav__mark { width: 24px; height: 24px; display: block; }

.nav__name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto 0 32px;
}

.nav__link {
  appearance: none;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--hover-tint); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* light/dark toggle — pill switch, reused verbatim from the app (this is a
   settings control not a CTA, the "no pill buttons" rule is about .fix-btn) */
.theme-switch {
  appearance: none;
  position: relative;
  width: 34px;
  height: 19px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--border-soft);
  cursor: pointer;
  flex: none;
  transition: background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.theme-switch::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.theme-switch[aria-checked="true"] {
  background: var(--accent-glow);
  border-color: var(--accent-border);
}
.theme-switch[aria-checked="true"]::before {
  transform: translateX(15px);
  background: var(--accent);
}
.theme-switch:hover::before { background: var(--accent-soft); }
.theme-switch:active::before { background: var(--accent-active); }

@media (prefers-reduced-motion: reduce) {
  .theme-switch, .theme-switch::before { transition: none; }
}

.nav__hamburger {
  display: none;
  appearance: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.nav__hamburger-bars {
  position: relative;
  width: 16px;
  height: 12px;
}
.nav__hamburger-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav__hamburger-bars span:nth-child(1) { top: 0; }
.nav__hamburger-bars span:nth-child(2) { top: 50%; margin-top: -0.75px; }
.nav__hamburger-bars span:nth-child(3) { bottom: 0; }

.nav.is-menu-open .nav__hamburger-bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav.is-menu-open .nav__hamburger-bars span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__hamburger-bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

.nav__mobile-panel {
  display: none;
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__hamburger { display: inline-flex; }
  .nav__actions .fix-btn--primary { display: none; }

  .nav__mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 19;
    background: var(--bg);
    padding: 88px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  }
  .nav__mobile-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__mobile-panel .nav__link {
    font-size: 17px;
    padding: 14px 10px;
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
  }
  .nav__mobile-panel .fix-btn {
    margin-top: 20px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__hamburger-bars span,
  .nav__mobile-panel { transition: none; }
}

/* ==========================================================================
   buttons — .fix-btn reused verbatim from the app
   ========================================================================== */

.fix-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  min-height: 40px;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.fix-btn:hover {
  color: var(--accent);
  border-color: rgb(var(--accent-rgb) / 0.35);
  background: var(--accent-glow);
}
.fix-btn:active { transform: scale(0.97); }

.fix-btn--primary {
  color: var(--accent);
  border-color: rgb(var(--accent-rgb) / 0.35);
  background: var(--accent-glow);
  font-weight: 500;
}
.fix-btn--primary:hover { background: rgb(var(--accent-rgb) / 0.24); }
.fix-btn--primary:active {
  color: #fff;
  background: var(--accent-active);
  border-color: var(--accent-active);
}

.fix-btn--lg {
  padding: 15px 28px;
  min-height: 52px;
  font-size: 14.5px;
}

/* ==========================================================================
   hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 96px;
  overflow: hidden;
}

.hero__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.hero__fallback-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}
.hero__fallback-mark svg { width: min(60vw, 480px); height: auto; opacity: 0.9; }
.hero__fallback-mark[hidden] { display: none; }

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
}
.hero__logo svg { width: 100%; height: 100%; display: block; }

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 8vw + 12px, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 0 20px;
}

.hero__subhead {
  font-size: clamp(14.5px, 1vw + 12px, 17px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 0 36px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}

.hero__trust {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding: 100px 0 56px; }
  .hero__logo { width: 84px; height: 84px; margin-bottom: 20px; }
}

@media (max-width: 400px) {
  .hero { padding: 88px 0 48px; }
}

/* ==========================================================================
   V logo — idle animation (draw-in once, pulse loop)
   ========================================================================== */

.v-logo__edge {
  stroke-dasharray: var(--len, 1) var(--len, 1);
  stroke-dashoffset: var(--len, 1);
  animation: v-draw 900ms var(--ease) forwards;
  animation-delay: var(--delay, 0ms);
}

.v-logo__node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
  animation: v-node-in 320ms var(--ease) forwards;
  animation-delay: calc(var(--delay, 0ms) + 120ms);
}

@keyframes v-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes v-node-in {
  to { opacity: 1; transform: scale(1); }
}

.v-logo__pulse-a, .v-logo__pulse-b {
  animation: v-pulse 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.v-logo__pulse-b { animation-delay: 1.6s; }
.v-logo__ring-a, .v-logo__ring-b {
  animation: v-ring 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.v-logo__ring-b { animation-delay: 1.6s; }

@keyframes v-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.85; }
}
@keyframes v-ring {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.125); }
}

/* nav-sized mark: no pulse, always fully drawn, no draw-in delay */
.nav__mark .v-logo__edge,
.nav__mark .v-logo__node {
  animation: none;
  stroke-dashoffset: 0;
  opacity: 1;
  transform: scale(1);
}
.nav__mark .v-logo__pulse-a,
.nav__mark .v-logo__pulse-b,
.nav__mark .v-logo__ring-a,
.nav__mark .v-logo__ring-b {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .v-logo__edge, .v-logo__node {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
    transform: scale(1);
  }
  .v-logo__pulse-a, .v-logo__pulse-b, .v-logo__ring-a, .v-logo__ring-b {
    animation: none;
  }
}

/* ==========================================================================
   cards / panels — reused verbatim from the app (.card, .pill, .check-row family)
   ========================================================================== */

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; }
.pill--ok { color: var(--ok); background: var(--ok-dim); border-color: rgba(127,168,138,0.22); }
.pill--ok::before { background: var(--ok); }
.pill--warn { color: var(--warn); background: var(--warn-dim); border-color: rgba(194,160,106,0.22); }
.pill--warn::before { background: var(--warn); }
.pill--fail { color: #b77777; background: var(--fail-dim); border-color: rgba(181,117,117,0.22); }
.pill--fail::before { background: var(--fail); }
.pill--unknown { color: #87878f; background: rgba(108,108,116,0.14); border-color: rgba(108,108,116,0.22); }
.pill--unknown::before { background: var(--unknown); }

.check-row { border-bottom: 1px solid var(--border-soft); }
.check-row:last-child { border-bottom: none; }

.check-row__hit {
  appearance: none;
  width: 100%;
  background: none;
  border: none;
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  min-height: 44px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}
.check-row__hit:hover { background: var(--hover-tint-strong); }

.check-row__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.check-row__label-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.check-row__label { font-size: 14px; font-weight: 600; letter-spacing: 0.005em; color: var(--text); }
.check-row__group {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
}
.check-row__detail { font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }

.chevron {
  width: 14px;
  height: 14px;
  color: var(--text-faint);
  flex: none;
  transition: transform var(--dur-med) var(--ease), color var(--dur-fast) var(--ease);
}
.check-row.is-expanded .chevron { transform: rotate(180deg); color: var(--accent); }

.drawer { overflow: hidden; height: 0; opacity: 0; }
.check-row.is-expanded .drawer:not([hidden]) { height: auto; opacity: 1; }
.drawer__inner { padding: 6px 6px 18px 33px; }
.drawer__prose p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: var(--text); }
.drawer__prose p:last-child { margin-bottom: 0; }
.drawer__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
}

.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.plan-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--border-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 8px 7px 11px;
}
.plan-step__cmd {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
.copy-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-faint);
  border-radius: 4px;
  padding: 7px 10px;
  min-height: 30px;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  cursor: pointer;
  flex: none;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.copy-btn:hover { color: var(--accent); border-color: rgb(var(--accent-rgb) / 0.35); }
.copy-btn.is-flash { color: var(--ok); border-color: rgba(127, 168, 138, 0.35); }

@media (prefers-reduced-motion: reduce) {
  .drawer { height: auto !important; opacity: 1 !important; }
}

/* ==========================================================================
   scene frame / fallback — reused verbatim
   ========================================================================== */

.scene-frame {
  position: relative;
  width: 100%;
  height: min(48vh, 420px);
  min-height: 260px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* the two interactive scenes (globe2, network) get more room — they're
   meant to be explored, not glanced at */
.scene-frame--tall {
  height: min(64vh, 620px);
  min-height: 340px;
}

.scene-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.scene-canvas:active { cursor: grabbing; }

.scene-hint {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  background: rgb(var(--accent-rgb) / 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  pointer-events: none;
  backdrop-filter: blur(2px);
  margin: 0;
}

.scene-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, calc(-100% - 10px));
  background: var(--panel-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  box-shadow: 0 10px 28px -10px var(--shadow);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}
.scene-tooltip[hidden] { display: none; }
.scene-tooltip__label { font-weight: 600; }
.scene-tooltip__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scene-tooltip__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 640px) {
  .scene-frame--tall { height: min(56vh, 460px); min-height: 300px; }
  .scene-hint { left: 10px; bottom: 10px; font-size: 9.5px; padding: 5px 8px; }
}
.scene-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  overflow-y: auto;
}
.scene-fallback[hidden] { display: none; }
.scene-fallback p { margin: 0; font-size: 13px; color: var(--text-dim); max-width: 480px; }
.fallback-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-width: 480px; }
.fallback-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-soft);
}
.fallback-list li:last-child { border-bottom: none; }
.fallback-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fail);
  flex: none;
}

/* ==========================================================================
   the problem section
   ========================================================================== */

.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.problem__copy p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.problem__copy p:last-child { margin-bottom: 0; }

.problem__scope {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
}

.globe-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.globe-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  background: rgb(var(--accent-rgb) / 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .problem { grid-template-columns: 1fr; }
}

/* ==========================================================================
   how it works — three steps + scroll-drawn connector
   ========================================================================== */

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.how-connector {
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  z-index: 0;
  display: none;
}
.how-connector line {
  stroke: var(--accent);
  stroke-width: 2;
}

.how-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-step__index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--panel-raised);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.how-step__title { font-size: 15px; color: var(--text-dim); line-height: 1.6; }

.how-close {
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-faint);
  text-align: center;
}

@media (min-width: 861px) {
  .how-connector { display: block; }
}
@media (max-width: 860px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   checks grid
   ========================================================================== */

.checks-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.checks-group__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.check-tile {
  background: var(--panel);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-tile__label { font-size: 14px; font-weight: 600; color: var(--text); }
.check-tile__why { font-size: 12.5px; line-height: 1.55; color: var(--text-dim); }

/* ==========================================================================
   free vs plus
   ========================================================================== */

.tiers-lead {
  font-size: 17px;
  color: var(--text);
  max-width: 62ch;
  margin: 0 0 48px;
  line-height: 1.6;
}

.tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tier-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tier-card__head { display: flex; flex-direction: column; gap: 6px; }
.tier-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.tier-card--plus .tier-card__eyebrow { color: var(--plus); }
.tier-card__title { font-size: 20px; font-weight: 600; color: var(--text); }

.tier-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.tier-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  margin-top: 8px;
}
.tier-card--plus .tier-list li::before { background: var(--plus); }

.tier-card__price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.tier-card .fix-btn { align-self: flex-start; }

@media (max-width: 720px) {
  .tiers-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   pricing.html — the standalone buy card
   ========================================================================== */

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 40px 32px;
}

.price-card__amount {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-card__note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 40ch;
  margin: 0;
}

.price-card__buy {
  margin-top: 10px;
  width: 100%;
}

@media (max-width: 480px) {
  .price-card { padding: 32px 20px; }
  .price-card__amount { font-size: 38px; }
}

/* ==========================================================================
   honesty section — same calm card treatment as everything else, NOT tinted warn/fail
   ========================================================================== */

.honesty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.honesty-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.honesty-card__not {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

.honesty-card__body { font-size: 14px; line-height: 1.65; color: var(--text); }

.honesty-close {
  margin-top: 36px;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 64ch;
}

@media (max-width: 860px) {
  .honesty-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   social proof
   ========================================================================== */

.proof-line {
  font-size: 15px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   pricing / final CTA
   ========================================================================== */

.final-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta__title { max-width: 22ch; margin: 0 auto 20px; }

.final-cta__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0 20px;
}

.final-cta__platform {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ==========================================================================
   FAQ — accordion, same mechanics as check-row/drawer
   ========================================================================== */

.faq-list { display: flex; flex-direction: column; margin-top: 40px; }

.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item:first-child { border-top: 1px solid var(--border-soft); }

.faq-item__hit {
  appearance: none;
  width: 100%;
  background: none;
  border: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  text-align: left;
  min-height: 44px;
}

.faq-item__answer {
  overflow: hidden;
  height: 0;
  opacity: 0;
}
.faq-item.is-expanded .faq-item__answer { height: auto; opacity: 1; }
.faq-item__answer-inner {
  padding: 0 4px 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 68ch;
}
.faq-item__answer-inner a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .faq-item__answer { height: auto !important; opacity: 1 !important; }
}

/* ==========================================================================
   footer
   ========================================================================== */

.footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand-row { display: flex; align-items: center; gap: 8px; }
.footer__mark { width: 22px; height: 22px; }
.footer__name { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; }
.footer__tagline { font-size: 13px; color: var(--text-faint); line-height: 1.6; max-width: 32ch; }

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 13.5px;
  color: var(--text-dim);
  text-decoration: none;
}
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-faint);
}

.footer__no-tracking {
  color: var(--text-dim);
}

.footer__jurisdiction {
  color: var(--text-faint);
}

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   legal pages (privacy / imprint / terms) — simple stub sections
   ========================================================================== */

.legal-page h2 { margin: 40px 0 12px; }
.legal-page h2:first-child { margin-top: 0; }
.legal-page p, .legal-page li { font-size: 14px; line-height: 1.75; color: var(--text-dim); }
.legal-page ul { padding-left: 20px; }
.legal-page .placeholder-flag {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--warn);
  background: var(--warn-dim);
  border: 1px solid rgba(194,160,106,0.3);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

/* ==========================================================================
   utility
   ========================================================================== */

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   reduced motion — global override, reused verbatim from the app
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
