/* ===========================================================
   MOSHE BUSINESS OS — Design System
   Dark, glass, restrained-luminous. Hebrew-first RTL.
   =========================================================== */

:root {
  /* Surfaces */
  --bg: #06070a;
  --bg-elevated: #0a0b10;
  --bg-panel: rgba(255, 255, 255, 0.035);
  --bg-panel-strong: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text-primary: #f4f5f8;
  --text-secondary: #a6abba;
  --text-tertiary: #6c7182;

  /* Accent (single restrained hue family) */
  --accent: #5b8cff;
  --accent-strong: #7ea2ff;
  --accent-soft: rgba(91, 140, 255, 0.14);
  --accent-line: rgba(91, 140, 255, 0.35);

  /* Status */
  --live: #33e6b8;
  --live-soft: rgba(51, 230, 184, 0.13);
  --attention: #ffb020;
  --attention-soft: rgba(255, 176, 32, 0.14);
  --urgent: #ff5c72;
  --urgent-soft: rgba(255, 92, 114, 0.14);
  --roadmap: #8b90a3;
  --roadmap-soft: rgba(139, 144, 163, 0.12);

  /* Type */
  --font: "Heebo", "Segoe UI", Arial, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 900ms;

  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-med: 0ms;
    --dur-slow: 0ms;
  }
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, p, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

/* Background texture: faint radial glow field, no WebGL */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 500px at 82% -8%, rgba(91, 140, 255, 0.16), transparent 60%),
    radial-gradient(600px 480px at 6% 18%, rgba(51, 230, 184, 0.07), transparent 55%),
    var(--bg);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1200px 700px at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

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

@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
}

/* ---------- Glass panel primitive ---------- */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---------- Section rhythm ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
}

.section-head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 64px;
}

.section-head.align-start {
  margin-inline: 0;
  text-align: right;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-strong);
}

h1, .h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

h3, .h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 400;
}

.muted { color: var(--text-secondary); }
.tiny { font-size: 13px; color: var(--text-tertiary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #06070a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 12px 30px -12px rgba(91, 140, 255, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 16px 36px -10px rgba(91, 140, 255, 0.7);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-panel-strong);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 14px;
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-subtle);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent-strong), #2745a8);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -6px rgba(91, 140, 255, 0.7);
  flex: none;
}

.brand-mark svg { width: 16px; height: 16px; }

.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 15px; }
.brand-name span { font-size: 10.5px; color: var(--text-tertiary); font-weight: 600; letter-spacing: 0.04em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a { transition: color var(--dur-fast) var(--ease); }
.nav-links a:hover { color: var(--text-primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-panel-strong);
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 7, 10, 0.98);
  padding: 100px 24px 40px;
}

.mobile-menu.is-open { display: block; }

.mobile-menu a {
  display: block;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-inner {
  display: grid;
  gap: 20px;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero h1 { text-wrap: balance; }

.hero .lede {
  max-width: 640px;
  margin-inline: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero-support {
  margin-top: 8px;
  color: var(--text-tertiary);
  font-size: 14px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  background: var(--bg-panel);
}

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

/* ---------- Hero demo (workflow animation) ---------- */
.hero-demo {
  margin-top: 56px;
  padding: 22px;
}

.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-inline: 6px;
}

.demo-toolbar .dots { display: flex; gap: 6px; }
.demo-toolbar .dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.demo-toolbar .label { font-size: 12.5px; color: var(--text-tertiary); font-weight: 600; }

.demo-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.demo-step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 10px;
  border-radius: var(--r-md);
  opacity: 0.32;
  transform: translateY(6px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}

.demo-step.is-active {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.03);
}

.demo-step .time {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 700;
  padding-top: 3px;
  text-align: start;
}

.demo-step .who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.demo-step .who .chip {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  flex: none;
}

.demo-step .who .chip svg { width: 12px; height: 12px; }

.demo-step .msg {
  color: var(--text-secondary);
  font-size: 14px;
}

.demo-step .msg strong { color: var(--text-primary); font-weight: 700; }

.demo-step ul { margin-top: 6px; display: grid; gap: 4px; }
.demo-step ul li { font-size: 13.5px; color: var(--text-tertiary); padding-inline-start: 16px; position: relative; }
.demo-step ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.demo-connector {
  width: 1px;
  height: 18px;
  background: linear-gradient(var(--border-strong), transparent);
  margin-inline-start: 106px;
}

.demo-step.is-active + .demo-connector { background: linear-gradient(var(--accent-line), transparent); }

/* ---------- Grid utilities ---------- */
.grid {
  display: grid;
  gap: 20px;
}

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

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Problem cards ---------- */
.pain-card {
  padding: 26px;
  display: grid;
  gap: 12px;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.pain-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }

.pain-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--urgent-soft);
  border: 1px solid rgba(255, 92, 114, 0.28);
  display: grid;
  place-items: center;
}

