:root {
  --teal: #0f766e;
  --teal-light: #14b8a6;
  --teal-soft: #ecfdf5;
  --amber: #d97706;
  --amber-light: #fbbf24;
  --amber-soft: #fffbeb;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --bg: #fafaf9;
  --card: #ffffff;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Sora", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --shadow: 0 8px 30px rgba(15, 118, 110, 0.08);
  --radius: 12px;
  --doc-content-width: min(960px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--amber); }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, 92vw); margin: 0 auto; }

/* Header promo — product offer strip (AuditVA teal, not dark engine bar) */
.header-stack { position: sticky; top: 0; z-index: 100; }

.header-promo {
  background: linear-gradient(90deg, var(--teal-soft) 0%, var(--amber-soft) 100%);
  border-bottom: 1px solid #99f6e4;
  font-size: 0.82rem;
}
.header-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding: 9px 0;
  text-align: center;
}
.header-promo-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--teal);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.header-promo-text { color: var(--muted); }
.header-promo-cta {
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}
.header-promo-cta:hover { color: var(--amber); }
.header-promo-secondary {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid #a7f3d0;
}
.header-promo-secondary:hover { color: var(--teal); }

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--teal);
  border-radius: 10px;
  display: grid; place-items: center;
}
.logo-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; letter-spacing: -0.02em; }
.brand-text span { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }

.nav-main { display: flex; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: var(--teal-soft); color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions .nav-link { border-radius: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; background: #0d9488; }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--teal-light); color: var(--teal); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { color: #fff; background: #b45309; }
.btn-sm { padding: 9px 16px; font-size: 0.84rem; }
.btn-full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

.text-link { font-weight: 600; color: var(--teal); }
.text-link:hover { color: var(--amber); }
.muted { color: var(--muted); font-size: 0.9rem; }
.kicker { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); }

/* Hero — URL-first centered layout */
.hero-audit {
  padding: 56px 0 72px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(20, 184, 166, 0.12), transparent),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-audit .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 14px;
}
.hero-audit h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  margin: 0 auto 16px;
  max-width: 720px;
  letter-spacing: -0.02em;
}
.hero-audit .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
}
.url-audit-bar {
  display: flex;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--teal-light);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow);
  gap: 8px;
}
.url-audit-bar input {
  flex: 1;
  border: none;
  font-family: var(--mono);
  font-size: 0.92rem;
  outline: none;
  min-width: 0;
  background: transparent;
}
.url-audit-bar .btn { border-radius: 999px; flex-shrink: 0; }
.hero-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }

.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 12px; }
.section-head p { color: var(--muted); margin: 0; }

