:root {
  --purple: #7258ff;
  --purple-soft: #efebff;
  --acid: #c3f432;
  --ink: #191919;
  --muted: #686868;
  --rule: #dedede;
  --soft: #f5f5f5;
  --white: #ffffff;
  --red: #c85c41;
  --red-soft: #fff0ec;
  --amber: #d99a2b;
  --amber-soft: #fff7e8;
  --green: #4f8f62;
  --green-soft: #eaf5ed;
  --font-ui: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --pad-x: 120px;
  --pad-top: 92px;
  --pad-bottom: 138px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

deck-stage {
  display: block;
  background: #000;
}

deck-stage:not(:defined) {
  visibility: hidden;
}

section {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
}

section::after {
  content: "臺大文學院｜AI 文學創作工作坊";
  position: absolute;
  right: 54px;
  bottom: 38px;
  color: #737373;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

section.inverse::after,
section.divider::after,
section.cover::after {
  color: rgba(255, 255, 255, 0.62);
}

.frame {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 26px;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow .num {
  display: inline-grid;
  min-width: 52px;
  min-height: 28px;
  place-items: center;
  box-sizing: border-box;
  padding: 3px 10px;
  background: var(--acid);
  color: var(--ink);
  font-size: 17px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.title {
  margin: 0 0 42px;
  max-width: 1680px;
  font-size: 66px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.025em;
}

.title.compact {
  font-size: 58px;
}

.lead {
  margin: 0;
  color: #333;
  font-size: 36px;
  line-height: 1.55;
}

.small {
  margin: 0;
  color: var(--muted);
  font-size: 23px;
  line-height: 1.48;
}

.mono {
  font-family: var(--font-mono);
}

.serif {
  font-family: var(--font-serif);
}

.purple {
  color: var(--purple);
}

.acid {
  color: var(--acid);
}

.red {
  color: var(--red);
}

.center {
  text-align: center;
}

.cover,
.inverse,
.divider {
  background: var(--ink);
  color: var(--white);
}

.cover .frame,
.inverse .frame,
.divider .frame,
.cover h1,
.cover h2,
.cover h3,
.cover p,
.inverse h1,
.inverse h2,
.inverse h3,
.inverse p,
.divider h1,
.divider h2,
.divider h3,
.divider p {
  color: inherit;
}

.cover .frame {
  justify-content: center;
  padding-top: 82px;
}

.cover-kicker {
  margin: 0 0 44px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.cover-title {
  margin: 0;
  max-width: 1550px;
  font-family: var(--font-serif);
  font-size: 116px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.cover-title span {
  display: block;
  color: var(--acid);
  font-size: 150px;
}

.cover-subtitle {
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 34px;
  line-height: 1.4;
}

.cover-meta {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 105px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.75);
  font-size: 23px;
}

.thesis {
  margin: auto 0;
  max-width: 1600px;
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 600;
  line-height: 1.45;
}

.thesis .mark {
  display: block;
  margin-top: 42px;
  color: var(--acid);
  font-size: 80px;
}

.inverse-note {
  max-width: 1520px;
  margin: 0 0 70px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 27px;
  line-height: 1.55;
}

.inverse-title {
  max-width: 1580px;
  margin: 0 0 42px;
  color: #fff !important;
  font-family: var(--font-serif);
  font-size: 62px;
  line-height: 1.28;
}

.divider .frame {
  justify-content: center;
}

.section-number {
  margin: 0 0 10px;
  color: var(--acid);
  font-family: var(--font-serif);
  font-size: 182px;
  font-weight: 700;
  line-height: 0.9;
}

.section-label {
  margin: 0 0 22px;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.section-title {
  margin: 0;
  font-size: 86px;
  line-height: 1.18;
}

.section-subtitle {
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 33px;
}

.grid {
  display: grid;
  gap: 34px;
}

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

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

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

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

.card {
  box-sizing: border-box;
  min-height: 300px;
  padding: 32px;
  border-top: 8px solid var(--accent, var(--purple));
  background: var(--card-bg, var(--soft));
}

.card.tall {
  min-height: 520px;
}

.card.dark {
  --card-bg: var(--ink);
  color: #fff;
}

.card.dark h3,
.card.dark strong {
  color: #fff;
}

.card.purple-card {
  --card-bg: var(--purple-soft);
  --accent: var(--purple);
}

.card.green-card {
  --card-bg: var(--green-soft);
  --accent: var(--green);
}

.card.red-card {
  --card-bg: var(--red-soft);
  --accent: var(--red);
}

.card.amber-card {
  --card-bg: var(--amber-soft);
  --accent: var(--amber);
}

.card-kicker {
  margin: 0 0 22px;
  color: var(--accent, var(--purple));
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dark .card-kicker {
  color: var(--acid);
}

.card h3 {
  margin: 0 0 28px;
  font-size: 38px;
  line-height: 1.18;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 24px;
  line-height: 1.48;
}

.card.dark p,
.card.dark li {
  color: rgba(255, 255, 255, 0.72);
}

.card p strong {
  color: var(--ink);
}

.card ul {
  margin: 0;
  padding-left: 28px;
}

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

.metric {
  min-height: 215px;
  padding: 30px 28px 24px;
  box-sizing: border-box;
  border-top: 7px solid var(--accent, var(--purple));
  background: var(--soft);
}

.metric .value {
  display: block;
  margin-bottom: 14px;
  color: var(--accent, var(--purple));
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.metric .label {
  display: block;
  font-size: 23px;
  font-weight: 700;
}

.metric .sub {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
}

.callout {
  padding: 30px 38px;
  border-left: 7px solid var(--purple);
  background: var(--purple-soft);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5;
}

.callout.dark {
  border-left-color: var(--acid);
  background: var(--ink);
  color: var(--acid);
}

.vote-row {
  display: grid;
  grid-template-columns: 470px 130px 470px 1fr;
  gap: 50px;
  align-items: center;
}

.vote-arrow,
.flow-arrow {
  color: var(--purple);
  font-size: 64px;
  text-align: center;
}

.quad-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px 75px;
}

.quad {
  min-height: 230px;
  padding: 28px 34px;
  box-sizing: border-box;
  border-left: 12px solid var(--accent);
  background: var(--card-bg);
}

.quad h3 {
  margin: 0 0 12px;
  font-size: 34px;
}

.quad .letter {
  float: left;
  margin-right: 22px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 0.9;
}

.quad .guard {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.quad p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.35;
}

.quad-center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 540px;
  padding: 24px 32px;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 92px;
  margin-top: 75px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 95px;
  right: 95px;
  top: 28px;
  height: 6px;
  background: var(--rule);
}

.timeline-step {
  position: relative;
  padding: 90px 20px 0 0;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border: 7px solid #fff;
  border-radius: 50%;
  background: var(--accent, var(--purple));
  color: #fff;
  font: 700 19px/60px var(--font-mono);
  text-align: center;
  box-shadow: 0 0 0 2px var(--accent, var(--purple));
}

.timeline-step time {
  color: var(--accent, var(--purple));
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
}

.timeline-step h3 {
  margin: 24px 0;
  font-size: 34px;
}

.timeline-step p {
  color: var(--muted);
  font-size: 24px;
  line-height: 1.45;
}

.timeline-conclusion,
.method-foot,
.image-note {
  margin: 38px 0 0;
  padding: 18px 24px;
  border-left: 6px solid var(--purple);
  background: var(--purple-soft);
  color: #353535;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
}

.image-pair + .image-note {
  margin-top: 18px;
  padding-block: 13px;
  font-size: 19px;
  line-height: 1.38;
}

.judge-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 22px;
}

.judge-table th,
.judge-table td {
  padding: 22px 24px;
  text-align: left;
  vertical-align: middle;
}

.judge-table th {
  background: var(--ink);
  color: #fff;
  font-size: 19px;
}

.judge-table tbody tr:nth-child(odd) {
  background: var(--soft);
}

.judge-table tbody tr:nth-child(even) {
  background: #fff;
}

.judge-table td:nth-child(2) {
  color: var(--purple);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
}

.judge-table td:nth-child(3),
.judge-table td:first-child {
  font-weight: 700;
}

.postscript-images {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  height: 690px;
  margin-top: 20px;
}

.postscript-images figure {
  min-width: 0;
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
}

.postscript-shot {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--rule);
  background: #f4f1ea;
}

.postscript-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.postscript-images figcaption {
  min-height: 52px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 14px;
  align-items: baseline;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.4;
}

.postscript-images figcaption strong {
  color: var(--ink);
  font-size: 19px;
}

.image-pair,
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.image-panel img,
.product-image {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  background: var(--soft);
}

.image-panel figcaption {
  margin-top: 22px;
  font-size: 24px;
  font-weight: 700;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 45px;
  align-items: stretch;
}

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

.flow-node {
  position: relative;
  min-height: 335px;
  padding: 32px 28px;
  box-sizing: border-box;
  border-top: 8px solid var(--accent, var(--purple));
  background: var(--card-bg, var(--soft));
}

.flow-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 135px;
  right: -44px;
  width: 42px;
  color: var(--purple);
  font-size: 42px;
  text-align: center;
}

.flow-node .step {
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
}

.flow-node h3 {
  margin: 65px 0 30px;
  font-size: 34px;
  line-height: 1.18;
}

.flow-node p {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.4;
}

.flow-node.dark-node {
  --card-bg: var(--ink);
  color: #fff;
}

.flow-node.dark-node .step {
  color: var(--acid);
}

.flow-node.dark-node h3 {
  color: #fff;
}

.flow-node.dark-node p {
  color: rgba(255, 255, 255, 0.72);
}

.flow-node.accent-node {
  --card-bg: var(--purple-soft);
  --accent: var(--acid);
}

.two-voices {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 120px;
  align-items: start;
  margin-top: 90px;
}

.voice {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.35;
}

.voice.muted {
  color: #bbb;
}

.research-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 35px;
}

.architecture {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: start;
}

.architecture-list {
  display: grid;
  gap: 18px;
}

.architecture-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  padding: 24px 28px;
  border-left: 8px solid var(--purple);
  background: var(--soft);
}

.architecture-item:last-child {
  border-left-color: var(--acid);
  background: var(--purple-soft);
}

.architecture-item strong {
  font-size: 27px;
}

.architecture-item span {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.architecture img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.cta-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 90px;
  align-items: start;
}

.qr {
  width: 390px;
  height: 390px;
  object-fit: contain;
}

.schedule {
  display: grid;
  gap: 26px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 230px 250px 1fr;
  gap: 30px;
  align-items: center;
  min-height: 135px;
  padding: 0 36px;
  box-sizing: border-box;
  background: var(--soft);
}

.schedule-row:last-child {
  background: var(--purple-soft);
}

.schedule-row time {
  color: var(--purple);
  font: 700 21px/1 var(--font-mono);
}

.schedule-row strong {
  font-size: 34px;
}

.schedule-row span {
  color: var(--muted);
  font-size: 22px;
}

.deadline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 50px;
}