.pain-icon svg { width: 19px; height: 19px; stroke: var(--urgent); }

.curiosity-line {
  text-align: center;
  margin-top: 44px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--text-secondary);
  font-style: italic;
}

.pivot-line {
  text-align: center;
  margin-top: 18px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
}

.pivot-line span {
  background: linear-gradient(90deg, var(--accent-strong), var(--live));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Before / After ---------- */
.ba-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 900px) {
  .ba-wrap { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); margin-inline: auto; }
}

.ba-col { padding: 28px; min-height: 420px; }

.ba-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.ba-before h4 { color: var(--urgent); }
.ba-after h4 { color: var(--live); }

.ba-nodes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

.ba-node {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-panel-strong);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.ba-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.ba-hub {
  padding: 14px 22px;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}

.ba-before .ba-hub {
  background: var(--urgent-soft);
  border: 1px solid rgba(255, 92, 114, 0.3);
  color: var(--urgent);
}

.ba-after .ba-hub.system {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-strong);
}

.ba-after .ba-hub.owner {
  background: var(--live-soft);
  border: 1px solid rgba(51, 230, 184, 0.32);
  color: var(--live);
}

.ba-arrow-down { font-size: 16px; color: var(--text-tertiary); }

.ba-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-panel-strong);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
}

.ba-arrow svg { width: 18px; height: 18px; }

/* ---------- How it works ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

@media (max-width: 900px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } }

.step-card {
  padding: 28px 24px;
  position: relative;
}

.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-strong);
  margin-bottom: 14px;
  display: block;
}

.step-quote {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  color: var(--text-secondary);
  font-style: normal;
}

/* ---------- CEO Brain ---------- */
.brain-visual {
  padding: 40px 28px;
  display: grid;
  gap: 26px;
  justify-items: center;
}

.brain-core {
  padding: 18px 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.22), rgba(91, 140, 255, 0.05));
  border: 1px solid var(--accent-line);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 60px -20px rgba(91, 140, 255, 0.5);
}

.brain-core svg { width: 22px; height: 22px; }

.brain-links { width: 1px; height: 30px; background: var(--border-strong); }

.brain-layer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.brain-chip {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-panel-strong);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.brain-points {
  margin-top: 12px;
}

.brain-points .grid { margin-top: 20px; }

.point-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
}

.point-item:first-child { border-top: none; }

.point-check {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}

.point-check svg { width: 13px; height: 13px; stroke: var(--accent-strong); }

/* ---------- Agent team ---------- */
.agent-card {
  padding: 26px;
  display: grid;
  gap: 14px;
  position: relative;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.agent-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.agent-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.agent-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid;
  place-items: center;
}

.agent-icon svg { width: 21px; height: 21px; stroke: var(--accent-strong); }

.tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
}

.tag.live, .tag.core { color: var(--live); background: var(--live-soft); border: 1px solid rgba(51, 230, 184, 0.3); }
.tag.roadmap { color: var(--roadmap); background: var(--roadmap-soft); border: 1px solid rgba(139, 144, 163, 0.25); }

.agent-card.is-roadmap { opacity: 0.72; }
.agent-card.is-roadmap .agent-icon { background: var(--roadmap-soft); border-color: rgba(139, 144, 163, 0.25); }
.agent-card.is-roadmap .agent-icon svg { stroke: var(--roadmap); }

