:root {
  --bg: #080D18;
  --surface: #0F172A;
  --card: #141E32;
  --border: #263248;
  --primary: #2563EB;
  --primary-hover: #3B82F6;
  --ai: #22D3EE;
  --text: #F1F5F9;
  --muted: #94A3B8;
  --ok: #22C55E;
  --watch: #EAB308;
  --warn: #F97316;
  --crit: #EF4444;
  --radius: 16px;
  --nav-h: 72px;
  --page-max: 1180px;
  --hero-max: 920px;
}

@media (min-device-width: 1800px) {
  :root { --page-max: 1360px; --hero-max: 1040px; }
}
@media (min-device-width: 2500px) {
  :root { --page-max: 1520px; --hero-max: 1120px; }
}
@media (min-device-width: 3200px) {
  :root { --page-max: 1680px; --hero-max: 1200px; }
}

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

html {
  scroll-behavior: smooth;
  zoom: var(--ui-zoom, 1);
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(38, 50, 72, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(38, 50, 72, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite;
}

.orb-blue {
  top: -12%;
  left: -8%;
  background: #2563EB;
}

.orb-cyan {
  top: 8%;
  right: -12%;
  background: #22D3EE;
  animation-delay: -7s;
  opacity: 0.18;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 6%) scale(1.08); }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 20px 0;
  background: linear-gradient(to bottom, rgba(8, 13, 24, 0.92), rgba(8, 13, 24, 0));
}

.nav-inner {
  position: relative;
  height: 64px;
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 10px 0 10px;
  border-radius: 18px;
  border: 1px solid rgba(38, 50, 72, 0.85);
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 10px 32px rgba(0, 0, 0, 0.28);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.nav.scrolled .nav-inner {
  background: rgba(8, 13, 24, 0.94);
  border-color: var(--border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 36px rgba(0, 0, 0, 0.4);
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
}

.brand-mark-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #1c2a44, #141E32);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.16);
}

.nav .brand-mark {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 22px rgba(34, 211, 238, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  justify-self: center;
  border-radius: 999px;
  background: rgba(8, 13, 24, 0.55);
  border: 1px solid var(--border);
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(37, 99, 235, 0.18);
}

.nav-links a.is-current {
  color: var(--text);
  background: rgba(37, 99, 235, 0.22);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--ai);
  outline-offset: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}

.nav-cta-mobile { display: none; }

.nav-toggle { display: none; }

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn-lg { height: 48px; padding: 0 22px; }

.btn-primary {
  background: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4), 0 8px 28px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5), 0 12px 32px rgba(37, 99, 235, 0.4);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(15, 23, 42, 0.5);
}

.btn-ghost:hover { border-color: #3b4d6a; }

a.nav-cta-mobile { display: none; }

.hero {
  max-width: var(--hero-max);
  margin: 0 auto;
  padding: 88px 24px 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.eyebrow.ai { color: var(--ai); }

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
  animation: pulse 2.2s ease-out infinite;
}

.ai-dot.sm { width: 7px; height: 7px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 650;
  text-wrap: balance;
}

.gradient-ia {
  background: linear-gradient(92deg, #60A5FA 0%, #22D3EE 70%, #67E8F9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #22D3EE;
}

.lede {
  max-width: 34em;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.os-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
}

.os-row li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.os-note { margin-top: 0; margin-bottom: 28px; }

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: break-word;
  padding: 0 4px;
}

.stage {
  padding: 12px 20px 72px;
}

.product-shot {
  max-width: var(--page-max);
  margin: 0 auto;
}

.product-shot figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.browser {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.45);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #0C1424;
}

