/* =================================================================
   Kavael Sentinel — Design System
   Brand protection · UPI intelligence
   ================================================================= */

:root {
  /* Surface */
  --surface: #f7f9fb;
  --surface-dim: #d8dadc;
  --surface-bright: #ffffff;
  --surface-c-lowest: #ffffff;
  --surface-c-low: #f2f4f6;
  --surface-c: #eceef0;
  --surface-c-high: #e6e8ea;
  --surface-c-highest: #e0e3e5;

  /* Text */
  --on-surface: #191c1e;
  --on-surface-variant: #564337;
  --text-2: #4a5560;
  --text-3: #6b7680;

  /* Primary — Vibrant Orange */
  --primary: #ff8b37;
  --primary-deep: #984700;
  --primary-soft: #ffdbc8;
  --on-primary: #ffffff;

  /* Secondary — Intel Navy */
  --intel-navy: #1a2830;
  --intel-navy-2: #24353f;
  --secondary: #4f616c;
  --secondary-c: #d0e2ef;

  /* Tertiary — Cyan */
  --cyan: #24e4eb;
  --cyan-deep: #00696d;
  --cyan-bright: #02dce3;

  /* Status */
  --alert-red: #ef3b31;
  --warn-amber: #f5a524;
  --success-cyan: #24e4eb;
  --success-green: #16a34a;

  /* Borders */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --divider: #eef1f4;

  /* Effects */
  --surface-glass: rgba(255, 255, 255, 0.7);
  --grad-orange-glow: linear-gradient(135deg, #ff8b37 0%, rgba(255, 139, 55, 0) 100%);
  --grad-intel-deep: linear-gradient(180deg, #24353f 0%, #1a2830 100%);
  --grad-accent-soft: linear-gradient(90deg, rgba(255, 81, 47, 0.1) 0%, rgba(255, 139, 55, 0) 100%);

  /* Radius */
  --r-sm: 0.25rem;
  --r: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-full: 9999px;

  /* Spacing */
  --gutter: 24px;
  --page-margin: 32px;
  --card-pad: 24px;
  --section-gap: 96px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.08);
}

/* =================================================================
   Reset & base
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--surface);
  color: var(--on-surface);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, li, span { overflow-wrap: break-word; }

/* Allow grid/flex children to shrink below intrinsic content size */
.dash-app, .dash-main, .dash-toolbar, .kpi-row, .dash-charts, .alerts-row,
.upi-live-card, .upi-live-row, .contact-grid, .contact-strip-form,
.cta-orange, .footer-grid, .site-nav-inner, .hero-upi .container {
  min-width: 0;
}
.dash-app > *, .dash-main > *, .dash-toolbar > *, .kpi-row > *, .dash-charts > *,
.alerts-row > *, .upi-live-card > *, .upi-live-row > *, .contact-grid > *,
.contact-strip-form > *, .cta-orange > *, .footer-grid > *,
.site-nav-inner > *, .hero-upi .container > * {
  min-width: 0;
}

/* Monospaced runs (URLs, handles) must break to fit */
.mono, .data-mono, .alerts-row .ch, .alerts-row .nm,
.upi-live-row .handle, .upi-live-row .cat,
.dash-chrome .url, .contact-info .val {
  overflow-wrap: anywhere;
  word-break: break-word;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* =================================================================
   Typography
   ================================================================= */
.display-lg,
h1.display-lg {
  font-family: 'Hanken Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--on-surface);
}

.headline-lg,
h2.headline-lg {
  font-family: 'Hanken Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--on-surface);
}

.title-md,
h3.title-md {
  font-family: 'Hanken Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  margin: 0;
  color: var(--on-surface);
}

.body-lg { font-size: 16px; line-height: 24px; }
.body-sm { font-size: 14px; line-height: 20px; color: var(--text-2); }

.label-caps {
  font-family: 'Geist', 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.mono,
.data-mono {
  font-family: 'Geist', 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.orange-mark { color: var(--primary); }

/* =================================================================
   Layout helpers
   ================================================================= */
.container {
  width: 100%;
  max-width: 1240px;
  padding: 0 var(--page-margin);
  margin: 0 auto;
}

section {
  padding: var(--section-gap) 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .lede {
  margin: 20px auto 0;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: 'Geist', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-deep);
  background: rgba(255, 139, 55, 0.08);
  border: 1px solid rgba(255, 139, 55, 0.2);
  border-radius: var(--r-full);
  margin-bottom: 20px;
}

.eyebrow .pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 139, 55, 0.18);
}

/* =================================================================
   Buttons
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 139, 55, 0.25);
}
.btn-primary:hover { background: #ff7a1f; box-shadow: 0 8px 20px rgba(255, 139, 55, 0.35); }

.btn-dark {
  background: var(--intel-navy-2);
  color: #fff;
}
.btn-dark:hover { background: var(--intel-navy); }

.btn-outline {
  background: transparent;
  color: var(--on-surface);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--surface-c-low); }

.btn-ghost {
  background: transparent;
  color: var(--primary-deep);
}
.btn-ghost:hover { background: rgba(255, 139, 55, 0.08); }

.btn-lg { padding: 16px 28px; font-size: 16px; }

/* =================================================================
   Top navigation
   ================================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark svg { width: 26px; height: 32px; }
.wordmark {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 24px;
}
.nav-link {
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--on-surface); }
.nav-link.active { color: var(--primary-deep); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-spacer { flex: 1; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-secondary {
  color: var(--text-2);
  font-weight: 500;
  font-size: 14.5px;
}
.nav-secondary:hover { color: var(--on-surface); }

/* =================================================================
   Hero — Home
   ================================================================= */
.hero-home {
  padding: 64px 0 56px;
  text-align: center;
}

.hero-home h1 { margin-top: 24px; }
.hero-home .hero-lede {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
}
.hero-home .hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* Dashboard mock */
.dash-frame {
  margin: 56px auto 0;
  max-width: 1180px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #f1f4f7;
  border-bottom: 1px solid var(--border);
}
.dash-chrome .dot { width: 11px; height: 11px; border-radius: 50%; background: #d3d8de; }
.dash-chrome .dot.r { background: #ff6058; }
.dash-chrome .dot.y { background: #ffbd2e; }
.dash-chrome .dot.g { background: #27c93f; }
.dash-chrome .url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: 'Geist', ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-3);
}

.dash-app {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 520px;
}
.dash-rail {
  background: var(--intel-navy-2);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.rail-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
}
.rail-item {
  width: 32px; height: 32px;
  border-radius: 8px;
  color: rgba(255,255,255,0.55);
  display: grid; place-items: center;
}
.rail-item.active { background: rgba(255,139,55,0.15); color: var(--primary); }

.dash-main { padding: 22px 28px; background: #fafbfc; }
.dash-toolbar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.dash-title { font-weight: 600; font-size: 16px; }
.dash-toolbar .spacer { flex: 1; }
.search-box {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  font-size: 13px; color: var(--text-3);
  min-width: 220px;
}
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #ff8b37, #ed7820);
  color: #fff; font-weight: 600; font-size: 11px;
  display: grid; place-items: center;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
}
.kpi-lbl { font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.kpi-val { font-size: 28px; font-weight: 700; font-family: 'Hanken Grotesk', sans-serif; margin-top: 4px; letter-spacing: -0.02em; }
.kpi-delta { font-size: 11px; font-weight: 600; color: var(--success-green); margin-top: 4px; }
.kpi-delta.dn { color: var(--alert-red); }

.dash-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.chart-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
}
.chart-card h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface);
}

/* Bars chart */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding: 4px 0;
}
.bars .bar {
  flex: 1;
  display: flex; flex-direction: column-reverse;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  background: #eef1f4;
  position: relative;
}
.bars .bar .seg-1 { background: var(--primary); }
.bars .bar .seg-2 { background: var(--intel-navy-2); }
.bars .bar > span { display: block; width: 100%; }

/* Donut */
.donut-wrap {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
}
.donut {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0 36%,
    var(--intel-navy-2) 36% 62%,
    var(--cyan) 62% 80%,
    #c7cdd3 80% 100%
  );
  display: grid; place-items: center;
  position: relative;
}
.donut::after {
  content: "";
  position: absolute; inset: 22px;
  background: #fff; border-radius: 50%;
}
.donut-center {
  position: relative; z-index: 1;
  text-align: center;
}
.donut-center .v { font-size: 22px; font-weight: 700; font-family: 'Hanken Grotesk', sans-serif; }
.donut-center .l { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.donut-legend { display: grid; gap: 8px; }
.legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
}
.legend-item .sw { width: 10px; height: 10px; border-radius: 2px; }
.legend-item .ct { margin-left: auto; font-family: 'Geist', ui-monospace, monospace; color: var(--text-2); }