.deadline {
  position: relative;
  min-height: 455px;
  padding: 40px 32px;
  box-sizing: border-box;
  background: var(--soft);
}

.deadline.highlight {
  background: var(--purple-soft);
}

.deadline:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 205px;
  right: -50px;
  width: 50px;
  color: var(--purple);
  font-size: 40px;
  text-align: center;
}

.deadline .letter {
  color: var(--purple);
  font: 600 49px/1 var(--font-serif);
}

.deadline time {
  float: right;
  color: var(--purple);
  font: 700 17px/1 var(--font-mono);
}

.deadline h3 {
  margin: 95px 0 40px;
  font-size: 34px;
}

.deadline p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.page-link {
  position: absolute;
  left: var(--pad-x);
  bottom: 76px;
  max-width: 1250px;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
}

.page-link a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.inverse .page-link,
.divider .page-link,
.cover .page-link {
  color: var(--acid);
}

.slide-no {
  position: absolute;
  right: 54px;
  bottom: 76px;
  color: #777;
  font: 600 16px/1 var(--font-mono);
}

.inverse .slide-no,
.divider .slide-no,
.cover .slide-no {
  color: rgba(255, 255, 255, 0.5);
}

.closing-links {
  position: absolute;
  left: 120px;
  right: 120px;
  bottom: 104px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  color: #bbb;
  font-size: 22px;
}

