/* ═══════════════════════════════════════════════════════════════
   Haashield — dark cyber theme, matched to the brand logo:
   gunmetal shield, neon magenta circuit glow, electric blue accents.
   Overrides styles.css base.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #0b0a12;
  --bg-soft: #0f0d1a;
  --panel: #14121f;
  --panel-2: #191627;
  --line: #262238;
  --line-2: #37324e;
  --ink-950: #f4f1fa;      /* headings on dark */
  --ink-900: #e6e1f2;
  --ink-700: #b2aac8;      /* body text */
  --ink-600: #8d84a8;      /* muted */
  --neon: #c72bb8;         /* brand magenta, toned down */
  --neon-2: #dd49ce;
  --neon-soft: rgba(199, 43, 184, .10);
  --blue: #5c76e8;         /* calmer blue */
  --blue-soft: rgba(92, 118, 232, .10);
  --red: #ff5d5d;
  --green: #2fd48b;
  --steel: #2e3450;        /* gunmetal bars */
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .55);
  --glow: 0 12px 28px -22px rgba(199, 43, 184, .55);
  --glow-strong: 0 16px 34px -24px rgba(199, 43, 184, .58);
}

body,
.btn, button, input {
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}
h1, h2, h3, h4, h5, .brand-name {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink-700);
  -webkit-font-smoothing: antialiased;
}

.page-backdrop {
  background: linear-gradient(180deg, #0b0a12 0%, #0f0d1a 54%, #0b0a12 100%);
}

/* ── Topbar ── */
.topbar {
  color: var(--ink-600);
  background: #07060c;
  border-bottom: 1px solid var(--line);
}
.topbar-note { color: var(--ink-600); font-size: .78rem; }
.topbar-link { color: var(--neon-2); font-weight: 600; }

/* ── Navigation ── */
.nav-wrap {
  background: rgba(11, 10, 18, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-inner { min-height: 80px; padding: 0; }

.brand { order: 1; justify-self: start; display: inline-flex; align-items: center; }
.nav-links { order: 2; justify-self: center; }
.nav-cta { order: 3; justify-self: end; }
.brand-logo { display: none; }
.brand-mark {
  display: block;
  height: 132px;
  width: auto;
  object-fit: contain;
  margin: -30px 0;   /* logo glow overlaps the slim bar — intentional */
}

.nav-links a {
  color: var(--ink-700);
  font-size: .9rem;
  font-weight: 550;
}
.nav-links a:hover { color: #fff; }
.brand-mark {
  height: 96px;
  margin: -18px 0;
}
.nav-links.open {
  background: rgba(15, 13, 26, .98);
  border-color: var(--line-2);
  box-shadow: 0 26px 46px -28px rgba(0, 0, 0, .9);
}
.nav-links.open a {
  width: 100%;
  padding: .72rem .8rem;
  border-radius: 8px;
  color: var(--ink-900);
}
.nav-links.open a:hover {
  background: var(--neon-soft);
  color: #fff;
}

/* ── Buttons ── */
.btn {
  min-height: 42px;
  border-radius: 9px;
  font-weight: 650;
  letter-spacing: -.01em;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: none; }
.btn-primary {
  border-color: var(--neon);
  background: var(--neon);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--neon-2);
  border-color: var(--neon-2);
  box-shadow: none;
}
.btn-light, .btn-outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink-900);
  box-shadow: none;
}
.btn-light:hover, .btn-outline:hover { border-color: var(--neon); color: var(--neon-2); }

/* ── Hero ── */
.hero-sec {
  padding: 4.5rem 0 4.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 42%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-grid { gap: 3.4rem; align-items: center; }
.kicker {
  color: var(--neon-2);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.kicker span { background: var(--neon); box-shadow: none; }
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.5rem, 4.3vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 700;
  color: #fff;
}
.mark {
  color: #fff;
  text-shadow: none;
}
.hero-desc { max-width: 54ch; color: var(--ink-700); font-size: 1.07rem; line-height: 1.68; }
.hero-actions { margin-top: 1.8rem; }

.hero-trust {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  color: var(--ink-600);
  font-size: .85rem;
  font-weight: 550;
}
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust li::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--neon-soft);
  color: var(--neon-2);
  font-size: .62rem;
  font-weight: 800;
}

