:root {
  --bg: #F6F3EE;
  --fg: #1A1A18;
  --teal: #0B4F50;
  --amber: #F59E0B;
  --teal-light: #0B4F5020;
  --amber-light: #F59E0B18;
  --muted: #6B6B63;
  --border: #D4CFC6;
  --white: #FFFFFF;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.nav-logo--link {
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--teal);
  color: white;
}

/* Hero */
.hero {
  padding: 80px 48px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-light);
  border: 1px solid #F59E0B40;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 460px;
}
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.device-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.device-svg {
  width: 200px;
  height: 240px;
}
.device-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 28px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--teal);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 24px;
}

/* Section common */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.section-header.center {
  text-align: center;
  margin-bottom: 48px;
}

/* How It Works */
.howitworks {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.howitworks .section-header {
  margin-bottom: 48px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.step-icon {
  margin-bottom: 16px;
}
.step-icon svg {
  width: 48px;
  height: 48px;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.step-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Why Prevention */
.whyprevention {
  padding: 80px 48px;
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.why-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.why-stat-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.why-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.why-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--teal);
  letter-spacing: -0.03em;
}
.why-desc {
  font-size: 0.85rem;
  color: var(--muted);
}
.comparison-table {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg);
  padding: 14px 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.comp-col-head {
  text-align: center;
}
.comp-col-head.accent {
  color: var(--teal);
}
.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.comp-row:last-child { border-bottom: none; }
.comp-label { color: var(--muted); }
.comp-val { text-align: center; color: var(--fg); }
.comp-val.accent { color: var(--teal); font-weight: 600; }

/* For Who */
.forwho {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.persona {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
}
.persona-icon {
  margin-bottom: 20px;
}
.persona-icon svg {
  width: 56px;
  height: 56px;
}
.persona-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.persona-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Hero actions */
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--teal);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  transition: all 0.2s;
  border: 1px solid var(--teal);
}
.btn-primary:hover { background: #093b3c; border-color: #093b3c; }
.btn-primary--light { background: var(--amber); border-color: var(--amber); color: var(--fg); }
.btn-primary--light:hover { background: #e08c09; border-color: #e08c09; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: white; }

/* Section sub text */
.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* Steps grid - 4 columns for new howitworks */
.steps-grid { grid-template-columns: repeat(4, 1fr); }

/* Data section */
.data-section {
  padding: 80px 48px;
  background: var(--bg);
}
.data-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.data-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.data-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.data-card--big { text-align: center; }
.data-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.data-card-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--teal);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.data-card-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Heatmap */
.heatmap-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.heatmap-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.heatmap-grid { display: flex; flex-direction: column; gap: 12px; }
.heatmap-row {
  display: grid;
  grid-template-columns: 160px 1fr 100px;
  align-items: center;
  gap: 16px;
}
.heatmap-dept {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
}
.heatmap-cells { display: flex; gap: 8px; }
.heatmap-cell {
  width: 48px;
  height: 28px;
  border-radius: 4px;
}
.heatmap-cell--high { background: #EF4444; opacity: 0.8; }
.heatmap-cell--med { background: #F59E0B; opacity: 0.7; }
.heatmap-cell--low { background: #10B981; opacity: 0.5; }
.heatmap-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-align: center;
}
.heatmap-badge--high { background: #EF444420; color: #EF4444; }
.heatmap-badge--med { background: #F59E0B20; color: #B45309; }
.heatmap-badge--low { background: #10B98120; color: #059669; }
.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--muted);
}
.heatmap-legend-label { margin-right: 8px; }

/* Testimonial section */
.testimonial {
  padding: 80px 48px;
  background: var(--white);
}
.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 40px;
  position: relative;
}
.testimonial-quote-mark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  color: var(--teal);
  opacity: 0.15;
  line-height: 0.5;
  margin-bottom: 20px;
  display: block;
}
.testimonial-quote {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 32px;
  border: none;
  padding: 0;
}
.testimonial-attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
}
.testimonial-info { text-align: left; }
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted);
}
.testimonial-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.testimonial-cta p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Closing (pilot CTA) */
.closing {
  padding: 100px 48px;
  background: var(--teal);
  text-align: center;
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing-deco {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.closing-svg {
  width: 120px;
  height: 120px;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 28px;
}
.closing-pilot-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.pilot-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}
.pilot-check { color: var(--amber); font-weight: 700; }
.closing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Footer */
.footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--teal);
}
.footer-domain {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ROI Calculator — dedicated page layout */
.roi-calc-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 48px 60px;
}
.roi-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 24px 26px;
}
.roi-calc-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--amber);
  padding: 13px 26px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.roi-calc-submit:hover:not(:disabled) { background: #e08c09; }
.roi-calc-submit:disabled { opacity: 0.45; cursor: not-allowed; }

/* Responsive */
@media (max-width: 768px) {
  .navbar, .hero, .howitworks, .whyprevention, .forwho, .closing, .footer, .data-section, .testimonial {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-right { display: none; }
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  .stat-divider { display: none; }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps-grid, .persona-grid {
    grid-template-columns: 1fr;
  }
  .comp-header, .comp-row {
    grid-template-columns: 1fr 1fr;
  }
  .comp-header span:first-child,
  .comp-row .comp-label {
    display: none;
  }
  .data-grid {
    grid-template-columns: 1fr 1fr;
  }
  .data-card--big {
    grid-column: 1 / -1;
  }
  .heatmap-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .heatmap-dept { font-size: 0.78rem; }
  .heatmap-cells { display: none; }
  .heatmap-badge { display: none; }
  .closing-pilot-details { align-items: flex-start; text-align: left; }
  .closing-actions { align-items: stretch; }
  .closing-actions a { text-align: center; }
  .testimonial-card { padding: 28px 20px; }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}