:root {
  color-scheme: dark;
  --ink: #0d0c0e;
  --ink-raised: #151318;
  --white: #ffffff;
  --muted: #c9c5cf;
  --crimson: #c91439;
  --blue: #176fe8;
  --gold: #e6c612;
  --purple: #8736d6;
  --orange: #d96212;
  --line: #3c3742;
  --display: "Newsreader", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --measure: 72ch;
  --wrap: 1280px;
  --section-gap: clamp(4rem, 8vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 84% 8%, rgb(135 54 214 / 20%), transparent 24rem),
    radial-gradient(circle at 14% 52%, rgb(201 20 57 / 13%), transparent 30rem),
    var(--ink);
  content: "";
}

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

a {
  color: #69a3ff;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--white);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-variation-settings: "opsz" 58, "wght" 760;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h1,
h2 {
  text-shadow: 0.1em 0.1em 0 rgb(201 20 57 / 32%), -0.08em -0.06em 0 rgb(23 111 232 / 22%);
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

h4 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.u-wrap {
  width: min(100% - 3rem, var(--wrap));
  margin-inline: auto;
}

.u-grid {
  display: grid;
}

.u-stack > * + * {
  margin-top: 1.25rem;
}

.u-reading {
  max-width: var(--measure);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  transform: translateY(-200%);
  border: 3px solid var(--white);
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1.5rem;
  border-bottom: 3px solid var(--white);
}

.site-mark,
.split-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.site-mark {
  gap: 0.75rem;
  letter-spacing: -0.02em;
}

.site-mark__pulse {
  width: 1.1rem;
  height: 1.1rem;
  transform: rotate(45deg);
  border: 3px solid var(--gold);
  box-shadow: 0 0 24px rgb(230 198 18 / 65%);
}

.split-nav,
.split-nav__group {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.split-nav a {
  padding-inline: 0.75rem;
}

.split-nav a:hover {
  background: var(--white);
  color: var(--ink);
}

.split-nav__slash {
  color: #ff5a7a;
  font-family: var(--mono);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.72fr);
  align-items: center;
  min-height: 730px;
  padding-block: clamp(4rem, 7vw, 7rem);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: 14%;
  width: 55%;
  height: 75%;
  transform: skewX(-12deg) rotate(-4deg);
  background: repeating-linear-gradient(105deg, transparent 0 24px, rgb(23 111 232 / 15%) 25px 28px, transparent 29px 50px);
  content: "";
}

.hero__copy,
.hero__visual {
  animation: rise-in 480ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero__visual {
  animation-delay: 100ms;
}

.eyebrow,
.chapter-code,
.lane-card__tag,
.panel-count,
.check-card__label {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 60ch;
  margin-bottom: 0;
  color: #f3eff5;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.15rem;
  border: 3px solid var(--white);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button:hover {
  animation: impact-nudge 260ms ease both;
  color: inherit;
}

.button--primary {
  border-color: var(--crimson);
  background: var(--crimson);
  color: #fff28a;
  box-shadow: 8px 8px 0 var(--purple);
}

.button--secondary {
  background: transparent;
  box-shadow: 8px 8px 0 var(--orange);
}

.hero__stamp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: 0.875rem;
}

.hero__stamp span {
  padding: 0.3rem 0.55rem;
  border-left: 3px solid var(--blue);
}

.hero__visual {
  position: relative;
  justify-self: end;
  max-width: 31rem;
}

.hero__burst {
  position: absolute;
  z-index: -1;
  inset: -12% 0;
  background:
    repeating-conic-gradient(from 10deg, rgb(230 198 18 / 0%) 0deg 8deg, rgb(230 198 18 / 28%) 9deg 10deg, transparent 11deg 18deg),
    radial-gradient(circle, rgb(135 54 214 / 65%) 0, transparent 55%);
  filter: saturate(80%);
}

.scene-frame {
  margin-bottom: 0;
  transform: rotate(3deg) skewY(-1deg);
  border: 4px solid var(--white);
  background: var(--ink-raised);
  box-shadow: 14px 14px 0 var(--crimson), -10px -10px 0 var(--blue);
}

.scene-frame img {
  width: 100%;
  aspect-ratio: 7 / 9;
  object-fit: cover;
  background:
    linear-gradient(145deg, rgb(23 111 232 / 22%), rgb(135 54 214 / 16%)),
    var(--ink-raised);
}

.scene-frame figcaption {
  padding: 1rem 1.1rem;
  border-top: 4px solid var(--white);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.impact-mark {
  position: absolute;
  right: -1.5rem;
  bottom: 4rem;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  transform: rotate(-10deg);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 800;
  clip-path: polygon(50% 0, 61% 30%, 88% 12%, 75% 41%, 100% 50%, 72% 61%, 89% 89%, 59% 74%, 50% 100%, 39% 72%, 10% 90%, 25% 59%, 0 50%, 30% 39%, 11% 11%, 41% 28%);
}

.contents-band {
  border-block: 4px solid var(--white);
  background: var(--crimson);
}

.contents-grid {
  display: grid;
  grid-template-columns: 0.7fr 2fr;
  align-items: stretch;
}

.contents-intro {
  padding: 2rem 2rem 2rem 0;
  border-right: 4px solid var(--white);
}

.contents-intro p:last-child {
  margin-bottom: 0;
  font-weight: 700;
}

.contents-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.contents-rail a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  padding: 1rem;
  border-right: 2px solid rgb(255 255 255 / 52%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.contents-rail a:hover {
  transform: translateY(-4px);
  background: var(--white);
  color: var(--ink);
}

.contents-rail span {
  margin-bottom: 0.5rem;
  color: #fff28a;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contents-rail a:hover span {
  color: var(--crimson);
}

.chapter {
  padding-block: var(--section-gap);
}

.chapter__header {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.chapter__header > p:not(.chapter-code) {
  color: var(--muted);
  font-size: 1.08rem;
}

.chapter-code {
  color: #8cb8ff;
  font-size: 1rem;
}

.contents-intro .eyebrow {
  color: var(--white);
}

.lane-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  grid-template-areas:
    "approved compounded"
    "approved research";
  gap: 1.5rem;
}

.lane-card,
.care-panel,
.cost-card,
.check-card,
.warning-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 4px solid var(--white);
  background: var(--ink-raised);
  box-shadow: 10px 10px 0 rgb(255 255 255 / 12%);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease;
}

.lane-card:hover,
.care-panel:hover,
.cost-card:hover,
.check-card:hover,
.warning-card:hover {
  transform: scale(1.03) rotate(-0.4deg);
}

.lane-card p:last-child,
.care-panel p:last-child,
.cost-card p:last-child,
.check-card p:last-child,
.warning-card p:last-child {
  margin-bottom: 0;
}

.lane-card--approved {
  grid-area: approved;
  align-self: stretch;
  padding-top: clamp(3rem, 8vw, 7rem);
  border-color: var(--gold);
  background: var(--ink-raised);
  position: relative;
  isolation: isolate;
}

.lane-card--compounded {
  grid-area: compounded;
  transform: translateX(1.5rem);
  border-color: var(--blue);
}

.lane-card--compounded:hover {
  transform: translateX(1.5rem) scale(1.03) rotate(0.4deg);
}

.lane-card--research {
  grid-area: research;
  border-color: var(--crimson);
  background: var(--ink-raised);
  position: relative;
  isolation: isolate;
}

.chapter-notes {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  margin-top: 3.5rem;
  padding-block: 1.25rem;
  gap: 0.5rem 1.5rem;
  border-block: 2px solid var(--crimson);
}

.chapter-notes__title {
  margin: 0;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chapter-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.chapter-notes a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.chapter-notes--blue {
  border-color: var(--blue);
}

.chapter--slash {
  position: relative;
  border-block: 4px solid var(--blue);
  background: var(--ink-raised);
  isolation: isolate;
}

.care-composition {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.65fr);
  grid-template-areas:
    "main main why"
    "main what next";
  gap: 1.25rem;
}

.care-panel--main {
  grid-area: main;
  min-height: 25rem;
  padding-top: clamp(3rem, 7vw, 6rem);
  border-color: var(--purple);
}

.care-panel--question:nth-child(2) {
  grid-area: why;
  border-color: var(--orange);
}

.care-panel--question:nth-child(3) {
  grid-area: what;
  border-color: var(--blue);
}

.care-panel--question:nth-child(4) {
  grid-area: next;
  border-color: var(--gold);
}

.panel-count {
  color: #ff9a57;
}

.cost-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 1.25rem;
}

.cost-card--wide {
  grid-row: span 2;
  padding-top: clamp(4rem, 8vw, 8rem);
  border-color: var(--gold);
  background: var(--ink-raised);
  position: relative;
  isolation: isolate;
}

.cost-card--orange {
  border-color: var(--orange);
}

.cost-card--quiet {
  grid-column: 1 / -1;
  max-width: 75%;
  margin-left: auto;
  border-color: var(--purple);
}

.cost-card__word {
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.9;
}

.chapter--check {
  border-block: 4px solid var(--white);
  background: #111015;
  position: relative;
  isolation: isolate;
}

.check-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas:
    "header clinician"
    "pharmacy clinician"
    "facility script";
  gap: 1.5rem;
}

.check-layout__header {
  grid-area: header;
  margin: 0;
  padding-right: 2rem;
}

.check-card--clinician {
  grid-area: clinician;
  min-height: 27rem;
  padding-top: clamp(4rem, 8vw, 7rem);
  border-color: var(--blue);
}

.check-card--pharmacy {
  grid-area: pharmacy;
  border-color: var(--gold);
}

.check-card--facility {
  grid-area: facility;
  transform: translateX(2rem);
  border-color: var(--orange);
}

.check-card--facility:hover {
  transform: translateX(2rem) scale(1.03);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.question-script {
  grid-area: script;
  align-self: center;
  margin: 0;
  padding: 2rem;
  border-left: 6px solid var(--crimson);
  background: rgb(201 20 57 / 10%);
}

.question-script p:last-child {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.35;
}

.myths {
  max-width: 960px;
}

.myth-stack {
  display: grid;
  gap: 1rem;
}

.myth-reveal {
  border: 3px solid var(--white);
  background: var(--ink-raised);
  box-shadow: 8px 8px 0 var(--purple);
}

.myth-reveal:nth-child(2) {
  transform: translateX(1.5rem);
  box-shadow: 8px 8px 0 var(--crimson);
}

.myth-reveal summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 1rem 1.25rem;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1.2;
  list-style: none;
}

.myth-reveal summary::-webkit-details-marker {
  display: none;
}

.myth-reveal__cue {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.myth-reveal__answer {
  padding: 1.25rem;
  border-top: 3px solid var(--blue);
  background: rgb(23 111 232 / 10%);
}

.myth-reveal__answer p {
  max-width: 65ch;
  margin-bottom: 0;
}

.myth-reveal[open] .myth-reveal__cue {
  color: #ff9a57;
}

.chapter--risk {
  border-block: 4px solid var(--crimson);
  background: var(--ink-raised);
  position: relative;
  isolation: isolate;
}

.warning-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.65fr);
  grid-template-areas:
    "large instant words"
    "large approval price";
  gap: 1.25rem;
}

.warning-card {
  border-color: var(--crimson);
}

.warning-card--large {
  grid-area: large;
  min-height: 25rem;
  padding-top: 5rem;
}

.warning-card:nth-child(2) {
  grid-area: instant;
}

.warning-card:nth-child(3) {
  grid-area: words;
}

.warning-card--gold {
  grid-area: approval;
  border-color: var(--gold);
}

.warning-card--wide {
  grid-area: price;
  border-color: var(--orange);
}

.warning-card__mark {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: var(--crimson);
  font-family: var(--display);
  font-size: 8rem;
  font-weight: 800;
  line-height: 0.8;
  text-shadow: 0 0 32px rgb(201 20 57 / 65%);
}

.safety-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
  border: 4px solid var(--white);
  background: var(--white);
  color: var(--ink);
  gap: 4px;
}

