:root {
  --ink:        #16181d;
  --ink-soft:   #4b5058;
  --paper:      #ffffff;
  --paper-alt:  #f6f7f5;
  --border:     #e2e4e0;
  --brand:      #1f5e46;
  --brand-dark: #163f30;
  --brand-tint: #eaf2ee;
  --danger:     #b3261e;
  --warn:       #9a6700;
  --ok:         #1f5e46;

  --font-sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --wrap-wide: 1100px;
  --wrap-narrow: 720px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.wrap { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand, .brand a {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.site-header nav a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.site-header nav a:hover { color: var(--brand-dark); }

/* ---------- Type scale ---------- */

h1 { margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { margin: 0 0 16px; font-size: 1.5rem; line-height: 1.25; font-weight: 700; }
h3 { margin: 0 0 8px; font-size: 1.125rem; line-height: 1.3; font-weight: 600; }
p { font-size: 1.0625rem; line-height: 1.6; }

/* ---------- Hero ---------- */

.hero { background: var(--paper); padding: 80px 0; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 700;
}
.hero .subhead {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.scan-hook form { display: flex; gap: 8px; flex-wrap: wrap; }
.scan-hook input[type="url"] {
  flex: 1 1 280px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
}
.scan-hook input[type="url"]:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.scan-hook button {
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.scan-hook button:hover { background: var(--brand-dark); }
.scan-hook button:disabled { opacity: 0.6; cursor: default; }
.microcopy { font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); margin: 12px 0 0; }
#scan-status { margin-top: 12px; font-size: 0.9rem; }
.scan-result {
  margin-top: 16px;
  padding: 16px;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  white-space: pre-wrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  max-height: 420px;
  overflow-y: auto;
}

/* ---------- Sample report mock ---------- */

.sample-report-label {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.sample-report-label strong { color: var(--ink); }

.report-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(22, 24, 29, 0.06);
  overflow: hidden;
}
.report-card-head {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.report-card-head div { margin: 2px 0; }
.report-card-head strong { color: var(--ink); font-weight: 600; }
.report-card-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--ink);
}
.report-card-body .line-danger { color: var(--danger); }
.report-card-body .line-warn { color: var(--warn); }
.report-card-body .line-ok { color: var(--ok); }
.report-card-body .line-muted { color: var(--ink-soft); }

/* ---------- How it works ---------- */

.how-it-works { background: var(--paper-alt); padding: 80px 0; }
.how-it-works h2 { text-align: center; margin-bottom: 40px; }
.how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 12px;
}
.steps p { color: var(--ink-soft); margin: 0; }

/* ---------- Value bullets ---------- */

.value-bullets { background: var(--paper); padding: 80px 0; }
.value-bullets .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-bottom: 40px;
}
.value-bullets .grid > div h3 { margin-bottom: 6px; }
.value-bullets .grid > div p { margin: 0; color: var(--ink-soft); }
.cta-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.cta-link:hover { color: var(--brand-dark); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--paper-alt);
  padding: 48px 0 56px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}
.site-footer p { font-size: 0.875rem; line-height: 1.5; margin: 0 0 12px; }
.site-footer p:last-child { margin-bottom: 0; }

/* ---------- Pricing page ---------- */

.pricing { background: var(--paper); padding: 80px 0 56px; }
.pricing h1.price-number {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 8px;
}
.price-sub { font-size: 1.0625rem; color: var(--ink-soft); margin: 0 0 40px; }

.included-card {
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 32px;
}
.included-card h2 { font-size: 1.125rem; margin-bottom: 16px; }
.included-card ul { list-style: none; padding: 0; margin: 0; }
.included-card li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink);
}
.included-card li:last-child { margin-bottom: 0; }
.included-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.justification { color: var(--ink-soft); margin: 0; }

.intent-capture { background: var(--paper-alt); padding: 56px 0 80px; }
.intent-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(22, 24, 29, 0.06);
  padding: 32px;
}
.intent-card h2 { margin-bottom: 20px; }
.intent-capture form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.intent-capture label { flex-basis: 100%; font-size: 0.9rem; margin-bottom: 4px; color: var(--ink-soft); }
.intent-capture input[type="email"] {
  flex: 1 1 260px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
}
.intent-capture input[type="email"]:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.intent-capture button {
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.intent-capture button:hover { background: var(--brand-dark); }
#intent-status { font-size: 0.9rem; margin-bottom: 12px; }
.honesty-line { font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .how-it-works .steps { grid-template-columns: 1fr; gap: 32px; }
  .value-bullets .grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 48px 0; }
  .how-it-works { padding: 48px 0; }
  .value-bullets { padding: 48px 0; }
  .pricing { padding: 48px 0 32px; }
  .intent-capture { padding: 32px 0 48px; }
  .hero h1 { font-size: 2.125rem; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
