@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light dark;
  --bg: #edf1f5;
  --bg-strong: #e5ebf2;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: #f6f8fb;
  --surface-dark: #0f1724;
  --surface-dark-2: #162133;
  --ink: #0f1827;
  --ink-soft: #324158;
  --muted: #5f6d83;
  --line: rgba(15, 24, 39, 0.1);
  --line-strong: rgba(15, 24, 39, 0.16);
  --teal: #1db9b3;
  --teal-soft: rgba(29, 185, 179, 0.12);
  --teal-strong: #0f8e89;
  --amber: #d08d17;
  --amber-soft: rgba(208, 141, 23, 0.14);
  --coral: #dc5b49;
  --coral-soft: rgba(220, 91, 73, 0.12);
  --green: #179a63;
  --green-soft: rgba(23, 154, 99, 0.12);
  --navy: #162337;
  --navy-soft: #21314a;
  --shadow-lg: 0 24px 70px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 14px 36px rgba(17, 24, 39, 0.06);
  --radius-xl: 12px;
  --radius-lg: 10px;
  --radius-md: 8px;
  --radius-sm: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    linear-gradient(180deg, #fbfcfd 0%, #f1f5f8 52%, #e8edf3 100%);
  color: var(--ink);
  font: 16px/1.65 "Manrope", "Segoe UI", sans-serif;
}

