/* ═══════════════════════════════════════════════════════════════
   CertControl — Shared Landing Site Styles
   Design tokens ported from /home.html (dark platform look)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #070c12;
  --bg2: #0b1219;
  --bg3: #0f1a24;
  --panel: rgba(15,26,36,0.85);
  --border: rgba(255,255,255,0.07);
  --border2: rgba(79,169,255,0.2);
  --text: #e8f0f8;
  --muted: #8aa0b8;
  --muted2: #5a718a;
  --accent: #3b82f6;
  --accent2: #60a5fa;
  --green: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;
  --cyan: #06b6d4;
  --purple: #a78bfa;
  --glow: rgba(59,130,246,0.15);
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max: 1200px;
  --radius: 16px;
  --shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);

  /* Legacy aliases used by existing new_site markup */
  --line: var(--border);
  --muted-2: var(--muted2);
  --accent-2: var(--accent2);
  --success: var(--green);
  --warning: var(--orange);
  --danger: var(--red);
  --bg-soft: var(--bg2);
  --panel-strong: var(--bg3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── UTILS ── */
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.tiny { color: var(--muted2); font-size: 12px; }

.tag, .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25); color: var(--accent2);
}
.tag.green, .badge.green { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.25); color: #4ade80; }
.tag.orange, .badge.orange { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.25); color: #fbbf24; }

.dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
  animation: pulse 2s infinite;
}

.eyebrow {
  display: inline-block;
  color: var(--accent2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
}

/* ── NAV / HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7,12,18,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* Fixed nav is 64px tall; section top padding handles the offset */

.nav-logo {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: var(--text); text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent2); }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(59,130,246,.3), rgba(96,165,250,.15));
  border: 1px solid rgba(96,165,250,.3);
  font-size: 14px;
  color: var(--accent2);
}
.brand-name { display: inline-flex; }
.brand-cert { color: var(--text); }
.brand-control { color: var(--accent2); }

.nav-links {
  display: flex; gap: 32px; list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-mobile-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: rgba(7,12,18,0.97);
  border-bottom: 1px solid var(--border);
}
.nav-mobile-menu a {
  padding: 10px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
}
.nav-mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-mobile-menu.open { display: flex; }

/* ── BUTTONS ── */
.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-hero, .btn-demo {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all .2s;
  border: 1px solid transparent;
}
.btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}
.btn-primary:hover { background: var(--accent2); box-shadow: 0 0 30px rgba(59,130,246,0.5); transform: translateY(-1px); }

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--border2); }

.btn-ghost {
  padding: 8px 20px; border-radius: 8px; font-size: 14px;
  color: var(--muted); border-color: var(--border);
  background: transparent;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border2); }

.btn-hero {
  padding: 14px 28px; border-radius: 10px; font-size: 16px;
  background: var(--accent); color: #fff;
  box-shadow: 0 0 30px rgba(59,130,246,0.35);
}
.btn-hero:hover { transform: translateY(-1px); box-shadow: 0 0 50px rgba(59,130,246,0.5); }

.btn-demo {
  padding: 14px 28px; border-radius: 10px; font-size: 16px; font-weight: 500;
  background: rgba(255,255,255,0.05); color: var(--text); border-color: var(--border);
}
.btn-demo:hover { background: rgba(255,255,255,0.08); }

.btn-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 28px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, p { margin: 0; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.04em;
}
h1 em { font-style: normal; color: var(--accent2); }
h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
}
h3 {
  font-size: 17px; font-weight: 600;
}
.lead, .section-sub {
  font-size: 17px; color: var(--muted); line-height: 1.7;
  max-width: 600px;
}

/* ── SECTIONS ── */
section, .section { padding: 90px 0; position: relative; }
section + section, .section + .section { border-top: 1px solid var(--border); }
.section-tag { margin-bottom: 16px; }
.section-title {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* ── HERO ── */
.hero {
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative;
}
.hero-copy { padding-top: 10px; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { max-width: 520px; margin-bottom: 12px; }

.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted2); }

.trust-row {
  display: flex; flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 22px;
  color: var(--muted2);
  font-size: 13px;
  font-weight: 500;
}
.trust-row span::before {
  content: '✓'; color: var(--green); margin-right: 6px; font-weight: 700;
}

/* hero screenshot card */
.hero-card, .hero-screen {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg2);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::before, .hero-screen::before {
  content: '';
  position: absolute; inset: -1px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), transparent 60%);
  pointer-events: none; z-index: 1;
}
.hero-card img, .hero-screen img, .screenshot {
  width: 100%; display: block; border-radius: 0 0 14px 14px;
}
.screenshot { border-radius: 12px; border: 1px solid var(--border); }

