/* Opty — theme
   Clean, friendly product style: Source Sans 3 + IBM Plex Mono, soft gray
   surfaces, rounded cards, bold headings, orange used sparingly. */

:root {
  --bg: #ffffff;
  --surface: #f9fafb;
  --surface-2: #fff7ed;
  --border: #e5e7eb;
  --border-soft: #f3f4f6;
  --text: #111827;
  --body: #374151;
  --muted: #6b7280;
  --accent: #ea580c;
  --accent-soft: #ffedd5;
  --ink: #0b0f19;
  --primary: #ffdd00;
  --primary-hover: #e6c800;
  --primary-ink: #050505;
  --critical: #b91c1c;
  --critical-soft: #fee2e2;
  --high: #c2410c;
  --high-soft: #ffedd5;
  --medium: #a16207;
  --medium-soft: #fef3c7;
  --low: #1d4ed8;
  --low-soft: #dbeafe;
  --info: #4b5563;
  --info-soft: #f3f4f6;
  --solved: #15803d;
  --solved-soft: #dcfce7;
  --acknowledged: #4f46e5;
  --acknowledged-soft: #e0e7ff;
  --sans: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 4px 12px rgba(17, 24, 39, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
img, svg { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container--narrow { max-width: 780px; }

.mono { font-family: var(--mono); font-size: .875em; }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.h1, .h2, .h3 { color: var(--text); font-weight: 700; margin: 0; }
.h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.h1--hero { font-size: clamp(2.5rem, 6vw, 4.25rem); }
.h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; margin-bottom: .5rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow--center { display: block; text-align: center; color: var(--muted); font-weight: 400; }

.lead {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 640px;
  margin: 1rem 0 0;
}
.lead--center { margin-left: auto; margin-right: auto; }
.br-wide { display: none; }
@media (min-width: 720px) { .br-wide { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--primary-ink); border-color: var(--primary-hover); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline {
  background: linear-gradient(to bottom, #fff, var(--surface));
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover { box-shadow: inset 0 2px 4px rgba(17, 24, 39, .06); }
.btn--link { background: transparent; color: var(--text); padding-left: 8px; padding-right: 8px; }
.btn--link:hover { color: var(--accent); }
.btn--sm { padding: 8px 14px; font-size: .9375rem; }
.btn--lg { padding: 14px 24px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2rem; }
.actions--center { justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav__mark { width: 26px; height: 26px; color: var(--accent); }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu > a:not(.btn) {
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: .9375rem;
  color: var(--body);
  text-decoration: none;
}
.nav__menu > a:not(.btn):hover { color: var(--text); background: var(--surface); }
.nav__menu > .btn { margin-left: 8px; }
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; padding: 8px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav__toggle span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 20px;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu > a:not(.btn) { padding: 12px; }
  .nav__menu > .btn { margin: 12px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 32px 0; }
.section--hero {
  padding: 112px 0 56px;
  text-align: center;
  background: linear-gradient(to bottom, var(--surface-2), var(--bg) 70%);
}
.section--hero .lead { max-width: 800px; }
.section--hero-sm { padding: 88px 0 24px; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head .h2 { margin-bottom: 0; }

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section--hero { padding: 64px 0 40px; }
  .section--hero-sm { padding: 56px 0 16px; }
}

/* Tag pills under hero */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.chips li {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(to bottom, #fff, var(--surface));
  font-size: .875rem;
  color: var(--body);
}

/* Logo wall */
.logos {
  margin-top: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.logos__track {
  display: flex;
  width: max-content;
  animation: logos-scroll 40s linear infinite;
}
.logos:hover .logos__track { animation-play-state: paused; }
.logos__set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}
@keyframes logos-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .logos__track { animation: none; }
  .logos__set[aria-hidden] { display: none; }
}
.logos img {
  height: 32px;
  width: auto;
  filter: grayscale(1);
  opacity: .55;
  transition: opacity .15s ease, filter .15s ease;
}
.logos img:hover { opacity: 1; filter: none; }
.logos img.logo--wide { height: 18px; }

/* Stats + quotes panel */
.panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}
.panel__stats {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  background: linear-gradient(to bottom, var(--surface), var(--bg));
  border-right: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat__value small { font-size: 1rem; font-weight: 600; margin-left: 4px; color: var(--muted); }
.stat__label { font-size: .9375rem; color: var(--muted); line-height: 1.35; }
.panel__quotes { display: flex; flex-direction: column; }
.quote { margin: 0; padding: 36px; flex: 1; }
.quote + .quote { border-top: 1px solid var(--border); }
.quote p { color: var(--text); font-size: 1.1875rem; line-height: 1.55; margin: 0 0 1rem; }
.quote footer { font-size: .9375rem; color: var(--muted); }

@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; }
  .panel__stats { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--border); padding: 28px; gap: 24px; }
  .stat { flex: 1 1 120px; }
  .stat__value { font-size: 2.25rem; }
  .quote { padding: 28px; }
}

/* Card grid */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(to bottom, var(--surface), var(--bg));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  color: var(--body);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card p { color: var(--muted); font-size: 1rem; line-height: 1.5; margin: 0; }
.card--link:hover { text-decoration: none; border-color: var(--border); box-shadow: var(--shadow); }
.card__arrow { color: var(--muted); font-weight: 400; margin-left: 2px; transition: color .15s ease; }
.card--link:hover .card__arrow { color: var(--accent); }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features--2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.feature p { color: var(--muted); font-size: 1rem; line-height: 1.5; margin: 0; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features, .features--2 { grid-template-columns: 1fr; } }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: linear-gradient(to bottom, var(--surface), var(--bg));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.plan--featured { background: var(--bg); border-color: var(--text); box-shadow: var(--shadow); }
.plan__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.plan__badge {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 10px;
}
.plan__price { margin: 0 0 20px; display: flex; align-items: baseline; gap: 4px; }
.plan__amount { color: var(--text); font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.plan__period { color: var(--muted); font-size: 1rem; }
.plan__items { flex: 1; margin-bottom: 24px; }
.plan__items li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--body);
  font-size: 1rem;
}
.plan__items li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.plan__items strong { color: var(--text); font-weight: 600; }

/* Prose (about page, pricing explainer) */
.prose { color: var(--body); font-size: 1.125rem; line-height: 1.65; margin-top: 1.5rem; }
.prose h2, .prose h3 { color: var(--text); font-weight: 700; margin: 2rem 0 .75rem; letter-spacing: -0.01em; }
.prose h2 { font-size: 1.625rem; }
.prose h3 { font-size: 1.25rem; }
.prose p { margin: 0 0 1.25em; }
.prose ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1.25em; }
.prose code, .prose pre { font-family: var(--mono); font-size: .875em; }
.prose code { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 4px; padding: 1px 5px; }
.prose pre { background: var(--surface); border: 1px solid var(--border); padding: 16px; overflow-x: auto; border-radius: var(--radius); }
.prose pre code { background: none; border: 0; padding: 0; }

/* Simple list (fallback index page) */
.list__item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }

/* CTA */
.section--cta { padding-bottom: 112px; }
.cta {
  text-align: center;
  padding: 64px 24px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(to bottom, var(--surface-2), var(--bg));
}
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--border-soft); padding: 40px 0; background: var(--surface); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__logo { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 1.125rem; font-weight: 700; }
.footer__mark { width: 20px; height: 20px; color: var(--accent); }
.footer__tag { font-size: .9375rem; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9375rem; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--text); }
.footer__copy { width: 100%; margin: 8px 0 0; font-size: .875rem; color: var(--muted); }

