:root {
  /* ===== Colors ===== */
  --bg: #f4f0e8;
  --bg-alt: #ebe6dc;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --border: #e2dccd;
  --border-strong: #d2c9b3;
  --text: #1a1812;
  --text-2: #3d3a32;
  --text-muted: #6b6760;
  --text-soft: #94908a;

  --accent: #d63a2f;
  --accent-2: #b82c22;
  --accent-soft: #fbeae8;
  --accent-tint: rgba(214, 58, 47, 0.08);
  --accent-glow: rgba(214, 58, 47, 0.25);

  --success: #1f8a4e;
  --success-soft: #e3f3eb;
  --warning: #c47a06;
  --warning-soft: #fbf0d8;
  --danger: #c1342a;

  --shadow-sm: 0 1px 2px rgba(20, 18, 12, 0.04), 0 1px 3px rgba(20, 18, 12, 0.06);
  --shadow: 0 4px 12px rgba(20, 18, 12, 0.06), 0 2px 4px rgba(20, 18, 12, 0.04);
  --shadow-lg: 0 18px 40px rgba(20, 18, 12, 0.10), 0 6px 12px rgba(20, 18, 12, 0.05);

  /* ===== Typography ===== */
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(214, 58, 47, 0.05), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 30%, rgba(214, 58, 47, 0.025), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

/* Subtle topographic dot pattern overlay (decorative, very faint) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 24, 18, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

main, header, footer, section { position: relative; z-index: 1; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: 100px;
  margin-bottom: 18px;
}

.eyebrow-plain {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* ============ HEADER ============ */
header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(244, 240, 232, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-name .accent-dot {
  color: var(--accent);
  display: inline-block;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-link-plain {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-link-plain:hover { color: var(--accent); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(214, 58, 47, 0.3);
}
.btn-solid:hover {
  background: var(--accent-2);
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover { color: var(--accent); }

.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.18s;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============ HERO (homepage) ============ */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-title .accent { color: var(--accent); }

.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-fineprint {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-fineprint .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

/* Hero visual on right */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 0.95;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 24, 18, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 24, 18, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.hero-visual-addr {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.hero-visual-conf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  padding: 6px 10px;
  border-radius: 100px;
}

.hero-visual-conf .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero-roof-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
}

.hero-visual-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.hero-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stat-value small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============ STATS STRIP ============ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}

.stat-item {
  padding: 0 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num .accent { color: var(--accent); }

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============ SECTION INTRO ============ */
.section {
  padding: 60px 0;
}

.section-tight { padding: 40px 0; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: 44px;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.05;
}

.section-head h2 .accent { color: var(--accent); }

.section-head p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
}

.section-head-left {
  text-align: left;
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head-left h2 {
  font-size: 40px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-head-left p {
  font-size: 16px;
  color: var(--text-2);
}

/* ============ WHAT'S IN A REPORT GRID ============ */
.report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: all 0.2s;
}

.report-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.report-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.report-card-icon svg { width: 22px; height: 22px; }

.report-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.report-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ HOW IT WORKS ============ */
.howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.howto-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
}

.howto-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.howto-num::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

.howto-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.howto-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ DATA SOURCES ============ */
.sources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.source-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.source-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.source-icon svg { width: 28px; height: 28px; }

.source-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.source-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============ PRICING ============ */
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--text);
  border-radius: 18px;
  padding: 40px;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.pricing-card-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--text);
  padding: 5px 11px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-meta {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
}

.pricing-meta strong { color: var(--text); font-weight: 700; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.pricing-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 1px;
}

/* ============ CONFIDENCE GUARANTEE (big card) ============ */
.guarantee {
  background: var(--text);
  color: #fff;
  border-radius: 20px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.guarantee-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.guarantee h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.guarantee h2 .accent { color: var(--accent); }

.guarantee p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 14px;
}

.guarantee p strong { color: #fff; font-weight: 600; }

.guarantee-compare {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
}

.guarantee-compare h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-row:last-child { border-bottom: none; }

.compare-name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.compare-name.us {
  color: #fff;
  font-weight: 700;
}

.compare-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -0.02em;
}

.compare-price.us { color: var(--accent); }

/* ============ FINAL CTA ============ */
.final-cta {
  text-align: center;
  padding: 80px 0 100px;
}

.final-cta h2 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 20px;
}

.final-cta h2 .accent { color: var(--accent); }

.final-cta p {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-tagline .muted { color: var(--text-muted); font-weight: 500; }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

.footer-meta {
  font-size: 12px;
  color: var(--text-soft);
}

/* ============ PAGE HERO (signup/sample/contact) ============ */
.page-hero {
  padding: 60px 0 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 18px;
}

.page-hero h1 .accent { color: var(--accent); }

.page-hero p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ============ FORM ============ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-field label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-field .help {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.15s;
  outline: none;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-soft);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.form-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.form-note a:hover { text-decoration: underline; }

/* ============ PLAN SUMMARY (signup) ============ */
.plan-summary {
  background: var(--text);
  color: #fff;
  border-radius: 16px;
  padding: 28px;
  position: sticky;
  top: 100px;
}

.plan-summary-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.plan-summary-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-summary-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.plan-summary-price .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-summary-price .per {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.plan-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.plan-summary-list .check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent);
  margin-top: 2px;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin-bottom: 60px;
}

/* ============ SAMPLE REPORT ============ */
.report-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.report-property {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.report-property-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.report-property-addr {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.report-property-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.confidence-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.confidence-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--success-soft);
  color: var(--success);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.confidence-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.confidence-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== Confidence bar visualization ===== */
.confidence-bar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.confidence-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.confidence-bar-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.confidence-bar-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--success);
  letter-spacing: -0.02em;
}

