/* ===== Essential Deck — landing page styles ===== */

:root {
  --bg: #0a0e1a;
  --bg-elevated: #0f1428;
  --bg-card: #131936;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #edeef5;
  --text-dim: #a2a9c2;
  --text-dimmer: #6d7590;
  --accent: #8b7cf6;
  --accent-soft: rgba(139, 124, 246, 0.14);
  --accent-2: #f0b94c;
  --accent-2-soft: rgba(240, 185, 76, 0.14);
  --teal: #4fd6c4;
  --radius: 14px;
  --max-w: 1180px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7fb;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --border: rgba(20, 20, 40, 0.09);
    --border-strong: rgba(20, 20, 40, 0.16);
    --text: #14162a;
    --text-dim: #4c5170;
    --text-dimmer: #7a7f9a;
    --accent: #6a56e8;
    --accent-soft: rgba(106, 86, 232, 0.09);
    --accent-2: #b8791e;
    --accent-2-soft: rgba(184, 121, 30, 0.1);
    --teal: #128f7e;
    --shadow: 0 20px 60px -25px rgba(20, 20, 50, 0.25);
    color-scheme: light;
  }
}

:root[data-theme="dark"] {
  --bg: #0a0e1a;
  --bg-elevated: #0f1428;
  --bg-card: #131936;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #edeef5;
  --text-dim: #a2a9c2;
  --text-dimmer: #6d7590;
  --accent: #8b7cf6;
  --accent-soft: rgba(139, 124, 246, 0.14);
  --accent-2: #f0b94c;
  --accent-2-soft: rgba(240, 185, 76, 0.14);
  --teal: #4fd6c4;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f7f7fb;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(20, 20, 40, 0.09);
  --border-strong: rgba(20, 20, 40, 0.16);
  --text: #14162a;
  --text-dim: #4c5170;
  --text-dimmer: #7a7f9a;
  --accent: #6a56e8;
  --accent-soft: rgba(106, 86, 232, 0.09);
  --accent-2: #b8791e;
  --accent-2-soft: rgba(184, 121, 30, 0.1);
  --teal: #128f7e;
  --shadow: 0 20px 60px -25px rgba(20, 20, 50, 0.25);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-2-soft);
  border: 1px solid rgba(240, 185, 76, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-2-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6f5cf2 55%, #5a48e0);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(139, 124, 246, 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 36px -8px rgba(139, 124, 246, 0.7); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand .mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  box-shadow: 0 6px 18px -6px rgba(139, 124, 246, 0.6);
}
.brand .mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
}
.nav-links a:hover { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

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

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 28px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-panel a {
  padding: 12px 4px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mobile-panel.open { display: flex; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 108px 0 90px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(560px 320px at 18% 20%, rgba(139, 124, 246, 0.28), transparent 65%),
    radial-gradient(480px 300px at 82% 10%, rgba(79, 214, 196, 0.18), transparent 65%),
    radial-gradient(420px 260px at 55% 40%, rgba(240, 185, 76, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

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

.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  margin: 20px 0 20px;
}

.hero-copy .tagline-2 {
  background: linear-gradient(120deg, var(--accent), var(--teal) 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p.lead {
  font-size: 17.5px;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dimmer);
}
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-pillars li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.hero-pillars svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .hero-pillars { grid-template-columns: 1fr; }
}

/* ---------- Hero orchestration diagram ---------- */
.hero-visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  box-shadow: var(--shadow);
  padding: 30px;
  min-height: 420px;
}

.diagram { position: relative; width: 100%; height: 360px; }

.diagram svg { width: 100%; height: 100%; }

.node-label {
  position: absolute;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.4);
}
.node-label svg { width: 14px; height: 14px; color: var(--accent); }

.node-center {
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
  padding: 14px 20px;
  border-color: var(--border-strong);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2-soft));
}
.node-center .dotpulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(79,214,196,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(79,214,196,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(79,214,196,0.05); }
}

.n-users   { left: 6%;  top: 10%; }
.n-agents  { left: 6%;  top: 82%; }
.n-db      { right: 4%; top: 6%; }
.n-kb      { right: 2%; top: 30%; }
.n-llm     { right: 4%; top: 86%; }