.win-dots {
  width: 42px;
  height: 8px;
  border-radius: 99px;
  background:
    radial-gradient(circle at 4px 50%, #EF4444 3.2px, transparent 3.3px),
    radial-gradient(circle at 18px 50%, #EAB308 3.2px, transparent 3.3px),
    radial-gradient(circle at 32px 50%, #22C55E 3.2px, transparent 3.3px);
}

.url {
  flex: 1;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--card);
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
}

.dash {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 540px;
}

.dash-side {
  padding: 22px 14px;
  border-right: 1px solid var(--border);
  background: #0C1424;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.side-label {
  margin: 0 12px 18px;
  color: var(--muted);
  font-size: 11px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}

.dash-side li {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.dash-side li.active {
  background: rgba(37, 99, 235, 0.16);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.dash-side .ai-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ai);
}

.dash-main { padding: 18px 22px 22px; }

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.dash-title { font-weight: 600; }

.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.bell {
  display: block;
  width: 14px;
  height: 14px;
  margin: 9px auto 0;
  background:
    radial-gradient(circle at 50% 18%, var(--muted) 1.4px, transparent 1.5px),
    linear-gradient(var(--muted), var(--muted)) 50% 100% / 4px 2px no-repeat;
  border: 1.6px solid var(--muted);
  border-top: 0;
  border-radius: 0 0 7px 7px;
  box-sizing: border-box;
}

.badge-n {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--crit);
  color: white;
  font-size: 10px;
  line-height: 16px;
}

.avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.dash-stats {
  display: grid;
  grid-template-columns: 140px 170px 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.stat, .panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.stat { padding: 16px; }

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.stat strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.unit { font-size: 16px; color: var(--muted); }

.stat.health {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px;
}

.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.7);
}

.pill.ok { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.3); }
.pill.watch { color: var(--watch); box-shadow: inset 0 0 0 1px rgba(234, 179, 8, 0.3); }
.pill.warn { color: var(--warn); box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.3); }
.pill.crit { color: var(--crit); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.35); }

.dash-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.panel { padding: 16px; }

.panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.muted { color: var(--muted); font-size: 12px; }

.incident {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.incident + .incident { border-top: 1px solid var(--border); }

.inc-top { display: flex; gap: 10px; align-items: baseline; }
.client { color: var(--muted); font-size: 12px; }
.incident p { margin-top: 4px; color: var(--muted); font-size: 13px; }

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.crit { background: var(--crit); box-shadow: 0 0 10px var(--crit); }
.status-dot.warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.status-dot.watch { background: var(--watch); box-shadow: 0 0 10px var(--watch); }

.ai-panel {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.18);
}

.ai-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% 0 -20%;
  height: 120px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
  pointer-events: none;
}

.ai-live {
  color: var(--ai);
  font-size: 12px;
  font-weight: 600;
}

.ai-diag { color: var(--text); font-size: 14px; line-height: 1.5; }

.ai-meta {
  display: flex;
  gap: 16px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}

.ai-meta strong { color: var(--ai); font-size: 14px; }

.ai-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--ai);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2,
.split h2,
.cta h2 {
  margin: 12px auto;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
  max-width: 18em;
}

.section-head p,
.split p,
.cta-box p {
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.section-head p {
  max-width: 38em;
  margin: 0 auto;
}

.gains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 28px;
}

.gains article {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  text-align: left;
}

.gain-time {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 10px;
}

.gain-time .num,
.gain-time .unit {
  color: #22D3EE;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}

.gain-time .num {
  font-size: clamp(3.05rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.gain-time .unit {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding-bottom: 0.2em;
}

.gains strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.gains p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.time-board {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
}

.time-board-head {
  padding: 24px 24px 8px;
  text-align: center;
}

.time-board-head h3 {
  margin: 8px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.time-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 12px;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
}

.time-row-legend {
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-row strong { display: block; margin-bottom: 4px; }
.time-row p { margin: 0; color: var(--muted); font-size: 13px; }

.t-lost {
  color: var(--muted);
  font-size: 1.05rem;
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.55);
}

.t-now {
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.t-win {
  justify-self: end;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ai);
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
}

.time-total {
  margin: 0;
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(34, 211, 238, 0.1));
  color: var(--text);
}

.time-total strong {
  color: var(--ai);
  font-size: 1.35rem;
}

.prevent { margin-top: 56px; }

.prevent-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.prevent-nums article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  padding: 28px 28px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}

.prevent-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 4px;
}

.prevent-stat .num,
.prevent-stat .sign,
.prevent-stat .pct {
  color: var(--ai);
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
}