.agent-card.is-ceo {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(91, 140, 255, 0.1), rgba(91, 140, 255, 0.02));
  border-color: var(--accent-line);
}

@media (max-width: 900px) { .agent-card.is-ceo { grid-column: auto; } }

/* ---------- Executive briefing ---------- */
.brief-panel { padding: 30px; max-width: 620px; margin-inline: auto; }

.brief-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.brief-head .who { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brief-head .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-strong), #2745a8);
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #06070a;
}

.brief-greeting { font-size: 19px; font-weight: 800; margin: 14px 0 4px; }
.brief-sub { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 20px; }

.brief-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

@media (max-width: 640px) { .brief-stats { grid-template-columns: repeat(2, 1fr); } }

.brief-stat {
  padding: 14px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.brief-stat b { display: block; font-size: 20px; font-weight: 800; }
.brief-stat span { font-size: 11.5px; color: var(--text-tertiary); }

.brief-section-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  margin-top: 22px;
}

.brief-actions { display: grid; gap: 8px; }

.brief-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--attention-soft);
  border: 1px solid rgba(255, 176, 32, 0.3);
  font-size: 14px;
  font-weight: 700;
}

.brief-action.urgent { background: var(--urgent-soft); border-color: rgba(255, 92, 114, 0.32); }

.brief-action .go { font-size: 12px; color: var(--text-tertiary); font-weight: 700; }

.brief-reco {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-size: 14px;
}

.brief-reco b { display: block; font-size: 12px; color: var(--accent-strong); margin-bottom: 4px; letter-spacing: 0.02em; }

/* ---------- Control / approval flow ---------- */
.flow-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.flow-node {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13.5px;
  background: var(--bg-panel-strong);
  border: 1px solid var(--border-subtle);
}

.flow-node.hot { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-strong); }

.flow-sep { color: var(--text-tertiary); font-size: 14px; }

@media (max-width: 640px) {
  .flow-rail { flex-direction: column; }
  .flow-sep { transform: rotate(90deg); }
}

.policy-table { display: grid; gap: 10px; }

.policy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.policy-row .action { font-weight: 700; font-size: 14.5px; }

.policy-level {
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

.policy-level.auto { background: var(--live-soft); color: var(--live); border: 1px solid rgba(51, 230, 184, 0.3); }
.policy-level.policy { background: var(--accent-soft); color: var(--accent-strong); border: 1px solid var(--accent-line); }
.policy-level.approve { background: var(--attention-soft); color: var(--attention); border: 1px solid rgba(255, 176, 32, 0.3); }
.policy-level.strict { background: var(--urgent-soft); color: var(--urgent); border: 1px solid rgba(255, 92, 114, 0.3); }
.policy-level.human { background: var(--roadmap-soft); color: var(--text-primary); border: 1px solid var(--border-strong); }

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

@media (max-width: 900px) { .control-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .control-features { grid-template-columns: 1fr; } }

.feature-chip {
  padding: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-chip svg { width: 17px; height: 17px; stroke: var(--accent-strong); flex: none; }

/* ---------- Memory graph ---------- */
.memory-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 36px 20px;
}

.mem-node {
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--bg-panel-strong);
  border: 1px solid var(--border-subtle);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mem-node svg { width: 15px; height: 15px; stroke: var(--accent-strong); }

.mem-sep { color: var(--text-tertiary); }

/* ---------- Israel-first ---------- */
.israel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 800px) { .israel-cols { grid-template-columns: 1fr; } }

.israel-col { padding: 28px; }

.israel-col h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 18px;
}

.israel-list { display: grid; gap: 10px; }

.israel-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Comparison table ---------- */
.compare-scroll { overflow-x: auto; padding-bottom: 6px; }

table.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}

table.compare th, table.compare td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

table.compare thead th {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  padding-bottom: 18px;
}

table.compare thead th.feature-col { text-align: start; }
table.compare td.feature-col, table.compare th.feature-col { text-align: start; font-weight: 700; color: var(--text-secondary); }