.dense .title {
  margin-bottom: 28px;
}

.dense .card {
  min-height: 250px;
  padding: 27px 29px;
}

.dense .card h3 {
  margin-bottom: 18px;
  font-size: 32px;
}

.dense .card p,
.dense .card li {
  font-size: 20px;
  line-height: 1.42;
}

.route-grid {
  gap: 24px;
  margin-top: 18px;
}

.route-grid .card {
  min-height: 430px;
}

.context-band {
  margin: 28px 0 0;
  padding: 20px 26px;
  border-left: 6px solid var(--purple);
  background: var(--purple-soft);
  color: #353535;
  font-size: 20px;
  line-height: 1.5;
}

.context-band strong,
.context-band span {
  display: block;
}

.context-band strong {
  margin-bottom: 5px;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.compact-vote {
  margin-top: 8px;
}

.compact-vote .metric,
.compact-vote .card {
  min-height: 225px;
}

.judge-cards .card,
.judge-detail .card {
  min-height: 490px;
}

.judge-detail {
  gap: 30px;
}

.dual-note,
.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.dual-note p,
.mini-cards p {
  margin: 0;
  padding: 20px 24px;
  background: var(--soft);
  color: #424242;
  font-size: 19px;
  line-height: 1.48;
}

.issue-grid {
  gap: 24px;
}

.issue-grid .card {
  min-height: 270px;
}

.boundary-cards .card {
  min-height: 430px;
}

.boundary-question {
  margin-top: 30px !important;
  font-size: 32px;
}

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

.six-grid article {
  min-height: 210px;
  padding: 22px 24px;
  border-top: 6px solid var(--purple);
  background: var(--soft);
}

.six-grid article:nth-child(2n) {
  border-top-color: var(--acid);
}

.six-grid span {
  color: var(--purple);
  font: 700 15px/1 var(--font-mono);
}

.six-grid h3 {
  margin: 20px 0 10px;
  font-size: 27px;
}

.six-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.asset-grid .card,
.capability-grid .card,
.structure-layer .card {
  min-height: 390px;
}

.chat-agent .card,
.aha-grid .card {
  min-height: 420px;
}

.reasoning-metrics,
.method-metrics,
.result-metrics {
  margin-top: 16px;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 36px;
}

.question-list p {
  margin: 0;
  padding: 23px 25px;
  border-left: 6px solid var(--acid);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-family: var(--font-serif);
  font-size: 27px;
  line-height: 1.35;
}

.research-flow,
.workshop-flow {
  gap: 34px;
}

.research-flow .flow-node,
.workshop-flow .flow-node {
  min-height: 290px;
  padding: 26px 23px;
}

.research-flow .flow-node h3,
.workshop-flow .flow-node h3 {
  margin: 46px 0 20px;
  font-size: 29px;
}

.research-flow .flow-node p,
.workshop-flow .flow-node p {
  font-size: 18px;
}

.research-flow .flow-node:not(:last-child)::after,
.workshop-flow .flow-node:not(:last-child)::after {
  top: 112px;
  right: -34px;
  width: 34px;
}

.reasoning-strip,
.method-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.reasoning-strip span,
.method-line span {
  padding: 17px 15px;
  background: #fff;
  color: #444;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.product-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-copy > p {
  margin: 0;
  color: #333;
  font-size: 25px;
  line-height: 1.55;
}

.product-copy .callout {
  margin-top: auto;
  font-size: 23px;
}

.product-split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.internal-flow {
  gap: 52px;
}

.internal-flow .flow-node {
  min-height: 340px;
}

.method-line {
  margin-top: 30px;
}

.method-line span {
  min-height: 70px;
  background: var(--soft);
  color: var(--ink);
  font-size: 16px;
}

.feature-grid,
.sepia-grid,
.adoption-grid {
  gap: 22px;
}

.feature-grid .card {
  min-height: 278px;
}

.sepia-grid .card {
  min-height: 290px;
}

.adoption-grid .card {
  min-height: 350px;
}

.limits article {
  min-height: 190px;
}

.qr-label {
  font-size: 18px;
  font-weight: 700;
}

.slide-sources {
  position: absolute;
  left: var(--pad-x);
  right: 320px;
  bottom: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  color: #666;
  font: 600 13px/1.25 var(--font-mono);
}

.slide-sources > span {
  color: var(--ink);
  font-weight: 800;
}

.slide-sources a {
  color: var(--purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cover .slide-sources,
.inverse .slide-sources,
.divider .slide-sources {
  border-top-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.cover .slide-sources > span,
.inverse .slide-sources > span,
.divider .slide-sources > span {
  color: #fff;
}

.cover .slide-sources a,
.inverse .slide-sources a,
.divider .slide-sources a {
  color: var(--acid);
}

.cover .cover-meta {
  bottom: 132px;
}

.icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cover-author {
  margin: 22px 0 0;
  color: var(--acid) !important;
  font-family: var(--font-mono);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dense .title.compact {
  font-size: 52px;
  line-height: 1.14;
}

.question-wheel {
  position: relative;
  flex: 1;
  min-height: 560px;
}

.wheel-track {
  position: absolute;
  inset: 30px 270px 20px;
  border: 7px solid rgba(195, 244, 50, 0.56);
  border-radius: 50%;
}

.wheel-track::before,
.wheel-track::after {
  content: "";
  position: absolute;
  inset: 54px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.wheel-track::after {
  inset: 116px;
  border-style: solid;
  border-color: rgba(114, 88, 255, 0.65);
}

.wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 255px;
  height: 255px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  background: var(--acid);
  color: var(--ink);
  text-align: center;
}

.wheel-center .icon {
  width: 58px;
  height: 58px;
}

.wheel-center strong {
  font: 700 36px/1 var(--font-serif);
}

.wheel-center span {
  max-width: 170px;
  font-size: 16px;
  font-weight: 700;
}

.wheel-arrow {
  position: absolute;
  color: var(--acid);
  font: 700 42px/1 var(--font-mono);
}

.wheel-arrow.a {
  left: 47%;
  top: -26px;
}

.wheel-arrow.b {
  right: -20px;
  top: 45%;
  transform: rotate(90deg);
}

.wheel-arrow.c {
  left: 49%;
  bottom: -27px;
  transform: rotate(180deg);
}

.wheel-arrow.d {
  left: -20px;
  top: 48%;
  transform: rotate(270deg);
}

.wheel-q {
  position: absolute;
  width: 425px;
  min-height: 132px;
  box-sizing: border-box;
  padding: 22px 26px 20px 80px;
  border-left: 7px solid var(--acid);
  background: rgba(255, 255, 255, 0.1);
}

.wheel-q span {
  position: absolute;
  left: 24px;
  top: 25px;
  color: var(--acid);
  font: 700 18px/1 var(--font-mono);
}

.wheel-q p {
  margin: 0;
  color: #fff !important;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.34;
}

.wheel-q.q1 {
  left: 0;
  top: 20px;
}

.wheel-q.q2 {
  right: 0;
  top: 20px;
}

.wheel-q.q3 {
  right: 0;
  bottom: 10px;
}

.wheel-q.q4 {
  left: 0;
  bottom: 10px;
}

.event-composite {
  display: grid;
  grid-template-columns: 455px 1fr;
  grid-template-rows: 365px 82px;
  gap: 22px 36px;
}

.vote-bridge {
  display: grid;
  grid-template-rows: 1fr 76px 1fr;
  align-items: stretch;
  gap: 10px;
}

.vote-bridge .metric {
  min-height: 0;
  padding: 14px 20px;
}

.vote-bridge .metric .value {
  margin-bottom: 5px;
  font-size: 52px;
}

.vote-bridge .metric .label {
  font-size: 18px;
}

.vote-bridge .metric .sub {
  margin-top: 4px;
  font-size: 15px;
}

.vote-bridge .vote-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--ink);
  color: var(--acid);
  font-size: 38px;
}

.vote-bridge .vote-arrow span {
  font: 700 16px/1 var(--font-mono);
}

.mini-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-timeline article {
  padding: 25px 24px;
  border-top: 8px solid var(--accent);
  background: var(--soft);
}

.mini-timeline time,
.mini-timeline strong {
  display: block;
}

.mini-timeline time {
  color: var(--accent);
  font: 700 18px/1 var(--font-mono);
}

.mini-timeline strong {
  margin: 27px 0 18px;
  font-size: 31px;
}

.mini-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.evidence-ribbon {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 28px;
  background: var(--purple-soft);
  font-size: 19px;
}

.evidence-ribbon span {
  color: var(--muted);
}

.evidence-ribbon strong {
  color: var(--purple);
  font-size: 24px;
}

.evidence-ribbon i {
  color: #aaa;
  font-style: normal;
}

.stance-axis {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  color: var(--purple);
  font: 700 17px/1 var(--font-mono);
}

.stance-axis i {
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--acid));
}

.stance-rows {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.stance-rows article {
  min-height: 350px;
  padding: 24px 21px;
  box-sizing: border-box;
  border-top: 6px solid var(--purple);
  background: var(--soft);
}

.stance-rows strong {
  display: flex;
  justify-content: space-between;
  font-size: 23px;
}

.stance-rows em {
  color: var(--purple);
  font: 700 18px/1 var(--font-mono);
  font-style: normal;
}

.pill {
  display: inline-block;
  margin: 17px 0 14px;
  padding: 5px 9px;
  background: var(--purple-soft);
  color: var(--purple);
  font: 700 15px/1 var(--font-mono);
}

.pill.red {
  background: var(--red-soft);
  color: var(--red);
}

.pill.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.pill.green {
  background: var(--green-soft);
  color: var(--green);
}

.stance-rows p,
.stance-rows small {
  display: block;
  margin: 0;
  font-size: 18px;
  line-height: 1.42;
}

.stance-rows p {
  color: #444;
}

.stance-rows small {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.observer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.observer-row p {
  margin: 0;
  padding: 16px 20px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.4;
}

.observer-row strong {
  color: var(--acid);
}

.design-matrix {
  border: 1px solid var(--rule);
}

.matrix-head,
.design-matrix article {
  display: grid;
  grid-template-columns: 0.72fr 1.18fr 1.1fr;
}

.matrix-head {
  background: var(--ink);
  color: #fff;
  font: 700 19px/1 var(--font-mono);
}

.matrix-head span,
.design-matrix article > * {
  padding: 16px 18px;
}

.design-matrix article:nth-child(odd) {
  background: var(--soft);
}

.design-matrix article h3,
.design-matrix article p {
  margin: 0;
  border-right: 1px solid var(--rule);
}

.design-matrix article h3 {
  font-size: 23px;
  line-height: 1.35;
}

.design-matrix article p {
  color: #4b4b4b;
  font-size: 20px;
  line-height: 1.42;
}

.design-matrix article p:last-child {
  border-right: 0;
}

.design-matrix article p strong {
  color: var(--purple);
}

.design-chips {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.design-chips span {
  padding: 12px 8px;
  background: var(--purple-soft);
  color: var(--purple);
  font: 700 17px/1 var(--font-mono);
  text-align: center;
}

.world-boundary {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
}

.chat-world,
.agent-world {
  min-height: 425px;
  padding: 26px 30px;
  box-sizing: border-box;
  border-top: 8px solid var(--purple);
  background: var(--purple-soft);
}

.agent-world {
  border-top-color: var(--acid);
  background: var(--ink);
  color: #fff;
}

.world-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.world-title .icon {
  width: 46px;
  height: 46px;
}

.world-title small,
.world-title strong {
  display: block;
}

.world-title small {
  color: var(--purple);
  font: 700 16px/1.4 var(--font-mono);
}

.agent-world .world-title small {
  color: var(--acid);
}

.world-title strong {
  font-size: 29px;
}

.chat-bubble {
  display: grid;
  gap: 9px;
  margin: 27px 0 20px;
  padding: 22px;
  border: 2px solid var(--purple);
  border-radius: 26px 26px 26px 5px;
  background: #fff;
}

.chat-bubble span,
.chat-bubble b {
  padding: 8px 12px;
  background: var(--soft);
  font-size: 17px;
}

.chat-bubble b {
  background: var(--purple);
  color: #fff;
}

.chat-world > p,
.agent-world > p {
  margin: 0;
  font-size: 19px;
  line-height: 1.46;
}

.chat-world > p {
  color: #444;
}

.agent-world > p {
  color: rgba(255, 255, 255, 0.78);
}

.orbit {
  position: relative;
  height: 245px;
  margin: 12px 0;
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 28px 110px;
  border: 2px dashed rgba(195, 244, 50, 0.45);
  border-radius: 50%;
}

.orbit-core,
.orbit > span {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
}

.orbit-core {
  left: 50%;
  top: 50%;
  width: 160px;
  height: 100px;
  transform: translate(-50%, -50%);
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 16px;
}

.orbit-core .icon {
  width: 33px;
  height: 33px;
}

.orbit > span {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.orbit > span .icon {
  width: 20px;
  height: 20px;
  color: var(--acid);
}

.orbit .o1 { left: 1%; top: 13%; }
.orbit .o2 { right: 1%; top: 13%; }
.orbit .o3 { left: 0; bottom: 12%; }
.orbit .o4 { right: 0; bottom: 12%; }
.orbit .o5 { left: 50%; bottom: 0; transform: translateX(-50%); }

.boundary-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.boundary-controls span {
  padding: 12px 14px;
  background: var(--soft);
  color: var(--muted);
  font-size: 17px;
}

.boundary-controls b {
  display: block;
  margin-bottom: 4px;
  color: var(--purple);
  font-size: 19px;
}

.golden-rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.golden-rules article {
  position: relative;
  min-height: 345px;
  padding: 24px 22px;
  box-sizing: border-box;
  border-top: 7px solid var(--purple);
  background: var(--soft);
}

.golden-rules article:nth-child(2),
.golden-rules article:nth-child(4) {
  border-top-color: var(--acid);
}

.golden-rules article > span {
  position: absolute;
  right: 18px;
  top: 16px;
  color: #bbb;
  font: 700 16px/1 var(--font-mono);
}

.icon-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: #fff;
}

.golden-rules h3 {
  margin: 29px 0 15px;
  font-size: 26px;
  line-height: 1.25;
}

.golden-rules p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.48;
}

.question-iteration {
  display: grid;
  grid-template-columns: repeat(11, auto);
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.question-iteration span {
  padding: 12px 14px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 16px;
  font-weight: 700;
}

.question-iteration b {
  color: var(--purple);
}

.question-pipeline {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
}

.hard-questions {
  padding: 24px 26px;
  background: var(--ink);
  color: #fff;
}

.hard-questions h3 {
  margin: 0 0 16px;
  color: var(--acid);
  font-size: 25px;
}

.hard-questions p {
  margin: 8px 0 0;
  padding: 11px 14px;
  border-left: 4px solid var(--purple);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.pipeline-stack {
  display: grid;
  gap: 8px;
}

.pipeline-stack article {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 19px;
  background: var(--soft);
}

.pipeline-stack b {
  color: var(--purple);
  font: 700 15px/1 var(--font-mono);
}

.pipeline-stack span {
  color: var(--muted);
  font-size: 18px;
}

.pipeline-stack strong {
  display: inline-block;
  width: 105px;
  color: var(--ink);
  font-size: 20px;
}

.inference-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.inference-legend span {
  padding: 13px 14px;
  background: var(--purple-soft);
  color: #4c4c4c;
  font-size: 15px;
  line-height: 1.35;
}

.inference-legend b {
  display: block;
  color: var(--purple);
  font-size: 17px;
}

.tool-reach {
  border: 1px solid var(--rule);
}

.reach-head,
.tool-reach article {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 0.55fr) 2.25fr;
  align-items: stretch;
}

.reach-head {
  background: var(--ink);
  color: #fff;
  font: 700 19px/1 var(--font-mono);
}

.reach-head span,
.tool-reach article > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 9px 13px;
  box-sizing: border-box;
  border-right: 1px solid var(--rule);
}

.tool-reach article:nth-child(odd) {
  background: var(--soft);
}

.tool-reach article strong {
  justify-content: flex-start;
  gap: 9px;
  font-size: 25px;
}

.tool-reach article strong .icon {
  width: 25px;
  height: 25px;
  color: var(--purple);
}

.tool-reach article p {
  justify-content: flex-start;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
}

.tool-reach .human,
.reach-legend .human {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
}

.tool-reach .shared,
.reach-legend .shared {
  background: var(--amber-soft);
  color: #9a6412;
  font-weight: 700;
}

.tool-reach .tool,
.reach-legend .tool {
  background: var(--purple-soft);
  color: var(--purple);
  font-weight: 700;
}

.reach-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
}

.reach-legend span {
  padding: 8px 12px;
  font-size: 18px;
}

.reach-legend p {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 19px;
}

.internal-main {
  display: grid;
  grid-template-columns: 1fr 35px 1fr 35px 1fr 35px 1fr;
  align-items: center;
}

.internal-main article {
  min-height: 270px;
  padding: 22px;
  box-sizing: border-box;
  border-top: 7px solid var(--purple);
  background: var(--soft);
}

.internal-main article.outcome {
  border-top-color: var(--acid);
  background: var(--ink);
  color: #fff;
}

.internal-main article > span {
  float: right;
  color: #aaa;
  font: 700 14px/1 var(--font-mono);
}

.internal-main .icon {
  width: 42px;
  height: 42px;
  color: var(--purple);
}

.internal-main .outcome .icon {
  color: var(--acid);
}

.internal-main h3 {
  margin: 25px 0 14px;
  font-size: 25px;
}

.internal-main p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.internal-main .outcome p {
  color: rgba(255, 255, 255, 0.72);
}

.internal-main > b {
  color: var(--purple);
  font-size: 28px;
  text-align: center;
}

.failure-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.failure-branches article {
  padding: 16px 18px;
  border-left: 5px solid var(--red);
  background: var(--red-soft);
}

.failure-branches strong {
  font-size: 19px;
}

.failure-branches p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.oracle-matrix {
  border: 1px solid var(--rule);
}

.oracle-head,
.oracle-matrix article {
  display: grid;
  grid-template-columns: 0.45fr 1fr 1fr;
}

.oracle-head {
  background: var(--ink);
  color: #fff;
}

.oracle-head > *,
.oracle-matrix article > * {
  padding: 16px 22px;
}

.oracle-head strong:last-child {
  color: var(--acid);
}

.oracle-matrix article:nth-child(odd) {
  background: var(--soft);
}

.oracle-matrix h3,
.oracle-matrix p {
  margin: 0;
  border-right: 1px solid var(--rule);
}

.oracle-matrix h3 {
  font-size: 23px;
}

.oracle-matrix p {
  color: #444;
  font-size: 19px;
  line-height: 1.4;
}

.oracle-matrix p:last-child {
  border-right: 0;
}

.oracle-prompts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 15px;
}

.oracle-prompts span {
  padding: 13px 10px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.fiction-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fiction-layers article {
  min-height: 380px;
  padding: 23px 21px;
  box-sizing: border-box;
  border-top: 7px solid var(--purple);
  background: var(--soft);
}

.fiction-layers article:nth-child(2),
.fiction-layers article:nth-child(4) {
  border-top-color: var(--acid);
}

.fiction-layers article > span {
  float: right;
  color: #aaa;
  font: 700 14px/1 var(--font-mono);
}

.fiction-layers .icon {
  width: 44px;
  height: 44px;
  color: var(--purple);
}

.fiction-layers h3 {
  margin: 34px 0 18px;
  font-size: 28px;
}

.fiction-layers p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.48;
}

.layer-question {
  margin: 16px 0 0;
  padding: 17px 22px;
  background: var(--ink);
  color: #fff;
  font-size: 20px;
  line-height: 1.45;
}

.research-landscape,
.tool-compare {
  border: 1px solid var(--rule);
}

.research-head,
.research-landscape article {
  display: grid;
  grid-template-columns: 0.72fr 0.95fr 1.35fr 1.25fr;
}

.research-head,
.tool-compare-head {
  background: var(--ink);
  color: #fff;
  font: 700 18px/1 var(--font-mono);
}

.research-head > *,
.research-landscape article > * {
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
}

.research-landscape article:nth-child(odd) {
  background: var(--soft);
}

.research-landscape h3,
.research-landscape p {
  margin: 0;
}

.research-landscape h3 {
  font-size: 22px;
}

.research-landscape p {
  color: #4c4c4c;
  font-size: 20px;
  line-height: 1.4;
}

.scope-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.scope-metrics .metric {
  min-height: 125px;
  padding: 16px 19px;
}

.scope-metrics .metric .value {
  margin-bottom: 6px;
  font-size: 46px;
}

.scope-metrics .metric .label {
  font-size: 18px;
}

.scope-metrics .metric .sub {
  margin-top: 5px;
  font-size: 15px;
}

.scope-flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: center;
  margin-top: 15px;
}

