:root,
html[data-theme="forest"] {
  --native-color-scheme: dark;
  --navy: #071b22;
  --navy-deep: #021015;
  --ink: #eef8ee;
  --muted: #bad3c9;
  --paper: rgba(9, 32, 36, 0.92);
  --soft: rgba(19, 53, 47, 0.82);
  --line: rgba(174, 226, 202, 0.28);
  --accent: #e6b84e;
  --accent-2: #66dfd5;
  --accent-3: #c084fc;
  --accent-4: #ff6fb1;
  --focus: #f7d35d;
  --heading-color: #f5fff2;
  --header-text: #f7fff8;
  --button-primary-bg: #e6b84e;
  --button-primary-text: #041216;
  --button-secondary-bg: rgba(9, 32, 36, 0.72);
  --button-secondary-text: #f7fff8;
  --badge-bg: #e6b84e;
  --badge-text: #041216;
  --page-bg: #031115;
  --page-bg-2: #082b25;
  --header-bg: #06110d;
  --site-header-background: var(--header-bg);
  --footer-bg: #020b0f;
  --panel-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --aurora-a: rgba(102, 223, 213, 0.24);
  --aurora-b: rgba(192, 132, 252, 0.22);
  --aurora-c: rgba(255, 111, 177, 0.16);
  --decor-opacity: 1;
  --content-width: 1120px;
  --narrow-width: 760px;
  --body-font: Arial, Helvetica, sans-serif;
  --heading-font: Georgia, "Times New Roman", serif;
  --body-line-height: 1.65;
  --body-letter-spacing: 0;
  --body-word-spacing: normal;
  --paragraph-measure: 70ch;
  --narrow-width-active: var(--narrow-width);
  --sticky-header-offset: 9rem;
  --outlined-text-fill: var(--ink);
  --outlined-text-edge: #000000;
  --text-outline-small:
    -0.55px 0 0 var(--outlined-text-edge),
    0.55px 0 0 var(--outlined-text-edge),
    0 -0.55px 0 var(--outlined-text-edge),
    0 0.55px 0 var(--outlined-text-edge),
    -0.55px -0.55px 0 var(--outlined-text-edge),
    0.55px -0.55px 0 var(--outlined-text-edge),
    -0.55px 0.55px 0 var(--outlined-text-edge),
    0.55px 0.55px 0 var(--outlined-text-edge);
  --text-outline-large:
    -1px 0 0 var(--outlined-text-edge),
    1px 0 0 var(--outlined-text-edge),
    0 -1px 0 var(--outlined-text-edge),
    0 1px 0 var(--outlined-text-edge),
    -1px -1px 0 var(--outlined-text-edge),
    1px -1px 0 var(--outlined-text-edge),
    -1px 1px 0 var(--outlined-text-edge),
    1px 1px 0 var(--outlined-text-edge);
}

html[data-theme="classic"] {
  --native-color-scheme: light;
  --navy: #102033;
  --navy-deep: #071421;
  --ink: #18202a;
  --muted: #5e6874;
  --paper: #ffffff;
  --soft: #f4f6f1;
  --line: #d9ded6;
  --accent: #8d5f2f;
  --accent-2: #2f6f8d;
  --accent-3: #6b5878;
  --accent-4: #a66338;
  --focus: #f5c84b;
  --heading-color: #071421;
  --header-text: #ffffff;
  --button-primary-bg: #102033;
  --button-primary-text: #ffffff;
  --button-secondary-bg: #ffffff;
  --button-secondary-text: #102033;
  --badge-bg: #102033;
  --badge-text: #ffffff;
  --page-bg: #ffffff;
  --page-bg-2: #f4f6f1;
  --header-bg: var(--navy);
  --site-header-background: var(--header-bg);
  --footer-bg: var(--navy-deep);
  --panel-shadow: none;
  --aurora-a: transparent;
  --aurora-b: transparent;
  --aurora-c: transparent;
  --decor-opacity: 0;
}