/* hero stats pills */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 36px;
}
.stat-pill {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; text-align: center;
}
.stat-pill .num {
  font-family: var(--font-mono); font-size: 22px; font-weight: 500;
  line-height: 1;
}
.stat-pill .num.green { color: var(--green); }
.stat-pill .num.orange { color: var(--orange); }
.stat-pill .num.red { color: var(--red); }
.stat-pill .lbl {
  font-size: 11px; color: var(--muted2); text-transform: uppercase;
  letter-spacing: 0.08em; margin-top: 4px;
}

/* ── WINDOW BAR (mac chrome) ── */
.window-bar, .ss-bar {
  background: rgba(15,26,36,0.9); padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; color: var(--muted2);
}
.window-dots { display: flex; gap: 6px; }
.window-dots span, .ss-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.ss-dot.r { background: #ef4444; }
.ss-dot.y { background: #f59e0b; }
.ss-dot.g { background: #22c55e; }
.ss-url { font-family: var(--font-mono); font-size: 11px; color: var(--muted2); margin-left: 8px; }

/* ── URGENCY BANNER ── */
.urgency {
  background: linear-gradient(90deg, rgba(245,158,11,0.08), rgba(239,68,68,0.06), rgba(245,158,11,0.08));
  border-top: 1px solid rgba(245,158,11,0.15);
  border-bottom: 1px solid rgba(245,158,11,0.15);
  padding: 0;
}
.urgency-inner {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 14px 20px; flex-wrap: wrap; text-align: center;
}
.urgency-badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3);
  color: #fbbf24; padding: 4px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.urgency p { font-size: 14px; color: var(--muted); }
.urgency strong { color: var(--text); }

/* ── GENERIC CARDS ── */
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}
.card:hover { border-color: var(--border2); }
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 8px; }
.card h3 { font-size: 17px; font-weight: 600; }

.visual-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  overflow: hidden;
}

/* ── PROBLEM GRID ── */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 48px;
}
/* ── CAPABILITY GRID (homepage overview) ── */
.capability-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px;
}
.cap-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; transition: border-color .2s;
}
.cap-card:hover { border-color: var(--border2); }
.cap-icon { font-size: 1.75rem; margin-bottom: 12px; }
.cap-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.cap-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .capability-grid { grid-template-columns: 1fr; } }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.team-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: border-color .2s;
}
.team-card:hover { border-color: var(--border2); }
.team-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s;
}
.problem-card:hover { border-color: var(--border2); }
.problem-icon { font-size: 24px; margin-bottom: 14px; }
.problem-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── FEATURE LIST / ITEMS ── */
.features-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; margin-bottom: 64px;
}

.feature-list {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 24px;
  padding: 0; list-style: none;
}
.feature-list li {
  display: flex; gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s;
}
.feature-item:hover { border-color: var(--border2); }
.fi-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.fi-icon.blue { background: rgba(59,130,246,0.15); }
.fi-icon.green { background: rgba(34,197,94,0.15); }
.fi-icon.orange { background: rgba(245,158,11,0.15); }
.fi-icon.purple { background: rgba(167,139,250,0.15); }
.fi-icon.cyan { background: rgba(6,182,212,0.15); }
.fi-icon.red { background: rgba(239,68,68,0.15); }
.feature-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.feature-item p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── SCREENSHOT SHOWCASE (tabs) ── */
.screenshot-section { padding: 90px 0; background: var(--bg2); }
.ss-header { text-align: center; margin-bottom: 40px; }
.ss-header .section-title { margin-top: 12px; }
.ss-header .section-sub { margin: 8px auto 0; text-align: center; }
.ss-tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.ss-tab {
  padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-family: inherit;
}
.ss-tab:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.25); }
.ss-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 16px rgba(59,130,246,0.4); }
.ss-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  max-width: 1000px; margin: 0 auto;
}
.ss-frame img { width: 100%; display: block; }
.ss-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(7,12,18,0.95));
  padding: 40px 24px 20px; font-size: 13px; color: var(--muted);
}
.ss-panel { display: none; }
.ss-panel.active { display: block; }

/* ── GRID LAYOUTS ── */
.grid-3, .grid-2 {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }

.visual-wrap {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
  align-items: stretch;
}

/* ── ICONS ── */
.icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(96,165,250,0.24);
  color: var(--accent2);
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ── TEXT LINK ── */
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  color: var(--accent2);
  font-weight: 600;
  font-size: 14px;
  transition: color .2s;
}
.text-link:hover { color: var(--text); }

/* ── USE CASE CARD ── */
.use-card {
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

/* ── QUOTE CARD ── */
.quote-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.18);
  color: #dff0ff;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.quote-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* ── AGENT SECTION ── */