.scope-flow article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  min-height: 108px;
  padding: 16px;
  box-sizing: border-box;
  background: var(--soft);
}

.scope-flow b {
  color: var(--purple);
  font: 700 16px/1 var(--font-mono);
}

.scope-flow span {
  color: #444;
  font-size: 17px;
  line-height: 1.35;
}

.scope-flow i {
  color: var(--purple);
  font-style: normal;
  font-size: 24px;
  text-align: center;
}

.scope-evidence {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.scope-evidence p {
  margin: 0;
  padding: 14px 16px;
  background: var(--purple-soft);
  color: #444;
  font-size: 16px;
  line-height: 1.38;
}

.scope-evidence strong {
  display: inline-block;
  margin-right: 7px;
  color: var(--purple);
}

.collab-studies {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.collab-studies article {
  min-height: 390px;
  padding: 21px 19px;
  box-sizing: border-box;
  border-top: 7px solid var(--purple);
  background: var(--soft);
}

.collab-studies article.collective {
  border-top-color: var(--acid);
  background: var(--ink);
  color: #fff;
}

.collab-studies h3 {
  margin: 0 0 11px;
  font-size: 24px;
}

.collab-studies > article > span {
  color: var(--purple);
  font: 700 15px/1.3 var(--font-mono);
}

.collab-studies article.collective > span {
  color: var(--acid);
}

.collab-studies p {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.43;
}

.collab-studies article.collective p {
  color: rgba(255, 255, 255, 0.75);
}

.collab-studies small {
  display: block;
  margin-top: 20px;
  color: #777;
  font-size: 16px;
  line-height: 1.35;
}

.collab-studies article.collective small {
  color: rgba(255, 255, 255, 0.6);
}

.collab-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.collab-flow span {
  padding: 10px 13px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 16px;
  font-weight: 700;
}

.collab-flow b {
  color: var(--purple);
}

.tool-spectrum {
  display: grid;
  grid-template-columns: 1fr 25px 1fr 25px 1fr 25px 1fr 25px 1fr;
  align-items: stretch;
}

.tool-spectrum article {
  min-height: 360px;
  padding: 20px 18px;
  box-sizing: border-box;
  border-top: 7px solid var(--purple);
  background: var(--soft);
}

.tool-spectrum article:nth-of-type(2),
.tool-spectrum article:nth-of-type(4) {
  border-top-color: var(--acid);
}

.tool-spectrum article > span {
  float: right;
  color: #aaa;
  font: 700 15px/1 var(--font-mono);
}

.tool-spectrum .icon {
  width: 40px;
  height: 40px;
  color: var(--purple);
}

.tool-spectrum h3 {
  margin: 27px 0 16px;
  font-size: 23px;
  line-height: 1.25;
}

.tool-spectrum p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.43;
}

.tool-spectrum small {
  display: block;
  margin-top: 19px;
  color: var(--purple);
  font: 700 15px/1.35 var(--font-mono);
}

.tool-spectrum > i {
  align-self: center;
  color: var(--purple);
  font-style: normal;
  font-size: 23px;
  text-align: center;
}

.sepia-passes {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  gap: 9px;
  margin-top: 16px;
}

.sepia-passes > * {
  margin: 0;
  padding: 12px 13px;
  background: var(--purple-soft);
  color: #454545;
  font-size: 15px;
  line-height: 1.35;
}

.sepia-passes b {
  display: block;
  color: var(--purple);
  font-size: 16px;
}

.tool-compare-head,
.tool-compare article {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 1.25fr 1.25fr 1.25fr;
}

.tool-compare-head > *,
.tool-compare article > * {
  padding: 14px 15px;
  border-right: 1px solid var(--rule);
}

.tool-compare article:nth-child(odd) {
  background: var(--soft);
}

.tool-compare article.highlight {
  background: var(--purple-soft);
}

.tool-compare h3,
.tool-compare p {
  margin: 0;
}

.tool-compare h3 {
  color: var(--purple);
  font-size: 23px;
}

.tool-compare p {
  color: #454545;
  font-size: 21px;
  line-height: 1.35;
}

.dashboard-redesign {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
}

.participant-console,
.live-dashboard {
  min-height: 500px;
  box-sizing: border-box;
  background: var(--soft);
}

.participant-console {
  padding: 24px;
  border-top: 8px solid var(--purple);
}

.console-top,
.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-top span {
  font: 700 16px/1 var(--font-mono);
}

.console-top small {
  padding: 6px 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}

.animal-id {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 27px 0 22px;
  padding: 17px;
  background: var(--purple-soft);
}

.animal-id .animal,
.status-animal {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
}

.animal-id small,
.animal-id strong {
  display: block;
}

.animal-id small {
  color: var(--muted);
  font-size: 15px;
}

.animal-id strong {
  margin-top: 4px;
  font-size: 26px;
}

.participant-steps {
  display: grid;
  gap: 9px;
}

.participant-steps p {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 12px;
  background: #fff;
}

.participant-steps p > b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ddd;
  color: #666;
  font-size: 13px;
}