html[data-theme="light"],
html[data-theme="system"][data-resolved-theme="light"] {
  --native-color-scheme: light;
  --navy: #173557;
  --navy-deep: #0d243d;
  --ink: #17202b;
  --muted: #556170;
  --paper: #fffdf8;
  --soft: #f4f6f1;
  --line: #d6ded7;
  --accent: #9a5c21;
  --accent-2: #1f6c88;
  --accent-3: #6551a6;
  --accent-4: #b14e7a;
  --focus: #d98f00;
  --heading-color: #0d243d;
  --header-text: #ffffff;
  --button-primary-bg: #173557;
  --button-primary-text: #ffffff;
  --button-secondary-bg: #fffdf8;
  --button-secondary-text: #173557;
  --badge-bg: #173557;
  --badge-text: #ffffff;
  --page-bg: #fffdf8;
  --page-bg-2: #eef3f0;
  --header-bg: #12304d;
  --site-header-background: var(--header-bg);
  --footer-bg: #0d243d;
  --panel-shadow: 0 14px 38px rgba(14, 36, 61, 0.12);
  --aurora-a: transparent;
  --aurora-b: transparent;
  --aurora-c: transparent;
  --decor-opacity: 0;
}

html[data-theme="dark"],
html[data-theme="system"][data-resolved-theme="dark"] {
  --native-color-scheme: dark;
  --navy: #0f1724;
  --navy-deep: #070b12;
  --ink: #f3f6fb;
  --muted: #bac5d6;
  --paper: #151b25;
  --soft: #202735;
  --line: #465164;
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --accent-3: #f0abfc;
  --accent-4: #fbbf24;
  --focus: #facc15;
  --heading-color: #f3f6fb;
  --header-text: #f8fafc;
  --button-primary-bg: #7dd3fc;
  --button-primary-text: #08111d;
  --button-secondary-bg: #151b25;
  --button-secondary-text: #f3f6fb;
  --badge-bg: #7dd3fc;
  --badge-text: #08111d;
  --page-bg: #090d14;
  --page-bg-2: #141a24;
  --header-bg: #070b12;
  --site-header-background: var(--header-bg);
  --footer-bg: #05070c;
  --panel-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --aurora-a: transparent;
  --aurora-b: transparent;
  --aurora-c: transparent;
  --decor-opacity: 0;
}

html[data-color-mode="safe"] {
  --accent: #f5b642;
  --accent-2: #38bdf8;
  --accent-3: #a78bfa;
  --accent-4: #f59e0b;
  --focus: #ffffff;
  --line: color-mix(in srgb, var(--accent-2), var(--ink) 35%);
}

html[data-color-mode="safe"][data-text-polarity="dark"] {
  --outlined-text-fill: #050505;
  --outlined-text-edge: #ffffff;
}

html[data-color-mode="safe"][data-text-polarity="dark"][data-theme="forest"],
html[data-color-mode="safe"][data-text-polarity="dark"][data-theme="dark"],
html[data-color-mode="safe"][data-text-polarity="dark"][data-theme="system"][data-resolved-theme="dark"] {
  --ink: #050505;
  --muted: #050505;
  --heading-color: #050505;
  --header-text: #050505;
  --button-secondary-text: #050505;
}

html[data-color-mode="safe"][data-text-polarity="dark"][data-theme="classic"],
html[data-color-mode="safe"][data-text-polarity="dark"][data-theme="light"],
html[data-color-mode="safe"][data-text-polarity="dark"][data-theme="system"][data-resolved-theme="light"] {
  --header-text: #050505;
  --button-primary-text: #050505;
  --badge-text: #050505;
}

html[data-reading="readable"] {
  --body-font: Verdana, Tahoma, Arial, sans-serif;
  --heading-font: Verdana, Tahoma, Arial, sans-serif;
  --body-line-height: 1.72;
  --body-letter-spacing: 0.015em;
  --body-word-spacing: 0.08em;
  --paragraph-measure: 62ch;
  --narrow-width-active: 700px;
}

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

html {
  color-scheme: var(--native-color-scheme);
  scroll-padding-top: var(--sticky-header-offset);
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, var(--aurora-a), transparent 30rem),
    radial-gradient(circle at 82% 4%, var(--aurora-b), transparent 28rem),
    radial-gradient(circle at 50% 115%, var(--aurora-c), transparent 36rem),
    linear-gradient(180deg, var(--page-bg), var(--page-bg-2));
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1rem;
  letter-spacing: var(--body-letter-spacing);
  line-height: var(--body-line-height);
  word-spacing: var(--body-word-spacing);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: var(--decor-opacity);
}