.flow-line {
  stroke: url(#lineGrad);
  stroke-width: 1.6;
  fill: none;
  opacity: 0.55;
}
.flow-dot { fill: var(--accent-2); }

@media (max-width: 560px) {
  .diagram { height: 460px; }
  .node-label { font-size: 10.5px; padding: 5px 9px; }
  .n-users  { left: 2%; top: 4%; }
  .n-agents { left: 2%; top: 94%; }
  .n-db     { right: 0%; top: 2%; }
  .n-kb     { right: 0%; top: 26%; }
  .n-llm    { right: 0%; top: 96%; }
}

/* ---------- Section shells ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.section-head {
  max-width: 660px;
  margin: 0 0 52px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 16px 0 14px;
  line-height: 1.18;
}
.section-head p {
  color: var(--text-dim);
  font-size: 16.5px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Logo / trust bar ---------- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
}
.trust-bar .wrap {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trust-bar p {
  font-size: 13px;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  white-space: nowrap;
}
.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-chip {
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-elevated);
}

/* ---------- DMZ / trust-boundary diagram ---------- */
.dmz-section { position: relative; overflow: hidden; }
.dmz-glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 480px;
  background:
    radial-gradient(500px 280px at 18% 15%, rgba(139, 124, 246, 0.16), transparent 65%),
    radial-gradient(480px 280px at 82% 20%, rgba(79, 214, 196, 0.16), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.dmz-section .wrap { position: relative; z-index: 1; }

.boundary {
  display: grid;
  grid-template-columns: 1fr 168px 1fr;
  align-items: stretch;
  gap: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 34px 30px;
  min-height: 420px;
}

.zone { display: flex; flex-direction: column; padding: 22px 24px; border-radius: 16px; position: relative; }
.zone-inside { background: var(--accent-soft); border: 1px solid rgba(139, 124, 246, 0.28); }
.zone-outside { background: transparent; border: 1px dashed var(--border-strong); }

.zone-kicker { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.zone-kicker h3 { font-size: 15.5px; color: var(--text); }
.zone-kicker span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.zone-inside .zone-kicker span { color: var(--accent); }
.zone-outside .zone-kicker span { color: var(--text-dimmer); }

.zone-desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.45; }
.zone-outside .zone-desc { color: var(--text-dimmer); }

/* the card stack centers in whatever vertical room is left under the header */
.zone-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; padding-top: 14px; }

/* node card: category + its lettered example instances */
.node-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}
.zone-outside .node-card { border-style: dashed; }

.node-card-head { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--text); }
.zone-outside .node-card-head { color: var(--text-dim); }
.node-card-head svg { width: 15px; height: 15px; flex-shrink: 0; }
.zone-inside .node-card-head svg { color: var(--accent); }
.zone-outside .node-card-head svg { color: var(--text-dimmer); }

.examples { display: flex; flex-direction: column; gap: 5px; padding-left: 24px; }
.example { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-dim); }
.zone-outside .example { color: var(--text-dimmer); }
.example .ltr {
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 8.5px; font-weight: 700; color: var(--text-dimmer);
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
}
.example .ex-name { flex: 1; }

.level-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
  border: 1px solid transparent;
}
.lvl-public       { color: var(--text-dimmer); border-color: var(--border); }
.lvl-internal     { color: var(--text-dim); border-color: var(--border-strong); }
.lvl-confidential { color: var(--accent-2); background: var(--accent-2-soft); border-color: rgba(240, 185, 76, 0.35); }
.lvl-secret       { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); font-weight: 800; }

/* connector stub from each card into the shared bus at the zone's inner edge */
.zone-inside .node-card::after,
.zone-outside .node-card::before {
  content: ""; position: absolute; top: 50%; width: 20px; height: 1px; background: var(--border-strong);
}
.zone-inside .node-card::after { right: -20px; }
.zone-outside .node-card::before { left: -20px; }

/* vertical bus line each zone's cards converge onto */
.zone-inside .zone-body::after,
.zone-outside .zone-body::before {
  content: ""; position: absolute; top: 6%; bottom: 6%; width: 1px; background: var(--border-strong);
}
.zone-inside .zone-body::after { right: -20px; }
.zone-outside .zone-body::before { left: -20px; }