.safety-strip > * {
  padding: 1.5rem;
  background: #f5f3f1;
}

.safety-strip__intro {
  background: var(--gold);
}

.safety-strip__intro .eyebrow {
  color: var(--ink);
}

.safety-strip p {
  font-size: 1rem;
}

.safety-strip .text-link {
  color: #064ea5;
}

.decision {
  padding-block: var(--section-gap);
}

.decision__frame {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  border: 4px solid var(--gold);
  background: var(--ink-raised);
  box-shadow: 14px 14px 0 var(--crimson);
  isolation: isolate;
}

.decision__frame::after {
  position: absolute;
  z-index: 0;
  right: -10%;
  bottom: -55%;
  width: 42rem;
  height: 42rem;
  background: repeating-conic-gradient(from 20deg, transparent 0 9deg, rgb(230 198 18 / 20%) 10deg 11deg, transparent 12deg 20deg);
  content: "";
}

.decision__frame > * {
  position: relative;
  z-index: 1;
}

.decision-path {
  grid-template-columns: 1.3fr 0.8fr 1.05fr 0.85fr;
  margin-block: 2.5rem;
  gap: 1rem;
}

.decision-path article {
  min-height: 13rem;
  padding: 1.25rem;
  border-top: 4px solid var(--blue);
  background: rgb(13 12 14 / 80%);
}