body::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(245, 211, 93, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(102, 223, 213, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 42%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 36% 62%, rgba(192, 132, 252, 0.55) 0 1px, transparent 2px);
  background-size: 19rem 19rem, 23rem 23rem, 29rem 29rem, 31rem 31rem;
}

body::after {
  background:
    linear-gradient(140deg, transparent 0 62%, rgba(30, 79, 62, 0.52) 62% 72%, transparent 72%),
    linear-gradient(155deg, transparent 0 68%, rgba(9, 45, 38, 0.68) 68% 76%, transparent 76%);
  mask-image: linear-gradient(to bottom, transparent 0 45%, black 88%);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

html[data-theme="forest"] body,
html[data-theme="dark"] body,
html[data-theme="system"][data-resolved-theme="dark"] body {
  text-shadow: var(--text-outline-small);
}

html[data-theme="forest"] h1,
html[data-theme="forest"] h2,
html[data-theme="forest"] h3,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="system"][data-resolved-theme="dark"] h1,
html[data-theme="system"][data-resolved-theme="dark"] h2,
html[data-theme="system"][data-resolved-theme="dark"] h3,
.site-title,
.site-footer__title {
  text-shadow: var(--text-outline-large);
}

html[data-theme="forest"] .content-accordion summary,
html[data-theme="forest"] .accordion-summary__title,
html[data-theme="forest"] .conversation-order li,
html[data-theme="forest"] .dialogue-quote p,
html[data-theme="forest"] .pull-quote p,
html[data-theme="forest"] .principle-card p,
html[data-theme="forest"] .system-statement,
html[data-theme="forest"] .final-principle,
html[data-theme="dark"] .content-accordion summary,
html[data-theme="dark"] .accordion-summary__title,
html[data-theme="dark"] .conversation-order li,
html[data-theme="dark"] .dialogue-quote p,
html[data-theme="dark"] .pull-quote p,
html[data-theme="dark"] .principle-card p,
html[data-theme="dark"] .system-statement,
html[data-theme="dark"] .final-principle,
html[data-theme="system"][data-resolved-theme="dark"] .content-accordion summary,
html[data-theme="system"][data-resolved-theme="dark"] .accordion-summary__title,
html[data-theme="system"][data-resolved-theme="dark"] .conversation-order li,
html[data-theme="system"][data-resolved-theme="dark"] .dialogue-quote p,
html[data-theme="system"][data-resolved-theme="dark"] .pull-quote p,
html[data-theme="system"][data-resolved-theme="dark"] .principle-card p,
html[data-theme="system"][data-resolved-theme="dark"] .system-statement,
html[data-theme="system"][data-resolved-theme="dark"] .final-principle {
  text-shadow: var(--text-outline-large);
}

.site-header,
.site-nav a,
.nav-toggle,
.appearance-summary,
.site-footer,
.footer-nav a {
  text-shadow: var(--text-outline-small);
}

html[data-theme="forest"] .button--secondary,
html[data-theme="dark"] .button--secondary,
html[data-theme="system"][data-resolved-theme="dark"] .button--secondary {
  text-shadow: var(--text-outline-small);
}

html[data-theme="classic"] .button--primary,
html[data-theme="light"] .button--primary,
html[data-theme="system"][data-resolved-theme="light"] .button--primary,
html[data-theme="classic"] .system-statement,
html[data-theme="light"] .system-statement,
html[data-theme="system"][data-resolved-theme="light"] .system-statement,
html[data-theme="classic"] .model-step__label,
html[data-theme="light"] .model-step__label,
html[data-theme="system"][data-resolved-theme="light"] .model-step__label,
html[data-theme="classic"] .stage-card__label,
html[data-theme="light"] .stage-card__label,
html[data-theme="system"][data-resolved-theme="light"] .stage-card__label,
html[data-theme="classic"] .conversation-order__number,
html[data-theme="light"] .conversation-order__number,
html[data-theme="system"][data-resolved-theme="light"] .conversation-order__number {
  text-shadow: var(--text-outline-small);
}

html[data-theme="forest"] .button--primary,
html[data-theme="dark"] .button--primary,
html[data-theme="system"][data-resolved-theme="dark"] .button--primary,
html[data-theme="forest"] .model-step__label,
html[data-theme="dark"] .model-step__label,
html[data-theme="system"][data-resolved-theme="dark"] .model-step__label,
html[data-theme="forest"] .stage-card__label,
html[data-theme="dark"] .stage-card__label,
html[data-theme="system"][data-resolved-theme="dark"] .stage-card__label,
html[data-theme="forest"] .conversation-order__number,
html[data-theme="dark"] .conversation-order__number,
html[data-theme="system"][data-resolved-theme="dark"] .conversation-order__number {
  text-shadow: none;
}