.agent-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.agent-diagram {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.agent-flow { display: flex; flex-direction: column; gap: 0; }
.af-node {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.af-node:last-child { border-bottom: none; }
.af-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: var(--bg2); border: 1px solid var(--border);
}
.af-node h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.af-node p { font-size: 12px; color: var(--muted); }
.af-arrow {
  display: flex; align-items: center; padding: 4px 0 4px 20px;
  font-size: 12px; color: var(--muted2); gap: 8px;
}
.af-arrow span {
  font-family: var(--font-mono); font-size: 11px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
  color: var(--green); padding: 2px 8px; border-radius: 4px;
}
.agent-badges {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px;
}
.agent-badge {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px;
}
.agent-badge h4 {
  font-size: 12px; font-weight: 700; margin-bottom: 4px;
  letter-spacing: 0.05em; color: var(--accent2);
}
.agent-badge p { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ── DIFFERENTIATORS ── */
.diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
.diff-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s;
}
.diff-card:hover { border-color: var(--border2); }
.diff-card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 8px; }
.diff-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.diff-icon { font-size: 28px; }
.diff-check { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.diff-check span {
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.diff-check span::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ── SECURITY SECTION ── */
.security-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.sec-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.sec-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px;
}
.sec-item .label { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.sec-item .desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
.sec-badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px; white-space: nowrap;
}
.sec-badge.green {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.2);
  color: var(--green);
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.04));
  text-align: center; padding: 110px 0;
}
.cta-section .section-title { margin: 0 auto 16px; max-width: 700px; }
.cta-section .section-sub, .cta-section .lead { margin: 0 auto 32px; text-align: center; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 16px; font-size: 13px; color: var(--muted2); }

.cta-panel {
  padding: 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(96,165,250,0.04));
  border: 1px solid rgba(59,130,246,0.25);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}

/* ── FORM ── */
.form-grid { display: grid; gap: 18px; }
.field label {
  display: block; font-weight: 600; margin-bottom: 8px;
  color: var(--text); font-size: 14px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent2);
}
.field textarea { min-height: 160px; resize: vertical; }

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  color: var(--muted2);
}
.footer-grid, .footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-brand span { color: var(--accent2); }
.footer-meta, .footer-links {
  font-size: 13px;
  color: var(--muted2);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-meta a, .footer-links a { color: var(--muted2); transition: color .2s; }
.footer-meta a:hover, .footer-links a:hover { color: var(--text); }
.footer-trust { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-pill {
  font-size: 11px; font-family: var(--font-mono);
  padding: 4px 10px; border-radius: 6px;
  background: var(--bg3); border: 1px solid var(--border); color: var(--muted2);
}

/* ── ARTICLE / BLOG ── */
.article-section { padding: 120px 0 80px; }
.article-max { max-width: 740px; }

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.article-body p { margin-top: 20px; color: var(--muted); }
.article-body h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 42px;
  max-width: none;
}
.article-body h3 {
  font-size: 18px;
  color: var(--text);
  margin-top: 28px;
}
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-top: 14px;
  color: var(--muted);
}
.article-body li { margin-top: 8px; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--accent2); text-decoration: underline; }
.article-body a:hover { color: var(--text); }

.article-card {
  padding: 36px 40px;
  border-radius: var(--radius);
  background: var(--bg3);
  border: 1px solid var(--border);
  margin-top: 32px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted2); font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--muted2); opacity: .5; }

/* ── STEP LIST ── */
.use-case-steps {
  list-style: none; padding: 0; margin-top: 24px;
  display: grid; gap: 14px;
}
.use-case-steps li {
  display: flex; gap: 16px;
  padding: 20px 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.use-case-steps .step-num {
  min-width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(96,165,250,0.3);
  color: var(--accent2);
  font-weight: 800;
  font-size: 13px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.use-case-steps .step-body strong {
  display: block; color: var(--text);
  font-weight: 600; margin-bottom: 4px;
  font-size: 15px;
}
.use-case-steps .step-body span { color: var(--muted); font-size: 14px; }

/* ── ARTICLE META ── */
.article-meta {
  display: flex; align-items: center;
  gap: 14px;
  color: var(--muted2);
  font-size: 13px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.article-meta time { font-weight: 500; }

/* ── CHECKLIST ── */
.checklist {
  list-style: none; padding: 0; margin-top: 14px;
  display: grid; gap: 10px;
}
.checklist li { display: flex; gap: 12px; color: var(--muted); font-size: 14px; }
.checklist li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }

/* ── CODE ── */
code, .mono-inline {
  font-family: var(--font-mono);
  font-size: .88em;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 5px;
  padding: .15em .4em;
  color: var(--accent2);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid,
  .features-intro,
  .agent-grid,
  .security-grid,
  .visual-wrap,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .problem-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 110px 0 60px; }
  section, .section { padding: 60px 0; }
  .cta-panel { padding: 28px; }
  .article-card { padding: 24px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  h1 { font-size: 38px; }
}

@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
}