.hero-proof {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .58rem;
  max-width: 680px;
}
.hero-proof div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 18, 31, .72);
  padding: .74rem .78rem;
}
.hero-proof strong {
  display: block;
  color: #fff;
  font-size: .86rem;
  line-height: 1.2;
}
.hero-proof span {
  display: block;
  margin-top: .24rem;
  color: var(--ink-600);
  font-size: .74rem;
  line-height: 1.42;
}

/* ── Hero product preview ── */
.hero-stage {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.3rem 1.3rem 1.15rem;
  background: var(--panel);
  color: var(--ink-900);
  box-shadow: var(--shadow-md);
  backdrop-filter: none;
}
.stage-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.stage-title {
  margin: 0;
  font-weight: 650;
  font-size: .88rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.stage-dot {
  width: .52rem;
  height: .52rem;
  border-radius: 999px;
  background: var(--neon-2);
  animation: stagePulse 2.4s ease-in-out infinite;
}
@keyframes stagePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.stage-range {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-600);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .28rem .65rem;
  background: var(--bg-soft);
  white-space: nowrap;
}

.stage-stats { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.stage-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .7rem .75rem;
  background: var(--bg-soft);
}
.stage-stat p {
  margin: 0;
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-600);
  font-weight: 650;
}
.stage-stat strong {
  display: block;
  margin-top: .28rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.delta {
  display: inline-block;
  margin-top: .3rem;
  font-size: .67rem;
  font-weight: 650;
  border-radius: 5px;
  padding: .12rem .45rem;
}
.delta.up { color: var(--green); background: rgba(47, 212, 139, .12); }
.delta.warn { color: #ffb05c; background: rgba(255, 176, 92, .12); }

.stage-chart {
  margin-top: 1.05rem;
  height: 116px;
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  padding: 0 .1rem;
}
.cbar {
  flex: 1;
  height: var(--v, 50%);
  background: var(--steel);
  border-radius: 5px 5px 2px 2px;
  position: relative;
  overflow: hidden;
}
.cbar i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--f, 20%);
  background: var(--neon);
  box-shadow: none;
  display: block;
}
.stage-legend {
  margin-top: .6rem;
  display: flex;
  gap: 1.1rem;
  font-size: .72rem;
  font-weight: 550;
  color: var(--ink-600);
}
.stage-legend span { display: inline-flex; align-items: center; }
.lg-dot { display: inline-block; width: .52rem; height: .52rem; border-radius: 2px; margin-right: .4rem; }
.lg-clicks { background: var(--steel); }
.lg-fraud { background: var(--neon); }

.threat-feed { margin-top: 1rem; border-top-color: var(--line); }
.threat-feed li { color: var(--ink-700); }
.threat-feed > p { color: var(--ink-600); }

/* ── Section scaffolding ── */
.trust-sec,
.problem-sec,
.solution-sec,
.features-sec,
.how-sec,
.roi-sec,
.pricing-sec { padding-top: 5.5rem; padding-bottom: 5.5rem; }