html[data-color-mode="safe"][data-text-polarity="dark"] .button--primary,
html[data-color-mode="safe"][data-text-polarity="dark"] .model-step__label,
html[data-color-mode="safe"][data-text-polarity="dark"] .stage-card__label,
html[data-color-mode="safe"][data-text-polarity="dark"] .conversation-order__number {
  text-shadow: var(--text-outline-small);
}

p {
  max-width: var(--paragraph-measure);
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem max(1.25rem, calc((100vw - var(--content-width)) / 2));
  background: var(--site-header-background);
  color: var(--header-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-title {
  color: var(--header-text);
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  color: var(--header-text);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--focus);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: transparent;
  color: var(--header-text);
  cursor: pointer;
}

.nav-toggle__bar {
  position: absolute;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle__bar:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle__bar:nth-child(3) {
  transform: translateY(6px);
}

.appearance-control {
  position: relative;
  display: none;
  margin-left: auto;
}

.pmw-js .appearance-control {
  display: block;
}

.appearance-summary {
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--header-text), transparent 62%);
  border-radius: 5px;
  color: var(--header-text);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
}

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

.appearance-summary::after {
  margin-left: 0.45rem;
  content: "+";
}

.appearance-control[open] .appearance-summary {
  border-color: var(--focus);
  box-shadow: inset 0 -3px 0 var(--focus);
}

.appearance-control[open] .appearance-summary::after {
  content: "-";
}

.appearance-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  z-index: 20;
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(38rem, calc(100vh - 6rem));
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--panel-shadow);
  text-shadow: none;
}

html[data-theme="forest"] .appearance-panel,
html[data-theme="dark"] .appearance-panel,
html[data-theme="system"][data-resolved-theme="dark"] .appearance-panel {
  text-shadow: var(--text-outline-small);
}

.appearance-fieldset {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.appearance-fieldset legend {
  margin-bottom: 0.45rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
}

.appearance-fieldset label {
  display: flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
}

.appearance-fieldset label:has(input:checked) {
  border-color: var(--accent-2);
  background: var(--soft);
  box-shadow: inset 4px 0 0 var(--accent-2);
}

.appearance-fieldset--polarity {
  margin: 0.25rem 0 0.2rem 1rem;
  padding: 0.7rem 0.75rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.appearance-fieldset--polarity:disabled {
  opacity: 0.72;
}

.appearance-fieldset--polarity:disabled label {
  cursor: not-allowed;
}

.appearance-fieldset--polarity:disabled label,
.appearance-fieldset--polarity:disabled .appearance-help {
  color: var(--muted);
}

.appearance-fieldset input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
}

.appearance-help {
  margin: -0.25rem 0 0.4rem 1.95rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.appearance-reset {
  width: 100%;
  min-height: 2.75rem;
  border: 2px solid var(--accent);
  border-radius: 5px;
  background: transparent;
  color: var(--heading-color);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.nav-open .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg);
}

.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 1.25rem;
}

.section--tint {
  background: var(--soft);
}

.section__inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.narrow {
  width: min(100%, var(--narrow-width));
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero .lede {
  max-width: 780px;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border: 2px solid var(--button-primary-bg);
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
}

.button--secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}

.button:hover {
  border-color: var(--accent);
}

.three-column,
.two-column {
  display: grid;
  gap: 2rem;
}

