:root {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --text: #1a1916;
  --text-muted: #6b6760;
  --accent: #1a6b4a;
  --accent-light: #e8f5ee;
  --border: #e0ddd8;
  --font-head: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,247,244,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo-img {
  height: 28px;
  width: auto;
  border-radius: 4px;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  padding: 96px 32px 80px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}

/* threat display */
.threat-display {
  background: #1a1916;
  border-radius: 10px;
  padding: 20px;
  font-family: 'Courier New', monospace;
  color: #a8a99f;
  font-size: 12px;
}
.threat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a5a52;
  margin-bottom: 16px;
  border-bottom: 1px solid #2a2a26;
  padding-bottom: 12px;
}
.threat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.threat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #222220;
}
.threat-type {
  color: #c8c7bf;
  letter-spacing: 0.05em;
}
.threat-status { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.threat-status.blocked { background: #052e16; color: #22c55e; }
.threat-status.mitigated { background: #172554; color: #60a5fa; }
.threat-status.trained { background: #1a1a2e; color: #a78bfa; }
.threat-status.prevented { background: #3b1a0a; color: #fb923c; }
.threat-footer {
  margin-top: 12px;
  font-size: 11px;
  color: #5a5a52;
  font-family: var(--font-head);
}

/* STATS */
.stats {
  padding: 48px 32px;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* APPROACH */
.approach {
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}
.approach-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 16px;
}
.approach-headline-row {
  max-width: 700px;
  margin-bottom: 32px;
}
.approach-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}
.approach-body {
  max-width: 700px;
  margin-bottom: 56px;
}
.approach-body p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 20px;
}
.approach-body p:last-child { margin-bottom: 0; }

.approach-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.pillar h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.pillar p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SERVICES / PRICING */
.services {
  padding: 96px 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 48px;
  max-width: 600px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.pricing-card.featured {
  border-color: var(--accent);
  background: var(--accent-light);
}
.pricing-tier {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card.featured .pricing-tier { color: var(--accent); }
.pricing-price {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.pricing-tagline {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.4;
}
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}
.pricing-features li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-card.featured .pricing-features li::before { background: var(--accent); }
.pricing-note {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

.emergency-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fef9ec;
  border: 1px solid #f0e0b0;
  border-radius: 8px;
  padding: 20px 24px;
}
.emergency-icon { color: #b45309; flex-shrink: 0; }
.emergency-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: #92400e;
}

/* TESTIMONIALS */
.testimonials {
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 48px;
  max-width: 600px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}
.testimonial-quote-mark {
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
  font-weight: 700;
}
.testimonial-body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-attribution strong {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-attribution span {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--text-muted);
}

/* CLOSING */
.closing {
  padding: 96px 32px;
  background: var(--text);
  color: var(--bg);
}
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f8f7f4;
  margin-bottom: 24px;
  max-width: 800px;
}
.closing-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: #9b9990;
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.closing-meta {
  font-family: var(--font-head);
  font-size: 13px;
  color: #5a5a52;
  display: flex;
  gap: 8px;
  align-items: center;
}
.meta-sep { color: #3a3a36; }

/* FOOTER */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-logo-link {
  display: block;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  border-radius: 4px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-note {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.6;
}

/* HERO CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-quiz-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .15s;
}
.hero-quiz-cta:hover { opacity: .88; }
.hero-book-cta {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.hero-book-cta:hover { color: var(--text); }

/* NAV quiz link */
.nav-quiz-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent) !important;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  padding: 5px 12px;
  border-radius: 5px;
  transition: background .15s;
  flex-shrink: 0;
}
.nav-quiz-link:hover { background: var(--accent-light); }

/* ─── HAMBURGER NAV (mobile) ─────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav links overlay */
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-book-btn {
  font-family: var(--font-head) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  text-decoration: none;
  white-space: nowrap;
}
.nav-book-btn:hover { color: var(--text) !important; }

/* iOS zoom prevention: font-size ≥ 16px on inputs */
input, select, textarea { font-size: 16px !important; }

/* ─── RESPONSIVE: MOBILE FIRST (375px) ──────────────────────────────────────── */
@media (max-width: 767px) {
  .nav-inner { padding: 0 16px !important; }
  .nav-hamburger { display: flex; }
  .nav-logo-img { height: 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(248,247,244,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .nav-book-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 16px !important;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .nav-quiz-link {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 16px !important;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }
  .nav-links a:last-child, .nav-links .nav-quiz-link:last-child { border-bottom: none; }

  .hero { padding: 56px 20px 48px; }
  .hero-inner { grid-template-columns: 1fr !important; gap: 36px !important; }
  .hero-headline { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .threat-display { display: none; }

  .stats { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 4px; }
  .stat-item { padding: 10px; }
  .stat-number { font-size: 24px; }
  .stat-divider { display: none; }

  .approach { padding: 56px 20px; }
  .approach-pillars { grid-template-columns: 1fr !important; gap: 28px; }
  .approach-headline { font-size: 26px; }

  .services { padding: 56px 20px; }
  .pricing-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .services-headline { font-size: 24px; }
  .emergency-callout { flex-direction: column; gap: 12px; }

  .testimonials { padding: 56px 20px; }
  .testimonial-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .testimonials-headline { font-size: 24px; }

  .closing { padding: 56px 20px; }
  .closing-headline { font-size: 26px; }
  .closing-sub { font-size: 15px; }

  .footer { padding: 40px 20px; }
  .footer-inner { grid-template-columns: 1fr !important; gap: 20px; }
  .footer-note { text-align: left !important; }
}

/* ─── RESPONSIVE: TABLET (768px+) ──────────────────────────────────────────── */
@media (min-width: 768px) {
  .nav-inner { padding: 0 32px; }

  .hero { padding: 72px 32px 64px; }
  .hero-inner { grid-template-columns: 1fr 340px; gap: 56px; }
  .hero-headline { font-size: 42px; }
  .threat-display { display: block; }

  .stats { padding: 36px 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .stat-divider { display: block; }
  .stat-item { padding: 12px 20px; }
  .stat-number { font-size: 34px; }

  .approach { padding: 72px 32px; }
  .approach-pillars { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .approach-headline { font-size: 34px; }

  .services { padding: 72px 32px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .services-headline { font-size: 30px; }

  .testimonials { padding: 72px 32px; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .testimonials-headline { font-size: 30px; }

  .closing { padding: 72px 32px; }
  .closing-headline { font-size: 42px; }

  .footer { padding: 40px 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ─── RESPONSIVE: DESKTOP (1024px+) ─────────────────────────────────────────── */
@media (min-width: 1024px) {
  .nav-inner { padding: 0 32px; max-width: 1100px; margin: 0 auto; }

  .hero { padding: 96px 32px 80px; }
  .hero-inner { grid-template-columns: 1fr 380px; gap: 80px; max-width: 1100px; margin: 0 auto; }
  .hero-headline { font-size: 52px; }

  .stats { padding: 48px 32px; }
  .stats-grid { max-width: 1100px; margin: 0 auto; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
  .stat-item { padding: 0 32px; }
  .stat-number { font-size: 40px; }

  .approach { padding: 96px 32px; }
  .approach-inner { max-width: 1100px; margin: 0 auto; }
  .approach-pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .approach-headline { font-size: 40px; }

  .services { padding: 96px 32px; }
  .services-inner { max-width: 1100px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .services-headline { font-size: 36px; }

  .testimonials { padding: 96px 32px; }
  .testimonials-inner { max-width: 1100px; margin: 0 auto; }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .testimonials-headline { font-size: 36px; }

  .closing { padding: 96px 32px; }
  .closing-inner { max-width: 1100px; margin: 0 auto; }
  .closing-headline { font-size: 50px; }

  .footer { padding: 48px 32px; }
  .footer-inner { max-width: 1100px; margin: 0 auto; grid-template-columns: 1fr 1fr 1fr; }
}