.prevent-stat .num {
  font-size: clamp(2.2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.prevent-stat .sign {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
}

.prevent-stat .pct {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1;
  margin-left: 2px;
  letter-spacing: 0.04em;
}

.prevent-nums strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.prevent-nums article > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 28em;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.flow article {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  text-align: left;
}

.flow article.ai {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: inset 0 0 40px rgba(34, 211, 238, 0.05);
}

.flow .n {
  display: block;
  margin-bottom: 12px;
  color: #CBD5E1;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.flow article.ai .n { color: var(--ai); }

.flow h3 { margin-bottom: 8px; font-size: 16px; }
.flow p { color: var(--muted); font-size: 14px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.checklist li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.checklist li:first-child { border-top: 1px solid var(--border); }

.cta { padding: 0 24px 96px; }

.cta-box {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px 40px;
  text-align: center;
  border-radius: 24px;
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(37, 99, 235, 0.18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}

.cta-box .btn { margin-top: 22px; }
.cta-box p { color: var(--muted); }

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

.cta-actions .btn { margin-top: 0; }

.page-pricing .hero {
  padding: 56px 24px 28px;
}

.page-pricing .hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
}

.bill-toggle {
  display: inline-flex;
  margin: 8px auto 0;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 13, 24, 0.55);
}

.bill-toggle button {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.bill-toggle button.is-on {
  color: var(--text);
  background: rgba(37, 99, 235, 0.35);
}

.bill-toggle .save {
  margin-left: 6px;
  color: var(--ai);
  font-size: 12px;
  font-weight: 700;
}

.include-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.include-bar li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--page-max);
  margin: 0 auto 72px;
  padding: 0 24px;
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}

.plan.featured {
  border-color: rgba(34, 211, 238, 0.4);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.1), var(--card) 42%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ai);
  color: #082018;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.plan-nodes {
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.plan-price .amount {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 2.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price .cur { font-weight: 600; }
.plan-price .per { color: var(--muted); font-size: 14px; }

.plan-price.quote {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.plan-unit {
  margin: 8px 0 0;
  color: var(--ai);
  font-size: 13px;
  font-weight: 600;
}

.plan-unit:not([data-month]) {
  color: var(--muted);
  font-weight: 500;
}

.plan-year-note {
  min-height: 1.3em;
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

[data-billing="month"] .plan-year-note { visibility: hidden; }

.plan ul {
  margin: 0 0 22px;
  flex: 1;
}

.plan li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid rgba(38, 50, 72, 0.65);
  color: var(--muted);
  font-size: 14px;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.plan .btn { width: 100%; margin-top: auto; }

.founders {
  max-width: var(--page-max);
  margin: 0 auto 72px;
  padding: 0 24px;
}

.founders-box {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
}

.founders-head { padding: 28px 28px 16px; }
.founders-head h2 {
  margin: 8px 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
}
.founders-head p { color: var(--muted); max-width: 38em; }

.founders-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
}

.founders-legend {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.founders-row .old { color: var(--muted); text-decoration: line-through; }
.founders-row .new {
  color: var(--ai);
  font-weight: 700;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
}
.founders-row .win {
  color: var(--ai);
  font-weight: 700;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.faq-head { margin-bottom: 20px; }

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: var(--page-max);
  margin: 0 auto 72px;
  padding: 0 24px;
}

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

.faq h3 { margin-bottom: 8px; font-size: 16px; }
.faq p { color: var(--muted); font-size: 14px; }

.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.page-doc .hero {
  padding: 48px 24px 20px;
}

.page-doc .hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 0 24px;
}

.legal-tabs a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.legal-tabs a.is-current,
.legal-tabs a:hover {
  color: var(--text);
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.18);
}

.legal {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.legal-updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.legal h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.legal strong { color: var(--text); font-weight: 600; }

.legal p + p { margin-top: 12px; }

.legal ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
  list-style: disc;
}

.legal li { margin: 6px 0; }

.legal a {
  color: var(--ai);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-id {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 16px;
  margin: 8px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
}

.legal-id dt {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.legal-id dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  max-width: var(--page-max);
  margin: 0 auto 80px;
  padding: 0 24px;
  align-items: start;
}

.contact-form,
.contact-aside {
  padding: 28px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field .opt {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.field textarea { min-height: 140px; resize: vertical; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #94A3B8 50%), linear-gradient(135deg, #94A3B8 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.form-note.is-ok { color: #34D399; }
.form-note.is-err { color: #F87171; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-aside h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.contact-aside p { color: var(--muted); font-size: 15px; }

.contact-aside a.mail {
  display: inline-block;
  margin: 14px 0 22px;
  color: var(--ai);
  font-weight: 600;
}

.contact-aside ul {
  display: grid;
  gap: 10px;
}

.contact-aside li {
  padding-left: 16px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
}

.contact-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.nav-login-mobile { display: none; }

.auth-card {
  display: grid;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto 80px;
  padding: 28px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}

.auth-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
  font-size: 14px;
}

.qr-box {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  color: #080D18;
}

.qr-box svg { width: 180px; height: 180px; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.check input { margin-top: 3px; }
.check a { color: var(--ai); }

.cockpit {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.cockpit-hero {
  max-width: none;
  margin: 0 0 28px;
  padding: 36px 0 8px;
  text-align: left;
}

.cockpit-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.kpi-grid article {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
}

.kpi-grid p { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.kpi-grid strong {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.panel-card header { margin-bottom: 12px; }
.panel-card h2 { font-size: 1.2rem; }
.muted { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.value-hours {
  color: var(--ai);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
  margin: 4px 0 8px;
}
.mini-list { margin: 12px 0 0; }
.mini-list li { color: var(--muted); font-size: 13px; padding: 4px 0; }
.stat-line { margin-top: 12px; font-weight: 600; }
.bar {
  height: 8px;
  border-radius: 99px;
  background: #0F172A;
  margin: 16px 0 8px;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ai);
}
.panel-card .btn { margin-top: 16px; }
.team-card { margin-bottom: 24px; }
.team-list { margin: 16px 0; }
.team-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.team-list strong { color: var(--text); display: block; }
.team-list span { font-size: 13px; }
.tech-form { margin-top: 16px; display: grid; gap: 14px; }
.tech-ok {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86EFAC;
  font-size: 14px;
}

.page-espace .nav {
  padding-bottom: 4px;
}

.espace-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px 20px 80px;
  align-items: start;
}

.espace-rail {
  position: sticky;
  top: 88px;
}

.espace-rail-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: calc(100vh - 120px);
  padding: 12px 10px 10px;
  border-radius: 18px;
  border: 1px solid rgba(38, 50, 72, 0.85);
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 10px 32px rgba(0, 0, 0, 0.28);
}

.espace-rail-org {
  display: grid;
  gap: 2px;
  padding: 6px 12px 8px;
}

.espace-rail-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ai);
}

.espace-rail-org strong {
  font-size: 15px;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.espace-rail-org span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.espace-rail-nav {
  display: block;
}

.espace-rail-label {
  margin: 8px 8px 2px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.espace-rail-pills .espace-rail-label:first-child {
  margin-top: 4px;
}

.espace-rail-pills {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(8, 13, 24, 0.55);
  border: 1px solid var(--border);
}

.espace-rail-pills a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.espace-rail-pills a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.espace-rail-pills a:hover {
  color: var(--text);
  background: rgba(37, 99, 235, 0.18);
}

.espace-rail-pills a.is-current {
  color: var(--text);
  background: rgba(37, 99, 235, 0.22);
}

.espace-rail-pills a:focus-visible {
  outline: 2px solid var(--ai);
  outline-offset: 2px;
}

.espace-rail-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(8, 13, 24, 0.45);
}

.espace-rail-user strong {
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.espace-rail-user span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.espace-avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #1c2a44, #141E32);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--ai);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.espace-main {
  min-width: 0;
}

.espace-pagehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 22px;
}

.espace-pagehead h1 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  margin-top: 6px;
}

.espace-pagehead .lede {
  margin: 8px 0 0;
  max-width: 640px;
  text-align: left;
  font-size: 15px;
}

.espace-badge {
  flex-shrink: 0;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--ai);
  font-size: 12px;
  font-weight: 600;
}

.watch-list {
  display: grid;
  gap: 12px;
}

.watch-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.watch-list button {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 0;
  color: inherit;
}

.kpi-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.watch-list strong { display: block; font-size: 14px; }
.watch-list span:last-child {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.tag-ok {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86EFAC;
}

.tag-wait {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.35);
  color: #FDE68A;
}

.tag-warn {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  color: #FDBA74;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 4px;
}

.action-tile {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  color: inherit;
}

.action-tile:hover {
  border-color: rgba(37, 99, 235, 0.55);
  background: #17233a;
}

.action-tile span {
  color: var(--ai);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-tile strong { font-size: 15px; }
.action-tile em {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.os-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.os-split article {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
}

.os-split p { color: var(--muted); font-size: 13px; }
.os-split strong {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  margin: 4px 0 2px;
}
.os-split span { color: var(--muted); font-size: 12px; }

.nx-table-wrap { overflow-x: auto; }
.nx-table {
  width: 100%;
  border-collapse: collapse;
}
.nx-table th,
.nx-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.nx-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nx-table td[colspan] {
  border-bottom: 0;
  padding: 8px 0;
}

.queue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.queue-card strong {
  display: block;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
  margin: 8px 0 4px;
}
.queue-card p { color: var(--muted); font-size: 13px; }

.empty-state {
  padding: 28px 8px 8px;
}

.empty-state p {
  font-weight: 600;
  margin-bottom: 6px;
}

.empty-state span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.include-list,
.sec-list {
  display: grid;
  gap: 10px;
}

.include-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
}

.include-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ai);
}

.sec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.sec-list li span { color: var(--muted); }
.sec-list li:last-child { border-bottom: 0; }

.page-espace .team-list li {
  align-items: center;
}

.page-espace .team-list em {
  display: flex;
  gap: 6px;
  font-style: normal;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 28px 24px 48px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.footer .brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.footer .brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.footer .brand span { display: block; font-weight: 400; letter-spacing: 0; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
}

@media (hover: none) {
  .btn-primary:hover { transform: none; }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .nav-links a { padding: 8px 12px; font-size: 13px; }
  .brand-name { font-size: 1.15rem; letter-spacing: 0.08em; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .page-espace .kpi-grid,
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .queue-grid, .os-split { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html, body { overflow-x: clip; }
  body.menu-open { overflow: hidden; }

  :root { --nav-h: 60px; }

  .nav {
    padding: 8px 10px 0;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
    height: 58px;
    padding: 0 8px 0 8px;
    gap: 8px;
    border-radius: 16px;
  }

  .brand-mark-wrap {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.12rem;
    letter-spacing: 0.08em;
  }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(8, 13, 24, 0.97);
    border: 1px solid var(--border);
    max-height: calc(100dvh - 80px);
    overflow: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }
  .nav-links.open a {
    padding: 14px 14px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    font-size: 16px;
  }
  a.nav-cta-mobile {
    display: none;
  }
  .nav-links.open a.nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    height: 48px;
    margin-top: 4px;
    justify-content: center;
    background: var(--primary);
    border-color: transparent;
    color: var(--text);
  }
  .nav-links.open a.is-current {
    background: rgba(37, 99, 235, 0.22);
    border-color: rgba(37, 99, 235, 0.45);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
  }

  .nav-actions .btn-ghost:not(.nav-keep),
  .nav-actions .btn-primary { display: none; }
  .nav-links.open a.nav-login-mobile {
    display: flex;
  }

  .hero {
    padding: 36px 16px 28px;
  }

  .eyebrow {
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 11px;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
    line-height: 1.15;
  }

  .lede {
    font-size: 0.98rem;
    max-width: none;
    overflow-wrap: break-word;
  }

  .desk-br { display: none; }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    height: 52px;
  }

  .os-row { gap: 8px; }
  .os-row li { padding: 8px 12px; }

  .stage { padding: 4px 12px 40px; }

  .browser-bar { padding: 0 10px; }
  .url { font-size: 10px; }

  .dash,
  .dash-stats,
  .dash-grid,
  .gains,
  .prevent-nums,
  .flow,
  .cards,
  .split,
  .footer {
    grid-template-columns: 1fr;
  }

  .dash {
    min-height: 0;
  }

  .dash-side { display: none; }
  .dash-main { padding: 14px; }
  .dash-user > span:last-child { display: none; }

  .stat.health { padding: 12px; }
  .pill { font-size: 11px; }

  .section { padding: 12px 16px 56px; }
  .section-head { margin-bottom: 24px; }
  .section-head h2,
  .split h2,
  .cta h2 {
    max-width: none;
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .prevent { margin-top: 36px; }
  .prevent-nums article {
    min-height: 0;
    padding: 24px 20px;
  }
  .prevent-stat { gap: 8px; }
  .prevent-stat .num { font-size: 2.15rem; }
  .prevent-stat .sign { font-size: 1.35rem; }

  .time-board-head { padding: 20px 16px 4px; }
  .time-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title title"
      "lost now"
      "win win";
    gap: 6px 12px;
    padding: 16px;
  }
  .time-row-legend { display: none; }
  .time-row > div { grid-area: title; }
  .time-row .t-lost { grid-area: lost; }
  .time-row .t-now { grid-area: now; }
  .time-row .t-win {
    grid-area: win;
    justify-self: start;
    font-size: 2rem;
    margin-top: 2px;
  }
  .time-total { padding: 16px; }

  .cta { padding: 0 16px 64px; }
  .cta-box { padding: 32px 18px; }
  .cta-box .btn,
  .cta-actions .btn { width: 100%; height: 52px; }

  .page-pricing .hero { padding: 28px 16px 20px; }
  .bill-toggle { max-width: 100%; }
  .bill-toggle button { padding: 8px 10px; font-size: 13px; }
  .bill-toggle .save { margin-left: 4px; font-size: 11px; }
  .include-bar { padding: 0 16px; margin-bottom: 28px; }
  .plans {
    grid-template-columns: 1fr;
    padding: 0 16px;
    margin-bottom: 48px;
  }
  .plan-price .amount { font-size: 2.3rem; }
  .founders { padding: 0 16px; margin-bottom: 48px; }
  .founders-head { padding: 22px 18px 12px; }
  .founders-row {
    grid-template-columns: 1fr 1fr;
    padding: 14px 18px;
  }
  .founders-legend { display: none; }
  .founders-row > div { grid-column: 1 / -1; }
  .faq {
    grid-template-columns: 1fr;
    padding: 0 16px;
    margin-bottom: 48px;
  }
  .cockpit { padding: 0 16px 64px; }
  .kpi-grid, .kpi-grid-3, .panel-grid { grid-template-columns: 1fr; }
  .team-list li { flex-direction: column; }

  .espace-shell {
    grid-template-columns: 1fr;
    padding: 8px 12px 64px;
    gap: 12px;
  }
  .espace-rail {
    position: sticky;
    top: 76px;
    z-index: 15;
  }
  .espace-rail-inner {
    min-height: 0;
    padding: 8px;
    gap: 0;
  }
  .espace-rail-org,
  .espace-rail-user,
  .espace-rail-label {
    display: none;
  }
  .espace-rail-nav {
    display: block;
  }
  .espace-rail-pills {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 999px;
  }
  .espace-rail-pills::-webkit-scrollbar { display: none; }
  .espace-rail-pills a {
    padding: 8px 12px;
    font-size: 13px;
  }
  .espace-rail-pills a svg { display: none; }
  .espace-pagehead { flex-direction: column; gap: 10px; }
  .action-grid,
  .os-split,
  .queue-grid {
    grid-template-columns: 1fr;
  }
  .page-espace .eyebrow {
    justify-content: flex-start;
    font-size: 11px;
  }
  .page-espace .lede {
    text-align: left;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px calc(28px + env(safe-area-inset-bottom));
  }
  .footer-meta,
  .footer-links {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .page-doc .hero { padding: 28px 16px 16px; }
  .legal { padding: 0 16px 64px; }
  .legal-id {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .legal-id dt { margin-top: 8px; }
  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 0 16px 64px;
  }
  .contact-form,
  .contact-aside { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; }

  .orb {
    width: 80vw;
    height: 80vw;
    opacity: 0.2;
    filter: blur(60px);
  }
}
