/* Storefront Check. Brand colors (--bg, --accent, ...) come from the page's own <style>; status colors are the same in every skin. */
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --font: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --focus: var(--accent-text);
  --radius: 14px;
  --fail: #a3201a;
  --fail-bg: #fdecea;
  --fail-bar: #c9342b;
  --review: #7a4a00;
  --review-bg: #fdf1d4;
  --review-bar: #d58f12;
  --pass: #0d6b39;
  --pass-bg: #e2f4e8;
  --pass-bar: #1c9a56;
  --code-bg: rgba(20, 24, 36, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --fail: #ffa59d;
    --fail-bg: #3a1b19;
    --fail-bar: #ff7d72;
    --review: #f3c867;
    --review-bg: #38290c;
    --review-bar: #e6ae42;
    --pass: #82dba5;
    --pass-bg: #123222;
    --pass-bar: #52c383;
    --code-bg: rgba(255, 255, 255, 0.08);
  }
}
:root[data-theme='dark'] {
  --fail: #ffa59d;
  --fail-bg: #3a1b19;
  --fail-bar: #ff7d72;
  --review: #f3c867;
  --review-bg: #38290c;
  --review-bar: #e6ae42;
  --pass: #82dba5;
  --pass-bg: #123222;
  --pass-bar: #52c383;
  --code-bg: rgba(255, 255, 255, 0.08);
  color-scheme: dark;
}
:root[data-theme='light'] {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  scroll-padding-block-start: 16px;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
main:focus {
  outline: none;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--accent-text);
  text-underline-offset: 0.18em;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
code,
pre {
  font-family: var(--mono);
  font-size: 0.8125rem;
}
code {
  background: var(--code-bg);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  text-wrap: balance;
  line-height: 1.2;
  margin: 0;
}
p {
  text-wrap: pretty;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -80px;
  z-index: 50;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
}

/* ---- header, footer, demo bar */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-weight: 750;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}
.presenter {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.presenter strong {
  color: var(--ink);
  font-weight: 650;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 1px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
  vertical-align: 1px;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  font-size: 0.875rem;
}
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.foot-links a {
  display: inline-block;
  padding-block: 8px;
}
.engine {
  color: var(--muted);
}

.demo-bar {
  background: var(--soft);
  color: var(--on-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.demo-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-block: 10px;
}
.demo-note {
  margin: 0;
  flex: 1 1 22rem;
}
.demo-bar a {
  color: inherit;
}
.seg,
.demo-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.seg {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
}
.seg a {
  display: block;
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  min-height: 36px;
}
.seg a[aria-current='page'] {
  background: var(--accent);
  color: var(--on-accent);
}
.demo-links {
  gap: 4px 16px;
}
.demo-links a {
  display: inline-block;
  padding-block: 8px;
  font-weight: 600;
}

/* ---- buttons, fields */
.btn {
  font: inherit;
  font-weight: 650;
  font-size: 0.9375rem;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn.ghost {
  background: transparent;
}
.btn:disabled {
  opacity: 0.65;
  cursor: progress;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    border-color: var(--accent-text);
  }
  .btn.primary:hover {
    filter: brightness(1.08);
  }
}

/* ---- hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-block: 64px 24px;
}
.hero h1 {
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 17ch;
}
.lede {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 18px 0 0;
}
.check-form {
  margin-top: 32px;
  max-width: 600px;
}
.check-form label {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
}
.field {
  display: flex;
  gap: 10px;
}
.field input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 1.0625rem;
  height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1.5px solid var(--muted);
  background: var(--surface);
  color: var(--ink);
}
.field input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.field input[aria-invalid='true'] {
  border-color: var(--fail);
  border-width: 2px;
}
.field .btn {
  height: 56px;
  padding-inline: 24px;
  font-size: 1rem;
  flex-shrink: 0;
}
.hint {
  margin: 10px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.error {
  margin: 10px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--fail-bg);
  color: var(--fail);
  font-weight: 600;
  font-size: 0.9375rem;
}
.error[hidden] {
  display: none;
}
.hero-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.hero-side h2 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}
.areas {
  margin: 0;
}
.areas > div {
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.areas > div:first-child {
  border-top: 0;
}
.areas dt {
  font-weight: 650;
}
.areas dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.fine {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 12px 0 0;
}
.has-report .hero {
  padding-block: 32px 0;
  grid-template-columns: minmax(0, 1fr);
}
.has-report .hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.has-report .hero .lede,
.has-report .hero-side {
  display: none;
}
.has-report .check-form {
  margin-top: 0;
}

/* ---- progress */
.progress {
  max-width: 600px;
  padding-block: 16px 8px;
}
.progress-title {
  margin: 0 0 10px;
  font-weight: 650;
}
.progress-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.progress-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  flex-shrink: 0;
}
[data-state='running'] {
  color: var(--ink);
  font-weight: 600;
}
[data-state='running'] .step-dot {
  border-color: var(--accent-text);
  background: var(--accent-text);
  animation: pulse 1s ease-in-out infinite;
}
[data-state='done'] .step-dot {
  border-color: var(--pass-bar);
  background: var(--pass-bar);
}
[data-state='failed'] .step-dot {
  border-color: var(--review-bar);
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

/* ---- report */
.report {
  padding-block: 28px 0;
}
.report:focus {
  outline: none;
}
.report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}
.report-title {
  min-width: 0;
}
.report-title h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.eyebrow-plain {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9375rem;
}
.meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 62ch;
}
.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.disclaimer {
  margin: 20px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.9375rem;
  color: var(--muted);
}
.section-h {
  font-size: 1.125rem;
  margin: 0 0 12px;
}
.summary {
  margin-top: 32px;
}
.summary-line {
  margin: 0 0 14px;
  font-size: 1.0625rem;
}
.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.area-list li {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.area-list li:first-child {
  border-top: 0;
}
.area-name {
  font-weight: 650;
  color: var(--ink);
  display: inline-block;
  padding-block: 4px;
}
.area-bar {
  display: flex;
  gap: 3px;
  height: 12px;
  min-width: 0;
}
.seg-fill,
.area-bar .seg {
  display: block;
  height: 100%;
  border-radius: 6px;
  min-width: 8px;
}
.is-fail {
  background: var(--fail-bar);
}
.is-review {
  background: var(--review-bar);
}
.is-pass {
  background: var(--pass-bar);
}
.area-counts {
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.n-fail {
  color: var(--fail);
  font-weight: 650;
}
.n-review {
  color: var(--review);
  font-weight: 650;
}
.n-pass {
  color: var(--pass);
  font-weight: 650;
}
.facts {
  margin-top: 24px;
}
.fact-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}
.fact-list dt {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
}
.fact-list dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

/* sponsor card */
.sponsor {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px 40px;
  padding: 28px;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.presented {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-soft);
}
.sponsor h3 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--on-soft);
  margin: 2px 0 8px;
}
.sponsor-offer {
  margin: 0;
  max-width: 44ch;
}
.optin .check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.optin input[type='checkbox'] {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.optin label {
  font-weight: 600;
  cursor: pointer;
}
.optin-demo {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--on-soft);
}
.optin-demo .tag {
  color: var(--on-soft);
}
.optin-status {
  margin: 8px 0 0;
  min-height: 1.5em;
  font-weight: 650;
  font-size: 0.9375rem;
}