body.page-home {
  background:
    linear-gradient(180deg, #fbfcfd 0%, #f1f5f8 52%, #e8edf3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(15, 24, 39, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 24, 39, 0.024) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 78%);
}

body.page-report,
body.page-preview,
body.page-legal,
body.page-thanks {
  background:
    radial-gradient(circle at top left, rgba(29, 185, 179, 0.06), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f6 60%, #e7edf3 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

main,
.site-shell {
  position: relative;
  z-index: 1;
}

.section {
  padding: 26px 18px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.topbar,
.hero-grid,
.action-row,
.stat-grid,
.card-grid-2,
.card-grid-3,
.footer-row,
.bullet-list,
.mini-list,
.report-layout,
.finding-list,
.score-grid,
.chip-row,
.check-list,
.legal-grid,
.thanks-grid,
.timeline,
.detail-grid {
  display: grid;
  gap: 18px;
}

.topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(15, 24, 39, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-kicker,
.eyebrow,
.chip,
.data-label,
.severity-pill,
.nav-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font: 700 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-wordmark {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.brand-sub,
.hero-note,
.support-copy,
.card p,
.panel p,
.finding-card p,
.summary-copy,
.stat-copy,
.small-copy,
li {
  color: var(--muted);
}

.brand-sub,
.hero-note,
.small-copy {
  font-size: 14px;
}

.page-home .brand-kicker {
  display: none;
}

.eyebrow {
  background: var(--teal-soft);
  color: var(--teal-strong);
  border-color: rgba(29, 185, 179, 0.18);
}

.nav-link {
  background: rgba(255, 255, 255, 0.64);
}

.top-note {
  max-width: 340px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 14px;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.theme-toggle button {
  min-width: 58px;
  min-height: 34px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 800 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theme-toggle button.is-active {
  background: var(--navy);
  color: #f7fbff;
  box-shadow: 0 10px 24px rgba(22, 35, 55, 0.16);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}

.hero-grid-feature {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: center;
}

.hero-copy,
.stack {
  display: grid;
  gap: 18px;
}

.headline {
  max-width: 11ch;
  font-size: clamp(3.3rem, 5.5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.title-lg {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.title-md {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.lede {
  max-width: 38rem;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.support-copy {
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.62;
}

.proof-route {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-md);
}

.proof-route span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(29, 185, 179, 0.1);
  color: var(--teal-strong);
  font: 800 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-route span + span::before {
  content: "";
  position: absolute;
  left: -10px;
  width: 10px;
  height: 1px;
  background: var(--line-strong);
}

.action-row {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.btn-primary {
  background: var(--navy);
  color: #f7fbff;
  box-shadow: 0 14px 34px rgba(22, 35, 55, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost {
  background: var(--teal-soft);
  color: var(--teal-strong);
  border-color: rgba(29, 185, 179, 0.16);
}

.panel,
.stat-card,
.finding-card,
.score-card,
.legal-card,
.thankyou-card,
.hero-preview,
.note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.panel,
.finding-card,
.score-card,
.legal-card,
.thankyou-card,
.hero-preview,
.note-card {
  padding: 24px;
}

.panel-dark {
  background: linear-gradient(180deg, #131d2d 0%, #1b273b 100%);
  color: #f5f8fc;
  border-color: rgba(255, 255, 255, 0.06);
}

.panel-dark p,
.panel-dark li,
.panel-dark .small-copy,
.panel-dark .support-copy {
  color: rgba(237, 243, 252, 0.84);
}

.panel-dark .chip,
.panel-dark .eyebrow,
.panel-dark .nav-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(237, 243, 252, 0.86);
}

.panel-dark .stat-card,
.panel-dark .detail-item,
.panel-dark .note-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.panel-dark .stat-value,
.panel-dark .detail-item,
.panel-dark .note-card p,
.panel-dark .note-card strong {
  color: #f5f8fc;
}

.panel-dark .stat-copy,
.panel-dark .detail-label {
  color: rgba(237, 243, 252, 0.66);
}

.panel-dark .btn-primary {
  background: var(--teal);
  color: #04282a;
  box-shadow: none;
}

.panel-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f8fc;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-preview {
  padding: 16px;
  align-self: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.96));
}

.hero-art {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(29, 185, 179, 0.22);
  border-radius: var(--radius-xl);
  background: #f8fafc;
  box-shadow:
    0 28px 80px rgba(17, 24, 39, 0.12),
    0 0 0 8px rgba(29, 185, 179, 0.035);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.42) 0%, rgba(248, 250, 252, 0.12) 34%, rgba(248, 250, 252, 0) 72%),
    linear-gradient(180deg, rgba(15, 24, 39, 0) 0%, rgba(15, 24, 39, 0.18) 100%);
}

.hero-art-img {
  display: none;
}

.hero-art-img-day {
  display: block;
}

.hero-art img,
.hero-art-img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center;
}

.hero-art-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: grid;
  gap: 4px;
  max-width: 260px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  background: rgba(15, 24, 39, 0.68);
  color: #f7fbff;
  box-shadow: 0 18px 46px rgba(15, 24, 39, 0.22);
  backdrop-filter: blur(16px);
}

.hero-art-badge span {
  color: #8ff1ec;
  font: 800 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-art-badge strong {
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-art-overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100% - 48px));
}

.audit-meter {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(15, 24, 39, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(15, 24, 39, 0.12);
  backdrop-filter: blur(12px);
}

.audit-meter span {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 24, 39, 0.08);
}

.audit-meter span::before {
  content: "";
  display: block;
  width: var(--meter);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
}

.audit-card,
.audit-chip {
  border: 1px solid rgba(15, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(15, 24, 39, 0.12);
  backdrop-filter: blur(12px);
}

.audit-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius-lg);
}

.audit-card strong {
  font-size: 1.16rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.audit-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.audit-card-label {
  font: 700 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.audit-card-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.audit-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 999px;
  font: 800 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-chip.tone-red {
  color: var(--coral);
  background: rgba(255, 245, 247, 0.9);
}

.audit-chip.tone-amber {
  color: var(--amber);
  background: rgba(255, 249, 235, 0.9);
}

.audit-chip.tone-green {
  color: var(--green);
  background: rgba(239, 253, 246, 0.9);
}

.hero-preview img,
.preview-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(15, 24, 39, 0.08);
  background: #ffffff;
}

.hero-preview img {
  max-height: 720px;
  object-fit: cover;
  object-position: top;
}

.preview-caption {
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  min-height: 88px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 252, 0.95));
}

.stat-value {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.stat-copy {
  font-size: 14px;
  line-height: 1.38;
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.mini-list,
.bullet-list,
.check-list,
.timeline,
.detail-grid {
  align-content: start;
}

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

.bullet-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.check-list {
  gap: 12px;
}

.check-item,
.timeline-item,
.detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.check-mark,
.timeline-index {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-strong);
  font: 700 14px/1 "IBM Plex Mono", monospace;
}

.detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-item {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  grid-template-columns: 1fr;
  gap: 6px;
}

.detail-label {
  font: 600 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section-head .support-copy {
  max-width: 42rem;
}

.chip-row {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: start;
}

.report-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

.score-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.score-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.96));
}

.score-card strong,
.finding-meta strong {
  display: block;
  margin-bottom: 10px;
  font: 600 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.score-card h3 {
  margin-bottom: 6px;
  font-size: 2rem;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.tone-red strong,
.tone-red h3,
.severity-high {
  color: var(--coral);
}

.tone-amber strong,
.tone-amber h3,
.severity-medium {
  color: var(--amber);
}

.tone-green strong,
.tone-green h3,
.severity-low,
.severity-clear {
  color: var(--green);
}

.finding-list {
  margin-top: 6px;
}

.finding-card {
  display: grid;
  gap: 18px;
}

.finding-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.finding-head h3 {
  font-size: 1.8rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.severity-pill {
  align-self: start;
}

.evidence-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.evidence-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font: 600 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.evidence-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.callout {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-soft);
  font-weight: 600;
}

.footer-row {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-row a {
  color: var(--ink-soft);
}

.preview-shot {
  display: grid;
  gap: 14px;
}

.preview-shot img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.subtle-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.legal-grid,
.thanks-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.legal-card h2,
.thankyou-card h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-card h2:first-of-type,
.thankyou-card h3:first-of-type {
  margin-top: 0;
}

.list-tight {
  padding-left: 20px;
}

.list-tight li {
  margin-bottom: 8px;
}

.motion-rise {
  animation: rise 520ms ease both;
}

.delay-1 {
  animation-delay: 90ms;
}

.delay-2 {
  animation-delay: 150ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-color-scheme: dark) {
  body.page-home {
    --surface: rgba(23, 34, 53, 0.92);
    --surface-strong: #172235;
    --surface-soft: #111b2b;
    --ink: #f6f9fc;
    --ink-soft: rgba(246, 249, 252, 0.78);
    --muted: rgba(226, 235, 247, 0.66);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --navy: #1db9b3;
    --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.2);
    background: linear-gradient(180deg, #0f1724 0%, #121d2d 58%, #0d1521 100%);
  }

  body.page-home::before {
    opacity: 0.12;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  }

  .page-home .brand-mark,
  .page-home .top-note,
  .page-home .panel,
  .page-home .stat-card,
  .page-home .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line);
  }

  .page-home .brand-mark {
    box-shadow: none;
  }

  .page-home .brand-mark rect {
    fill: #f6f9fc;
  }

  .page-home .btn-primary {
    color: #04282a;
    background: var(--teal);
    box-shadow: none;
  }

  .page-home .btn-secondary {
    color: #f6f9fc;
  }

  .page-home .hero-art {
    background: #172235;
  }

  .page-home .hero-art-img-day {
    display: none;
  }

  .page-home .hero-art-img-night {
    display: block;
  }

  .page-home .hero-art::after {
    background:
      linear-gradient(90deg, rgba(15, 23, 36, 0.78) 0%, rgba(15, 23, 36, 0.34) 36%, rgba(15, 23, 36, 0.04) 72%),
      linear-gradient(180deg, rgba(15, 23, 36, 0) 0%, rgba(15, 23, 36, 0.24) 100%);
  }

  .page-home .audit-card,
  .page-home .audit-chip,
  .page-home .audit-meter {
    color: #101827;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .page-home .audit-card span {
    color: #5f6d83;
  }

  .page-home .audit-card-label {
    color: var(--teal-strong);
  }
}

body.page-home[data-theme="day"] {
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: #f6f8fb;
  --ink: #0f1827;
  --ink-soft: #324158;
  --muted: #5f6d83;
  --line: rgba(15, 24, 39, 0.1);
  --line-strong: rgba(15, 24, 39, 0.16);
  --navy: #162337;
  --shadow-lg: 0 24px 70px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 14px 36px rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, #fbfcfd 0%, #f1f5f8 52%, #e8edf3 100%);
}

body.page-home[data-theme="day"]::before {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(15, 24, 39, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 24, 39, 0.024) 1px, transparent 1px);
}

body.page-home[data-theme="day"] .brand-mark,
body.page-home[data-theme="day"] .top-note,
body.page-home[data-theme="day"] .theme-toggle,
body.page-home[data-theme="day"] .proof-route,
body.page-home[data-theme="day"] .panel:not(.panel-dark),
body.page-home[data-theme="day"] .stat-card,
body.page-home[data-theme="day"] .btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

body.page-home[data-theme="day"] .brand-mark rect {
  fill: #162337;
}

body.page-home[data-theme="day"] .hero-art-img-day {
  display: block;
}

body.page-home[data-theme="day"] .hero-art-img-night {
  display: none;
}

body.page-home[data-theme="night"] {
  --surface: rgba(23, 34, 53, 0.92);
  --surface-strong: #172235;
  --surface-soft: #111b2b;
  --ink: #f6f9fc;
  --ink-soft: rgba(246, 249, 252, 0.78);
  --muted: rgba(226, 235, 247, 0.66);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --navy: #1db9b3;
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #0f1724 0%, #121d2d 58%, #0d1521 100%);
}

body.page-home[data-theme="night"]::before {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

body.page-home[data-theme="night"] .brand-mark,
body.page-home[data-theme="night"] .top-note,
body.page-home[data-theme="night"] .theme-toggle,
body.page-home[data-theme="night"] .proof-route,
body.page-home[data-theme="night"] .panel,
body.page-home[data-theme="night"] .stat-card,
body.page-home[data-theme="night"] .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

body.page-home[data-theme="night"] .brand-mark {
  box-shadow: none;
}

body.page-home[data-theme="night"] .brand-mark rect {
  fill: #f6f9fc;
}

body.page-home[data-theme="night"] .btn-primary,
body.page-home[data-theme="night"] .theme-toggle button.is-active {
  color: #04282a;
  background: var(--teal);
  box-shadow: none;
}

body.page-home[data-theme="night"] .btn-secondary {
  color: #f6f9fc;
}

body.page-home[data-theme="night"] .hero-art {
  background: #172235;
}

body.page-home[data-theme="night"] .hero-art-img-day {
  display: none;
}

body.page-home[data-theme="night"] .hero-art-img-night {
  display: block;
}

body.page-home[data-theme="night"] .hero-art::after {
  background:
    linear-gradient(90deg, rgba(15, 23, 36, 0.28) 0%, rgba(15, 23, 36, 0.08) 36%, rgba(15, 23, 36, 0.02) 72%),
    linear-gradient(180deg, rgba(15, 23, 36, 0) 0%, rgba(15, 23, 36, 0.2) 100%);
}

body.page-home[data-theme="night"] .audit-card,
body.page-home[data-theme="night"] .audit-chip,
body.page-home[data-theme="night"] .audit-meter {
  color: #101827;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
}

body.page-home[data-theme="night"] .audit-card span {
  color: #5f6d83;
}

body.page-home[data-theme="night"] .audit-card-label {
  color: var(--teal-strong);
}

/* Homepage inspiration pass: product artifact first, image as evidence layer. */
.page-home .hero-stage {
  padding-top: 26px;
  padding-bottom: 30px;
  overflow: hidden;
}

.page-home .hero-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  z-index: -1;
  background:
    linear-gradient(112deg, rgba(29, 185, 179, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(237, 243, 248, 0));
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.home-hero-v4 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.22fr);
  gap: 34px;
  align-items: center;
}

.home-hero-v4::before {
  content: "";
  position: absolute;
  inset: -28px -34px -24px 45%;
  z-index: -1;
  border: 1px solid rgba(29, 185, 179, 0.16);
  background:
    linear-gradient(rgba(15, 24, 39, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 24, 39, 0.038) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(219, 239, 242, 0.42));
  background-size: 26px 26px, 26px 26px, auto;
  border-radius: 18px;
  transform: skewY(-1.5deg);
  box-shadow: 0 32px 90px rgba(17, 24, 39, 0.08);
}

.hero-copy-v4 {
  align-self: center;
  gap: 20px;
  padding: 10px 0 18px;
}

.hero-copy-v4 .headline {
  max-width: 10.5ch;
}

.hero-copy-v4 .lede {
  max-width: 40rem;
}

.hero-claim-row {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
}

.hero-claim-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(29, 185, 179, 0.1);
  color: var(--teal-strong);
  font: 800 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-mini-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
}

.hero-mini-proof article {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 252, 0.84));
  box-shadow: var(--shadow-md);
}

.audit-product {
  position: relative;
  min-width: 0;
}

.audit-product::before,
.audit-product::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(29, 185, 179, 0.18);
  border-radius: 18px;
}

.audit-product::before {
  inset: 22px -16px -18px 34px;
  z-index: -2;
  background: rgba(29, 185, 179, 0.08);
}

.audit-product::after {
  inset: -16px 32px 28px -18px;
  z-index: -1;
  background: rgba(255, 255, 255, 0.44);
}

.audit-window {
  overflow: hidden;
  border: 1px solid rgba(15, 24, 39, 0.14);
  border-radius: 16px;
  background: #0f1724;
  color: #f8fbff;
  box-shadow:
    0 36px 110px rgba(15, 24, 39, 0.18),
    0 0 0 8px rgba(255, 255, 255, 0.48);
}

.audit-window-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: rgba(248, 251, 255, 0.74);
  font: 700 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.window-dots span:nth-child(1) {
  background: #dc5b49;
}

.window-dots span:nth-child(2) {
  background: #d08d17;
}

.window-dots span:nth-child(3) {
  background: #1db9b3;
}

.audit-window-status {
  color: #8ff1ec;
}

.audit-window-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 118px;
  min-height: 560px;
}