.decision-path article:nth-child(2) {
  transform: translateY(1.5rem);
  border-color: var(--orange);
}

.decision-path article:nth-child(3) {
  border-color: var(--purple);
}

.decision-path article:nth-child(4) {
  transform: translateY(-1rem);
  border-color: var(--crimson);
}

.decision-path__verb {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 4px solid var(--white);
  background: #080709;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  padding-block: 1.5rem;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 1rem;
}

.site-footer a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding-block: 3rem;
}

.error-frame {
  position: relative;
  max-width: 780px;
  padding: clamp(2rem, 7vw, 5rem);
  border: 4px solid var(--white);
  background: var(--ink-raised);
  box-shadow: 14px 14px 0 var(--crimson), -12px -12px 0 var(--blue);
}

.error-code {
  color: var(--gold);
  font-family: var(--mono);
  font-size: clamp(3rem, 16vw, 9rem);
  font-weight: 700;
  line-height: 0.8;
  text-shadow: 0.08em 0.06em 0 var(--purple);
}

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

@keyframes impact-nudge {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35% { transform: translate(-2px, 1px) scale(1.03); }
  70% { transform: translate(2px, -1px) scale(1.03); }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    padding-block: 1rem;
  }

  .split-nav {
    align-items: flex-start;
  }

  .split-nav__group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.65fr);
  }

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

  .contents-intro {
    border-right: 0;
    border-bottom: 4px solid var(--white);
  }

  .contents-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .care-composition {
    grid-template-areas:
      "main main"
      "why what"
      "next next";
  }

  .warning-grid {
    grid-template-areas:
      "large instant"
      "large words"
      "approval price";
  }

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