table.compare thead th.brand-col { color: var(--accent-strong); font-size: 14px; }

td.brand-col { background: var(--accent-soft); }

table.compare tbody tr:last-child td { border-bottom: none; }

.yes { color: var(--live); font-weight: 800; }
.no { color: var(--text-tertiary); }
.partial { color: var(--attention); font-weight: 700; }

/* ---------- Dashboard mockup ---------- */
.dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
  overflow: hidden;
}

.dash-sidebar {
  border-inline-end: 1px solid var(--border-subtle);
  padding: 20px 14px;
  display: grid;
  gap: 4px;
  align-content: start;
  background: rgba(255, 255, 255, 0.015);
}

@media (max-width: 800px) {
  .dash { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
}

.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.dash-nav-item svg { width: 16px; height: 16px; }

.dash-nav-item.active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.dash-main { padding: 26px 28px; }

.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.dash-top h3 { font-size: 19px; }

.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }

@media (max-width: 640px) { .dash-kpis { grid-template-columns: repeat(2, 1fr); } }

.kpi {
  padding: 16px;
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.kpi b { display: block; font-size: 22px; font-weight: 800; }
.kpi span { font-size: 12px; color: var(--text-tertiary); }

.dash-feed-title { font-size: 12.5px; font-weight: 800; color: var(--text-tertiary); margin-bottom: 10px; letter-spacing: 0.02em; }

.dash-feed { display: grid; gap: 8px; }

.feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateY(6px);
  animation: feedIn var(--dur-med) var(--ease) forwards;
}

@keyframes feedIn { to { opacity: 1; transform: translateY(0); } }

.feed-item .agent-dot {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: grid; place-items: center;
}

.feed-item .agent-dot svg { width: 14px; height: 14px; stroke: var(--accent-strong); }

.feed-item .body b { font-size: 13.5px; font-weight: 700; display: block; }
.feed-item .body span { font-size: 12.5px; color: var(--text-tertiary); }

.feed-item .when { font-size: 12px; color: var(--text-tertiary); white-space: nowrap; }

/* ---------- Social proof ---------- */
.proof-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Final CTA ---------- */
.cta-panel {
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 50% 0%, rgba(91, 140, 255, 0.18), transparent 70%);
  pointer-events: none;
}

@media (max-width: 640px) { .cta-panel { padding: 44px 20px; } }

.cta-form {
  max-width: 520px;
  margin: 32px auto 0;
  display: grid;
  gap: 12px;
  text-align: start;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color var(--dur-fast) var(--ease);
}

.field input:focus {
  outline: none;
  border-color: var(--accent-line);
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-note { font-size: 12.5px; color: var(--text-tertiary); text-align: center; margin-top: 4px; }

.form-success {
  display: none;
  margin-top: 32px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--live-soft);
  border: 1px solid rgba(51, 230, 184, 0.32);
  font-weight: 700;
  color: var(--live);
}

.form-success.is-visible { display: block; }

.form-error {
  display: none;
  margin-top: 32px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--urgent-soft);
  border: 1px solid rgba(255, 92, 114, 0.32);
  font-weight: 700;
  color: var(--urgent);
  text-align: center;
}

.form-error.is-visible { display: block; }

.hp-field { position: absolute; inset-inline-start: -9999px; }

.cta-form button[type="submit"][disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 4px 24px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-strong);
  flex: none;
  transition: transform var(--dur-fast) var(--ease);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding-bottom: 20px;
  color: var(--text-secondary);
  font-size: 14.5px;
  max-width: 60ch;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(6, 7, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
  display: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 720px) {
  .sticky-cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: opacity var(--dur-fast) linear; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }

.footer-col h5 { font-size: 12.5px; font-weight: 800; color: var(--text-tertiary); margin-bottom: 14px; letter-spacing: 0.03em; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--text-secondary); padding: 5px 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ---------- Skip link / accessibility ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  right: 16px;
  z-index: 200;
  background: var(--accent);
  color: #06070a;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus { top: 16px; }

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

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