.participant-steps p.done > b {
  background: var(--green);
  color: #fff;
}

.participant-steps p.active > b {
  background: var(--purple);
  color: #fff;
}

.participant-steps strong,
.participant-steps span {
  display: block;
}

.participant-steps strong {
  font-size: 18px;
}

.participant-steps span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.privacy-note {
  margin-top: 15px;
  padding: 12px 14px;
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
  color: #5e513b;
  font-size: 15px;
  line-height: 1.35;
}

.live-dashboard {
  position: relative;
  padding: 24px 28px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.dashboard-top small,
.dashboard-top strong {
  display: block;
}

.dashboard-top small {
  color: var(--acid);
  font: 700 14px/1 var(--font-mono);
}

.dashboard-top strong {
  margin-top: 6px;
  font-size: 27px;
}

.live-dot {
  color: var(--acid);
  font: 700 15px/1 var(--font-mono);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.dashboard-metrics p {
  margin: 0;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-metrics strong,
.dashboard-metrics span {
  display: block;
}

.dashboard-metrics strong {
  color: var(--acid);
  font-family: var(--font-serif);
  font-size: 29px;
}

.dashboard-metrics span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.dashboard-bars {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.dashboard-bars p {
  display: grid;
  grid-template-columns: 55px 1fr 60px;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.dashboard-bars i {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-bars i b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--acid));
}

.status-list {
  display: grid;
  gap: 7px;
  margin-top: 20px;
}

.status-list > div {
  display: grid;
  grid-template-columns: 34px 1fr 75px 92px;
  gap: 10px;
  align-items: center;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.07);
}

.status-list .status-animal {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 15px;
}

.status-list strong {
  font-size: 16px;
}

.status-list em {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.status-list em.green { color: #84d49a; }
.status-list em.purple { color: #a99cff; }
.status-list em.amber { color: #f0bd5f; }

.status-list small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.illustrative-label {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.38);
  font: 700 14px/1 var(--font-mono);
}

.note-ref {
  position: relative;
  display: inline;
  border-bottom: 2px dotted var(--purple);
  color: inherit;
  cursor: pointer;
}

.note-tag {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-left: 5px;
  place-items: center;
  transform: translateY(-2px);
  background: var(--purple);
  color: #fff;
  font: 700 11px/1 var(--font-mono);
}

.note-body {
  display: none;
}

#note-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  box-sizing: border-box;
  background: rgba(16, 16, 16, 0.78);
}

#note-overlay[hidden] {
  display: none;
}

.note-card {
  position: relative;
  width: min(680px, 88vw);
  padding: 42px 48px;
  box-sizing: border-box;
  border-top: 9px solid var(--acid);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.note-kicker {
  display: block;
  color: var(--purple);
  font: 700 14px/1 var(--font-mono);
  letter-spacing: 0.1em;
}

.note-card .note-title {
  display: block;
  margin: 16px 0 20px;
  font-size: 34px;
}

.note-card .note-copy {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.note-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.noscript {
  margin: 60px auto;
  max-width: 760px;
  padding: 40px;
  background: #fff;
  color: #111;
}

@media (prefers-reduced-motion: no-preference) {
  section.is-active .card,
  section.is-active .metric,
  section.is-active .flow-node,
  section.is-active .deadline {
    animation: rise 0.45s ease-out backwards;
  }

  section.is-active .card:nth-child(2),
  section.is-active .metric:nth-child(2),
  section.is-active .flow-node:nth-child(2),
  section.is-active .deadline:nth-child(2) {
    animation-delay: 0.07s;
  }

  section.is-active .card:nth-child(3),
  section.is-active .metric:nth-child(3),
  section.is-active .flow-node:nth-child(3),
  section.is-active .deadline:nth-child(3) {
    animation-delay: 0.14s;
  }

  section.is-active .card:nth-child(4),
  section.is-active .flow-node:nth-child(4),
  section.is-active .deadline:nth-child(4) {
    animation-delay: 0.21s;
  }
}

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

@media print {
  section *,
  section *::before,
  section *::after {
    animation: none !important;
  }
}
