/* InspectReport AI — landing page styles.
   Uses the same design tokens, fonts and component language as the app
   (public/styles.css): cream #F7F5F0, navy #0F2A3D, amber #D97706,
   Archivo headings + Inter body. Light scheme only. */

:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --surface2: #FFFBEB;
  --line: #E7E2D6;
  --line2: #EDE8DC;
  --text: #111827;
  --muted: #6B7280;
  --navy: #0F2A3D;
  --navy2: #14344D;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --amber-text: #92400E;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(15,42,61,.08), 0 8px 24px rgba(15,42,61,.06);
  --good-bg: #DCFCE7; --good: #15803D;
  --mon-bg: #FEF9C3; --mon: #A16207;
  --rep-bg: #FFEDD5; --rep: #C2410C;
  --urg-bg: #FEE2E2; --urg: #B91C1C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Archivo', 'Inter', sans-serif; color: var(--navy); margin: 0; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }

.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- buttons (same language as the app) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 700; padding: 11px 20px;
  border-radius: var(--radius); text-decoration: none; text-align: center;
  transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.05); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-white { background: var(--surface); color: var(--navy); border: 1.5px solid var(--line); }
.btn-header-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-header-ghost:hover { background: rgba(255,255,255,.08); }
.btn-big { font-size: 17px; padding: 14px 26px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.lp-header {
  background: var(--navy); color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(15,42,61,.25);
}
.lp-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 24px;
}
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.lp-brand-mark {
  font-size: 22px; background: var(--amber); border-radius: 8px;
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-brand-text b { font-family: 'Archivo', sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.lp-brand-text span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.lp-nav { display: flex; gap: 22px; margin-left: auto; }
.lp-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; font-weight: 600; }
.lp-nav a:hover { color: #fff; }
.lp-header-actions { display: flex; gap: 10px; margin-left: auto; }
.lp-header-actions .btn { padding: 9px 16px; }
.lp-nav + .lp-header-actions { margin-left: 0; }

/* ---------- generic section furniture ---------- */
.band { padding: 72px 0; background: var(--surface); }
.band-cream { background: var(--bg); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-text); margin: 0 0 12px;
}
.section-title { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 680px; margin: 0 0 8px; }
.fineprint { font-size: 13px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { background: var(--bg); padding: 64px 0 80px; border-bottom: 1px solid var(--line2); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy h1 { font-size: 46px; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 18px; }
.hero-sub { font-size: 19px; color: #374151; margin: 0 0 26px; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--amber-text); }
.hero-visual { min-width: 0; }

/* ---------- report card (mirrors the app preview) ---------- */
.report {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.report-cover { width: 100%; height: 190px; object-fit: cover; }
.report-head { background: var(--navy); color: #fff; padding: 20px 24px; }
.report-head h2 { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.report-head p { margin: 4px 0 0; font-size: 13.5px; opacity: .8; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.badge-sample { background: var(--amber); color: #fff; }
.report-body { padding: 22px 24px; }
.report-body h3 { font-size: 17px; font-weight: 700; margin: 20px 0 10px; }
.report-body h3:first-of-type { margin-top: 6px; }
.report-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line2); background: var(--surface2);
}
.report-stats div { padding: 14px 10px; text-align: center; }
.report-stats div + div { border-left: 1px solid var(--line2); }
.report-stats b { display: block; font-family: 'Archivo', sans-serif; font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.report-stats b.urgent-num { color: var(--urg); }
.report-stats span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.report-rows { padding: 14px 16px 10px; }
.report-more { margin: 2px 4px 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }

.meta {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 20px;
  margin: 0; padding: 14px 16px; background: var(--surface2);
  border: 1px solid var(--line2); border-radius: var(--radius-sm);
}
.meta dt { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 1px 0 0; font-size: 15px; font-weight: 600; }
.summary-box {
  background: var(--surface2); border: 1px solid var(--line2); border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15.5px;
}
.r-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line2); }
.r-item:last-of-type { border-bottom: none; }
.r-main { flex: 1; min-width: 0; }
.r-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.r-line b { font-size: 16px; }
.r-detail { margin: 5px 0 0; font-size: 14.5px; color: #374151; }
.r-photos { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.r-photos img { width: 150px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px;
  padding: 2px 9px; white-space: nowrap;
}
.pill-good { background: var(--good-bg); color: var(--good); }
.pill-monitor { background: var(--mon-bg); color: var(--mon); }
.pill-repair { background: var(--rep-bg); color: var(--rep); }
.pill-urgent { background: var(--urg-bg); color: var(--urg); }
.pill-cost { background: var(--amber-light); color: var(--amber-text); }
.total-row {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px 16px; background: var(--surface2);
  border: 1px solid var(--line2); border-radius: var(--radius-sm); font-size: 16px;
}
.total-row b { color: var(--navy); }
.note-tag {
  display: inline-block; margin: 8px 0 4px; font-size: 13.5px; font-weight: 700;
  color: var(--amber-text); background: var(--amber-light);
  border-radius: 999px; padding: 4px 12px;
}

/* ---------- before / after ---------- */
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.1fr); gap: 20px; align-items: stretch; margin-top: 28px; }
.ba-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.ba-card.ba-after { background: var(--surface); }
.ba-label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-text); margin: 0 0 14px; }
.ba-photos { display: flex; gap: 10px; margin-bottom: 14px; }
.ba-photos img { width: calc(50% - 5px); height: 120px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.ba-notes {
  font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1.6;
  background: #111827; color: #FDE68A; border-radius: var(--radius-sm);
  padding: 14px 16px; margin: 0 0 12px; white-space: pre-wrap; word-break: break-word;
}
.ba-caption { margin: 0; font-size: 14px; color: var(--muted); }
.ba-arrow {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 30px; font-weight: 800; color: var(--amber);
}
.ba-arrow span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); text-align: center; }
.ba-after .r-item { padding: 10px 0; }
.ba-after .total-row { margin-top: 12px; }

/* ---------- CTA bands ---------- */
.cta-band { background: var(--navy); padding: 44px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 27px; font-weight: 800; letter-spacing: -.015em; }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.feature-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature-icon { font-size: 26px; margin-bottom: 12px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 15px; color: #374151; }

/* ---------- steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.step-card > img { width: 100%; height: 150px; object-fit: cover; }
.step-mock {
  height: 150px; padding: 16px; background: var(--surface2);
  border-bottom: 1px solid var(--line2);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.mock-note { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: #374151; }
.mock-arrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-text); }
.mock-finding { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; }
.step-mock-pdf { background: var(--surface); }
.mock-doc-title { margin: 0 0 4px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 14px; color: var(--navy); }
.mock-line { height: 8px; border-radius: 4px; background: var(--line); margin: 0; }
.mock-line.w90 { width: 90%; } .mock-line.w80 { width: 80%; } .mock-line.w70 { width: 70%; }
.mock-total { margin: 6px 0 0; font-size: 13.5px; }
.mock-total b { color: var(--navy); }
.step-body { padding: 18px 20px 22px; }
.step-num { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-text); }
.step-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-body p:last-child { margin: 0; font-size: 14.5px; color: #374151; }

/* ---------- math + pricing ---------- */
.math-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.math-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.math-table th, .math-table td { padding: 13px 18px; text-align: left; }
.math-table thead th { background: var(--surface2); font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.math-table tbody tr + tr td { border-top: 1px solid var(--line2); }
.math-table tr.math-us { background: var(--amber-light); }
.math-table tr.math-us td { color: var(--amber-text); }
.pricing-card {
  margin-top: 28px; background: var(--navy); color: #fff; border-radius: var(--radius);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-main { padding: 32px 36px; }
.pricing-name { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-light); }
.pricing-price { margin: 8px 0 18px; font-family: 'Archivo', sans-serif; font-size: 54px; font-weight: 800; line-height: 1; }
.pricing-price small { font-size: 17px; font-weight: 600; opacity: .8; margin-left: 8px; }
.pricing-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 16px; }
.pricing-list li::before { content: "✓ "; color: var(--amber); font-weight: 800; }
.pricing-side {
  background: var(--navy2); padding: 32px 36px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.pricing-beta { margin: 0; font-family: 'Archivo', sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
.pricing-side p:not(.pricing-beta) { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }

/* ---------- InterNACHI ---------- */
.inachi-card {
  background: var(--surface); border: 1.5px solid var(--amber); border-radius: var(--radius);
  padding: 32px 36px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 28px; align-items: center; box-shadow: var(--shadow);
}
.inachi-card h2 { font-size: 27px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 10px; }
.inachi-card p:not(.eyebrow) { margin: 0; font-size: 16px; color: #374151; }
.inachi-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.inachi-cta .fineprint { text-align: center; margin: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line2); }
.faq-item:first-of-type { padding-top: 10px; }
.faq-item h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 7px; }
.faq-item p { margin: 0; font-size: 15.5px; color: #374151; }

/* ---------- footer ---------- */
.lp-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 44px 0 36px; }
.lp-footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-brand-footer { color: #fff; }
.lp-footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-footer-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.lp-footer-nav a:hover { color: #fff; }
.lp-footer-small { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .ba-arrow { flex-direction: row; padding: 2px 0; transform: rotate(90deg); }
  .ba-arrow span { transform: rotate(-90deg); }
  .pricing-card, .inachi-card { grid-template-columns: minmax(0, 1fr); }
  .lp-nav { display: none; }
  .hero-copy h1 { font-size: 38px; }
  .section-title { font-size: 29px; }
  .band { padding: 56px 0; }
}
@media (max-width: 620px) {
  .features-grid, .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { font-size: 33px; }
  .hero-sub { font-size: 17px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .lp-header-inner { flex-wrap: wrap; gap: 12px; }
  .lp-header-actions { margin-left: auto; }
  .pricing-main, .pricing-side, .inachi-card { padding: 26px 22px; }
  .report-body { padding: 18px 16px; }
  .report-head { padding: 18px 16px; }
}