.audit-sidebar,
.audit-rail {
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.audit-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.audit-sidebar strong,
.rail-score span,
.evidence-meta,
.signal-label,
.artifact-index {
  font: 800 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audit-sidebar strong,
.rail-score span,
.evidence-meta {
  color: rgba(248, 251, 255, 0.52);
}

.audit-sidebar span {
  display: block;
  padding: 11px 10px;
  border-radius: 8px;
  color: rgba(248, 251, 255, 0.66);
  font-size: 13px;
  line-height: 1.2;
}

.audit-sidebar span.is-active {
  background: rgba(29, 185, 179, 0.16);
  color: #8ff1ec;
}

.audit-main {
  min-width: 0;
  padding: 14px;
}

.scene-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 23, 36, 0.08), rgba(15, 23, 36, 0.58)),
    linear-gradient(90deg, rgba(15, 23, 36, 0.38), rgba(15, 23, 36, 0));
}

.scene-card .hero-art-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
}

.scan-pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(15, 23, 36, 0.78);
  color: #f8fbff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  font: 800 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pin-one {
  left: 34px;
  bottom: 82px;
}

.pin-two {
  right: 34px;
  top: 42px;
  color: #ffd1c9;
}

.evidence-stack {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: -56px;
  padding: 0 16px 2px;
}