@media (max-width: 767px) {
  html {
    scroll-behavior: auto;
  }

  .u-wrap {
    width: min(100% - 2rem, var(--wrap));
  }

  .site-header {
    display: block;
    min-height: 0;
  }

  .site-mark {
    margin-bottom: 0.5rem;
  }

  .split-nav,
  .split-nav__group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .split-nav__slash {
    display: none;
  }

  .split-nav a {
    justify-content: center;
    padding-inline: 0.4rem;
    border: 1px solid var(--line);
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 4rem;
  }

  .hero__visual {
    justify-self: center;
    width: calc(100% - 1rem);
  }

  .impact-mark {
    right: -1rem;
  }

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

  .contents-rail a {
    min-height: 76px;
    border-right: 0;
    border-bottom: 2px solid rgb(255 255 255 / 52%);
  }

  .lane-grid,
  .care-composition,
  .cost-grid,
  .check-layout,
  .warning-grid,
  .safety-strip,
  .decision-path,
  .chapter-notes {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .lane-card,
  .care-panel,
  .cost-card,
  .check-layout__header,
  .check-card,
  .question-script,
  .warning-card {
    grid-area: auto;
  }

  .care-panel--question:nth-child(2),
  .care-panel--question:nth-child(3),
  .care-panel--question:nth-child(4),
  .warning-card:nth-child(2),
  .warning-card:nth-child(3) {
    grid-area: auto;
  }

  .lane-card--compounded,
  .check-card--facility,
  .myth-reveal:nth-child(2) {
    transform: none;
  }

  .lane-card--compounded:hover,
  .check-card--facility:hover {
    transform: scale(1.03);
  }

  .cost-card--quiet {
    grid-column: auto;
    max-width: none;
  }

  .care-panel--main,
  .warning-card--large {
    min-height: 0;
    padding-top: 3rem;
  }

  .chapter-notes {
    gap: 1rem;
  }

  .check-layout__header {
    padding-right: 0;
  }

  .safety-strip {
    gap: 3px;
  }

  .decision-path article,
  .decision-path article:nth-child(2),
  .decision-path article:nth-child(4) {
    min-height: 0;
    transform: none;
  }

  .site-footer__inner {
    display: block;
  }

  .site-footer a {
    margin-top: 1rem;
  }
}

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

/* Decorative panel tints sit on a layer behind the text so the text keeps a solid, measurable background. */
.lane-card--approved::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(145deg, rgb(230 198 18 / 13%), transparent 50%);
  content: "";
  pointer-events: none;
}

.lane-card--research::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgb(201 20 57 / 8%) 0 12px, transparent 12px 28px);
  content: "";
  pointer-events: none;
}

.chapter--slash::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(106deg, transparent 0 58%, rgb(23 111 232 / 13%) 58% 74%, transparent 74%);
  content: "";
  pointer-events: none;
}

.cost-card--wide::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgb(230 198 18 / 20%), transparent 13rem);
  content: "";
  pointer-events: none;
}

.chapter--check::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(122deg, transparent 0 68px, rgb(255 255 255 / 5%) 69px 72px);
  content: "";
  pointer-events: none;
}

.chapter--risk::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(166deg, rgb(201 20 57 / 15%) 0 20%, transparent 20% 100%);
  content: "";
  pointer-events: none;
}

.decision__frame::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 88% 18%, rgb(135 54 214 / 48%), transparent 18rem);
  content: "";
  pointer-events: none;
}
