:root {
  --ink: #121412;
  --ink-2: #1f2723;
  --paper: #f7f1e3;
  --paper-2: #fffaf0;
  --line: #d8ccb8;
  --muted: #59615a;
  --acid: #c9ff4a;
  --coral: #ff6b4a;
  --blue: #2364aa;
  --mint: #58bd91;
  --amber: #f2bd42;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 20, 18, 0.18);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  overflow-x: hidden;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: grid;
  width: min(1120px, calc(100% - 28px));
  min-height: 58px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  background: rgba(18, 20, 18, 0.74);
  color: var(--paper-2);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand,
.topbar__cta,
.nav a,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
}

.brand__mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--acid);
  color: var(--ink);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.94rem;
}

.nav a:hover,
.topbar__cta:hover {
  color: var(--white);
}

.topbar__cta {
  display: inline-flex;
  min-width: 94px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 800;
}

.topbar svg,
.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: 42px;
  overflow: hidden;
  padding: 120px clamp(22px, 7vw, 96px) 78px;
  background: #101412;
  color: var(--paper-2);
  isolation: isolate;
}

.hero--service {
  min-height: 82svh;
  padding-bottom: 56px;
}

.hero--service h1 {
  max-width: 12ch;
  font-size: 5.4rem;
}

.hero__canvas,
.hero__texture {
  position: absolute;
  inset: 0;
}

.hero__canvas {
  width: 100%;
  height: 100%;
  z-index: -3;
}

.hero__texture {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 20, 18, 0.93) 0%, rgba(18, 20, 18, 0.76) 46%, rgba(18, 20, 18, 0.32) 100%),
    repeating-linear-gradient(0deg, rgba(255, 250, 240, 0.025), rgba(255, 250, 240, 0.025) 1px, transparent 1px, transparent 16px);
}

.hero__content {
  width: min(720px, 100%);
  animation: hero-rise 700ms ease-out both;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: 6.2rem;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 3.6rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h4 {
  margin-bottom: 12px;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__copy {
  max-width: 39rem;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.86);
  font-size: 1.24rem;
  line-height: 1.56;
}

.hero__actions,
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.service-tab:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.topbar__cta:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.button--primary {
  background: var(--acid);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--paper-2);
}

.button--ghost {
  border: 1px solid rgba(255, 250, 240, 0.46);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper-2);
}

.button--plain {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.hero__note {
  max-width: 36rem;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.68);
  line-height: 1.55;
}

.hero__safety {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero__safety li {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255, 250, 240, 0.06);
  color: rgba(255, 250, 240, 0.8);
  font-size: 0.82rem;
  font-weight: 760;
}

.hero__workbench {
  align-self: end;
  max-width: 440px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(8, 11, 10, 0.62);
  box-shadow: var(--shadow);
  animation: board-enter 820ms 120ms ease-out both;
  backdrop-filter: blur(12px);
}

.workbench__header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
}