.evidence-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.94);
  color: #101827;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.evidence-card strong {
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.evidence-card p {
  color: #5f6d83;
  font-size: 13px;
  line-height: 1.42;
}

.evidence-card .evidence-meta {
  color: var(--teal-strong);
}

.evidence-card-hot {
  border-color: rgba(220, 91, 73, 0.36);
}

.evidence-card-hot .evidence-meta {
  color: var(--coral);
}

.audit-rail {
  display: grid;
  align-content: start;
  gap: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.rail-score {
  display: grid;
  gap: 8px;
}

.rail-score strong {
  font-size: 3.5rem;
  line-height: 0.86;
  letter-spacing: -0.08em;
  color: #8ff1ec;
}

.rail-bars {
  display: grid;
  gap: 8px;
}

.rail-bars span {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.rail-bars span::before {
  content: "";
  display: block;
  width: var(--meter);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
}

.rail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rail-tags span {
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 251, 255, 0.72);
  font-size: 12px;
  line-height: 1;
}

.section-tight {
  padding-top: 0;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.signal-strip > div {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
}

.signal-strip > div + div {
  border-left: 1px solid var(--line);
}

.signal-label {
  color: var(--teal-strong);
}

.signal-strip strong {
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-head-wide {
  grid-template-columns: 0.42fr 1fr;
  align-items: end;
  column-gap: 42px;
}

.section-head-wide .eyebrow {
  align-self: start;
}

.artifact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.artifact-panel {
  position: relative;
  min-height: 270px;
  display: grid;
  align-content: end;
  gap: 14px;
  overflow: hidden;
}

.artifact-panel::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(29, 185, 179, 0.18);
  transform: rotate(-8deg);
  background:
    linear-gradient(rgba(15, 24, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.52;
}

.artifact-panel:first-child {
  min-height: 340px;
}

.artifact-panel h3 {
  position: relative;
  z-index: 1;
  max-width: 14rem;
  font-size: 1.6rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.artifact-panel p,
.artifact-panel .eyebrow {
  position: relative;
  z-index: 1;
}

.artifact-index {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(15, 24, 39, 0.22);
  font-size: 3.8rem;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.issue-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
  gap: 16px;
}

.issue-board-lead {
  grid-row: span 2;
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(22, 35, 55, 0.96), rgba(14, 24, 39, 0.96)),
    var(--surface-dark);
  color: #f8fbff;
}

.issue-board-lead h3 {
  max-width: 11ch;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.issue-board-lead p {
  color: rgba(237, 243, 252, 0.76);
}

.issue-card {
  min-height: 202px;
}

.issue-card h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.report-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.report-card-large {
  display: grid;
  gap: 18px;
}

.report-card-large .preview-image {
  max-height: 470px;
  object-fit: cover;
  object-position: top;
}

.preview-callout {
  display: grid;
  align-content: center;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(29, 185, 179, 0.08), rgba(255, 255, 255, 0.88));
}

body.page-home[data-theme="night"] .hero-stage::before {
  background:
    linear-gradient(112deg, rgba(29, 185, 179, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(26, 40, 61, 0.84), rgba(13, 21, 33, 0));
}

body.page-home[data-theme="night"] .home-hero-v4::before {
  border-color: rgba(29, 185, 179, 0.18);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(34, 49, 73, 0.72), rgba(14, 22, 35, 0.42));
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
}

body.page-home[data-theme="night"] .hero-claim-row,
body.page-home[data-theme="night"] .hero-mini-proof article,
body.page-home[data-theme="night"] .signal-strip {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

body.page-home[data-theme="night"] .audit-product::after {
  background: rgba(255, 255, 255, 0.05);
}

body.page-home[data-theme="night"] .audit-window {
  border-color: rgba(143, 241, 236, 0.26);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.34),
    0 0 0 8px rgba(29, 185, 179, 0.08);
}

body.page-home[data-theme="night"] .artifact-panel::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

body.page-home[data-theme="night"] .artifact-index {
  color: rgba(255, 255, 255, 0.18);
}

body.page-home[data-theme="night"] .preview-callout {
  background: linear-gradient(180deg, rgba(29, 185, 179, 0.11), rgba(255, 255, 255, 0.06));
}

@media (max-width: 1100px) {
  .hero-grid,
  .hero-grid-feature,
  .report-layout,
  .legal-grid,
  .thanks-grid {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .hero-art img {
    min-height: 480px;
  }

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

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

  .home-hero-v4,
  .report-preview-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-v4::before {
    inset: 34% -18px -20px -18px;
  }

  .audit-window-body {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .audit-rail {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .issue-board,
  .artifact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .issue-board-lead,
  .artifact-panel:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 18px 14px;
  }

  .topbar,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .topbar {
    justify-items: start;
  }

  .top-actions,
  .top-note,
  .theme-toggle {
    width: 100%;
  }

  .top-actions {
    justify-content: stretch;
  }

  .brand {
    align-items: start;
  }

  .headline {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 3.7rem);
  }

  .title-lg {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .title-md,
  .finding-head h3 {
    font-size: 1.55rem;
  }

  .action-row,
  .chip-row {
    grid-auto-flow: row;
    grid-auto-columns: unset;
  }

  .btn {
    width: 100%;
  }

  .stat-grid,
  .card-grid-2,
  .card-grid-3,
  .bullet-list,
  .mini-list,
  .detail-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .finding-head {
    flex-direction: column;
  }

  .hero-preview,
  .hero-art,
  .panel,
  .finding-card,
  .score-card,
  .legal-card,
  .thankyou-card {
    padding: 20px;
  }

  .hero-art {
    min-height: 520px;
    padding: 0;
  }

  .hero-art::after {
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 0.12) 0%, rgba(248, 250, 252, 0.88) 68%),
      linear-gradient(180deg, rgba(15, 24, 39, 0) 0%, rgba(15, 24, 39, 0.08) 100%);
  }

  .hero-art img {
    min-height: 520px;
    object-position: 58% center;
  }

  .hero-art-badge {
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
  }

  .hero-art-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .page-home .hero-stage {
    padding-top: 18px;
  }

  .top-note {
    max-width: none;
  }

  .hero-mini-proof,
  .signal-strip,
  .section-head-wide,
  .artifact-grid,
  .issue-board,
  .report-preview-grid {
    grid-template-columns: 1fr;
  }

  .section-head-wide {
    align-items: start;
  }

  .home-hero-v4 {
    gap: 24px;
  }

  .home-hero-v4::before {
    inset: 40% -14px -14px -14px;
    border-radius: 14px;
  }

  .hero-claim-row {
    width: 100%;
    border-radius: 12px;
  }

  .hero-claim-row span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero-mini-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-mini-proof article {
    min-height: 78px;
    padding: 11px;
  }

  .hero-mini-proof .stat-value {
    font-size: 1.55rem;
    letter-spacing: -0.05em;
  }

  .hero-mini-proof .stat-copy {
    font-size: 12px;
    line-height: 1.25;
  }

  .audit-window {
    border-radius: 12px;
  }

  .audit-window-top {
    grid-template-columns: auto 1fr;
  }

  .audit-window-status {
    display: none;
  }

  .audit-window-body {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .audit-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .audit-sidebar strong {
    grid-column: 1 / -1;
  }

  .scene-card,
  .scene-card .hero-art-img {
    min-height: 320px;
    height: 320px;
  }

  .scan-pin {
    font-size: 9px;
  }

  .pin-one {
    left: 16px;
    bottom: 64px;
  }

  .pin-two {
    right: 16px;
    top: 20px;
  }

  .evidence-stack {
    grid-template-columns: 1fr;
    margin-top: -42px;
    padding: 0 10px 10px;
  }

  .audit-rail {
    grid-template-columns: 1fr;
  }

  .rail-score strong {
    font-size: 3rem;
  }

  .signal-strip > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .artifact-panel,
  .artifact-panel:first-child,
  .issue-board-lead {
    min-height: 260px;
  }

  .issue-board-lead h3 {
    max-width: 100%;
  }
}