.score-card {
  max-width: 520px;
  margin: 32px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
}
.score-card-head {
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.score-card-head span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.score-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.score-metrics > div {
  background: #fff;
  padding: 16px 18px;
}
.score-metrics span { display: block; font-size: 0.76rem; color: var(--muted); margin-bottom: 4px; }
.score-metrics strong { font-size: 1.35rem; color: var(--ink); }
.score-metrics strong.warn { color: #dc2626; }
.score-metrics strong span { display: inline; font-size: 0.85rem; color: var(--muted); font-weight: 500; }

.flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.flow-row span:not(.arrow) {
  background: var(--teal-soft);
  color: var(--teal);
  padding: 8px 14px;
  border-radius: 999px;
}
.flow-row .arrow { color: var(--amber); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--doc-content-width);
  margin: 0 auto;
}
.stat-card {
  text-align: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat-card strong { display: block; font-size: 1.6rem; color: var(--teal); }
.stat-card span { font-size: 0.82rem; color: var(--muted); }

.issue-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.issue-table th, .issue-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.issue-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

.faq-list { max-width: var(--doc-content-width); margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item h3 { font-size: 1rem; margin: 0 0 8px; }
.faq-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--doc-content-width);
  margin: 0 auto;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.audience-card:hover { border-color: var(--teal-light); box-shadow: var(--shadow); color: inherit; }
.audience-card h3 { margin: 0 0 8px; font-size: 1rem; }
.audience-card p { margin: 0; font-size: 0.86rem; color: var(--muted); }

/* Subpages */
.page-mast {
  padding: 44px 0 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-mast .container { width: var(--doc-content-width); max-width: 100%; }
.page-mast-inner { padding-bottom: 32px; }
.page-mast-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.page-chip {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.page-mast .page-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin: 0 auto 12px;
  max-width: 720px;
  line-height: 1.15;
}
.page-mast .lead { color: var(--muted); max-width: 600px; margin: 0 auto; }
.page-mast-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; justify-content: center; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--muted); }

.doc-body { padding: 40px 0 64px; }
.doc-body > .container,
.doc-body > .page-end-cta { width: var(--doc-content-width); max-width: 100%; margin-left: auto; margin-right: auto; }
.doc-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}
.doc-rail { position: sticky; top: 100px; }
.rail-card {
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.rail-card h4 { margin: 0 0 6px; font-size: 0.86rem; }
.rail-card p { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.content-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.check-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.85; }
.issue-list { list-style: none; margin: 0; padding: 0; }
.issue-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.sev {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}
.sev.high { background: #fee2e2; color: #b91c1c; }
.sev.medium { background: #fef3c7; color: #b45309; }

.page-end-cta {
  margin-top: 48px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-end-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.page-end-checklist li {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.page-end-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.page-end-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.form .form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
}
.form textarea { min-height: 120px; resize: vertical; }

.pricing-grid, .feature-grid, .timing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-grid, .timing-grid { grid-template-columns: repeat(3, 1fr); }
.plan-card, .feature-card, .timing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.plan-card.featured { border-color: var(--teal-light); box-shadow: var(--shadow); }
.plan-name { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.plan-price { font-size: 2rem; font-weight: 800; margin: 8px 0; color: var(--teal); }
.plan-price span { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan-desc { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.84rem; color: var(--muted); }
.plan-features li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.feature-card h3, .timing-card h3 { margin: 0 0 8px; font-size: 0.95rem; }
.feature-card p, .timing-card p { margin: 0; font-size: 0.84rem; color: var(--muted); }

.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.flow-step span {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.flow-step h3 { margin: 0 0 6px; font-size: 0.95rem; }
.flow-step p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.code-block {
  background: #1c1917;
  color: #e7e5e4;
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
}
.code-block pre { margin: 0; font-family: var(--mono); font-size: 0.8rem; line-height: 1.7; }

.report-doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.report-doc h2 { font-family: var(--serif); margin: 0 0 20px; font-size: 1.3rem; }
.report-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.report-grid div { background: var(--teal-soft); padding: 12px; border-radius: 8px; }
.report-grid span { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.report-grid strong { font-size: 1.1rem; }
.report-ol { color: var(--muted); line-height: 1.85; padding-left: 20px; }

.audit-tabs { margin-top: 24px; }
.tab-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; justify-content: center; }
.tab {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.tab.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.tab-panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tab-panel.active { display: block; }

.doc-links { display: grid; gap: 10px; }
.doc-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
}
.doc-link:hover { border-color: var(--teal-light); box-shadow: var(--shadow); color: inherit; }
.doc-link span {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 6px 10px;
  border-radius: 8px;
}
.doc-link h3 { margin: 0 0 4px; font-size: 0.95rem; }
.doc-link p { margin: 0; font-size: 0.84rem; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.5s; }
.reveal.visible { opacity: 1; transform: none; }

/* Audit dashboard & charts */
.audit-dashboard {
  max-width: var(--doc-content-width);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.audit-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 22px;
  background: var(--ink);
  color: #fff;
}
.dash-eyebrow {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 2px;
}
.dash-site { font-size: 1.05rem; font-weight: 700; }
.dash-meta { font-family: var(--mono); font-size: 0.76rem; opacity: 0.7; }
.dash-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.audit-dashboard-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.dash-score-panel { text-align: center; }
.dash-score {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.dash-score span { font-size: 1.2rem; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.dash-progress {
  height: 10px;
  background: var(--teal-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.dash-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 999px;
}
.dash-progress-label { margin: 0; font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.donut-wrap { display: flex; align-items: center; gap: 20px; justify-content: center; }
.donut-chart {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: conic-gradient(
    #dc2626 0 calc(var(--p1) * 1%),
    #d97706 calc(var(--p1) * 1%) calc((var(--p1) + var(--p2)) * 1%),
    #14b8a6 calc((var(--p1) + var(--p2)) * 1%) 100%
  );
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.donut-hole {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.donut-hole strong { font-size: 1.15rem; color: var(--ink); }
.donut-hole span { font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.donut-legend { list-style: none; margin: 0; padding: 0; font-size: 0.82rem; color: var(--muted); }
.donut-legend li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.donut-legend strong { margin-left: auto; color: var(--ink); }
.leg { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.leg.high { background: #dc2626; }
.leg.medium { background: #d97706; }
.leg.low { background: #14b8a6; }
.audit-dashboard-mid { padding: 22px; border-bottom: 1px solid var(--line); }
.bar-chart { display: grid; gap: 10px; }
.bar-chart.compact { gap: 8px; }
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 32px;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--muted);
}
.bar-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row strong { text-align: right; color: var(--ink); font-family: var(--mono); font-size: 0.82rem; }
.bar-track {
  height: 8px;
  background: #f5f5f4;
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill { height: 100%; border-radius: 999px; }
.bar-fill.high { background: #dc2626; }
.bar-fill.medium { background: #d97706; }
.bar-fill.low { background: #14b8a6; }
.bar-fill.teal { background: var(--teal-light); }
.bar-fill.amber { background: var(--amber); }
.bar-fill.score { background: var(--teal); }
.bar-fill.score-warn { background: #d97706; }
.audit-dashboard-table { padding: 22px; }
.page-score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.page-score-table th,
.page-score-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.page-score-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.page-score-table td:nth-child(2),
.page-score-table td:nth-child(3) {
  font-family: var(--mono);
  font-weight: 600;
}
.status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.status-pill.review { background: #fef3c7; color: #b45309; }
.status-pill.blocker { background: #fee2e2; color: #b91c1c; }
.status-pill.warn { background: #ffedd5; color: #c2410c; }
.status-pill.ok { background: var(--teal-soft); color: #047857; }

.report-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 24px;
}
.report-summary h2 { font-family: var(--serif); margin: 0 0 20px; font-size: 1.35rem; }
.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.report-summary-grid div {
  background: var(--teal-soft);
  padding: 14px;
  border-radius: 8px;
}
.report-summary-grid span { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.report-summary-grid strong { font-size: 1.15rem; color: var(--ink); }
.report-summary-grid strong.warn { color: #dc2626; }
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.chart-card-wide { grid-column: 1 / -1; }
.chart-card h3 { margin: 0 0 14px; font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.page-bars .bar-row { grid-template-columns: 72px 1fr 36px; }

/* Footer — dark stone, not indigo/navy pattern */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid #292524;
}
.footer-col h5 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin: 0 0 12px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.84rem;
  padding: 3px 0;
}
.footer-col a:hover { color: var(--amber-light); }
.footer-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-bottom: 1px solid #292524;
}
.footer-cta-row p { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: #fff; max-width: 480px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); }

/* Auth — minimal centered, no split panel */
.auth-page {
  background:
    linear-gradient(rgba(250,250,249,0.92), rgba(250,250,249,0.92)),
    repeating-linear-gradient(90deg, rgba(15,118,110,0.04) 0, rgba(15,118,110,0.04) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(0deg, rgba(15,118,110,0.04) 0, rgba(15,118,110,0.04) 1px, transparent 1px, transparent 48px);
  min-height: 100vh;
}
.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  margin-bottom: 32px;
}
.auth-logo strong { font-size: 1.1rem; }
.auth-main { width: min(420px, 100%); }
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  text-align: center;
}
.auth-card h1 { font-family: var(--serif); font-size: 1.55rem; margin: 0 0 8px; }
.auth-card > p { color: var(--muted); font-size: 0.9rem; margin: 0 0 24px; }
.auth-foot { margin-top: 16px; font-size: 0.86rem; color: var(--muted); }

@media (max-width: 960px) {
  .nav-main { display: none; }
  .stats-row, .pricing-grid, .flow-steps { grid-template-columns: 1fr 1fr; }
  .feature-grid, .timing-grid, .audience-grid { grid-template-columns: 1fr; }
  .doc-frame { grid-template-columns: 1fr; }
  .doc-rail { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .url-audit-bar { flex-direction: column; border-radius: var(--radius); padding: 12px; }
  .url-audit-bar .btn { width: 100%; }
  .audit-dashboard-top { grid-template-columns: 1fr; }
  .chart-grid { grid-template-columns: 1fr; }
  .report-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 90px 1fr 28px; }
}
@media (max-width: 600px) {
  .stats-row, .pricing-grid, .flow-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .nav-link { display: none; }
  .page-end-cta, .footer-cta-row { flex-direction: column; align-items: flex-start; }
  .header-promo-secondary { border-left: none; padding-left: 0; width: 100%; }
}