.workbench__header span {
  padding: 12px 10px;
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.workbench__rows {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.row {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-left: 4px solid rgba(255, 250, 240, 0.22);
  padding: 0 12px;
  color: rgba(255, 250, 240, 0.76);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
}

.row--active {
  border-color: var(--amber);
}

.row--accent {
  border-color: var(--acid);
  color: var(--paper-2);
}

.intro,
.promise,
.services,
.product-band,
.afterpay,
.proof,
.process,
.safe,
.trust,
.conversion {
  padding: 84px clamp(22px, 7vw, 96px);
}

.product-band {
  padding-top: 34px;
  padding-bottom: 34px;
  background: var(--paper-2);
}

.product-band .proof-feature {
  margin-bottom: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(300px, 1fr);
  gap: 64px;
  background: var(--paper);
}

.intro p:not(.section-label),
.safe p,
.conversion p,
.service-detail p,
.proof-item p,
.process-steps p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.66;
}

.section-head {
  width: min(980px, 100%);
  margin-bottom: 36px;
}

.promise {
  background: #efe5d1;
  border-top: 1px solid var(--line);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(18, 20, 18, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
}

.promise-grid article {
  min-height: 240px;
  padding: 24px;
  border-right: 1px solid rgba(18, 20, 18, 0.14);
}

.promise-grid article:last-child {
  border-right: 0;
}

.promise-grid h3 {
  font-size: 1.28rem;
}

.promise-grid p,
.afterpay p,
.trust p {
  color: var(--muted);
  line-height: 1.62;
}

.services {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-shell {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.service-tabs {
  display: grid;
  align-content: start;
  gap: 10px;
}

.service-tab {
  min-height: 82px;
  display: grid;
  gap: 6px;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-tab:hover,
.service-tab.is-active {
  border-color: var(--ink);
  background: var(--acid);
  transform: translateX(4px);
}

.service-tab span {
  font-weight: 850;
}

.service-tab small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.service-detail {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(201, 255, 74, 0.12), rgba(255, 107, 74, 0.06) 42%, rgba(35, 100, 170, 0.08)),
    var(--paper);
}

.service-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.service-detail__meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 0.84rem;
  font-weight: 850;
}

.service-detail__meta span + span {
  background: var(--blue);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0;
}

.safety-callout {
  border-left: 4px solid var(--mint);
  padding: 12px 14px;
  background: rgba(88, 189, 145, 0.12);
  color: var(--ink) !important;
  font-weight: 740;
}

.service-detail ul,
.safe ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.service-note {
  margin: 18px 0 0;
  font-size: 0.96rem;
}

.afterpay {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(300px, 1fr);
  gap: 56px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.afterpay__steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.afterpay__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

.afterpay__steps span {
  grid-row: span 2;
  color: var(--coral);
  font-weight: 850;
}

.afterpay__steps strong {
  font-size: 1.1rem;
}

.afterpay__steps p {
  margin-bottom: 0;
}

.proof {
  background: #e9e1cf;
}

.proof-feature {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(320px, 1.35fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 28px;
  background: var(--ink);
  color: var(--paper-2);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.proof-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.proof-feature__heading {
  display: grid;
  gap: 12px;
}

.proof-feature__heading > span {
  color: var(--acid);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-feature strong {
  font-size: 1.7rem;
  line-height: 1.15;
}

.proof-feature p {
  margin: 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 1rem;
  line-height: 1.58;
}

.proof-feature__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--paper-2);
  font-weight: 850;
  white-space: nowrap;
}

.proof-feature__link svg {
  width: 18px;
  height: 18px;
}

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

.proof-item {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(18, 20, 18, 0.18);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper-2);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.proof-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.proof-item span {
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-item strong {
  margin: 18px 0;
  font-size: 1.34rem;
  line-height: 1.15;
}

.risk-sample {
  padding: 88px clamp(22px, 7vw, 96px);
  background: var(--paper-2);
}

.risk-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.risk-summary div {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.risk-summary div:last-child {
  border-right: 0;
}

.risk-summary span,
.risk-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.risk-summary strong {
  font-size: 1.18rem;
}

.risk-table {
  border-top: 2px solid var(--ink);
}

.risk-row {
  display: grid;
  grid-template-columns: 110px minmax(160px, 0.75fr) minmax(260px, 1.25fr) minmax(260px, 1.25fr);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.decision-row {
  grid-template-columns: minmax(150px, 0.55fr) minmax(280px, 1.45fr) minmax(260px, 1fr);
}

.risk-row > * {
  min-width: 0;
  padding: 20px 16px;
  line-height: 1.55;
}

.risk-row--head {
  background: var(--ink);
  color: var(--paper-2);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.severity {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.severity--critical {
  color: #b52c25;
}

.severity--high {
  color: #b05e00;
}

.severity--medium {
  color: var(--blue);
}

.risk-note {
  margin: 18px 0 0;
}

.process {
  background: var(--ink);
  color: var(--paper-2);
}

.process .section-label {
  color: var(--acid);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.process-steps article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid rgba(255, 250, 240, 0.18);
}

.process-steps article:last-child {
  border-right: 0;
}

.process-steps span {
  margin-bottom: auto;
  color: var(--acid);
  font-weight: 850;
}

.process-steps p {
  color: rgba(255, 250, 240, 0.7);
}

.safe {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(300px, 1fr);
  gap: 56px;
  background: var(--paper-2);
}

.safe__body {
  display: grid;
  gap: 20px;
}

.safe ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: 0;
  list-style: none;
}

.safe li {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-left: 4px solid var(--mint);
  padding-left: 14px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 760;
}

.trust {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(300px, 1fr);
  gap: 56px;
  background: #efe5d1;
  border-top: 1px solid var(--line);
}

.trust__body {
  display: grid;
  gap: 22px;
}

.trust-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trust-links a {
  min-height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(18, 20, 18, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--paper-2);
  font-weight: 800;
  text-decoration: none;
}

.trust-links a:hover {
  border-color: var(--ink);
  background: var(--acid);
}

.conversion {
  min-height: 520px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 20, 18, 0.92), rgba(18, 20, 18, 0.74)),
    repeating-linear-gradient(90deg, rgba(201, 255, 74, 0.08), rgba(201, 255, 74, 0.08) 1px, transparent 1px, transparent 72px),
    var(--ink);
  color: var(--paper-2);
}

.conversion__content {
  width: min(760px, 100%);
}

.conversion p {
  max-width: 40rem;
  color: rgba(255, 250, 240, 0.76);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(22px, 7vw, 96px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--ink);
}

.legal {
  width: min(840px, calc(100% - 44px));
  margin: 0 auto;
  padding: 86px 0;
}

.legal__back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--coral);
  font-weight: 850;
  text-decoration: none;
}

.legal h1 {
  max-width: 100%;
  color: var(--ink);
  font-size: 4.5rem;
}

.legal h2 {
  margin: 40px 0 12px;
  font-size: 1.7rem;
}

.legal p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.reveal {
  opacity: 1;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes board-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 108px;
  }

  h1 {
    font-size: 4.6rem;
  }

  .hero--service h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero__workbench {
    width: min(100%, 620px);
    max-width: none;
  }

  .intro,
  .afterpay,
  .service-shell,
  .safe,
  .trust {
    grid-template-columns: 1fr;
  }

  .proof-list,
  .promise-grid,
  .process-steps,
  .risk-summary {
    grid-template-columns: 1fr;
  }

  .proof-feature {
    grid-template-columns: 1fr;
  }

  .risk-summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .risk-summary div:last-child {
    border-bottom: 0;
  }

  .risk-row {
    grid-template-columns: 1fr 1fr;
  }

  .decision-row {
    grid-template-columns: 1fr;
  }

  .risk-row--head {
    display: none;
  }

  .risk-row > *::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .promise-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 20, 18, 0.14);
  }

  .promise-grid article:last-child {
    border-bottom: 0;
  }

  .process-steps article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  }

  .process-steps article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 8px;
    width: calc(100% - 16px);
  }

  .brand span:last-child {
    display: none;
  }

  .topbar__cta {
    min-width: 76px;
  }

  .hero {
    min-height: 90svh;
    padding: 98px 18px 58px;
  }

  .hero--service {
    min-height: 82svh;
    padding-bottom: 38px;
  }

  .hero--service h1 {
    max-width: 11ch;
    font-size: 3rem;
  }

  .hero--service .hero__workbench {
    display: none;
  }

  h1 {
    max-width: 9ch;
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.55rem;
  }

  .hero__copy {
    font-size: 1.08rem;
  }

  .hero__actions,
  .service-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .intro,
  .promise,
  .services,
  .product-band,
  .afterpay,
  .proof,
  .risk-sample,
  .process,
  .safe,
  .trust,
  .conversion {
    padding: 60px 18px;
  }

  .service-detail {
    padding: 22px;
  }

  .service-detail__grid,
  .safe ul,
  .trust-links {
    grid-template-columns: 1fr;
  }

  .afterpay__steps li {
    grid-template-columns: 1fr;
  }

  .afterpay__steps span {
    grid-row: auto;
  }

  .proof-item {
    min-height: 220px;
  }

  .proof-feature {
    padding: 22px;
  }

  .proof-feature__link {
    white-space: normal;
  }

  .risk-row {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .risk-row > * {
    padding: 9px 12px;
  }

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

  .footer__links {
    justify-content: flex-start;
  }
}

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

.report-page {
  background: #f4f5ef;
}

.report-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 118px 0 72px;
}

