:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --white: #fffefa;
  --ink: #172d34;
  --muted: #56686d;
  --accent: #1c6266;
  --accent-light: #e4eeea;
  --line: #d7ddd7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b75726; outline-offset: 5px; border-radius: 3px; }
::selection { background: #cce2da; color: var(--ink); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.16; }
h3 { font-size: 1.13rem; line-height: 1.4; }
svg { flex-shrink: 0; }
sup { margin-left: 2px; color: var(--accent); font-size: .65em; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 12px; transform: translateY(-150%); padding: 12px 18px; background: var(--white); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-shell { min-height: 82px; width: min(1320px, calc(100% - 64px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: .89rem; font-weight: 650; text-decoration: none; }
.brand svg { color: var(--accent); }
.nav-links { display: flex; gap: 27px; }
.nav-links a { padding-block: 10px; color: var(--muted); font-size: .83rem; text-decoration: none; }
.nav-links a:hover { color: var(--accent); text-decoration: underline; }
.hero { text-align: center; padding-block: 65px 48px; }
.eyebrow { color: var(--accent); font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 11px; }
.eyebrow-divider { color: #76888a; margin-inline: 3px; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
h1 { margin-top: 20px; font-size: clamp(3.8rem, 8vw, 6.35rem); line-height: 1.02; }
h1 em { font-weight: 400; color: var(--accent); }
.hero-subtitle { margin-top: 22px; font-size: clamp(1.15rem, 2.5vw, 1.65rem); letter-spacing: -.02em; }
.authors { margin-top: 29px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 1rem; font-weight: 600; }
.authors span { white-space: nowrap; }
.affiliations { margin-top: 14px; color: var(--muted); font-size: .79rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 7px; text-decoration: none; font-size: .84rem; font-weight: 600; line-height: 1.5; transition: background-color .15s; }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { background: var(--accent); }
.button-secondary { color: var(--ink); background: transparent; border-color: #a8b9b8; }
.button-secondary:hover { background: var(--accent-light); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero-actions .text-link { padding: 12px; }
.resource-status { color: var(--muted); font-size: .73rem; margin-top: 14px; }
.concept { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; margin-top: 14px; padding: 42px 50px; border: 1px solid #cfdcd5; border-radius: 16px; background: var(--accent-light); }
.concept h2 { margin-top: 13px; font-size: clamp(2.05rem, 3.3vw, 2.8rem); }
.concept-copy > p:not(.eyebrow) { color: #3f595b; margin-top: 20px; max-width: 420px; font-size: .96rem; }
.concept .text-link { margin-top: 22px; }
.group-figure { text-align: center; }
.conversation-map { height: 260px; width: min(100%, 360px); margin-inline: auto; position: relative; }
.orbit { position: absolute; inset: 21px 35px; border: 1px dashed #7c9c96; border-radius: 50%; }
.conversation-center { display: flex; flex-direction: column; align-items: center; gap: 7px; position: absolute; inset: 0; justify-content: center; }
.conversation-center svg { color: var(--accent); }
.conversation-center > span { font-size: .9rem; font-weight: 600; }
.conversation-center small { color: var(--muted); font-size: .72rem; }
.player { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #93ada5; border-radius: 50%; background: var(--white); color: var(--accent); font: 1.05rem var(--serif); }
.player-1 { left: calc(50% - 22px); top: 0; }
.player-2 { right: 16px; top: 53px; }
.player-3 { right: 16px; bottom: 53px; }
.player-4 { left: calc(50% - 22px); bottom: 0; }
.player-5 { left: 16px; bottom: 53px; }
.player-6 { left: 16px; top: 53px; }
.group-figure figcaption { margin-top: 20px; color: #3f595b; font-size: .79rem; }
.group-figure figcaption span { color: var(--muted); font-size: .69rem; }
.section { padding-block: 87px; border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { margin-top: 13px; }
.heading-with-copy { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 65px; }
.heading-with-copy > p { color: var(--muted); font-size: .96rem; }
.abstract-layout { display: grid; grid-template-columns: 1fr 3fr; gap: 50px; }
.section-aside { border-top: 2px solid var(--accent); padding-top: 16px; }
.section-aside p { margin-top: 7px; color: var(--muted); font-size: .8rem; }
.prose { font-size: 1rem; line-height: 1.85; }
.prose p + p { margin-top: 20px; }
.prose strong { color: var(--accent); font-weight: 650; }
.game-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; list-style: none; margin: 0; padding: 0; }
.game-steps li { border-top: 1px solid #a8b9b8; padding-top: 22px; }
.step-number { font-family: var(--serif); font-size: 1.6rem; color: var(--accent); }
.game-steps h3 { margin-top: 16px; }
.game-steps p { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.game-outcomes { margin-top: 33px; padding: 18px 24px; border-radius: 6px; background: #eeede6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .83rem; }
.outcome-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.human-dot { background: var(--accent); }
.ai-dot { background: #965535; }
.agent-section { padding-block: 86px; background: var(--ink); color: var(--paper); }
.agent-section .eyebrow { color: #a0d4c7; }
.agent-section .heading-with-copy > p { color: #c2d0d0; }
.architecture { border: 1px solid #527074; border-radius: 10px; padding: 29px; background: #203a41; }
.pipeline-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .72rem; color: #c2d0d0; }
.pipeline-label span:first-child { color: #ade0d1; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.pipeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 0; margin: 0; }
.pipeline li { position: relative; background: #f0f3ee; color: var(--ink); border-radius: 6px; padding: 18px 22px; }
.pipeline li:not(:last-child)::after { content: "\2192"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: #c2d0d0; }
.node-index { color: var(--accent); font-family: var(--serif); font-size: .95rem; }
.pipeline h3 { margin-top: 4px; }
.pipeline p { margin-top: 6px; font-size: .8rem; color: #3f595b; }
.delivery { padding: 20px 0; display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; color: #d8e5df; font-size: .75rem; }
.shared-state { display: flex; align-items: center; gap: 14px; border-block: 1px solid #627c7d; padding: 14px 0; color: #ade0d1; font-size: .9rem; font-weight: 600; }
.shared-detail { margin-left: auto; color: #c2d0d0; font-size: .72rem; font-weight: 400; }
.worker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; margin-top: 24px; }
.worker-grid h4 { font-size: .85rem; font-weight: 600; }
.worker-grid p { margin-top: 4px; color: #c2d0d0; font-size: .77rem; }
.architecture figcaption { margin-top: 24px; padding-top: 20px; border-top: 1px solid #527074; color: #c2d0d0; font-size: .74rem; }
.architecture-note { color: #c2d0d0; font-size: .8rem; line-height: 1.8; margin-top: 24px; max-width: 1000px; }
.architecture-note strong { color: var(--white); }
.architecture-note a { color: #ade0d1; }
.section-intro { color: var(--muted); font-size: .9rem; margin-top: 18px; }
.findings-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.finding-card { border: 1px solid var(--line); border-radius: 9px; padding: 27px; background: var(--white); display: flex; flex-direction: column; }
.survival-card { background: #eef2eb; border-color: #cddad1; }
.card-kicker { text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: .65rem; font-weight: 650; }
.big-stat { font-size: 4rem; letter-spacing: -.045em; font-family: var(--serif); line-height: 1.2; margin-top: 19px; color: var(--accent); }
.big-stat span { font-size: 2rem; }
.finding-card h3 { margin-top: 15px; }
.finding-card > p:not(.card-kicker) { margin-top: 15px; color: var(--muted); font-size: .86rem; }
.comparison { margin-top: 22px; }
.bar-label { display: flex; justify-content: space-between; font-size: .69rem; margin-bottom: 5px; }
.bar-track { height: 9px; background: #dce3db; border-radius: 2px; margin-bottom: 10px; }
.bar { display: block; height: 100%; border-radius: 2px; }
.bar-agent { width: 30%; background: var(--accent); }
.bar-baseline { width: 35.5%; background: #7b8473; }
.finding-card .finding-detail { font-size: .74rem !important; }
.card-footnote { margin-top: auto; padding-top: 28px; font-size: .7rem; color: var(--muted); }
.role-symbol { color: var(--accent); font-size: 3.1rem; line-height: 1.55; margin-top: 14px; }
.results-link { margin-top: 25px; }
.dataset-section { background: #edeee7; padding-block: 85px; }
.dataset-stats { margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid #c4d0c6; padding-block: 26px; gap: 20px; }
.dataset-stats > div { display: flex; flex-direction: column-reverse; }
.dataset-stats dt { font-size: .78rem; color: var(--muted); }
.dataset-stats dd { margin: 0; color: var(--accent); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.4; }
.dataset-details { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 32px; }
.dataset-details p { font-size: .87rem; color: var(--muted); margin-top: 10px; }
.dataset-details .text-link { margin-top: 15px; }
.availability-note { border: 1px solid #b8c8bc; border-radius: 7px; padding: 22px 24px; margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.availability-note strong { font-size: .87rem; }
.availability-note p { margin-top: 3px; font-size: .77rem; color: var(--muted); max-width: 570px; }
.availability-note .button { flex-shrink: 0; font-size: .77rem; }
.citation-section { border-bottom: 0; }
.citation-box { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.citation-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #eeede6; padding: 12px 24px; border-bottom: 1px solid var(--line); font-size: .78rem; }
.citation-toolbar > span { font-weight: 600; }
pre { font-size: .83rem; line-height: 1.8; overflow-x: auto; margin: 0; padding: 26px; background: var(--white); tab-size: 2; }
code { font-family: Consolas, "Courier New", monospace; }
.citation-source { margin-top: 14px; color: var(--muted); font-size: .76rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 30px; }
.footer-content { display: flex; justify-content: space-between; gap: 25px; font-size: .76rem; color: var(--muted); }
.footer-content strong { color: var(--ink); font-weight: 600; }
.footer-content p:last-child { text-align: right; }
.paper-figure { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.figure-image-link { display: block; border-radius: 4px; }
.paper-figure img { display: block; width: 100%; height: auto; border-radius: 4px; }
.paper-figure figcaption { margin-top: 20px; font-size: .84rem; line-height: 1.75; color: var(--muted); }
.paper-figure figcaption strong { color: var(--ink); }
.figure-expand { display: inline-block; margin-top: 12px; padding-block: 5px; font-size: .8rem; font-weight: 600; }
.teaser-figure { margin-top: 8px; }
.abstract-text { max-width: 900px; margin-inline: auto; }
.abstract-footnote { max-width: 900px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.game-details, .agent-details { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.game-details article { border-top: 1px solid var(--line); padding-top: 23px; }
.game-details p, .agent-details p { margin-top: 13px; font-size: .9rem; line-height: 1.8; }
.game-details p { color: var(--muted); }
.game-details p + h3 { margin-top: 26px; }
.agent-details { margin-top: 35px; }
.agent-details h3 { color: #ade0d1; }
.agent-details h4 { margin-top: 20px; font-size: .9rem; }
.agent-details p { color: #c2d0d0; }
.dataset-summary { padding-block: 25px; border-block: 1px solid #c4d0c6; font: 1.65rem/1.6 var(--serif); }
.dataset-summary strong { color: var(--accent); font-weight: 400; }
.dataset-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.finding-card h3:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .nav-shell { min-height: 75px; }
  .nav-links { gap: 17px; }
  .brand span { max-width: 145px; line-height: 1.35; }
  .concept { padding: 30px; gap: 20px; }
  .heading-with-copy { gap: 30px; }
  .abstract-layout { grid-template-columns: 1fr 3fr; gap: 30px; }
  .findings-grid { grid-template-columns: 1fr 1fr; }
  .survival-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; }
  .survival-card .card-kicker { grid-column: 1 / -1; }
  .survival-card .big-stat { grid-row: 2; }
  .survival-card h3 { grid-column: 1; margin-top: 0; }
  .survival-card .comparison { grid-column: 2; grid-row: 2 / 4; align-self: center; }
  .survival-card .finding-detail { grid-column: 1 / -1; }
  .game-steps { gap: 24px; }
  .availability-note { align-items: flex-start; flex-direction: column; gap: 15px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 20px; }
  body { font-size: 16px; }
  .container, .nav-shell { width: calc(100% - 40px); }
  .nav-shell { flex-direction: column; align-items: flex-start; gap: 5px; padding-block: 16px 8px; }
  .brand span { max-width: none; }
  .brand svg { width: 23px; height: 23px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 10px; }
  .nav-links a { font-size: .77rem; }
  .nav-links { flex-wrap: wrap; justify-content: flex-start; gap: 0 18px; }
  .nav-links a { padding-block: 8px; }
  .hero { padding-top: 41px; padding-bottom: 25px; }
  h1 { font-size: clamp(3.2rem, 14vw, 5rem); margin-top: 18px; }
  .hero-subtitle { font-size: 1.14rem; margin-top: 18px; }
  .authors { gap: 9px 17px; font-size: .88rem; margin-top: 25px; }
  .affiliations { font-size: .7rem; margin-top: 16px; }
  .affiliations p + p { margin-top: 4px; }
  .hero-actions { flex-direction: column; margin-top: 25px; gap: 10px; }
  .hero-actions .button { width: 100%; max-width: 320px; }
  .hero-actions .text-link { padding-block: 8px; }
  .resource-status { max-width: 280px; margin-inline: auto; line-height: 1.7; }
  .concept { grid-template-columns: 1fr; padding: 29px 23px; gap: 28px; margin-top: 20px; }
  .concept h2 { font-size: 2.2rem; }
  .conversation-map { height: 250px; max-width: 325px; }
  .conversation-center > span { font-size: .8rem; }
  .conversation-center small { font-size: .65rem; }
  .player { width: 38px; height: 38px; }
  .player-1, .player-4 { left: calc(50% - 19px); }
  .player-2, .player-3 { right: 4px; }
  .player-5, .player-6 { left: 4px; }
  .orbit { inset-inline: 20px; }
  .section, .agent-section, .dataset-section { padding-block: 57px; }
  .section-heading { margin-bottom: 27px; }
  h2 { font-size: 2.2rem; }
  .heading-with-copy, .abstract-layout { grid-template-columns: 1fr; gap: 23px; }
  .section-aside { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 15px; padding-top: 13px; }
  .section-aside p { margin-top: 0; }
  .prose { font-size: .95rem; line-height: 1.85; }
  .game-steps { grid-template-columns: 1fr; gap: 27px; }
  .game-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding-top: 17px; }
  .game-steps h3 { align-self: center; margin-top: 0; }
  .game-steps p { grid-column: 2; margin-top: 4px; }
  .game-outcomes { padding: 19px; margin-top: 25px; font-size: .8rem; }
  .architecture { padding: 20px; }
  .pipeline-label { font-size: .66rem; }
  .pipeline { grid-template-columns: 1fr; gap: 22px; }
  .pipeline li { padding: 14px 18px; }
  .pipeline li:not(:last-child)::after { content: "\2193"; right: 50%; top: auto; bottom: -25px; transform: translateX(50%); }
  .delivery { justify-content: flex-start; gap: 7px; font-size: .7rem; }
  .shared-state { flex-wrap: wrap; gap: 5px 10px; }
  .shared-detail { margin-left: 0; flex-basis: 100%; }
  .worker-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .worker-grid h4 { font-size: .78rem; }
  .worker-grid p { font-size: .72rem; }
  .findings-grid { grid-template-columns: 1fr; }
  .survival-card { display: flex; grid-column: auto; }
  .survival-card h3 { margin-top: 15px; }
  .survival-card .comparison { align-self: stretch; }
  .finding-card { padding: 24px; }
  .dataset-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .dataset-stats dd { font-size: 2.6rem; }
  .dataset-details { grid-template-columns: 1fr; gap: 27px; }
  .availability-note { padding: 20px; }
  .availability-note .button { width: 100%; }
  .citation-toolbar { padding-inline: 18px; }
  pre { font-size: .72rem; padding: 18px; }
  .footer-content { flex-direction: column; gap: 14px; }
  .footer-content p:last-child { text-align: left; }
  .paper-figure { padding: 15px; }
  .paper-figure figcaption { font-size: .78rem; margin-top: 15px; }
  .game-details, .agent-details { grid-template-columns: 1fr; gap: 28px; }
  .dataset-summary { font-size: 1.4rem; }
}

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

@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .skip-link, .hero-actions, .resource-status, .site-footer { display: none; }
  .container { width: 100%; }
  .hero, .section, .agent-section, .dataset-section { padding-block: 25px; }
  h1 { font-size: 42pt; }
  h2 { font-size: 25pt; }
  .concept, .architecture, .finding-card, .citation-box { break-inside: avoid; }
  .agent-section { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  pre { white-space: pre-wrap; overflow: visible; }
}