.tag {
  color: var(--neon-2);
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
}
h2 {
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.12;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.center.intro { max-width: 58ch; margin-inline: auto; color: var(--ink-600); }

/* ── Assurance strip ── */
.trust-sec {
  padding: 3rem 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.roi-sec { background: var(--bg-soft); }
.trust-caption { display: none; }
.assurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.assure-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.assure-item svg { width: 1.35rem; height: 1.35rem; color: var(--neon-2); flex: 0 0 auto; margin-top: .1rem; }
.assure-item strong { display: block; font-size: .9rem; font-weight: 650; color: #fff; letter-spacing: -.01em; }
.assure-item span { display: block; margin-top: .18rem; font-size: .8rem; color: var(--ink-600); line-height: 1.45; }

/* ── Cards base ── */
.problem-cards article,
.pipeline article,
.feature-grid article,
.how-grid article,
.price-card,
.roi-card {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  color: var(--ink-700);
}
.problem-cards h3,
.pipeline h3,
.feature-grid h3,
.how-grid h3,
.price-card h3 { color: #fff; }
.pipeline p, .feature-grid p, .how-grid p, .problem-cards p { color: var(--ink-600); }
.feature-grid article:hover {
  transform: none;
  border-color: var(--neon);
  box-shadow: var(--shadow-md), var(--glow);
}

/* ── Problem ── */
.problem-sec { background: #07060c; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-sec .tag { color: var(--neon-2); }
.problem-sec h2 { color: #fff; }
.problem-grid p, .problem-grid ul, .problem-grid li { color: var(--ink-700); }
.problem-cards article {
  background: var(--panel);
  border-color: var(--line-2);
  box-shadow: none;
  padding: 1.15rem 1.1rem;
}

/* ── Solution / pipeline ── */
.solution-sec { background: var(--bg-soft); }
.pipeline article { padding: 1.15rem 1rem; }
.pipeline .icon {
  width: 2rem;
  height: 2rem;
  font-size: .85rem;
  background: var(--neon);
  color: #fff;
  box-shadow: 0 0 14px rgba(227, 31, 208, .4);
}
.pipeline article:hover { border-color: var(--line-2); }
.pipeline article:not(:last-child)::after { background: var(--neon); box-shadow: 0 0 8px rgba(227,31,208,.6); }

/* ── Features ── */
.feature-grid { gap: .9rem; }
.feature-grid article { padding: 1.45rem 1.3rem; }
.feature-grid article.accent { background: var(--panel); border-color: var(--line); }
.ficon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9px;
  background: var(--neon-soft);
  border: 1px solid rgba(227, 31, 208, .25);
  color: var(--neon-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ficon svg { width: 1.25rem; height: 1.25rem; }
.feature-grid article.accent .ficon { background: var(--blue-soft); border-color: rgba(79, 125, 255, .3); color: var(--blue); }

/* ── How it works ── */
.how-grid { gap: .9rem; }
.how-grid article { padding: 1.5rem 1.35rem; }
.how-grid span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--neon-2);
}
.track-example {
  background: #07060c;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
}
.track-example p { color: var(--ink-600); }
.track-example code {
  color: #57e6ff;
  font-size: 1rem;
  background: rgba(87, 230, 255, .07);
  border: 1px solid rgba(87, 230, 255, .22);
  border-radius: 7px;
}

/* ── ROI ── */
.roi-sec h2 { color: #fff; }
.roi-grid p { color: var(--ink-700); }
.roi-card { padding: 1.5rem 1.4rem; }
.roi-card label { color: var(--ink-900); }
.roi-card .value { color: #fff; }
.roi-card small { color: var(--ink-600); }
input[type="range"] { accent-color: var(--neon); }
.roi-output article { background: var(--bg-soft); border-color: var(--line); }
.roi-output p { color: var(--ink-600); }
.roi-output h3 { color: var(--neon-2); }

/* ── Pricing ── */
.price-card { padding: 1.6rem 1.4rem; }
.price-card .price { color: #fff; }
.price-card .price span { color: var(--ink-600); }
.price-card li { color: var(--ink-700); }
.price-card li::before { background: var(--neon); }
.price-card.featured {
  background: var(--panel-2);
  border-color: var(--neon);
  box-shadow: var(--shadow-md);
}
.badge {
  background: var(--neon);
  color: #fff;
  font-weight: 650;
  box-shadow: none;
}

/* ── CTA ── */
.cta-sec { padding: 1.5rem 0 5.5rem; }
.cta-box {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink-700);
  box-shadow: var(--shadow-md);
  padding: 3.4rem 1.6rem;
}
.cta-box h2 { color: #fff; }
.cta-box p { color: var(--ink-700); }
.cta-box .tag { color: var(--neon-2); }

/* ── Contact form ── */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem;
  align-items: start;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow-md);
  padding: 2.8rem 2.4rem;
}
.contact-intro h2 { color: #fff; margin: .6rem 0 0; }
.contact-intro > p { color: var(--ink-700); margin-top: .9rem; line-height: 1.7; }
.contact-alt { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.contact-mail { color: var(--neon-2) !important; font-weight: 600; font-size: .9rem; text-decoration: none; }
.contact-mail:hover { color: #ff6bea !important; }

.contact-form { display: grid; gap: .85rem; }
.contact-form .field { display: grid; gap: .35rem; }
.contact-form label { font-size: .8rem; font-weight: 600; color: var(--ink-900); }
.contact-form label span { color: var(--ink-600); font-weight: 400; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--bg-soft);
  color: #fff;
  font: inherit;
  font-size: .92rem;
  padding: .7rem .8rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 84px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-600); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(227, 31, 208, .18);
}

.signup-note {
  margin-top: 1.1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink-700);
  font-size: .84rem;
  line-height: 1.55;
}
.signup-note strong { color: #fff; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button[type="submit"] { margin-top: .3rem; justify-self: start; }
.contact-form button[disabled] { opacity: .6; cursor: default; }
.cf-status { margin: .2rem 0 0; font-size: .86rem; font-weight: 600; min-height: 1.1rem; }
.cf-status.ok { color: var(--green); }
.cf-status.err { color: var(--red); }

@media (max-width: 760px) {
  .contact-box { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.9rem 1.3rem; }
}

/* ── Footer ── */
.footer { background: #07060c; border-top: 1px solid var(--line); color: var(--ink-600); padding: 3.6rem 0 0; }
.footer a { color: var(--ink-700); text-decoration: none; }
.footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.6rem;
}
.footer-brand-col { max-width: 340px; }
.footer-wordmark { display: block; }
.footer-logo { height: 150px; width: auto; object-fit: contain; margin: -32px 0 -26px -14px; }
.footer-sub { margin: .4rem 0 0; font-size: .88rem; line-height: 1.65; color: var(--ink-600); }
.footer-mail { display: inline-block; margin-top: .9rem; font-size: .88rem; font-weight: 600; color: var(--neon-2) !important; }
.footer-mail:hover { color: #ff6bea !important; }

.footer nav.footer-col,
.footer-col { display: grid; gap: .55rem; align-content: start; justify-items: start; }
.footer nav.footer-col a { margin: 0; }
.footer-col h4 {
  margin: 0 0 .35rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5e5578;
}
.footer-col a { font-size: .88rem; }

.footer-base {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.5rem;
}
.footer-copy { margin: 0; font-size: .8rem; color: #5e5578; }

/* ── Legal pages ── */
.legal-wrap { max-width: 800px; padding: 3.2rem 1rem 4.5rem; }
.legal-wrap h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -.03em;
  margin: .5rem 0 0;
}
.legal-updated { color: var(--ink-600); font-size: .85rem; margin: .6rem 0 2rem; }
.legal-wrap h2 {
  font-size: 1.18rem;
  margin: 2.2rem 0 .6rem;
  letter-spacing: -.015em;
}
.legal-wrap p, .legal-wrap li { color: var(--ink-700); line-height: 1.75; font-size: .95rem; }
.legal-wrap ul { padding-left: 1.2rem; display: grid; gap: .45rem; margin: .6rem 0 0; }
.legal-wrap a { color: var(--neon-2); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-wrap strong { color: var(--ink-900); }

/* Public Growth plan demo */
.demo-page .nav-wrap { position: sticky; }
.demo-hero {
  padding: 4.8rem 0 3.2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 50%),
    var(--bg);
}
.demo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 2rem;
  align-items: center;
}
.demo-hero h1 {
  max-width: 760px;
  margin: .75rem 0 0;
  color: #fff;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.demo-summary-card,
.demo-metrics article,
.demo-panel,
.demo-feature-grid article,
.demo-cta {
  border: 1px solid var(--line-2);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.demo-summary-card {
  border-radius: 10px;
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
}
.demo-summary-card h2 {
  margin: .8rem 0 .8rem;
  color: #fff;
  font-size: 1.35rem;
}
.demo-summary-card ul,
.demo-feature-grid p,
.demo-section-head p,
.demo-cta p {
  color: var(--ink-700);
  line-height: 1.65;
}
.demo-summary-card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .55rem; }
.demo-shell { padding: 3.4rem 0 0; }
.demo-app-frame {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #0f0d1a;
  box-shadow: 0 22px 48px -34px rgba(0, 0, 0, .82);
}
.demo-sidebar {
  padding: 1.2rem .85rem;
  border-right: 1px solid var(--line);
  background: #0b0a12;
}
.demo-client {
  padding: .85rem .8rem 1rem;
  border-bottom: 1px solid var(--line);
}
.demo-client strong { display: block; color: #fff; }
.demo-client span { display: block; margin-top: .28rem; color: var(--ink-600); font-size: .78rem; }
.demo-sidebar nav { display: grid; gap: .32rem; margin-top: .9rem; }
.demo-sidebar a {
  padding: .72rem .78rem;
  border-radius: 9px;
  color: var(--ink-600);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
}
.demo-sidebar a.is-active,
.demo-sidebar a:hover {
  color: #fff;
  background: var(--neon-soft);
}
.demo-content { padding: 1.3rem; }
.demo-topline,
.demo-panel-head,
.demo-section-head,
.demo-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.demo-topline h2,
.demo-section-head h2,
.demo-cta h2 {
  margin: .5rem 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -.03em;
}
.demo-topline p:not(.tag) { margin: .4rem 0 0; color: var(--ink-600); }
.demo-sync-status {
  min-width: 190px;
  display: flex;
  gap: .7rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem;
  background: var(--bg-soft);
}
.demo-sync-status > span {
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 212, 139, .12);
}
.demo-sync-status strong { display: block; color: #fff; font-size: .9rem; }
.demo-sync-status small { color: var(--ink-600); }
.demo-metrics {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.demo-metrics article,
.demo-panel,
.demo-feature-grid article {
  border-radius: 13px;
  padding: 1rem;
}
.demo-metrics span,
.demo-feature-grid span {
  display: block;
  color: var(--ink-600);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.demo-metrics strong {
  display: block;
  margin-top: .5rem;
  color: #fff;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1;
}
.demo-metrics small { display: block; margin-top: .45rem; color: var(--ink-600); }
.demo-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1rem;
}
.demo-panel h3 { margin: 0; color: #fff; font-size: 1rem; }
.demo-panel-head span { color: var(--ink-600); font-size: .78rem; font-weight: 700; }
.demo-bars {
  margin-top: 1.4rem;
  height: 170px;
  display: flex;
  align-items: flex-end;
  gap: .55rem;
}
.demo-bars i {
  position: relative;
  flex: 1;
  height: var(--h);
  min-height: 28px;
  border-radius: 8px 8px 3px 3px;
  background: #2e3450;
  overflow: hidden;
}
.demo-bars i::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--f);
  background: var(--neon);
}
.demo-legend { margin-top: .9rem; display: flex; gap: 1rem; color: var(--ink-600); font-size: .8rem; }
.demo-legend b { display: inline-block; width: .62rem; height: .62rem; border-radius: 50%; margin-right: .35rem; }
.demo-legend .valid { background: var(--blue); }
.demo-legend .fraud { background: var(--neon); }
.demo-action-list { margin-top: 1rem; display: grid; gap: .7rem; }
.demo-action-list article { display: flex; gap: .7rem; align-items: flex-start; }
.demo-action-list b { width: .62rem; height: 2.4rem; border-radius: 999px; flex: 0 0 auto; }
.demo-action-list b.good { background: var(--green); }
.demo-action-list b.warn { background: #ffb05c; }
.demo-action-list strong { display: block; color: #fff; font-size: .9rem; }
.demo-action-list span { display: block; margin-top: .22rem; color: var(--ink-600); font-size: .78rem; line-height: 1.45; }
.demo-section { padding-top: 4rem; }
.demo-section-head { align-items: end; margin-bottom: 1rem; }
.demo-section-head p:not(.tag) { max-width: 620px; margin: .45rem 0 0; }
.demo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.demo-table { width: 100%; min-width: 780px; border-collapse: collapse; }
.demo-table th,
.demo-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--ink-700);
}
.demo-table th {
  color: var(--ink-600);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.demo-table td:first-child { color: #fff; font-weight: 700; }
.demo-pill { display: inline-flex; border-radius: 7px; padding: .25rem .55rem; font-size: .76rem; font-weight: 800; }
.demo-pill.green { color: var(--green); background: rgba(47, 212, 139, .12); }
.demo-pill.amber { color: #ffb05c; background: rgba(255, 176, 92, .12); }
.demo-feature-grid {
  padding-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}
.demo-feature-grid h3 { margin: .65rem 0 .45rem; color: #fff; font-size: 1.06rem; }
.demo-feature-grid p { margin: 0; font-size: .9rem; }
.demo-cta {
  margin-top: 4rem;
  margin-bottom: 4rem;
  border-radius: 18px;
  padding: 1.5rem;
}
.demo-cta p:not(.tag) { max-width: 680px; margin: .55rem 0 0; }
.demo-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; justify-content: flex-end; }

@media (max-width: 920px) {
  .nav-links.open {
    top: 68px;
    left: .7rem;
    right: .7rem;
  }
  .menu-toggle {
    background: var(--panel);
    border-color: var(--line-2);
  }
  .menu-toggle span {
    background: var(--ink-900);
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid { gap: 2.5rem; }
  .hero-copy h1 { font-size: clamp(2.3rem, 7vw, 3.4rem); }
  .hero-proof { grid-template-columns: 1fr; max-width: 520px; }
  .demo-hero-grid,
  .demo-grid,
  .demo-app-frame,
  .demo-cta {
    grid-template-columns: 1fr;
  }
  .demo-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .demo-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .demo-metrics,
  .demo-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .assurance { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .nav-inner { min-height: 58px; }
  .brand-mark { height: 74px; margin: -12px 0; }
  .hero-sec { padding-top: 2.4rem; padding-bottom: 3rem; }
  .hero-grid { gap: 2.2rem; }
  .hero-copy h1 { font-size: clamp(2rem, 9.4vw, 2.75rem); }
  .hero-desc { font-size: .98rem; line-height: 1.62; }
  .hero-actions,
  .demo-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-actions .btn,
  .demo-cta-actions .btn,
  .contact-alt .btn {
    width: 100%;
  }
  .hero-proof { gap: .5rem; }
  .hero-stage { padding: 1rem; border-radius: 12px; }
  .stage-stats { grid-template-columns: 1fr; }
  .stage-stat { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem .7rem; }
  .stage-stat strong { text-align: right; }
  .stage-stat .delta { grid-column: 1 / -1; width: max-content; }
  .demo-hero { padding: 2.5rem 0 2.2rem; }
  .demo-hero h1 { font-size: clamp(2rem, 9.4vw, 2.8rem); }
  .demo-topline,
  .demo-section-head,
  .demo-cta {
    display: grid;
  }
  .demo-sync-status { min-width: 0; width: 100%; }
  .demo-sidebar nav {
    grid-template-columns: 1fr 1fr;
  }
  .demo-metrics,
  .demo-feature-grid {
    grid-template-columns: 1fr;
  }
  .demo-content { padding: 1rem; }
  .demo-bars { height: 130px; }
  .demo-table {
    min-width: 0;
  }
  .demo-table tbody,
  .demo-table tr,
  .demo-table td {
    display: block;
  }
  .demo-table tr:first-child {
    display: none;
  }
  .demo-table tr {
    padding: .9rem;
    border-bottom: 1px solid var(--line);
  }
  .demo-table td {
    border: 0;
    padding: .35rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
  .demo-table td::before {
    content: attr(data-label);
    color: var(--ink-600);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
  }
  .stage-stats { gap: .45rem; }
  .stage-stat strong { font-size: 1.02rem; }
  .stage-chart { height: 92px; }
  .assurance { grid-template-columns: 1fr; gap: .7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-logo { height: 120px; margin-left: -10px; }
  .cta-box { padding: 2.6rem 1.2rem; }
}

@media (max-width: 420px) {
  .shell {
    width: min(1180px, calc(100% - 1rem));
  }
  .brand-mark {
    height: 64px;
    margin: -9px 0;
  }
  .nav-links.open {
    left: .5rem;
    right: .5rem;
  }
  .demo-sidebar nav {
    grid-template-columns: 1fr;
  }
  .demo-summary-card,
  .demo-content,
  .demo-panel,
  .demo-feature-grid article,
  .demo-cta,
  .contact-box {
    padding: .95rem;
  }
  .demo-table td {
    display: grid;
    gap: .25rem;
  }
}