.report-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 54px;
  align-items: end;
  padding: 54px 0 46px;
  border-bottom: 1px solid #bcc4bd;
}

.report-masthead h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.92;
}

.report-lede {
  max-width: 46rem;
  margin-bottom: 0;
  color: #455049;
  font-size: 1.16rem;
  line-height: 1.65;
}

.report-meta {
  margin: 0;
  border-top: 1px solid #79847d;
}

.report-meta div {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #cbd1cb;
}

.report-meta dt {
  color: #68736c;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.report-meta dd {
  margin: 0;
  font-weight: 760;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 92px;
  border-bottom: 1px solid #bcc4bd;
}

.metric-strip article {
  min-height: 156px;
  padding: 30px 26px;
  border-right: 1px solid #bcc4bd;
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-strip span {
  display: block;
  margin-bottom: 18px;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.metric-strip p {
  max-width: 13rem;
  margin: 0;
  color: #526058;
  line-height: 1.45;
}

.metric-strip__alert {
  background: #ffdfd6;
}

.report-section {
  padding: 86px 0;
}

.report-section__head {
  max-width: 760px;
  margin-bottom: 42px;
}

.report-section__head h2,
.report-boundary h2,
.decision-panel h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid #aeb8b0;
  border-radius: 8px;
  background: #fff;
}

.table-scroll:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.evidence-table {
  width: 100%;
  min-width: 930px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.evidence-table caption {
  padding: 16px 18px;
  border-bottom: 1px solid #d6dcd7;
  color: #5a665f;
  text-align: left;
}

.evidence-table th,
.evidence-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #e0e4e0;
  text-align: left;
  vertical-align: top;
}

.evidence-table th {
  background: #1b211e;
  color: #f9faef;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.evidence-table tbody tr:last-child td {
  border-bottom: 0;
}

.evidence-table code,
.control-grid code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.84em;
}

