
:root {
  --bg: #0b1020;
  --card: #ffffff;
  --text: #18202a;
  --muted: #596579;
  --line: #dde4ee;
  --brand: #0a6cff;
  --brand-dark: #0853c7;
  --surface: #f7f9fc;
  --shadow: 0 14px 40px rgba(14, 20, 33, 0.10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}
.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  position: relative;
}
.hero-brand {
  background: #fff;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.hero-brand .container {
  max-width: 360px;
}
.hero-acl-banner-link {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  line-height: 0;
  border-radius: 10px;
  transition: opacity 0.15s ease;
}
.hero-acl-banner-link:hover {
  opacity: 0.9;
}
.hero-acl-banner-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
.hero-acl-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56px;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
.hero-title-row {
  background: var(--surface);
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--line);
}
.hero-art-wrap {
  background: #fff;
  margin: 0;
  padding: 16px 20px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  line-height: 0;
}
.hero-art-frame {
  position: relative;
  width: 100%;
  max-width: min(420px, 82vw);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.hero-art {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
  border-radius: 8px;
  /* Subtle alpha fade on outer edges only (white shows through from .hero-art-frame) */
  -webkit-mask-image: radial-gradient(
    ellipse 120% 110% at 50% 50%,
    #000 0%,
    #000 78%,
    rgba(0, 0, 0, 0.55) 92%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 120% 110% at 50% 50%,
    #000 0%,
    #000 78%,
    rgba(0, 0, 0, 0.55) 92%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero-lower {
  background: var(--surface);
  color: var(--text);
  padding: 40px 0 52px;
  border-top: 1px solid var(--line);
}
.hero-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text);
}
.authors-line {
  margin: 0 auto 18px;
  max-width: min(52rem, 100%);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  text-align: center;
}
.authors-line sup {
  font-size: 0.72em;
  font-weight: 600;
  line-height: 0;
  margin-left: 0.04em;
}
.affil-wrap {
  text-align: center;
  margin-bottom: 18px;
}
.affil-line {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}
.affil-line + .affil-line {
  margin-top: 4px;
}
.affil-line sup {
  font-size: 0.78em;
  font-weight: 600;
  margin-right: 0.2em;
  line-height: 0;
}
.hero-email {
  margin: 0 auto 22px;
  text-align: center;
  font-size: 0.98rem;
  word-break: break-word;
}
.hero-email a {
  color: var(--brand);
  text-decoration: none;
}
.hero-email a:hover {
  text-decoration: underline;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.subtitle {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 10px 12px;
  margin-top: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .hero-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    max-width: 520px;
  }
}
@media (max-width: 380px) {
  .hero-nav {
    grid-template-columns: 1fr;
  }
}
.hero-nav .btn {
  font-size: 0.9rem;
  padding: 10px 14px;
  gap: 8px;
}
.hero-nav .btn-icon {
  flex-shrink: 0;
  width: 1.05em;
  height: 1.05em;
  display: block;
}
.hero-lower .btn-hero-quiet {
  opacity: 0.96;
  font-weight: 500;
}
.hero-lower .btn-hero-dataset {
  box-shadow: 0 4px 16px rgba(10, 108, 255, 0.28);
  padding-left: 18px;
  padding-right: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
button.btn {
  -webkit-appearance: none;
  appearance: none;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.16);
}
main .btn-secondary,
.hero-lower .btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
main > .section {
  padding: 6px 0;
}
main > .section:first-of-type {
  padding-top: 36px;
}
main > .section:last-of-type {
  padding-bottom: 56px;
}
.section.alt { background: var(--surface); }
#overview,
#contributions,
#access,
#citation {
  scroll-margin-top: 28px;
}
#dataset-snapshot,
#taxonomy {
  scroll-margin-top: 28px;
}
.section-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section.alt .section-details {
  background: #fff;
}
.section-details + .section-details {
  margin-top: 6px;
}
details.section-details:not([open]) > .section-summary {
  padding: 12px 18px;
}
.section-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  margin: 0;
  user-select: none;
  position: relative;
}
.section-summary::-webkit-details-marker { display: none; }
.section-summary::marker { content: ""; }
.section-summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
details.section-details[open] > .section-summary::after {
  transform: translateY(2px) rotate(225deg);
}
.section-summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.section-summary-icon {
  flex-shrink: 0;
  display: block;
  color: var(--brand);
  opacity: 0.92;
}
.section-summary h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.02em;
  flex: 1;
  min-width: 0;
  text-align: left;
  line-height: 1.2;
}
.section-details-body {
  padding: 0 20px 22px;
  border-top: 1px solid var(--line);
}
.section-details-body--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 22px;
}
.anno-page-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.anno-back-link {
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  font-size: 0.95rem;
}
.anno-back-link:hover {
  text-decoration: underline;
}
.anno-page-main {
  padding-top: 40px;
}
.anno-page-title {
  margin: 0 0 14px;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.anno-intro {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0 0 18px;
  max-width: 62ch;
  line-height: 1.55;
}
.anno-figure {
  margin: 0;
}
.annotated-example {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 20px;
  font-size: 0.9rem;
  line-height: 1.55;
  box-shadow: var(--shadow);
}
.annotated-example .anno-text,
.annotated-example .anno-p {
  color: var(--text);
}
.annotated-example .anno-text {
  margin: 0 0 8px;
}
.annotated-example .anno-p {
  margin: 0 0 12px;
}
.annotated-example .anno-row {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(221, 228, 238, 0.85);
}
.annotated-example > .anno-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.anno-subhead {
  font-size: 1.05rem;
  margin: 26px 0 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.annotated-example > .anno-subhead:first-child {
  margin-top: 0;
}
.anno-subhead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 26px 0 12px;
}
.anno-subhead-row .anno-subhead {
  margin: 0;
}
.anno-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
.anno-labels--inline {
  margin: 0;
}
.anno-chip {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.anno-chip--primacy { color: #1d4ed8; background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.28); }
.anno-chip--recency { color: #047857; background: rgba(5, 150, 105, 0.12); border-color: rgba(5, 150, 105, 0.28); }
.anno-chip--urgency { color: #c2410c; background: rgba(234, 88, 12, 0.12); border-color: rgba(234, 88, 12, 0.28); }
.anno-chip--anchoring { color: #6d28d9; background: rgba(124, 58, 237, 0.11); border-color: rgba(124, 58, 237, 0.28); }
.anno-chip--nostalgia { color: #be185d; background: rgba(219, 39, 119, 0.11); border-color: rgba(219, 39, 119, 0.26); }
.anno-chip--contrast { color: #0e7490; background: rgba(6, 182, 212, 0.12); border-color: rgba(6, 182, 212, 0.28); }
.anno-chip--continuity { color: #334155; background: rgba(71, 85, 105, 0.12); border-color: rgba(71, 85, 105, 0.28); }
.anno-chip--skeptical { color: #92400e; background: rgba(146, 64, 14, 0.12); border-color: rgba(146, 64, 14, 0.28); }
.anno-quote {
  margin: 12px 0 14px;
  padding: 12px 14px;
  background: var(--surface);
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  font-size: 0.88rem;
  color: var(--text);
}
.anno-caption {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.anno-caption a {
  color: var(--brand);
  font-weight: 600;
}
.anno-caption a:hover {
  text-decoration: underline;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 0;
  max-width: 100%;
  align-items: start;
}
.overview-tile {
  margin: 0;
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.overview-tile-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 44px 20px 22px;
  margin: 0;
  position: relative;
  user-select: none;
}
.overview-tile-summary::-webkit-details-marker { display: none; }
.overview-tile-summary::marker { content: ""; }
.overview-tile-summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}
details[open].overview-tile .overview-tile-summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.overview-tile-summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
details[open].overview-tile > .overview-tile-summary {
  padding-bottom: 12px;
}
.overview-tile-summary .overview-tile-title {
  margin: 0;
}
.overview-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.overview-tile--a::before { background: #0a6cff; }
.overview-tile--b::before { background: #0a9f6e; }
.overview-tile--c::before { background: #7c3aed; }
.overview-tile--d::before { background: #e07000; }
.overview-tile--e::before { background: #0891b2; }
.overview-tile--f::before { background: #db2777; }
.overview-tile-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.overview-tile-text {
  margin: 0;
  padding: 0 22px 20px 22px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text);
}
.overview-tile-text code {
  font-size: 0.9em;
}
.overview-spotlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.overview-spotlight-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 18px 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}
.overview-spotlight-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.overview-spotlight-tile--annotated::before { background: #db2777; }
.overview-spotlight-tile--datasheet::before { background: #ca8a04; }
.overview-spotlight-tile--paper::before { background: #7c3aed; }
.overview-spotlight-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(14, 20, 33, 0.12);
}
.overview-spotlight-tile:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.overview-spotlight-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.overview-spotlight-tile--annotated .overview-spotlight-icon {
  color: #be185d;
  background: rgba(219, 39, 119, 0.11);
}
.overview-spotlight-tile--datasheet .overview-spotlight-icon {
  color: #a16207;
  background: rgba(202, 138, 4, 0.12);
}
.overview-spotlight-tile--paper .overview-spotlight-icon {
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.11);
}
.overview-spotlight-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.overview-spotlight-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.overview-spotlight-title {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.overview-spotlight-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.contrib-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 18px;
  align-items: start;
}
.contrib-grid > li {
  min-width: 0;
  display: flex;
}
.contrib-grid > li > .contrib-card {
  flex: 1;
  min-width: 0;
}
@media (max-width: 720px) {
  .contrib-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
}
.contrib-card {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contrib-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  z-index: 1;
}
.contrib-card--1 { background: linear-gradient(135deg, #f0f7ff 0%, #fff 55%); }
.contrib-card--1::before { background: #0a6cff; }
.contrib-card--2 { background: linear-gradient(135deg, #f3fff8 0%, #fff 55%); }
.contrib-card--2::before { background: #0a9f6e; }
.contrib-card--3 { background: linear-gradient(135deg, #fff8f0 0%, #fff 55%); }
.contrib-card--3::before { background: #e07000; }
.contrib-card--4 { background: linear-gradient(135deg, #f8f0ff 0%, #fff 55%); }
.contrib-card--4::before { background: #7c3aed; }
.contrib-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 22px 44px 22px 24px;
  margin: 0;
  position: relative;
  user-select: none;
}
.contrib-summary::-webkit-details-marker { display: none; }
.contrib-summary::marker { content: ""; }
.contrib-summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}
details[open].contrib-card > .contrib-summary::after {
  transform: translateY(-50%) rotate(225deg);
}
.contrib-summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
details[open].contrib-card > .contrib-summary {
  padding-bottom: 12px;
}
.contrib-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}
.contrib-card--1 .contrib-num { background: #0a6cff; }
.contrib-card--2 .contrib-num { background: #0a9f6e; }
.contrib-card--3 .contrib-num { background: #e07000; }
.contrib-card--4 .contrib-num { background: #7c3aed; }
.contrib-summary h3 {
  margin: 0;
  font-size: 1.2rem;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.contrib-card ul {
  margin: 0;
  padding: 0 22px 22px 28px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.55;
}
.contrib-card li + li {
  margin-top: 8px;
}
.contrib-card .contrib-figure {
  margin: 12px 22px 22px 28px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 16px rgba(14, 20, 33, 0.07);
}
.contrib-card .contrib-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.contrib-figure-caption {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
h2 {
  margin: 0 0 18px;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.grid {
  display: grid;
  gap: 18px;
}
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.two-col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.stats {
  display: grid;
  gap: 16px;
  margin: 24px 0;
  width: 100%;
  max-width: 100%;
}
/* 2 rows × 4 columns; eight stat tiles spanning container width */
.stats-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
}
@media (max-width: 900px) {
  .stats-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
  }
}
@media (max-width: 480px) {
  .stats-wide {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  min-width: 0;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--stat-accent, var(--line));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(14, 20, 33, 0.12);
}
.stat--a { --stat-accent: #0a6cff; }
.stat--b { --stat-accent: #0a9f6e; }
.stat--c { --stat-accent: #e07000; }
.stat--d { --stat-accent: #7c3aed; }
.stat--e { --stat-accent: #db2777; }
.stat--f { --stat-accent: #0891b2; }
.stat--g { --stat-accent: #4f46e5; }
.stat--h { --stat-accent: #ca8a04; }
.stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}
.stats-wide .stat {
  padding: 16px 14px;
}
.stats-wide .stat-value {
  font-size: 1.45rem;
}
.stats-wide .stat-label {
  font-size: 0.82rem;
  margin-top: 5px;
}
.stat-label {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  margin-top: 6px;
  display: block;
}
.clean-list {
  margin: 0;
  padding-left: 20px;
}
.clean-list li + li { margin-top: 8px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tags span {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #0d3f9a;
  border: 1px solid #dbe7ff;
  font-weight: 600;
  font-size: 0.95rem;
}
.frame-hint {
  margin: 0 0 14px;
}
.frame-list {
  display: block;
}
.frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
@media (max-width: 820px) {
  .frame-grid {
    grid-template-columns: 1fr;
  }
}
.frame-grid-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.frame-details {
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fafbfd;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.frame-details:hover {
  border-color: #c8d4e8;
}
.frame-details[open] {
  box-shadow: var(--shadow);
  background: #fff;
}
.frame-summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px 12px 44px;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  user-select: none;
}
.frame-summary--rich {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.frame-summary.frame-summary--rich::before {
  top: 1.35rem;
  transform: translateY(0) rotate(45deg);
}
.frame-details[open] .frame-summary.frame-summary--rich::before {
  transform: translateY(4px) rotate(225deg);
}
.fs-title {
  font-size: 1.02rem;
  line-height: 1.25;
  color: inherit;
}
.fs-lede {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 56rem;
  color: rgba(24, 32, 42, 0.72);
}
.frame-summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.frame-summary::-webkit-details-marker { display: none; }
.frame-summary::marker { content: ""; }
.frame-summary::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}
.frame-details[open] .frame-summary::before {
  transform: translateY(-30%) rotate(225deg);
}
/* One distinct hue per frame (avoid indigo vs violet, or two ambers) */
.frame-details--primacy .frame-summary { background: linear-gradient(90deg, rgba(37, 99, 235, 0.13), transparent); color: #1d4ed8; }
.frame-details--recency .frame-summary { background: linear-gradient(90deg, rgba(5, 150, 105, 0.14), transparent); color: #047857; }
.frame-details--urgency .frame-summary { background: linear-gradient(90deg, rgba(234, 88, 12, 0.14), transparent); color: #c2410c; }
.frame-details--anchoring .frame-summary { background: linear-gradient(90deg, rgba(124, 58, 237, 0.13), transparent); color: #6d28d9; }
.frame-details--nostalgia .frame-summary { background: linear-gradient(90deg, rgba(219, 39, 119, 0.13), transparent); color: #be185d; }
.frame-details--contrast .frame-summary { background: linear-gradient(90deg, rgba(6, 182, 212, 0.14), transparent); color: #0e7490; }
.frame-details--continuity .frame-summary { background: linear-gradient(90deg, rgba(71, 85, 105, 0.14), transparent); color: #334155; }
.frame-details--skeptical .frame-summary { background: linear-gradient(90deg, rgba(146, 64, 14, 0.14), transparent); color: #92400e; }
.frame-body.frame-body--nested {
  padding: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nest-block {
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f9fafc;
}
.nest-block[open] {
  background: #fff;
  box-shadow: 0 4px 16px rgba(14, 20, 33, 0.07);
}
.nest-summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  user-select: none;
  display: flex;
  align-items: center;
}
.nest-summary-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.nest-summary-label {
  flex: 1;
  min-width: 0;
}
.nest-icon {
  flex-shrink: 0;
  display: block;
}
.nest-block--def .nest-icon { color: #2563eb; }
.nest-block--rhet .nest-icon { color: #7c3aed; }
.nest-block--pos .nest-icon { color: #059669; }
.nest-block--neg .nest-icon { color: #c2410c; }
.nest-summary::-webkit-details-marker { display: none; }
.nest-summary::marker { content: ""; }
.nest-summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.nest-body {
  padding: 0 14px 14px;
  font-size: 0.9rem;
  line-height: 1.55;
}
.nest-body em {
  font-style: italic;
}
.ex-accordion {
  padding: 0 8px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ex-item {
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}
.ex-item--pos {
  border-left: 3px solid #0a9f6e;
  background: linear-gradient(90deg, rgba(10, 159, 110, 0.05), #fff 40%);
}
.ex-item--neg {
  border-left: 3px solid #c2410c;
  background: linear-gradient(90deg, rgba(194, 65, 12, 0.05), #fff 40%);
}
.ex-sum {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ex-sum-quote {
  flex: 1;
  min-width: 0;
}
.ex-explain-chip {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid rgba(10, 108, 255, 0.22);
  background: rgba(10, 108, 255, 0.1);
  color: var(--brand);
  line-height: 1.2;
}
.ex-item--pos .ex-explain-chip {
  border-color: rgba(5, 150, 105, 0.25);
  background: rgba(10, 159, 110, 0.12);
  color: #047857;
}
.ex-item--neg .ex-explain-chip {
  border-color: rgba(194, 65, 12, 0.28);
  background: rgba(194, 65, 12, 0.1);
  color: #9a3412;
}
.ex-sum::-webkit-details-marker { display: none; }
.ex-sum::marker { content: ""; }
.ex-sum:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.ex-expl {
  margin: 0;
  padding: 0 12px 10px 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}
.paper-modal-text {
  margin: 0 0 8px;
  line-height: 1.6;
}
.section--access {
  padding-top: 12px;
}
.access-card-files {
  margin: 0;
}
.access-files-block {
  margin: 0 0 4px;
}
.access-files-heading {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.access-download-wrap {
  display: flex;
  justify-content: center;
  margin: 14px 0 26px;
}
.access-hf-download-btn {
  min-width: 200px;
}
.access-datasheet {
  margin: 18px 0 0;
}
.access-datasheet .overview-spotlight-tile {
  width: 100%;
  box-sizing: border-box;
}
.md-rendered-wrap {
  max-width: 52rem;
  margin: 0 auto;
  overflow-x: auto;
}
.md-rendered {
  padding: 8px 0 48px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
}
.md-rendered :first-child {
  margin-top: 0;
}
.md-rendered h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 1.4em 0 0.5em;
  line-height: 1.2;
}
.md-rendered h1:first-child {
  margin-top: 0;
}
.md-rendered h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1.5em 0 0.55em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--line);
  line-height: 1.25;
}
.md-rendered h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.25em 0 0.45em;
  line-height: 1.3;
}
.md-rendered h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.1em 0 0.4em;
}
.md-rendered p {
  margin: 0.65em 0;
}
.md-rendered ul,
.md-rendered ol {
  margin: 0.5em 0 0.65em;
  padding-left: 1.35rem;
}
.md-rendered li {
  margin: 0.25em 0;
}
.md-rendered strong {
  font-weight: 700;
}
.md-rendered code {
  font-size: 0.9em;
  padding: 0.12em 0.35em;
  border-radius: 6px;
  background: rgba(14, 22, 40, 0.06);
}
.md-rendered pre {
  overflow-x: auto;
  margin: 1em 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0e1628;
  color: #f4f8ff;
  font-size: 0.88rem;
}
.md-rendered pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.md-rendered table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.92rem;
}
.md-rendered th,
.md-rendered td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.md-rendered th {
  background: rgba(14, 22, 40, 0.04);
  font-weight: 600;
}
.md-rendered blockquote {
  margin: 0.85em 0;
  padding: 0.35em 0 0.35em 1rem;
  border-left: 4px solid var(--brand);
  color: var(--muted);
}
.md-rendered a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.md-rendered a:hover {
  text-decoration: underline;
}
.md-rendered em {
  font-style: italic;
}
.md-loading {
  margin: 0;
}
.md-error {
  color: #b91c1c;
  margin: 0;
}
.md-rendered .pipeline-h-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin: 0.65em 0 1em;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(10, 108, 255, 0.06);
  border: 1px solid rgba(10, 108, 255, 0.14);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.md-rendered .pipeline-h-mini span:not(.ph-ar) {
  white-space: nowrap;
}
.md-rendered .pipeline-h-mini .ph-ar {
  color: var(--brand);
  font-weight: 800;
  user-select: none;
  opacity: 0.85;
}
.small { font-size: 0.92rem; }
.muted { color: var(--muted); }
.bibtex-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #0e1628;
  color: #f4f8ff;
  margin-top: 12px;
}
.bibtex-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bibtex-toolbar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(244, 248, 255, 0.5);
}
.bibtex-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f4f8ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.15s ease;
}
.bibtex-copy-btn svg {
  display: block;
  flex-shrink: 0;
}
.bibtex-icon-hidden {
  display: none !important;
}
.bibtex-copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.bibtex-copy-btn:focus-visible {
  outline: 2px solid #5b9cff;
  outline-offset: 2px;
}
.bibtex {
  overflow-x: auto;
  background: transparent;
  color: inherit;
  margin: 0;
  border-radius: 0;
  padding: 16px 18px 18px;
  white-space: pre-wrap;
}
.modal.hidden { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 32, 0.6);
}
.modal-panel {
  position: relative;
  width: min(680px, calc(100% - 24px));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.28);
  padding: 24px;
}
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.disabled {
  opacity: 0.5;
  pointer-events: none;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.93em;
}
@media (max-width: 640px) {
  .hero-brand {
    padding: 20px 0 18px;
  }
  .hero-acl-banner-link {
    max-width: 240px;
  }
  .hero-acl-banner {
    max-height: 48px;
  }
  .authors-line {
    font-size: 0.95rem;
    text-align: left;
  }
  .modal-panel { margin-top: 4vh; padding: 18px; }
}
