:root {
  color-scheme: light;
  --graphite: #111b25;
  --graphite-soft: #172532;
  --navy: #1e2d3c;
  --green: #327864;
  --green-deep: #245b4c;
  --mint: #8ed8bd;
  --mint-soft: #d8eee5;
  --paper: #f3f0e8;
  --paper-bright: #fbfaf6;
  --ink: #172632;
  --muted: #53645f;
  --line: #cbd2cc;
  --dark-line: rgba(239, 247, 242, 0.18);
  --white: #f7fbf8;
  --focus: #f2b84b;
  --shadow: 0 24px 70px rgba(14, 25, 34, 0.12);
  --container: 76rem;
  --reading: 48rem;
  --radius: 0.35rem;
  --space-section: clamp(4.5rem, 9vw, 8.5rem);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
  box-shadow: 0 0 0 0.42rem var(--ink);
}

::selection {
  background: var(--mint);
  color: var(--graphite);
}

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  transform: translateY(-180%);
  background: var(--focus);
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

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

.site-header {
  position: relative;
  z-index: 100;
  min-height: 5.75rem;
  border-bottom: 1px solid var(--dark-line);
  background: var(--graphite);
  color: var(--white);
}

.header-inner {
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.brand {
  flex: 0 0 auto;
  width: 10.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--paper-bright);
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav,
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.6vw, 1.45rem);
}

.nav-list,
.primary-nav ul,
.site-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.6vw, 1.45rem);
  list-style: none;
}

.primary-nav a,
.site-nav a {
  position: relative;
  padding-block: 0.8rem;
  color: #c8d5d0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:not(.header-cta)::after,
.site-nav a:not(.header-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--mint);
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after,
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.primary-nav a[aria-current="page"],
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.primary-nav .header-cta,
.site-nav .header-cta {
  margin-left: 0.5rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--mint);
  border-radius: 99rem;
  color: var(--white);
  white-space: nowrap;
}

.header-inner > .header-cta {
  flex: 0 0 auto;
  margin-left: 0;
  padding: 0.72rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-nav .header-cta:hover,
.site-nav .header-cta:hover {
  background: var(--mint);
  color: var(--graphite);
}

.nav-toggle {
  display: none;
  min-width: 3rem;
  min-height: 3rem;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--mint);
  border-radius: 99rem;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before { top: -0.35rem; }
.nav-toggle-icon::after { top: 0.35rem; }

.button,
.button-link,
.cta-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border: 1px solid var(--green);
  border-radius: 99rem;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button-link:hover,
.cta-button:hover {
  transform: translateY(-1px);
  border-color: var(--green-deep);
  background: var(--green-deep);
}

.button--compact {
  min-height: 2.75rem;
  padding: 0.68rem 0.9rem;
}

.button--secondary {
  border-color: var(--green);
  background: transparent;
  color: var(--green-deep);
}

.text-link {
  color: var(--green-deep);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.button--light,
.button.secondary,
.button-link.secondary {
  border-color: rgba(247, 251, 248, 0.35);
  background: transparent;
  color: var(--white);
}

.button--light:hover,
.button.secondary:hover,
.button-link.secondary:hover {
  border-color: var(--mint);
  background: rgba(142, 216, 189, 0.1);
  color: var(--white);
}

.actions,
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.eyebrow,
.kicker,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--graphite);
  color: var(--white);
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(17, 27, 37, 0.98) 0%, rgba(17, 27, 37, 0.91) 49%, rgba(17, 27, 37, 0.42) 100%), url("/assets/visual/hero-atmosphere.webp");
  background-position: center;
  background-size: cover;
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
}