/* ---------- Audits ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--body);
}
.badge--accent { color: var(--accent); background: var(--accent-soft); border-color: transparent; }

.sev, .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.sev::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sev--critical { color: var(--critical); background: var(--critical-soft); }
.sev--high { color: var(--high); background: var(--high-soft); }
.sev--medium { color: var(--medium); background: var(--medium-soft); }
.sev--low { color: var(--low); background: var(--low-soft); }
.sev--info { color: var(--info); background: var(--info-soft); }
.sev--plain { padding: 0; background: none; font-size: .9375rem; }
.status--solved { color: var(--solved); background: var(--solved-soft); }
.status--acknowledged { color: var(--acknowledged); background: var(--acknowledged-soft); }
.status--risk-accepted { color: var(--info); background: var(--info-soft); }
.status--open { color: var(--critical); background: var(--critical-soft); }

.audit-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(to bottom, var(--surface-2), var(--bg));
}
.audit-hero__back { display: inline-block; margin-bottom: 24px; font-size: .9375rem; color: var(--muted); text-decoration: none; }
.audit-hero__back:hover { color: var(--text); }
.audit-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; font-size: .9375rem; }
.audit-hero__by { margin: 12px 0 0; color: var(--muted); }
.audit-hero__by strong { color: var(--text); }
.audit-hero .actions { margin-top: 24px; }

.audit {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 88px;
}
.audit__toc { position: sticky; top: 88px; }
.audit__toc { display: flex; flex-direction: column; font-size: .9375rem; }
.audit__toc a { padding: 6px 12px; border-left: 2px solid var(--border-soft); color: var(--muted); text-decoration: none; }
.audit__toc a:hover { color: var(--text); border-left-color: var(--accent); }
.audit__label { margin: 0 0 10px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.audit__section + .audit__section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--border-soft); }
.audit__h2 { font-size: 1.75rem; margin-bottom: 20px; }
.audit__headline { margin: 0 0 20px; font-size: 1.25rem; color: var(--text); }
.audit__headline strong { color: var(--solved); }
.audit__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.audit__stat {
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom, var(--surface), var(--bg));
}
.audit__stat b { display: block; font-size: 1.75rem; line-height: 1.1; color: var(--text); }
.audit__stat span { font-size: .875rem; color: var(--muted); }
.audit .prose { margin-top: 0; }
.audit .prose > h2:first-child { margin-top: 0; }
.audit__note { margin: 12px 0 0; font-size: .9375rem; color: var(--muted); }
.chips--left { justify-content: flex-start; margin-top: 16px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); }
.table th { background: var(--surface); font-size: .8125rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table a { text-decoration: none; }
.table a:hover { color: var(--accent); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .mono { white-space: nowrap; }

.finding { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.finding + .finding { margin-top: 16px; }
.finding__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.finding__id { font-family: var(--mono); font-size: .875rem; color: var(--muted); }
.finding__title { font-size: 1.25rem; margin-bottom: 12px; }
.finding__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 8px; font-size: .875rem; color: var(--muted); }
.finding__meta dt, .finding__meta dd { display: inline; margin: 0; }
.finding__meta dd { color: var(--body); overflow-wrap: anywhere; }
.finding h4 { margin: 20px 0 6px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.finding .prose { margin: 0; font-size: 1rem; }
.finding .prose p:last-child, .finding .prose pre:last-child { margin-bottom: 0; }
.finding .prose pre { margin: 0 0 1.25em; }
.finding__remediation { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); }
.finding__remediation h4 { margin-top: 0; }

.audit__aside { display: flex; flex-direction: column; gap: 16px; }
.audit-box {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom, var(--surface), var(--bg));
}
.audit-box dl { margin: 0; }
.audit-box dt { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.audit-box dt:first-child { margin-top: 0; }
.audit-box dd { margin: 2px 0 0; font-size: .9375rem; color: var(--text); overflow-wrap: anywhere; }
.audit-box dd.mono { font-size: .8125rem; overflow-wrap: break-word; word-break: break-all; }
.sevbar__totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; text-align: center; }
.sevbar__totals b { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--text); }
.sevbar__totals b.is-solved { color: var(--solved); }
.sevbar__totals b.is-ack { color: var(--acknowledged); }
.sevbar__totals span { font-size: .75rem; color: var(--muted); }
.sevbar__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 8px; }
.sevbar__row + .sevbar__row { margin-top: 12px; }
.sevbar__count { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.sevbar__track { grid-column: 1 / -1; display: flex; height: 6px; overflow: hidden; border-radius: 999px; background: var(--border-soft); }
.sevbar__solved { background: var(--solved); }
.sevbar__ack { background: var(--acknowledged); }

.audit-list { display: flex; flex-direction: column; gap: 16px; }
.audit-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; font-size: .9375rem; }
.audit-card__date { margin-left: auto; }
.audit-card .h3 { font-size: 1.375rem; }
.audit-card__counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

@media (max-width: 1100px) {
  .audit { grid-template-columns: minmax(0, 1fr) 280px; }
  .audit__toc { display: none; }
}
@media (max-width: 860px) {
  .audit { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .audit__aside { order: -1; }
  .audit__stats { grid-template-columns: repeat(2, 1fr); }
}
@media print {
  .nav, .footer, .section--cta, .audit__toc, .audit-hero .actions, .audit-hero__back { display: none !important; }
  .audit { display: block; padding: 0; }
  .audit__aside { position: static; margin: 24px 0; }
  .finding { break-inside: avoid; }
  .audit-hero { padding: 0 0 16px; background: none; }
}