.confidence-bar-track {
  position: relative;
  height: 10px;
  background: var(--bg-alt);
  border-radius: 100px;
  overflow: hidden;
}

.confidence-bar-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--warning) 0%, #f4c14a 50%, var(--success) 100%);
  width: 96%;
  border-radius: 100px;
}

.confidence-bar-marker {
  position: absolute;
  top: -4px;
  left: 90%;
  width: 2px;
  height: 18px;
  background: var(--text);
  z-index: 2;
}

.confidence-bar-marker::after {
  content: "90% threshold";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.confidence-bar-foot {
  margin-top: 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.confidence-bar-foot strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== Aerial view + key stats ===== */
.report-overview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.aerial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.aerial-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.aerial-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.aerial-card-source {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.aerial-frame {
  background: #2a3f4f;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.aerial-svg {
  width: 100%;
  height: 100%;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.stat-card .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-card .val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-card .val small {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-card .sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Measurements table ===== */
.measurements-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.measurements-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.measure-table {
  width: 100%;
  border-collapse: collapse;
}

.measure-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}

.measure-table td {
  padding: 12px 8px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.measure-table tr:last-child td { border-bottom: none; }

.measure-table .num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.measure-table .icon-cell {
  width: 32px;
}

.measure-table .icon-cell svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  display: block;
}

.report-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 60px;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 22px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg { width: 18px; height: 18px; }

.contact-info-text strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-text a,
.contact-info-text span {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  display: block;
}

.contact-info-text a:hover { color: var(--accent); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(20, 18, 12, 0.25);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 50px 0 40px;
    gap: 40px;
  }
  .hero-title { font-size: 48px; }
  .nav-links { display: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 16px; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .report-grid { grid-template-columns: repeat(2, 1fr); }
  .howto { grid-template-columns: 1fr; }
  .sources { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .guarantee h2 { font-size: 32px; }
  .signup-grid { grid-template-columns: 1fr; }
  .plan-summary { position: static; }
  .report-overview { grid-template-columns: 1fr; }
  .report-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 34px; }
  .page-hero h1 { font-size: 40px; }
  .final-cta h2 { font-size: 40px; }
  .report-header { grid-template-columns: 1fr; }
  .confidence-badge { align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero-title { font-size: 38px; }
  .report-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .form-card { padding: 24px; }
  .page-hero h1 { font-size: 34px; }
  .pricing-card { padding: 28px; }
  .pricing-price { font-size: 44px; }
}