.home-hero-inner {
  min-height: clamp(42rem, 78vh, 51rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.home-hero-copy {
  max-width: 54rem;
}

.home-hero .eyebrow,
.page-hero .eyebrow,
.home-hero .kicker,
.page-hero .kicker {
  color: var(--mint);
}

.home-hero h1,
.page-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(3.2rem, 7.4vw, 7rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.home-hero .lede,
.page-hero .lede {
  max-width: 44rem;
  margin: 1.6rem 0 0;
  color: #d1ddd8;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.55;
}

.hero-context {
  margin: 1.15rem 0 0;
  color: #aac0b7;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-field {
  position: relative;
  min-height: 24rem;
  border: 1px solid var(--dark-line);
  border-radius: 50% 50% 46% 54% / 55% 44% 56% 45%;
  background: radial-gradient(circle at 44% 42%, rgba(142,216,189,0.25), rgba(50,120,100,0.08) 46%, transparent 69%);
  opacity: 0.75;
}

.hero-field::before,
.hero-field::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(142,216,189,0.24);
  border-radius: inherit;
}

.hero-field::before { inset: 13%; transform: rotate(13deg); }
.hero-field::after { inset: 28%; transform: rotate(-11deg); }

.page-hero-inner {
  min-height: 32rem;
  display: grid;
  align-content: center;
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.page-hero .hero-grid {
  min-height: 32rem;
  display: grid;
  align-content: center;
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.hero-copy {
  max-width: 54rem;
}

.context-label,
.meta-line {
  margin: 1.15rem 0 0;
  color: #aac0b7;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(3.1rem, 6.2vw, 6rem);
}

.section,
.content-section {
  padding-block: var(--space-section);
}

.section--bright,
.section--surface,
.content-section:nth-of-type(even) {
  background: var(--paper-bright);
}

.section--dark {
  background: var(--graphite);
  color: var(--white);
}

.section--dark .eyebrow,
.section--dark .kicker,
.section--dark .section-kicker {
  color: var(--mint);
}

.section--dark p {
  color: #c5d2cd;
}

.section-heading,
.split-heading,
.section-intro {
  display: grid;
  grid-template-columns: minmax(9rem, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 7vw, 6rem);
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
  align-items: start;
}

.section-heading > :last-child,
.split-heading > :last-child,
.section-intro > :last-child {
  max-width: 48rem;
}

.section-heading > :only-child,
.split-heading > :only-child,
.section-intro > :only-child {
  grid-column: 1 / -1;
}

[data-copy-id="H-029"] {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem) !important;
  line-height: 1.22 !important;
}

.section h2,
.content-section h2,
.cta-panel h2,
.not-found h1 {
  margin: 0 0 1.1rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.7vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.section--dark h2,
.section--dark h3,
.section--dark .cta-panel h2 {
  color: var(--white);
}

.section p,
.content-section p {
  max-width: 52rem;
}

.card-grid,
.cards,
.process-grid,
.principle-grid,
.application-grid,
.source-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.content-grid--split {
  grid-template-columns: minmax(12rem, 0.6fr) minmax(0, 1.4fr);
  align-items: start;
}

@media (min-width: 56.3125rem) {
  [data-claim-id="CLM-REL-GP-001"] .content-grid--split,
  [data-claim-id="CLM-REL-GP-002"] .section-heading {
    grid-template-columns: minmax(26rem, 0.75fr) minmax(0, 1.25fr);
  }
}

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

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

.content-grid--three,
.data-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.data-grid,
.content-grid {
  display: grid;
  gap: 1rem;
}

.data-card,
.prose-card {
  min-width: 0;
  padding: clamp(1.45rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-top: 0.2rem solid var(--green);
  background: var(--paper-bright);
}

.card,
.process-card,
.principle-card,
.application-card,
.source-card,
.faq-item,
.content-card {
  min-width: 0;
  padding: clamp(1.45rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-top: 0.2rem solid var(--green);
  border-radius: var(--radius);
  background: var(--paper-bright);
}

.card h3,
.process-card h3,
.principle-card h3,
.application-card h3,
.source-card h3,
.faq-item h3,
.content-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: clamp(1.18rem, 2.1vw, 1.55rem);
  line-height: 1.2;
}

.card-label,
.card h2,
.data-card h2,
.prose-card h2 {
  margin: 0 0 0.9rem;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card p:last-child,
.process-card p:last-child,
.principle-card p:last-child,
.application-card p:last-child,
.source-card p:last-child,
.faq-item p:last-child,
.content-card p:last-child {
  margin-bottom: 0;
}

.application-card {
  display: flex;
  flex-direction: column;
}

.application-card .text-link {
  margin-top: auto;
  padding-top: 1rem;
}

.card--dark,
.section--dark .card,
.section--dark .content-card {
  border-color: var(--dark-line);
  border-top-color: var(--mint);
  background: rgba(255,255,255,0.035);
}

.card--dark h3,
.section--dark .card h3,
.section--dark .content-card h3 {
  color: var(--white);
}

.comparison,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.comparison > *,
.comparison-grid > * {
  padding: clamp(1.8rem, 4vw, 3rem);
}

.comparison > * + *,
.comparison-grid > * + * {
  border-left: 1px solid var(--line);
  background: var(--mint-soft);
}

.comparison-label {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.4;
}

.control-note,
.scope-note,
.notice,
.caveat {
  margin-top: 1.5rem;
  padding: 1.2rem 1.35rem;
  border-left: 0.25rem solid var(--green);
  background: rgba(50,120,100,0.08);
}

.evidence-panel,
.evidence-result,
.result-card {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr);
  overflow: hidden;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.evidence-metric,
.metric,
.result-number {
  display: grid;
  min-height: 15rem;
  place-items: center;
  padding: 2rem;
  background: var(--green);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 9vw, 7.6rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.evidence-copy,
.result-copy {
  padding: clamp(1.8rem, 4vw, 3rem);
}

.card.evidence-result {
  display: block;
  overflow: visible;
  border-color: var(--green);
  background: var(--paper-bright);
  box-shadow: none;
}

.evidence-copy > :first-child,
.result-copy > :first-child {
  margin-top: 0;
}

.qualification {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.qualification-label {
  margin: 1.25rem 0 0;
  color: var(--green-deep);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-steps,
.steps,
.hierarchy-list,
.guidance-list,
.indexed-list,
.review-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.review-steps li,
.steps li,
.hierarchy-list li,
.guidance-list li,
.indexed-list li,
.review-list li {
  position: relative;
  padding: 1.4rem 1.2rem 1.4rem 4rem;
  border-top: 1px solid var(--line);
}

.review-steps li:last-child,
.steps li:last-child,
.hierarchy-list li:last-child,
.guidance-list li:last-child,
.indexed-list li:last-child,
.review-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.review-steps li::before,
.steps li::before,
.guidance-list li::before,
.indexed-list li::before,
.review-list li::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 1.45rem;
  left: 1rem;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.hierarchy-list li::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  left: 1.2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green);
}

.review-steps li::before {
  content: "";
  top: 1.85rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green);
}

details.faq-item {
  padding: 0;
}

details.faq-item summary {
  min-height: 3.5rem;
  padding: 1.4rem 3.2rem 1.4rem 1.5rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.3;
}

details.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
}

.page-hero .button--secondary,
.page-hero .text-link {
  color: var(--white);
}

.page-hero .button--secondary {
  border-color: rgba(255,255,255,0.45);
}

.section-layout,
.source-layout {
  display: grid;
  gap: 1.5rem;
}

.data-note,
.rejected-calculation {
  margin: 1.5rem 0 0;
  padding: 1.2rem 1.35rem;
  border-left: 0.25rem solid var(--green);
  background: var(--mint-soft);
  color: var(--navy);
  font-weight: 650;
}

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

.faq-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.table-scroll,
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

caption {
  padding: 1.25rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
}

th,
td {
  padding: 0.95rem 1.1rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--mint-soft);
  color: var(--navy);
}

td:last-child,
th:last-child {
  text-align: right;
  white-space: nowrap;
}

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

.source-card a,
.source-list a,
.official-sources a {
  color: var(--green-deep);
  font-weight: 700;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.source-list,
.official-sources {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.source-list li,
.official-sources li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.source-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--green);
  color: var(--white);
}

.cta-panel,
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-panel h2,
.cta-inner h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--white);
}

.cta-section .button {
  flex: 0 0 auto;
  border-color: var(--white);
  background: var(--white);
  color: var(--green-deep);
}

.email-card {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--green);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.email-card .email-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-underline-offset: 0.16em;
}

.site-footer {
  padding-block: 4rem 2rem;
  background: #0d161e;
  color: #c9d5d0;
}

.footer-grid,
.footer-inner {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.3fr) minmax(12rem, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.footer-brand {
  display: inline-block;
  width: 10.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  background: var(--paper-bright);
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-identity {
  margin: 1.2rem 0 0;
  max-width: 24rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.2rem;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.2rem;
  list-style: none;
}

.footer-nav a,
.footer-email,
.footer-lineage a,
.footer-legal a {
  color: var(--white);
  text-underline-offset: 0.2em;
}

.footer-note {
  margin: 0;
  font-size: 0.9rem;
}

.footer-lineage {
  margin: 0;
  color: #8fa39b;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-lineage a {
  color: #c9d5d0;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #9fb1aa;
  font-size: 0.86rem;
}

.not-found {
  min-height: 65vh;
  display: grid;
  align-items: center;
  background: var(--paper);
}

.not-found-code {
  margin: 0;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.error-code {
  margin: 0;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

@media (max-width: 70rem) {
  .primary-nav,
  .site-nav {
    gap: 0.85rem;
  }

  .primary-nav .header-cta,
  .site-nav .header-cta,
  .header-inner > .header-cta {
    display: none;
  }

  .primary-nav a,
  .site-nav a {
    font-size: 0.69rem;
  }

  .brand {
    width: 9rem;
  }
}

@media (max-width: 56.25rem) {
  .container {
    width: min(var(--container), calc(100% - 2rem));
  }

  .header-inner {
    min-height: 5rem;
    flex-wrap: wrap;
    padding-block: 0.7rem;
  }

  .brand {
    width: 8.5rem;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .primary-nav,
  .site-nav {
    width: 100%;
    margin: 0;
    padding: 1rem 0 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--dark-line);
  }

  .nav-list,
  .primary-nav ul,
  .site-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .js .primary-nav:not([data-open="true"]),
  .js .site-nav:not([data-open="true"]) {
    display: none;
  }

  .primary-nav a,
  .site-nav a {
    min-height: 2.85rem;
    display: flex;
    align-items: center;
    padding: 0.65rem 0;
    font-size: 0.78rem;
  }

  .primary-nav .header-cta,
  .site-nav .header-cta {
    width: 100%;
    margin: 0.55rem 0 0;
    justify-content: center;
  }

  .home-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: clamp(4.5rem, 13vw, 7rem);
  }

  .hero-field {
    display: none;
  }

  .section-heading,
  .split-heading,
  .section-intro {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .card-grid,
  .cards,
  .process-grid,
  .principle-grid,
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .footer-grid > :last-child,
  .footer-inner > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 43.75rem) {
  .home-hero::before,
  .page-hero::before {
    background-image: linear-gradient(180deg, rgba(17,27,37,0.93), rgba(17,27,37,0.99)), url("/assets/visual/hero-atmosphere.webp");
    background-position: 66% center;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
    letter-spacing: -0.055em;
  }

  .card-grid,
  .cards,
  .process-grid,
  .principle-grid,
  .application-grid,
  .source-grid,
  .faq-grid,
  .comparison,
  .comparison-grid,
  .evidence-panel,
  .evidence-result,
  .result-card,
  .footer-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card-grid--two,
  .content-grid--two,
  .content-grid--three,
  .content-grid--split,
  .content-grid--articles,
  .data-grid--three {
    grid-template-columns: 1fr;
  }

  .comparison > * + *,
  .comparison-grid > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .evidence-metric,
  .metric,
  .result-number {
    min-height: 10rem;
  }

  .faq-item:last-child:nth-child(odd),
  .footer-grid > :last-child,
  .footer-inner > :last-child {
    grid-column: auto;
  }

  .cta-panel,
  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel,
  .cta-inner {
    display: flex;
  }

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

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

@media (max-width: 24rem) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .brand {
    width: 7.65rem;
  }

  .nav-toggle {
    padding-inline: 0.78rem;
  }

  .button,
  .button-link,
  .cta-button {
    width: 100%;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .actions,
  .hero-actions,
  .cta-section {
    display: none !important;
  }

  body,
  .home-hero,
  .page-hero,
  .section--dark {
    background: #fff !important;
    color: #000 !important;
  }

  .home-hero::before,
  .home-hero::after,
  .page-hero::before,
  .page-hero::after {
    display: none;
  }
}
