body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 24rem),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  color: #0f172a;
}

.site-nav,
.site-footer,
.panel,
.auth-card,
.pricing-card,
.summary-card,
.empty-state,
.status-box {
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-nav__inner,
.site-footer__inner {
  width: min(100%, 72rem);
}

.site-brand {
  color: #0f172a;
  letter-spacing: 0.2em;
}

.site-links a {
  color: #334155;
}

.site-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-plan,
.nav-user {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
}

.nav-plan {
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  padding: 0.2rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.nav-user {
  color: #0f172a;
  font-weight: 600;
}

.site-links a:hover,
.site-links a:focus-visible,
.auth-meta a,
.helper-copy a {
  color: #1e3a5f;
}

.site-main {
  width: min(100%, 72rem);
}

.page-title {
  color: #0f172a;
}

.page-subtitle,
.helper-copy,
.auth-meta,
.status-inline {
  color: #475569;
}

.hero-panel {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 22rem),
    linear-gradient(140deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.hero-eyebrow {
  color: #bbf7d0;
}

.hero-title,
.hero-stat {
  color: #fff;
}

.hero-copy {
  color: #dbe4f0;
}

.hero-side {
  background: rgba(255, 255, 255, 0.09);
}

.panel,
.auth-card,
.pricing-card,
.summary-card,
.empty-state,
.audit-form-panel {
  background: #fff;
  border-color: #cbd5e1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.btn-sm {
  min-height: 2.3rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible,
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: #22c55e;
  color: #052e16;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #16a34a;
  color: #f0fdf4;
}

.btn-dark {
  background: #0f172a;
  color: #fff;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #020617;
}

.btn-secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #e2e8f0;
}

.soft-badge {
  color: #fff;
}

.notice-banner {
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.2);
}

.pricing-card {
  position: relative;
}

.pricing-card--featured {
  border-color: #22c55e;
  box-shadow: 0 24px 60px rgba(34, 197, 94, 0.16);
}

.pricing-badge {
  background: #0f172a;
  color: #fff;
}

.status-box {
  background: #e2e8f0;
  color: #334155;
}

.progress-shell {
  width: 100%;
}

.progress-track {
  overflow: hidden;
  height: 0.9rem;
  width: 100%;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 55%, #86efac 100%);
  box-shadow: 0 6px 14px rgba(34, 197, 94, 0.3);
  transition: width 0.35s ease;
}

.form-message {
  min-height: 1.5rem;
  color: #dc2626;
}

input,
textarea,
select {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 0.9rem;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

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

th,
td {
  vertical-align: top;
}

.tab-strip span {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
}

.score-dial {
  background:
    radial-gradient(circle at center, #fff 56%, transparent 57%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.report-hero {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 18rem),
    linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.report-hero__meta {
  align-items: center;
}

.report-html {
  color: #0f172a;
}

.report-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.report-banner {
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef6f1 100%);
  border: 1px solid #dbe6de;
  padding: 1.5rem;
}

.report-banner__eyebrow {
  color: #166534;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.report-banner__title {
  margin-top: 0.5rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
}

.report-banner__copy {
  margin-top: 0.75rem;
  color: #334155;
  line-height: 1.65;
}

.report-grid {
  display: grid;
  gap: 1rem;
}

.report-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-card {
  border: 1px solid #dbe5ef;
  border-radius: 1.35rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
}

.report-card--accent {
  background: linear-gradient(180deg, #f8fafc 0%, #f5f8ff 100%);
}

.report-card__eyebrow {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.report-card__title {
  margin-top: 0.5rem;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 800;
}

.report-card__copy {
  margin-top: 0.85rem;
  color: #334155;
  line-height: 1.65;
}

.report-list,
.report-evidence-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: #334155;
}

.report-list li,
.report-evidence-list li {
  margin-top: 0.55rem;
  line-height: 1.55;
}

.report-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.report-table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
}

.report-table thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-table th,
.report-table td {
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  color: #334155;
}

.report-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-pill--analytics {
  background: #dbeafe;
  color: #1d4ed8;
}

.report-pill--marketing {
  background: #fee2e2;
  color: #b91c1c;
}

.report-pill--necessary {
  background: #dcfce7;
  color: #166534;
}

.report-pill--unknown {
  background: #f1f5f9;
  color: #475569;
}

.report-note {
  color: #475569;
  line-height: 1.6;
}

.report-html p {
  line-height: 1.65;
}

.report-html ul,
.report-html ol {
  margin-top: 0.9rem;
  padding-left: 1.2rem;
}

.prose ul,
.prose ol,
#demo-result ul,
#demo-result ol {
  margin-top: 1rem;
  padding-left: 1.25rem;
}

#demo-result,
.panel,
.auth-card,
.pricing-card,
.summary-card,
.empty-state {
  color: #0f172a;
}

@media (max-width: 768px) {
  .site-nav__inner,
  .site-footer__inner,
  .site-main {
    width: 100%;
  }

  .site-links {
    gap: 0.85rem;
    font-size: 0.875rem;
  }

  .nav-user {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.05;
  }

  .report-grid--two {
    grid-template-columns: 1fr;
  }
}