.seam { position: relative; display: flex; align-items: center; justify-content: center; }
.seam-line { position: absolute; top: 12%; bottom: 12%; left: 50%; width: 0; border-left: 1.5px dashed var(--border-strong); }
.gate {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: linear-gradient(160deg, var(--accent-soft), var(--teal-soft));
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 16px 14px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.45);
}
.gate .icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border-strong);
}
.gate .icon svg { width: 15px; height: 15px; color: var(--teal); }
.gate .name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 12.5px; color: var(--text); white-space: nowrap; }
.gate .role { font-size: 10px; color: var(--text-dim); max-width: 108px; line-height: 1.35; }

.dmz-legend {
  display: flex; flex-wrap: wrap; gap: 22px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-dim);
}
.dmz-legend-item { display: flex; align-items: center; gap: 8px; }
.dmz-legend-line { width: 22px; height: 0; border-top: 1.5px solid var(--border-strong); }
.dmz-legend-line.dashed { border-top-style: dashed; }

.scale { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.scale-caption { font-size: 12.5px; color: var(--text-dim); margin-right: 4px; }
.scale-track { display: flex; align-items: center; gap: 7px; }
.scale-cut { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 2px; align-self: stretch; justify-content: center; }
.scale-cut i { display: block; width: 0; flex: 1; border-left: 1.5px dashed var(--accent-2); min-height: 14px; }
.scale-cut span { font-size: 8.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-2); white-space: nowrap; }

@media (max-width: 860px) {
  .boundary { grid-template-columns: 1fr; padding: 28px 22px; gap: 30px; }
  .seam { padding: 4px 0 22px; }
  .seam-line { top: 0; bottom: 0; left: 0; right: 0; border-left: none; border-top: 1.5px dashed var(--border-strong); width: auto; height: 0; }
  .zone-inside .zone-body::after, .zone-outside .zone-body::before { display: none; }
  .zone-inside .node-card::after, .zone-outside .node-card::before { display: none; }
}

/* ---------- Problem / stats ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 28px;
}
.problem-card .num {
  font-family: "Sora", sans-serif;
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  display: block;
}
.problem-card h3 { font-size: 16px; margin-bottom: 8px; }
.problem-card p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--bg-elevated);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 11px;
  display: inline-block;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 14.5px; }

.step-arrow {
  display: none;
}
@media (min-width: 881px) {
  .steps { position: relative; }
}

/* ---------- Screenshots ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.shot-card.wide { grid-column: 1 / -1; }
@media (max-width: 880px) {
  .shot-grid { grid-template-columns: 1fr; }
}

.shot-card h3 { font-size: 17px; margin: 20px 0 8px; }
.shot-card p { color: var(--text-dim); font-size: 14.5px; max-width: 640px; }

.shot-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.shot-chrome .traffic { display: flex; gap: 6px; }
.shot-title { font-size: 12.5px; color: var(--text-dimmer); margin-left: 6px; }
.shot-body { padding: 22px; min-height: 260px; }

.chat-mock { display: flex; flex-direction: column; gap: 12px; }
.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.5;
}
.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), #6f5cf2);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.assistant {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--teal);
}
.chat-tag svg { width: 14px; height: 14px; flex-shrink: 0; }

.chat-input-mock {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text-dimmer);
  font-size: 13px;
}
.chat-send {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #fff;
}
.chat-send svg { width: 14px; height: 14px; }

.mini-dash {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.mini-dash .stat-row { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mini-dash .stat-box { padding: 12px; }
.mini-dash .stat-box .v { font-size: 18px; }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 84px;
  padding: 0 2px;
}
.mini-chart .bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--teal));
  opacity: 0.88;
}
.mini-chart-labels {
  display: flex;
  gap: 8px;
  margin-top: 7px;
  padding: 0 2px;
}
.mini-chart-labels span {
  flex: 1;
  text-align: center;
  font-size: 10.5px;
  color: var(--text-dimmer);
}

.topo-mock { display: flex; flex-direction: column; gap: 14px; }
.topo-svg { width: 100%; height: auto; }
.topo-edge { stroke: var(--border-strong); stroke-width: 1.4; }
.topo-node { stroke-width: 2; }
.topo-node.approved { stroke: var(--teal); }
.topo-node.pending { stroke: var(--accent-2); stroke-dasharray: 4 3; }
.topo-node.rejected { stroke: #f06a6a; }
.topo-node.fill-accent { fill: var(--accent-soft); }
.topo-node.fill-teal { fill: rgba(79, 214, 196, 0.14); }
.topo-node.fill-amber { fill: var(--accent-2-soft); }
.topo-label {
  fill: var(--text-dimmer);
  font-size: 10.5px;
  font-family: "Inter", sans-serif;
  text-anchor: middle;
}
.topo-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-dimmer);
}
.topo-legend .sep { display: none; }
.dot-legend {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  vertical-align: middle;
}
.dot-legend.approved { border-color: var(--teal); }
.dot-legend.pending { border-color: var(--accent-2); border-style: dashed; }
.dot-legend.rejected { border-color: #f06a6a; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1040px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--bg-elevated);
  transition: border-color .18s ease, transform .18s ease;
}
.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-card h3 { font-size: 16px; margin-bottom: 9px; }
.feature-card p { font-size: 14px; color: var(--text-dim); }

/* ---------- Two-col detail rows ---------- */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.detail-row + .detail-row { margin-top: 90px; }
.detail-row.reverse .detail-copy { order: 2; }
.detail-row.reverse .detail-panel { order: 1; }

