/* ── Reset & tokens ─────────────────────────────────────────────────────── */
:root {
  --bg: #f3f6fb;
  --ink: #101625;
  --muted: #566179;
  --line: #d7deea;
  --card: #ffffff;
  --brand: #0b66ff;
  --brand-dark: #084ab8;
  --accent: #17c3ff;
  --good: #1f9f52;
  --warn: #d68610;
  --danger: #c42929;
  --radius: 16px;
  --shadow-lg: 0 22px 56px rgba(15, 40, 86, 0.18);
  --shadow-md: 0 10px 30px rgba(20, 42, 80, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1300px 520px at -20% -10%, #dbe9ff, transparent 55%),
    radial-gradient(900px 420px at 120% -15%, #d9fbff, transparent 48%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: "SF Mono", "Fira Code", monospace; font-size: 0.85em; background: #eef2fa; padding: 2px 6px; border-radius: 5px; }

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 246, 251, 0.88);
  border-bottom: 1px solid rgba(215, 222, 234, 0.95);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

/* ── Brand / Logo ────────────────────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand img {
  height: 96px;
  width: auto;
}

.brand-wordmark {
  font-size: 1.3rem;
  color: var(--ink);
}

.brand-sm img { height: 32px; width: auto; }
.brand-sm .brand-wordmark { font-size: 1rem; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 15px;
  transition: background 0.18s, color 0.18s;
}

.nav a:hover, .nav a.active {
  color: var(--ink);
  background: #e6eef9;
}

.nav .cta-link {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  color: #fff !important;
  font-weight: 700;
  margin-left: 8px;
  padding: 9px 18px;
}

.nav .cta-link:hover { opacity: 0.9; background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* ── Pill label ──────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #1750a3;
  background: #e6efff;
  border: 1px solid #c7daff;
  border-radius: 999px;
  padding: 6px 13px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pill-light {
  color: #aec6f7;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  color: #fff;
}
.btn.primary:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(11,102,255,0.3); }

.btn.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.btn.secondary:hover { border-color: #b0bdd4; background: #f5f8fe; }

.btn.secondary-light {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.btn.secondary-light:hover { background: rgba(255,255,255,0.22); }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 11px;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.badge.good { background: #e7f8ef; color: var(--good); border: 1px solid #c4ecd5; }
.badge.warn { background: #fff2df; color: var(--warn); border: 1px solid #f5d8ab; }
.badge.bad  { background: #fde9e9; color: var(--danger); border: 1px solid #f3c4c4; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  margin-top: 4px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
  font-weight: 800;
}

.h1-accent {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 60ch;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-line {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  color: #8697b2;
  margin-right: 2px;
}

.logo-chip {
  background: #fff;
  border: 1px solid var(--line);
  color: #4f5c75;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* ── Hero panel ──────────────────────────────────────────────────────────── */
.hero-panel {
  background: linear-gradient(155deg, #0d1e42, #1540a8 60%, #1065d8);
  color: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.panel-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #8aaad8;
  margin-bottom: 16px;
}

.panel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #36e06e;
  box-shadow: 0 0 6px #36e06e;
  flex-shrink: 0;
}

.panel-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-score-label { font-size: 11px; color: #8aaad8; font-weight: 600; text-transform: uppercase; }
.panel-score-value { font-size: 36px; font-weight: 800; line-height: 1; margin-top: 2px; }
.panel-score-denom { font-size: 16px; opacity: 0.5; font-weight: 500; }

.risk-badge-crit {
  background: rgba(220, 40, 40, 0.22);
  border: 1px solid rgba(220, 40, 40, 0.4);
  color: #ff8080;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.panel-signals { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.signal-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px;
}

.sig-dot { font-size: 10px; flex-shrink: 0; margin-top: 3px; }
.dot-red    { color: #ff5555; }
.dot-orange { color: #ff9933; }
.dot-yellow { color: #ffcc44; }

.sig-body { flex: 1; min-width: 0; }
.sig-title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.sig-sub   { font-size: 11px; color: #7896cc; margin-top: 2px; font-family: "SF Mono", "Fira Code", monospace; }
.sig-pts   { font-size: 12px; font-weight: 700; color: #ff8080; flex-shrink: 0; }

.panel-verdict {
  font-size: 13px;
  color: #8aaad8;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
}
.panel-verdict strong { color: #fff; }

/* ── Stats bar ───────────────────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, #0b4aca, #0f7fd4);
  padding: 22px 0;
  margin: 0 0 8px;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.stat-item b { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1; }
.stat-item span { font-size: 12px; opacity: 0.75; margin-top: 3px; font-weight: 500; }

.stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 52px 0; }

.section-dark {
  background: linear-gradient(155deg, #0d1e42, #1540a8 60%, #0f4ea0);
  color: #fff;
}

.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head .subhead { color: #8aaad8; }
.section-dark .card { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }
.section-dark .card h3 { color: #fff; }
.section-dark .card p, .section-dark .card li { color: #8aaad8; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head.centered { flex-direction: column; align-items: center; text-align: center; }

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  font-weight: 800;
}

.section-head .subhead {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.2; font-weight: 700; }
.card p  { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.card-hover { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Grids ───────────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* ── How it works timeline ───────────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 32px;
}

.step {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 20px;
}

.step h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 8px 0 6px; }
.step p  { color: #8aaad8; font-size: 13.5px; line-height: 1.5; }

.step-num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.step-arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 24px;
  font-size: 22px;
  color: rgba(255,255,255,0.3);
  padding-left: 4px;
  padding-right: 4px;
}

/* ── Differentiation grid ────────────────────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.diff-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #eef4ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-item h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.diff-item p  { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band {
  border-radius: 22px;
  padding: 36px 36px;
  color: #fff;
  background: linear-gradient(120deg, #0b4aca, #128ddf 65%, #11b9e5);
  box-shadow: var(--shadow-lg);
}

.cta-band h3 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.cta-band p  { margin: 0 0 22px; opacity: 0.9; font-size: 15px; max-width: 64ch; }

.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Feature cards (product page) ────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.fi-red    { background: #fde9e9; }
.fi-orange { background: #fff0e0; }
.fi-blue   { background: #e8f0ff; }
.fi-purple { background: #f2e8ff; }
.fi-teal   { background: #e0f8f4; }
.fi-green  { background: #e6f9ee; }

.feature-card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #a0b0cc;
  margin-bottom: 6px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  flex: 1;
}

.signal-examples {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sig-example {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 5px;
  padding: 3px 8px;
}

.sig-example.critical { background: #fde9e9; color: #b91c1c; border: 1px solid #fca5a5; }
.sig-example.high     { background: #fff3e0; color: #c2410c; border: 1px solid #fed7aa; }
.sig-example.medium   { background: #fefce8; color: #a16207; border: 1px solid #fde68a; }

/* ── Page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.page-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 16px;
  max-width: 22ch;
}

.page-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 68ch;
  line-height: 1.55;
}

/* ── Mission block ───────────────────────────────────────────────────────── */
.mission-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.mission-quote {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}

/* ── Lists ───────────────────────────────────────────────────────────────── */
.signal-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signal-list li { font-size: 14.5px; line-height: 1.4; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
  transition: box-shadow 0.18s;
}

.faq[open] { box-shadow: var(--shadow-md); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0; color: var(--muted); padding: 0 18px 16px; font-size: 14.5px; line-height: 1.55; }

/* ── Contact form ────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.field { margin-bottom: 14px; }

label {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #36445f;
}

input, textarea, select {
  width: 100%;
  background: #fbfcff;
  border: 1px solid #c6d2e7;
  color: var(--ink);
  border-radius: 10px;
  font: inherit;
  padding: 11px 13px;
  transition: border-color 0.15s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,102,255,0.1);
}

textarea { resize: vertical; min-height: 130px; }

.status { border-radius: 11px; padding: 11px 14px; margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.status.ok  { color: #127341; background: #e9f8ef; border: 1px solid #bce8cd; }
.status.err { color: #a31d1d; background: #fdeeed; border: 1px solid #f1c6c3; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.footer-nav { display: flex; gap: 6px; }
.footer-nav a { font-size: 13.5px; color: var(--muted); border-radius: 999px; padding: 6px 12px; }
.footer-nav a:hover { color: var(--ink); background: #f0f4fb; }

.footer-copy { font-size: 13px; color: #9daabf; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .contact-layout,
  .diff-grid { grid-template-columns: 1fr; }

  .timeline { grid-template-columns: 1fr; }
  .step-arrow { display: none; }

  .stats-grid { justify-content: center; gap: 20px; }
  .stat-div { display: none; }

  .section-head { align-items: flex-start; flex-direction: column; }

  .nav { flex-wrap: wrap; justify-content: flex-end; }

  .feature-grid { grid-template-columns: 1fr; }

  .cta-band { padding: 28px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