.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.two-column {
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

.three-column article,
.discussion-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.three-column article {
  padding: 1.5rem;
}

.check-list li + li {
  margin-top: 0.45rem;
}

.discussion-card {
  max-width: 680px;
  padding: 1.5rem;
}

.discussion-card--featured {
  margin-top: 2rem;
}

.discussion-card a,
.text-link {
  color: var(--accent);
  font-weight: 700;
}

.article-page p {
  font-size: 1.08rem;
}

.article-shell {
  width: min(100%, 780px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.article-meta span + span::before {
  margin-right: 0.75rem;
  color: var(--line);
  content: "•";
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.science-hero .lede,
.science-index,
.science-article {
  max-width: 100%;
}

.science-index {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

.science-feature-stack {
  display: grid;
  gap: 1.25rem;
}

.science-feature-card,
.science-note-panel,
.science-callout {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.science-feature-card {
  border-top: 6px solid var(--accent);
}

.science-note-panel h3,
.science-section h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.science-note-panel p {
  margin: 0;
}

.science-note-panel p + p {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.science-callout {
  margin: 1.5rem 0 2rem;
  background: var(--soft);
  font-weight: 700;
}

.science-callout p:last-child {
  margin-bottom: 0;
}

.science-facts {
  margin: 1rem 0 0;
}

.science-section {
  margin-top: 2rem;
}

.science-section:first-of-type {
  margin-top: 0;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.comparison-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--soft);
  color: var(--heading-color);
}

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

.equation-card {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.equation-card p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
  margin: 0;
}

.equation-card p + p {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.equation-card span {
  font-weight: 700;
}

.display-equation {
  padding: 0.85rem 1rem;
  border-left: 5px solid var(--accent);
  background: var(--soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.numbered-points {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.numbered-points li + li {
  margin-top: 0.45rem;
}

@media (max-width: 760px) {
  .equation-card p {
    flex-direction: column;
    gap: 0.15rem;
  }
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.home-hero__copy p:not(.eyebrow):not(.lede) {
  font-size: 1.08rem;
}

.common-ground-hero p:not(.eyebrow):not(.lede) {
  font-size: 1.08rem;
}

.hero-statement {
  max-width: 720px;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 5px solid var(--accent);
  background: var(--soft);
  color: var(--heading-color);
  font-weight: 700;
}

.principle-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  border-radius: 6px;
  background: var(--soft);
}

.principle-card p {
  margin: 0;
  color: var(--heading-color);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.principle-card p + p {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.feature-card-grid,
.model-step-grid,
.topic-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-card-grid,
.model-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.model-step,
.topic-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.feature-card,
.topic-panel {
  padding: 1.35rem;
}

.model-step {
  position: relative;
  padding: 1.5rem;
  border-top: 6px solid var(--accent);
}

.model-step__label {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.common-ground-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.common-ground-column p,
.split-section p {
  font-size: 1.05rem;
}

.common-ground-accordion-group {
  display: grid;
  gap: 1rem;
}

.common-ground-accordion {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.common-ground-accordion summary {
  position: relative;
  display: grid;
  gap: 0.35rem;
  min-height: 5.25rem;
  padding: 1.2rem 4rem 1.2rem 1.5rem;
  border-left: 6px solid var(--accent);
  color: var(--heading-color);
  cursor: pointer;
  list-style: none;
}

.common-ground-accordion summary::-webkit-details-marker {
  display: none;
}

.common-ground-accordion summary::after {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  content: "+";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 160ms ease, background-color 160ms ease;
}

.common-ground-accordion summary:hover {
  background: rgba(141, 95, 47, 0.08);
}

.common-ground-accordion[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.common-ground-accordion[open] summary::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.accordion-summary__title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
}

.accordion-summary__description {
  display: block;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.common-ground-accordion__content {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.common-ground-accordion__intro,
.review-process-section {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.integration-panel {
  margin-top: 1.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  border-radius: 6px;
  background: var(--paper);
}

.integration-panel h3 {
  margin-bottom: 0.75rem;
}

.panel-status {
  color: var(--heading-color);
  font-weight: 700;
}

.panel-note {
  color: var(--muted);
}

.embedded-form-card {
  margin-top: 1.25rem;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.form-banner {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  border-radius: 5px 5px 0 0;
}

.embedded-form-frame {
  display: block;
  width: 100%;
  border: 0;
  background: var(--paper);
}

.embedded-form-frame--common-ground {
  height: 2720px;
}

.embedded-form-frame--discord {
  height: 2120px;
}

.embedded-form-fallback {
  margin-top: 1rem;
}

.privacy-note {
  color: var(--muted);
  font-size: 0.98rem;
}

.form-panel-button {
  margin-top: 0.75rem;
}

.new-tab-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.outcome-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.outcome-item {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.outcome-item h3 {
  font-size: 1.3rem;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.stage-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.stage-card__label {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-weight: 700;
}

.card-label {
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.blog-card h2,
.blog-card h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.blog-section-link {
  margin-top: 1.5rem;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.conversation-hero .lede {
  max-width: var(--narrow-width);
}

.content-accordion-group {
  display: grid;
  gap: 1rem;
}

.content-accordion {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.content-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
  padding: 1.25rem 4rem 1.25rem 1.5rem;
  color: var(--heading-color);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  list-style: none;
}

.content-accordion summary::-webkit-details-marker {
  display: none;
}

.content-accordion summary::after {
  position: absolute;
  right: 1.5rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  content: "+";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.content-accordion[open] summary {
  border-bottom: 1px solid var(--line);
}

.content-accordion[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.content-accordion__content {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.editorial-copy p,
.closing-panel p,
.trust-card p {
  font-size: 1.08rem;
}

.editorial-copy h3 {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.conversation-order {
  display: grid;
  gap: 0.75rem;
  max-width: 620px;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.conversation-order li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 6px;
  background: var(--paper);
  color: var(--heading-color);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.conversation-order__number {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.dialogue-quote {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 5px solid var(--accent);
  background: rgba(141, 95, 47, 0.08);
  color: var(--heading-color);
}

.dialogue-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.pull-quote {
  margin: 3rem 0 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--heading-color);
}

.pull-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
}

.trust-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  border-radius: 6px;
  background: var(--paper);
}

.system-statement {
  max-width: 860px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.closing-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.final-principle {
  margin-top: 2rem;
  color: var(--heading-color);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}

.site-footer {
  padding: 2rem 1.25rem;
  background: var(--footer-bg);
  color: var(--header-text);
}

.site-footer__inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
}

.site-footer__title {
  color: var(--header-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 1rem 0;
}

.footer-nav a {
  color: var(--header-text);
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

#start-a-conversation,
#review-process,
#discord-application,
#common-ground-form,
#discord-form,
#public-conversations,
.content-accordion {
  scroll-margin-top: var(--sticky-header-offset);
}

@media (max-width: 1000px) {
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .common-ground-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .science-index {
    grid-template-columns: 1fr;
  }

  .embedded-form-frame--common-ground {
    height: 2600px;
  }

  .embedded-form-frame--discord {
    height: 2100px;
  }

}

@media (max-width: 760px) {
  .site-header {
    padding: 0.9rem 1rem;
    gap: 0.65rem;
  }

  :root {
    --sticky-header-offset: 10rem;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    order: 2;
  }

  .appearance-control {
    order: 3;
    margin-left: 0;
  }

  .site-title {
    flex: 1 1 auto;
  }

  .appearance-summary {
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.88rem;
  }

  .appearance-panel {
    right: 0;
    width: min(21rem, calc(100vw - 2rem));
    max-height: min(34rem, calc(100vh - 5.5rem));
  }

  .site-nav {
    position: fixed;
    inset: 4.55rem 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: var(--site-header-background);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 0;
    font-size: 1.05rem;
  }

  .three-column,
  .two-column,
  .trust-card-grid,
  .home-hero__layout,
  .feature-card-grid,
  .model-step-grid,
  .topic-grid,
  .split-section,
  .common-ground-layout {
    grid-template-columns: 1fr;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .conversation-order li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
  }

  .conversation-order__number {
    width: 2rem;
    height: 2rem;
  }

  .content-accordion summary {
    min-height: 4rem;
    padding: 1rem 3.25rem 1rem 1rem;
  }

  .common-ground-accordion summary {
    min-height: 4.75rem;
    padding: 1rem 3.25rem 1rem 1rem;
  }

  .common-ground-accordion summary::after {
    right: 1rem;
    width: 1.75rem;
    height: 1.75rem;
  }

  .common-ground-accordion__content {
    padding: 0.75rem;
  }

  .integration-panel {
    padding: 1rem 0.75rem;
  }

  .content-accordion summary::after {
    right: 1rem;
    width: 1.75rem;
    height: 1.75rem;
  }

  .content-accordion__content {
    padding: 1rem;
  }

  .embedded-form-frame--common-ground {
    height: 3550px;
  }

  .embedded-form-frame--discord {
    height: 2930px;
  }

}

html[data-reading="readable"] .eyebrow {
  letter-spacing: 0.03em;
  text-transform: none;
}

html[data-reading="readable"] .narrow,
html[data-reading="readable"] .article-page .section__inner,
html[data-reading="readable"] .hero .lede {
  width: min(100%, var(--narrow-width-active));
  max-width: var(--narrow-width-active);
}

html[data-reading="readable"] p,
html[data-reading="readable"] li,
html[data-reading="readable"] summary,
html[data-reading="readable"] label,
html[data-reading="readable"] .button {
  letter-spacing: var(--body-letter-spacing);
  word-spacing: var(--body-word-spacing);
}

html[data-reading="readable"] em,
html[data-reading="readable"] i {
  font-style: normal;
  font-weight: 700;
}

html[data-color-mode="safe"] a {
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

html[data-color-mode="safe"] .button,
html[data-color-mode="safe"] .discussion-card,
html[data-color-mode="safe"] .feature-card,
html[data-color-mode="safe"] .model-step,
html[data-color-mode="safe"] .topic-panel,
html[data-color-mode="safe"] .common-ground-accordion,
html[data-color-mode="safe"] .content-accordion,
html[data-color-mode="safe"] .integration-panel,
html[data-color-mode="safe"] .outcome-item,
html[data-color-mode="safe"] .stage-card,
html[data-color-mode="safe"] .closing-panel {
  border-width: 2px;
}

html[data-color-mode="safe"] .model-step,
html[data-color-mode="safe"] .integration-panel,
html[data-color-mode="safe"] .trust-card {
  border-top-style: double;
  border-top-width: 8px;
}

html[data-color-mode="safe"] .common-ground-accordion summary,
html[data-color-mode="safe"] .conversation-order li,
html[data-color-mode="safe"] .dialogue-quote,
html[data-color-mode="safe"] .hero-statement {
  border-left-style: double;
  border-left-width: 8px;
}

html[data-color-mode="safe"] .common-ground-accordion[open] summary,
html[data-color-mode="safe"] .content-accordion[open] summary {
  box-shadow: inset 0 -4px 0 var(--accent-2);
}

html[data-color-mode="safe"] .card-label,
html[data-color-mode="safe"] .eyebrow {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

@media (forced-colors: active) {
  *,
  *::before,
  *::after {
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
  }

  body,
  .section--tint,
  .site-header,
  .site-footer,
  .appearance-panel,
  .discussion-card,
  .feature-card,
  .model-step,
  .topic-panel,
  .common-ground-accordion,
  .content-accordion,
  .integration-panel,
  .outcome-item,
  .stage-card,
  .principle-card,
  .closing-panel,
  .pull-quote,
  .dialogue-quote,
  .hero-statement {
    background: Canvas;
    color: CanvasText;
  }

  h1,
  h2,
  h3,
  .site-title,
  .site-nav a,
  .footer-nav a,
  .appearance-summary,
  .appearance-reset {
    color: CanvasText;
  }

  a,
  .text-link {
    color: LinkText;
    text-decoration: underline;
  }

  .button,
  .appearance-summary,
  .appearance-reset,
  .nav-toggle,
  .common-ground-accordion,
  .content-accordion,
  .discussion-card,
  .feature-card,
  .model-step,
  .topic-panel,
  .integration-panel,
  .outcome-item,
  .stage-card,
  .closing-panel {
    border: 2px solid ButtonText;
  }

  .button--primary,
  .button--secondary,
  .model-step__label,
  .stage-card__label,
  .conversation-order__number,
  .system-statement {
    background: ButtonFace;
    color: ButtonText;
  }

  .appearance-fieldset--polarity:disabled label,
  .appearance-fieldset--polarity:disabled .appearance-help {
    color: GrayText;
  }

  .common-ground-accordion[open] summary,
  .content-accordion[open] summary {
    border-bottom: 3px solid ButtonText;
  }

  a:focus-visible,
  button:focus-visible,
  summary:focus-visible {
    outline: 3px solid Highlight;
  }

  body::before,
  body::after {
    display: none;
  }
}

.games-hero {
  padding-block-start: clamp(2rem, 5vw, 4rem);
}

.games-intro {
  max-width: 68ch;
}

.games-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 20%, var(--paper));
  color: var(--heading-color);
  font-weight: 700;
}

.game-badge__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 0.35rem color-mix(in srgb, var(--accent-2) 20%, transparent);
}

.game-note {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

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

.game-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.game-action-row .button {
  min-width: min(16rem, 100%);
}

.install-steps {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 720px) {
  .game-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-action-row {
    width: 100%;
  }

  .game-action-row .button {
    width: 100%;
  }

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