.status {
  display: inline-flex;
  min-width: 58px;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status--pass {
  background: #d9f4df;
  color: #155b32;
}

.status--review {
  background: #fff0bd;
  color: #684900;
}

.status--fail,
.status--hold {
  background: #ffd8d1;
  color: #7a2518;
}

.report-note {
  max-width: 800px;
  margin: 22px 0 0;
  color: #4e5a53;
  line-height: 1.65;
}

.report-section--dark {
  width: calc(100% + 72px);
  margin-left: -36px;
  padding: 86px 36px;
  background: #171d1a;
  color: #f6f5ea;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(246, 245, 234, 0.24);
  border-left: 1px solid rgba(246, 245, 234, 0.24);
}

.control-grid article {
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid rgba(246, 245, 234, 0.24);
  border-bottom: 1px solid rgba(246, 245, 234, 0.24);
}

.control-grid__index {
  color: var(--acid);
  font-size: 0.82rem;
  font-weight: 900;
}

.control-grid h3 {
  margin-top: 42px;
}

.control-grid p {
  min-height: 118px;
  color: rgba(246, 245, 234, 0.72);
  line-height: 1.6;
}

.control-grid strong,
.control-grid code {
  display: block;
}

.control-grid strong {
  margin-bottom: 8px;
  color: #aab5ad;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.decision-panel,
.report-boundary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 64px;
  padding: 44px 0;
  border-top: 1px solid #89948c;
  border-bottom: 1px solid #89948c;
}

.decision-panel__body p,
.decision-panel__body li,
.report-boundary > p {
  color: #455049;
  line-height: 1.65;
}

.decision-panel__body ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.decision-panel__body li + li {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .report-masthead,
  .decision-panel,
  .report-boundary {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .metric-strip article:nth-child(2) {
    border-right: 0;
  }

  .metric-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid #bcc4bd;
  }

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

@media (max-width: 640px) {
  .report-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 94px;
  }

  .report-masthead {
    padding-top: 32px;
  }

  .report-masthead h1 {
    font-size: 3rem;
  }

  .metric-strip {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .metric-strip article,
  .metric-strip article:nth-child(2) {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid #bcc4bd;
  }

  .metric-strip article:last-child {
    border-bottom: 0;
  }

  .report-section {
    padding: 58px 0;
  }

  .report-section--dark {
    width: calc(100% + 28px);
    margin-left: -14px;
    padding: 58px 14px;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

  .control-grid article {
    min-height: 0;
  }

  .control-grid p {
    min-height: 0;
  }
}