@media (max-width: 880px) {
  .detail-row, .detail-row.reverse .detail-copy, .detail-row.reverse .detail-panel {
    grid-template-columns: 1fr;
    order: initial;
  }
  .detail-row { display: block; }
  .detail-row .detail-panel { margin-top: 30px; }
}

.detail-copy h3 { font-size: clamp(22px, 2.6vw, 28px); margin: 14px 0 16px; line-height: 1.2; }
.detail-copy p.desc { color: var(--text-dim); font-size: 15.5px; margin-bottom: 22px; }

.checklist { display: flex; flex-direction: column; gap: 13px; }
.checklist li {
  list-style: none;
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.checklist svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.checklist strong { color: var(--text); font-weight: 600; }

.detail-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 4px;
  box-shadow: var(--shadow);
}
.panel-inner { padding: 26px; }
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.panel-header .traffic { display: flex; gap: 6px; }
.traffic span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.panel-header .ptitle { font-size: 12.5px; color: var(--text-dimmer); margin-left: 6px; }

.log-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.log-row:last-child { border-bottom: none; }
.log-left { display: flex; align-items: center; gap: 10px; color: var(--text-dim); }
.log-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.log-badge.approved { background: rgba(79,214,196,0.15); color: var(--teal); }
.log-badge.pending { background: var(--accent-2-soft); color: var(--accent-2); }
.log-badge.rejected { background: rgba(240,90,90,0.15); color: #f06a6a; }
.log-time { color: var(--text-dimmer); font-size: 12px; }

.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.stat-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.stat-box .v { font-family: "Sora",sans-serif; font-weight: 700; font-size: 22px; color: var(--text); }
.stat-box .l { font-size: 11.5px; color: var(--text-dimmer); margin-top: 4px; }

/* ---------- Security section ---------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .security-grid { grid-template-columns: 1fr; } }

.security-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-elevated);
}
.security-card .feature-icon { background: var(--accent-2-soft); color: var(--accent-2); }
.security-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.security-card p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(139,124,246,0.25), transparent 60%),
    radial-gradient(500px 260px at 90% 100%, rgba(79,214,196,0.18), transparent 60%),
    var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 60px 50px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 16px; }
.cta-band p { color: var(--text-dim); max-width: 520px; margin: 0 auto 32px; font-size: 16px; }

/* ---------- CTA / demo request form ---------- */
.cta-band { text-align: left; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }

.cta-copy p { max-width: 460px; margin: 0; }
.cta-copy p + p { margin-top: 0; }

.demo-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.form-group input,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-note { font-size: 12px; color: var(--text-dimmer); margin-top: 12px; text-align: center; }

.flash {
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}
.flash.success { background: rgba(79, 214, 196, 0.12); border: 1px solid rgba(79, 214, 196, 0.35); color: var(--teal); }
.flash.danger { background: rgba(240, 90, 90, 0.12); border: 1px solid rgba(240, 90, 90, 0.35); color: #f06a6a; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 50px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand p {
  color: var(--text-dimmer);
  font-size: 14px;
  margin-top: 14px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dimmer);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--text); }

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

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dimmer);
}
