/* The public audit. Inherits the palette and components from /app/app.css —
   this file only adds the landing-page layout and the report. */

.audit-body {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.audit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}
.audit-top .brand { text-decoration: none; color: inherit; }

.audit-main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}

.audit-main h1 {
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 62ch;
}

.audit-drop { padding: 40px 24px; text-align: center; }
.drop-big { font-size: 16px; margin: 0 0 6px; }

.privacy-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--teal-soft);
  border-radius: 7px;
  padding: 12px 15px;
  margin: 16px 0 0;
}
.privacy-note a { color: var(--teal-ink); }

.sample-line { font-size: 13px; color: var(--ink-3); margin: 18px 0 0; }

/* ── the report ─────────────────────────────────────────────────── */

.report-hero {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.report-file { font-size: 12px; color: var(--ink-3); margin: 0 0 14px; }
.hero-money {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.hero-sub { font-size: 14.5px; color: var(--ink-2); margin: 8px 0 0; }

.report-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 12px;
  margin: 14px 0 0;
}

.report-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 22px 0 0;
}
.report-panel h2 { font-size: 17px; margin: 0 0 6px; }

.audit-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--raised);
}
.cc-source {
  font-size: 11.5px;
  color: var(--ink-3);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.skip-row {
  border-top: 1px solid var(--rule-soft);
  padding: 13px 0 0;
  margin: 13px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.skip-row:first-of-type { border-top: 0; }
.skip-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.skip-money {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.skip-why { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.skip-row .pill { align-self: flex-start; }

.report-cta {
  background: var(--teal-soft);
  border: 1px solid var(--teal);
  border-radius: 10px;
  padding: 26px;
  margin: 26px 0 0;
  text-align: center;
}
.report-cta h2 { font-size: 19px; margin: 0 0 8px; }
.report-cta p { color: var(--ink-2); line-height: 1.55; margin: 0 auto; max-width: 52ch; }
.report-cta .row-actions { justify-content: center; margin-top: 18px; }
.cta-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px !important; }

/* ── how it works ───────────────────────────────────────────────── */

.audit-how { margin: 64px 0 0; border-top: 1px solid var(--rule); padding-top: 32px; }
.audit-how h2 { font-size: 18px; margin: 0 0 18px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
}
.how-grid h3 { font-size: 14px; margin: 0 0 7px; }
.how-grid p { font-size: 13px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.how-grid code {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  background: var(--sunk);
  padding: 1px 4px;
  border-radius: 3px;
}

.audit-foot {
  border-top: 1px solid var(--rule);
  padding: 20px 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

@media (max-width: 560px) {
  .audit-main { padding: 28px 16px 56px; }
  .audit-main h1 { font-size: 25px; }
  .hero-money { font-size: 36px; }
}