/* lab */
.lab {
  margin-top: 32px;
}
.lab-scores {
  display: flex;
  gap: 16px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.lab-score {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
  min-width: 11rem;
}
.lab-score dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.lab-score dd {
  margin: 0;
}
.lab-num {
  font-size: 2.25rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.lab-of {
  color: var(--muted);
}
.lab-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-variant-numeric: tabular-nums;
}
.lab-metrics li {
  display: flex;
  gap: 8px;
}
.lab-metrics span {
  color: var(--muted);
}

/* findings */
.findings {
  margin-top: 40px;
}
.area {
  margin-bottom: 40px;
  scroll-margin-top: 16px;
}
.area > h3 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.finding,
.passes {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.finding > summary,
.passes > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 18px 14px 14px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
  position: relative;
  min-height: 56px;
}
.finding > summary::-webkit-details-marker,
.passes > summary::-webkit-details-marker {
  display: none;
}
.finding > summary::after {
  content: '';
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s;
}
.finding[open] > summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.finding > summary {
  padding-inline-end: 44px;
}
@media (hover: hover) and (pointer: fine) {
  .finding > summary:hover,
  .passes > summary:hover {
    background: var(--code-bg);
  }
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.status[data-status='fail'] {
  background: var(--fail-bg);
  color: var(--fail);
}
.status[data-status='review'] {
  background: var(--review-bg);
  color: var(--review);
}
.status[data-status='pass'] {
  background: var(--pass-bg);
  color: var(--pass);
}
.f-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.f-title {
  font-weight: 650;
  font-size: 1.0625rem;
}
.f-result {
  color: var(--muted);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.f-impact {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
}
.f-body {
  padding: 0 18px 18px 18px;
  border-top: 1px solid var(--line);
}
.f-body > p:first-child {
  margin-top: 16px;
}
.f-plain {
  margin: 0;
  max-width: 68ch;
}
.f-label {
  margin: 16px 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
}
.f-fix {
  margin: 0;
  max-width: 68ch;
  font-weight: 500;
}
.f-results,
.evidence {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.evidence li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  min-width: 0;
}
.pg {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 8px;
  white-space: nowrap;
}
.where {
  font-weight: 600;
}
.snip {
  color: var(--muted);
}
.passes > summary {
  display: block;
  font-weight: 650;
  padding-inline-end: 18px;
}
.passes ul {
  list-style: none;
  margin: 0;
  padding: 0 18px 8px;
  border-top: 1px solid var(--line);
}
.passes li {
  display: grid;
  grid-template-columns: auto minmax(0, 14rem) minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding-block: 10px;
  border-top: 1px solid var(--line);
}
.passes li:first-child {
  border-top: 0;
}
.p-title {
  font-weight: 600;
}
.p-result {
  color: var(--muted);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.all-clear {
  color: var(--muted);
  margin: 0 0 10px;
}
.report-foot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}
.report-foot p {
  margin: 0 0 8px;
  max-width: 70ch;
}

/* ---- document pages */
.prose-wrap {
  max-width: 860px;
  padding-block: 48px 0;
}
.page-doc h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.page-doc h2 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.block {
  margin-top: 44px;
}
.block p,
.plain-list {
  max-width: 68ch;
}
.plain-list {
  padding-inline-start: 1.2em;
}
.plain-list li {
  margin-bottom: 8px;
}
.sample-banner {
  margin-bottom: 28px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--review-bg);
  color: var(--review);
  border: 1.5px solid var(--review);
  font-size: 0.9375rem;
}
.sample-banner strong {
  margin-inline-end: 8px;
  letter-spacing: 0.04em;
}
.status-chip {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.price {
  margin: 24px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price-num {
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-unit {
  color: var(--muted);
  font-size: 1.125rem;
}
.defs {
  margin: 0;
}
.defs > div {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 4px 28px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.defs > div:last-child {
  border-bottom: 1px solid var(--line);
}
.defs dt {
  font-weight: 700;
}
.defs dd {
  margin: 0;
  max-width: 64ch;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table.data {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.data th,
.data td {
  text-align: start;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.data thead th {
  border-top: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
.data tbody th {
  font-weight: 600;
}
.data tfoot th,
.data tfoot td {
  font-weight: 700;
  border-top: 2px solid var(--line);
}
.data .num {
  text-align: end;
  white-space: nowrap;
}
.funnel {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.funnel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.funnel-label {
  font-weight: 650;
  font-size: 1.0625rem;
}
.funnel-num {
  font-size: 1.75rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.bar-track {
  display: block;
  height: 14px;
  border-radius: 7px;
  background: var(--code-bg);
  margin-top: 6px;
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 7px;
}
.funnel-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.mail {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mail figcaption {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.mail-body {
  padding: 4px 18px 8px;
}
.code {
  background: var(--code-bg);
  border-radius: 12px;
  padding: 14px 16px;
  overflow-x: auto;
}
.code code {
  background: none;
  padding: 0;
}

/* ---- narrow screens */
@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 36px 8px;
  }
  .hero h1 {
    max-width: none;
  }
  .sponsor {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }
}
@media (max-width: 640px) {
  .field {
    flex-direction: column;
  }
  .field .btn {
    width: 100%;
  }
  .fact-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .area-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .area-counts {
    white-space: normal;
  }
  .finding > summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 14px;
  }
  .finding > summary::after {
    top: 22px;
  }
  .f-impact {
    justify-self: start;
  }
  .passes li {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .passes .p-result {
    grid-column: 2;
  }
  .defs > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-note {
    flex-basis: 100%;
  }
  .report-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  :root,
  :root[data-theme] {
    color-scheme: light;
    --bg: #fff !important;
    --surface: #fff !important;
    --ink: #000 !important;
    --muted: #333 !important;
    --line: #999 !important;
    --soft: #f1f1f1 !important;
    --on-soft: #000 !important;
    --accent-text: #000 !important;
    --fail: #8a1510 !important;
    --review: #6a3f00 !important;
    --pass: #0b5a2f !important;
    --fail-bg: #fff !important;
    --review-bg: #fff !important;
    --pass-bg: #fff !important;
  }
  .demo-bar,
  .skip-link,
  .check-form,
  .hero,
  .progress,
  .report-actions,
  .optin,
  .site-footer,
  .site-header .presenter {
    display: none !important;
  }
  .finding > summary::after {
    display: none;
  }
  .finding,
  .passes {
    break-inside: avoid;
  }
  .sponsor {
    grid-template-columns: minmax(0, 1fr);
    break-inside: avoid;
  }
  a {
    color: #000;
  }
  body {
    font-size: 11pt;
  }
}