/* Alerts table inside dashboard */
.alerts-table {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 4px 0;
}
.alerts-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.6fr 0.7fr;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--divider);
  font-size: 13px;
}
.alerts-row:last-child { border-bottom: none; }
.alerts-row.head {
  font-family: 'Geist', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  font-weight: 600;
  background: #f7f9fb;
}
.alerts-row .id { font-family: 'Geist', ui-monospace, monospace; color: var(--text-3); }
.alerts-row .nm { color: var(--on-surface); font-weight: 500; }
.alerts-row .ch {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist', ui-monospace, monospace;
  font-size: 12px; color: var(--text-2);
}
.alerts-row .ch .badge {
  width: 20px; height: 20px; border-radius: 4px;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700;
  color: #fff;
}
.badge.ig { background: linear-gradient(135deg,#f09433,#dc2743,#bc1888); }
.badge.tg { background: #229ed9; }
.badge.x { background: #000; }
.badge.dm { background: #4f6171; }
.badge.mk { background: #b8442c; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  font-size: 11px; font-weight: 600;
  border-radius: var(--r-full);
}
.pill .d { width: 6px; height: 6px; border-radius: 50%; }
.pill.crit { background: rgba(239,59,49,0.1); color: #c52a22; }
.pill.crit .d { background: var(--alert-red); }
.pill.prog { background: rgba(245,165,36,0.12); color: #a96a04; }
.pill.prog .d { background: var(--warn-amber); }
.pill.new { background: rgba(36,53,63,0.08); color: var(--intel-navy-2); }
.pill.new .d { background: var(--intel-navy-2); }
.pill.res { background: rgba(22,163,74,0.1); color: var(--success-green); }
.pill.res .d { background: var(--success-green); }

/* =================================================================
   Protection Modules — 3-up cards
   ================================================================= */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.module-card:hover {
  border-color: rgba(255, 139, 55, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.module-icon {
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: rgba(255, 139, 55, 0.1);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 20px;
}

.module-card h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}
.module-card p {
  margin: 0 0 24px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.module-link {
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.module-link:hover { color: var(--primary); }

/* =================================================================
   Intelligence Cycle — dark section
   ================================================================= */
.cycle {
  background: var(--grad-intel-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 72px 56px;
  margin: 0 var(--page-margin);
}
.cycle-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.cycle-head h2 { color: #fff; margin: 0; }
.cycle-head p { color: rgba(255,255,255,0.7); margin-top: 16px; }

.cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cycle-step { text-align: center; padding: 0 12px; }
.cycle-step .ring {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,139,55,0.4);
  display: grid; place-items: center;
  color: var(--primary);
  background: rgba(255, 139, 55, 0.06);
}
.cycle-step h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}
.cycle-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

/* =================================================================
   Final CTA card
   ================================================================= */
.final-cta {
  padding: 72px 0 96px;
}
.final-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 56px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.final-card h2 { margin: 0 0 12px; }
.final-card p { color: var(--text-2); margin: 0 0 28px; }

/* =================================================================
   Solutions page — Brand & Executive Protection
   ================================================================= */
.hero-solutions {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.hero-solutions h1 { margin-top: 24px; }
.hero-solutions h1 .accent { color: var(--primary); display: block; }
.hero-solutions .hero-lede {
  max-width: 620px;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 17px;
}
.hero-solutions .hero-ctas { margin-top: 32px; }

.precision-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.precision-head h2 { margin: 0; max-width: 560px; }
.precision-head p { margin: 8px 0 0; color: var(--text-2); max-width: 460px; }
.scroll-cta {
  color: var(--primary-deep);
  font-family: 'Geist', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.precision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.precision-card {
  background: #fff;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: background 0.15s ease;
}
.precision-card:hover { background: #fafbfc; }
.precision-card .pi-icon {
  width: 32px; height: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}
.precision-card h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}
.precision-card p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.precision-card .learn-more {
  color: var(--primary-deep);
  font-family: 'Geist', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Advanced Intel Reporting strip */
.intel-reporting {
  background: var(--grad-intel-deep);
  color: #fff;
  border-radius: var(--r-lg);
  margin: 0 var(--page-margin);
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.intel-reporting .label-caps { color: var(--primary); }
.intel-reporting h2 { color: #fff; margin: 12px 0 24px; }
.intel-reporting .ir-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 18px;
}
.intel-reporting .ir-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}
.intel-reporting .ir-list .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: grid; place-items: center;
}
.intel-reporting .ir-list h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px; font-weight: 600;
  margin: 4px 0 4px;
  color: #fff;
}
.intel-reporting .ir-list p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.report-mock {
  position: relative;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(255,139,55,0.18) 0%, rgba(36,228,235,0.08) 100%);
  padding: 32px;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.report-mock::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.report-page {
  position: relative;
  width: 100%;
  max-width: 260px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f4f7 100%);
  border-radius: 6px;
  padding: 18px 16px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
  transform: rotate(-3deg);
  color: #1a2830;
}
.report-page .h {
  height: 8px; background: var(--intel-navy-2); border-radius: 2px;
  width: 60%; margin-bottom: 10px;
}
.report-page .l { height: 5px; background: #d1d8de; border-radius: 2px; margin-bottom: 6px; }
.report-page .l.s { width: 80%; }
.report-page .l.m { width: 90%; }
.report-page .heat {
  margin-top: 10px;
  height: 60px;
  background: linear-gradient(135deg, #00696d, #24e4eb 40%, #ff8b37 80%, #ef3b31);
  border-radius: 4px;
  filter: blur(0.4px);
}
.report-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Geist', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,139,55,0.4);
  padding: 6px 10px;
  border-radius: var(--r-full);
}

/* Contact-strip CTA used on solutions page */
.contact-strip {
  padding: 64px 0;
}
.contact-strip-card {
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-strip-card h3 { margin: 0 0 8px; font-family: 'Hanken Grotesk', sans-serif; font-size: 26px; font-weight: 600; }
.contact-strip-card p { margin: 0 0 24px; color: var(--text-2); }
.contact-strip-form {
  display: flex; gap: 8px;
  max-width: 460px; margin: 0 auto;
}
.contact-strip-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  background: #fff;
  font: inherit; font-size: 14px;
}
.contact-strip-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,139,55,0.18);
}

/* =================================================================
   UPI Intel Page
   ================================================================= */
.hero-upi {
  background: var(--grad-intel-deep);
  color: #fff;
  padding: 72px 0 84px;
}
.hero-upi .container { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-upi h1 {
  color: #fff;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.hero-upi h1 .accent { color: var(--primary); }
.hero-upi .hero-lede {
  margin-top: 20px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
}
.hero-upi .hero-ctas { display: flex; gap: 12px; margin-top: 28px; }
.btn-on-dark {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.btn-on-dark:hover { background: rgba(255,255,255,0.06); }

/* Live UPI feed (in hero) */
.upi-live-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 0;
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.upi-live-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.upi-live-head .ttl {
  font-family: 'Geist', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: inline-flex; align-items: center; gap: 8px;
}
.upi-live-head .live {
  font-family: 'Geist', monospace;
  font-size: 10px;
  color: var(--alert-red);
  letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 6px;
}
.upi-live-head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--alert-red);
  box-shadow: 0 0 0 3px rgba(239,59,49,0.25);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(239,59,49,0.45); }
  100% { box-shadow: 0 0 0 8px rgba(239,59,49,0); }
}
.upi-live-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr 0.6fr;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.upi-live-row:last-child { border-bottom: none; }
.upi-live-row .handle {
  font-family: 'Geist', monospace;
  font-size: 13px; font-weight: 500;
  color: #fff;
}
.upi-live-row .cat {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: 'Geist', monospace;
}
.upi-live-row .pct {
  font-family: 'Geist', monospace;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}
.upi-live-row .rep {
  font-family: 'Geist', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.risk {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-family: 'Geist', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.risk.crit { background: rgba(239,59,49,0.18); color: #ff6e64; }
.risk.high { background: rgba(245,165,36,0.16); color: #f5a524; }
.risk.med  { background: rgba(36,228,235,0.14); color: var(--cyan); }

/* UPI advantages grid */
.upi-advantages {
  padding: 72px 0;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 32px;
}
.adv-card {
  background: #fff;
  padding: 32px 28px;
}
.adv-card .ai { color: var(--primary); margin-bottom: 16px; }
.adv-card h3 { font-family: 'Hanken Grotesk', sans-serif; font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.adv-card p { font-size: 13.5px; color: var(--text-2); margin: 0; line-height: 1.55; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  text-align: center;
}
.stat .v {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0;
}
.stat .l {
  font-family: 'Geist', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-top: 6px;
}

/* Threat vector visualization */
.threat-vector {
  background: var(--grad-intel-deep);
  border-radius: var(--r-lg);
  margin: 0 var(--page-margin);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  color: #fff;
}
.threat-vector h2 { color: #fff; margin: 12px 0 16px; font-size: 28px; }
.threat-vector p { color: rgba(255,255,255,0.7); margin: 0; }
.threat-mock {
  position: relative;
  min-height: 280px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0f1a22;
}
.threat-mock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* Bottom orange CTA strip used on UPI page */
.cta-orange {
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-lg);
  margin: 24px var(--page-margin) 96px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-orange h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}
.cta-orange p { margin: 4px 0 0; color: rgba(255,255,255,0.85); font-size: 14px; }
.cta-orange .btn-dark { background: var(--intel-navy-2); }
.cta-orange .btn-dark:hover { background: var(--intel-navy); }

/* =================================================================
   Contact page
   ================================================================= */
.contact-page {
  padding: 56px 0 96px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-left {
  background: var(--grad-intel-deep);
  color: #fff;
  padding: 48px 40px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 540px;
}
.contact-left::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(36,228,235,0.06) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(255,139,55,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.contact-left .label-caps { color: var(--cyan); position: relative; z-index: 1; }
.contact-left h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 36px;
  color: #fff;
  position: relative; z-index: 1;
}
.contact-info {
  display: flex; align-items: center; gap: 16px;
  position: relative; z-index: 1;
}
.contact-info .ic {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,139,55,0.12);
  border: 1px solid rgba(255,139,55,0.25);
  color: var(--primary);
  display: grid; place-items: center;
}
.contact-info .lbl {
  font-family: 'Geist', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact-info .val {
  font-family: 'Geist', monospace;
  font-size: 15px;
  color: #fff;
  margin-top: 2px;
}
.contact-left .footer-tag {
  margin-top: auto;
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.contact-left .footer-tag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(36,228,235,0.25);
}

.contact-right {
  padding: 48px 44px;
}
.contact-right h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 6px;
}
.contact-right > p {
  color: var(--text-2);
  margin: 0 0 28px;
  font-size: 14.5px;
}
.field { display: block; margin-bottom: 18px; }
.field label {
  display: block;
  font-family: 'Geist', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  font: inherit;
  font-size: 14.5px;
  background: var(--surface-c-low);
  color: var(--on-surface);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,139,55,0.18);
}
.field textarea { resize: vertical; min-height: 100px; }

.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 18px 0 24px;
  padding: 12px 14px;
  background: var(--surface-c-low);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--text-2);
}
.checkbox-row input { margin-top: 2px; }

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(255,139,55,0.25);
}
.btn-submit:hover { background: #ff7a1f; box-shadow: 0 8px 20px rgba(255,139,55,0.35); }

.fineprint {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  margin: 16px 0 0;
}
.fineprint a { color: var(--primary-deep); font-weight: 500; }

/* Mail fallback panel */
.mail-fallback {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--surface-c-low);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--text-2);
}
.mail-fallback[hidden] { display: none; }
.mail-fallback-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.mail-fallback-head strong {
  font-size: 13.5px;
  color: var(--on-surface);
}
.mail-fallback-head span { font-size: 12.5px; color: var(--text-3); }

.mail-fallback-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.mail-fallback-row--body { align-items: start; }
.mail-fallback-label {
  font-family: 'Geist', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mail-fallback code,
.mail-fallback pre {
  margin: 0;
  font-family: 'Geist', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--on-surface);
  background: transparent;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
}
.mail-fallback pre {
  max-height: 180px;
  overflow: auto;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.mail-copy {
  font-family: 'Geist', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--on-surface);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  align-self: start;
}
.mail-copy:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
}
.mail-fallback-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--primary-deep);
  font-weight: 600;
}
.mail-fallback-link:hover { color: var(--primary); }

/* =================================================================
   Footer
   ================================================================= */
.site-footer {
  background: var(--intel-navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .wordmark { color: #fff; }
.footer-tagline {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: 'Geist', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }

/* =================================================================
   Responsive — tablet
   ================================================================= */
@media (max-width: 980px) {
  :root { --section-gap: 64px; --page-margin: 20px; }

  .nav-links { display: none; }
  .site-nav-inner { gap: 16px; }

  .modules-grid,
  .cycle-grid,
  .stats-row,
  .footer-grid { grid-template-columns: 1fr; }

  .precision-grid,
  .adv-grid { grid-template-columns: 1fr; }

  .dash-app { grid-template-columns: 1fr; }
  .dash-rail { flex-direction: row; padding: 10px 14px; gap: 12px; }
  .dash-charts { grid-template-columns: 1fr; }

  .hero-upi .container,
  .intel-reporting,
  .threat-vector,
  .contact-grid { grid-template-columns: 1fr; }
  .contact-left { min-height: 320px; }

  .precision-head { flex-direction: column; align-items: start; gap: 12px; }

  .cycle, .intel-reporting, .threat-vector { padding: 48px 24px; }
  .cta-orange { padding: 28px 24px; }
  .final-card { padding: 40px 24px; }

  .modules-grid { gap: 14px; }
}

/* =================================================================
   Responsive — phone (<=720px)
   ================================================================= */
@media (max-width: 720px) {
  :root { --section-gap: 56px; --page-margin: 16px; }

  section { padding: var(--section-gap) 0; }

  /* Nav: shrink CTA, hide standalone Contact link */
  .site-nav-inner { height: 60px; gap: 12px; }
  .nav-cta { gap: 10px; }
  .nav-cta .nav-secondary { display: none; }
  .nav-cta .btn { padding: 10px 14px; font-size: 13.5px; }
  .wordmark { font-size: 17px; }

  /* Hero */
  .hero-home { padding: 40px 0 32px; }
  .hero-home .hero-lede { font-size: 15.5px; margin-top: 18px; }
  .hero-home .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-home .hero-ctas .btn { width: 100%; }

  .hero-solutions { padding: 48px 0 40px; }
  .hero-solutions .hero-lede { font-size: 15.5px; }
  .hero-solutions .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-solutions .hero-ctas .btn { width: 100%; }

  .hero-upi { padding: 48px 0 56px; }
  .hero-upi .container { gap: 32px; }
  .hero-upi .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-upi .hero-ctas .btn { width: 100%; }

  /* Section heads */
  .section-head { margin-bottom: 40px; }
  .section-head .lede { font-size: 15px; margin-top: 14px; }

  /* Eyebrow */
  .eyebrow { font-size: 10px; padding: 5px 11px; }

  /* Dashboard preview — compress */
  .dash-chrome { padding: 10px 14px; }
  .dash-chrome .url { font-size: 11px; }
  .dash-main { padding: 16px; }
  .dash-toolbar { flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
  .dash-toolbar .search-box { display: none; }
  .dash-title { font-size: 14px; }

  .kpi-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi { padding: 12px 14px; }
  .kpi-val { font-size: 24px; }

  /* Bars get tiny — keep simple */
  .bars { height: 110px; gap: 4px; }
  .donut-wrap { grid-template-columns: 1fr; text-align: center; }
  .donut { margin: 0 auto; }
  .donut-legend { justify-items: start; max-width: 240px; margin: 0 auto; }

  /* Alerts table → card-stack */
  .alerts-row.head { display: none; }
  .alerts-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name status"
      "ch   conf";
    gap: 6px 10px;
    padding: 12px 14px;
  }
  .alerts-row > :nth-child(1) { grid-area: name; }
  .alerts-row > :nth-child(2) { grid-area: ch; }
  .alerts-row > :nth-child(3) { grid-area: conf; justify-self: end; }
  .alerts-row > :nth-child(4) { grid-area: status; justify-self: end; }

  /* Module + precision cards */
  .module-card { padding: 22px; }
  .precision-card { padding: 24px 22px; }

  /* Cycle */
  .cycle { padding: 40px 20px; }
  .cycle-head { margin-bottom: 36px; }
  .cycle-grid { gap: 24px; }

  /* Intel reporting */
  .intel-reporting { padding: 40px 24px; gap: 32px; }
  .report-mock { min-height: 200px; padding: 24px; }
  .report-page { transform: rotate(-2deg); }

  /* Threat vector */
  .threat-vector { padding: 28px 22px; gap: 28px; }
  .threat-mock { min-height: 220px; }
  .threat-mock img { aspect-ratio: 4 / 3; }

  /* UPI live feed: 4-col → stacked 2-row */
  .upi-live-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "info pct"
      "info risk"
      "info rep";
    row-gap: 4px;
    padding: 12px 16px;
  }
  .upi-live-row > :nth-child(1) { grid-area: info; min-width: 0; }
  .upi-live-row > :nth-child(2) { grid-area: pct; }
  .upi-live-row > :nth-child(3) { grid-area: rep; }
  .upi-live-row > :nth-child(4) { grid-area: risk; }
  .upi-live-row > * { justify-self: end; }
  .upi-live-row > :nth-child(1) { justify-self: start; }
  .upi-live-row .handle { font-size: 12.5px; }

  /* Orange CTA */
  .cta-orange { flex-direction: column; align-items: stretch; text-align: center; padding: 28px 22px; }
  .cta-orange .btn { width: 100%; }

  /* Stats — keep 3 in a row but compact */
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; }
  .stat { padding: 18px 10px; }
  .stat .v { font-size: 30px; }
  .stat .l { font-size: 10px; }

  /* Contact */
  .contact-page { padding: 24px 0 64px; }
  .contact-grid { border-radius: var(--r-md); }
  .contact-left { padding: 32px 24px; min-height: 240px; }
  .contact-left h2 { font-size: 26px; margin: 10px 0 24px; }
  .contact-right { padding: 32px 24px; }
  .contact-right h2 { font-size: 24px; }
  .field input, .field textarea { font-size: 16px; } /* prevent iOS zoom */

  /* Contact strip */
  .contact-strip-form { flex-direction: column; }
  .contact-strip-form .btn { width: 100%; }
  .contact-strip-card { padding: 32px 22px; }

  /* Final card */
  .final-cta { padding: 48px 0 64px; }
  .final-card { padding: 36px 22px; }

  /* Footer */
  .site-footer { padding: 40px 0 32px; }
  .footer-tagline { max-width: none; }
}

/* =================================================================
   Responsive — small mobile (<=420px)
   ================================================================= */
@media (max-width: 420px) {
  :root { --page-margin: 14px; }

  .nav-cta .btn { padding: 9px 12px; font-size: 13px; }
  .nav-cta .btn .arrow { display: none; }
  .wordmark { font-size: 16px; }

  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi-val { font-size: 22px; }

  .stats-row { grid-template-columns: 1fr; }
  .stat .v { font-size: 36px; }
  .stat { padding: 22px; }

  /* Dashboard: hide rail entirely to save space */
  .dash-app { grid-template-columns: 1fr; }
  .dash-rail { display: none; }
}
