:root {
  --bg: #090911;
  --bg-deep: #05060b;
  --surface: rgba(14, 18, 31, 0.78);
  --surface-strong: rgba(18, 23, 38, 0.92);
  --surface-soft: rgba(20, 28, 47, 0.66);
  --text: #eef3ff;
  --muted: rgba(230, 238, 255, 0.68);
  --muted-soft: rgba(230, 238, 255, 0.5);
  --line: rgba(112, 140, 210, 0.2);
  --line-strong: rgba(8, 200, 247, 0.28);
  --red: #d00000;
  --red-bright: #f21b1b;
  --cyan: #07c8f8;
  --violet: #5a48ff;
  --grid-size: 72px;
  --max: 1248px;
  --content: 900px;
  --pointer-x: 36%;
  --pointer-y: 24%;
  --pointer-x-px: 36vw;
  --pointer-y-px: 24vh;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.7;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

body > :not(.site-backdrop):not(.skip-link):not(.top-link) {
  position: relative;
  z-index: 1;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #090911;
}

.site-backdrop-base,
.site-backdrop-glow,
.site-backdrop-vignette {
  position: absolute;
  inset: 0;
}

.site-backdrop-base {
  background:
    radial-gradient(circle at 18% 14%, rgba(90, 72, 255, 0.18), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(8, 200, 247, 0.12), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(4, 12, 32, 0.5), transparent 44%),
    linear-gradient(180deg, #0b0a10 0%, #090911 44%, #06070d 100%);
}

.site-backdrop-glow {
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(1, 224, 253, 0.28) 0,
      rgba(1, 224, 253, 0.14) 10%,
      rgba(90, 72, 255, 0.14) 24%,
      transparent 38%
    ),
    radial-gradient(
      circle at calc(var(--pointer-x) - 18%) calc(var(--pointer-y) + 10%),
      rgba(93, 120, 255, 0.14) 0,
      transparent 34%
    );
  filter: blur(18px);
  mix-blend-mode: screen;
}

.site-backdrop-vignette {
  background:
    radial-gradient(circle at 50% -8%, transparent 0, rgba(4, 6, 12, 0.18) 44%, rgba(4, 6, 12, 0.72) 100%),
    radial-gradient(circle at 50% 108%, transparent 0, rgba(4, 6, 12, 0.18) 42%, rgba(4, 6, 12, 0.78) 100%);
  box-shadow:
    inset 0 0 240px rgba(4, 6, 12, 0.92),
    inset 0 0 100px rgba(4, 6, 12, 0.86);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  clip: auto;
  clip-path: none;
  overflow: visible;
}

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

.top-link {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 140, 210, 0.24);
  border-radius: 50%;
  color: var(--text);
  background: rgba(14, 18, 31, 0.84);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.2s ease;
  backdrop-filter: blur(16px);
}

.top-link.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1248px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0;
  border-bottom: 1px solid rgba(107, 138, 206, 0.08);
  background: linear-gradient(180deg, rgba(11, 10, 16, 0.88), rgba(11, 10, 16, 0.18) 86%, transparent);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  letter-spacing: 0.01em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.brand-icon img {
  width: 35px;
  height: 30px;
  object-fit: contain;
}

.brand strong {
  color: inherit;
  font-weight: inherit;
}

.site-nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(24px, 4vw, 54px);
  color: rgba(233, 239, 255, 0.56);
  font-size: 1.167rem;
  font-weight: 470;
  letter-spacing: 0.01em;
}

.site-nav nav a {
  position: relative;
  padding: 10px 0;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  box-shadow: 0 0 18px rgba(8, 200, 247, 0.34);
  transform: translateX(-50%) scaleX(0);
  transition: transform 180ms ease;
}

.site-nav nav a:hover,
.site-nav nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.site-nav nav a:hover::after,
.site-nav nav a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

.hero {
  padding: 102px 0 42px;
}

.hero-container {
  display: block;
}

.hero-copy,
.report-layout {
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(3.4rem, 7.6vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-shadow: 0 0 24px rgba(208, 0, 0, 0.16);
  white-space: nowrap;
}

.subtitle {
  margin: 0;
  max-width: 56rem;
  color: var(--text);
  font-size: clamp(1.367rem, 2vw, 1.72rem);
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-media {
  width: min(100%, var(--content));
  margin: 48px auto 0;
}

.hero-media-shell,
.wide-figure,
.paper-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(112, 140, 210, 0.2);
  border-radius: 30px;
  background: rgba(247, 251, 255, 0.97);
  box-shadow: var(--shadow);
}

.hero-media-shell::after,
.wide-figure::after,
.paper-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(90, 72, 255, 0.12), transparent 34%);
}

.hero-media img {
  width: 100%;
  height: auto;
}

.overview-section {
  padding: 24px 0 92px;
}

.overview-content {
  max-width: 1120px;
}

.chapter-heading {
  margin-bottom: 44px;
  text-align: center;
}

.chapter-heading h2 {
  margin: 0;
  color: var(--red-bright);
  font-size: clamp(2.65rem, 5.4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.overview-section .chapter-heading {
  margin-bottom: 38px;
}

.wide-figure.overview-figure {
  width: 100%;
  margin: 0;
}

.abstract-copy {
  max-width: 56.25rem;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.88;
  text-align: left;
}

.abstract-copy p {
  margin: 0;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding-top: 72px;
}

.report-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.section-title h2,
.section-title h3 {
  margin: 0;
  color: var(--text);
  line-height: 0.98;
  letter-spacing: -0.055em;
  white-space: normal;
}

.section-title h2 {
  font-size: clamp(2rem, 4.8vw, 3.35rem);
}

.section-title h3 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
}

.section-body {
  max-width: 56.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.88;
}

.section-body p {
  margin-bottom: 1em;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.section-body em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 800;
}

.wide-figure {
  width: min(var(--max), calc(100% - 48px));
  margin: 44px auto 0;
}

.wide-figure img,
.paper-figure img {
  width: 100%;
  height: auto;
}

.wide-figure figcaption,
.paper-figure figcaption {
  position: relative;
  z-index: 1;
  padding: 14px 18px 16px;
  color: rgba(18, 22, 34, 0.72);
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(112, 140, 210, 0.16);
  font-size: 1.127rem;
  text-align: center;
}

.wide-figure.contained {
  padding: 16px;
  background: rgba(247, 251, 255, 0.98);
}

.wide-figure.contained img {
  border-radius: 18px;
}

.data-table,
.report-note,
.compact-grid article,
.method-grid article,
.ablation-card,
.score-panel,
.scaling-notes article,
.g1-task-card,
.citation-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 23, 38, 0.84), rgba(10, 13, 22, 0.9));
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.data-table {
  overflow: hidden;
  border-radius: 24px;
}

.data-table > div {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 1.5fr;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border-top: 1px solid rgba(112, 140, 210, 0.14);
}

.data-table .table-head {
  border-top: 0;
  color: var(--cyan);
  background: rgba(90, 72, 255, 0.08);
  font-size: 1.027rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.data-table span {
  color: var(--text);
  font-weight: 780;
}

.data-table strong {
  color: var(--red-bright);
  font-size: 1.42rem;
}

.data-table p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.88;
}

.overview-cards {
  max-width: 1080px;
  margin-top: 28px;
  margin-right: auto;
  margin-left: auto;
}

.report-note,
.compact-grid article,
.method-grid article,
.ablation-card,
.score-panel,
.scaling-notes article,
.g1-task-card,
.citation-card {
  border-radius: 24px;
}

.report-note {
  padding: 24px;
}

.report-note span,
.method-grid span,
.scaling-notes span,
.citation-card span {
  display: block;
  color: var(--cyan);
  font-size: 0.9875rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-note p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.88;
}

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

.compact-grid article {
  padding: 22px;
}

.compact-grid h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.347rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.compact-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.88;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.method-grid article {
  min-height: 228px;
  padding: 24px;
}

.method-grid p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.88;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.score-panel {
  padding: 28px;
}

.score-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(112, 140, 210, 0.16);
}

.score-summary span {
  color: var(--cyan);
  font-size: 1.027rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.score-summary h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.score-summary strong {
  grid-row: span 3;
  color: var(--red-bright);
  font-size: 4rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.score-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 1.228rem;
}

.score-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.score-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
}

.score-list span {
  color: var(--text);
  font-size: 1.228rem;
  font-weight: 760;
}

.score-list b {
  color: var(--red-bright);
}

.score-list i {
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(238, 243, 255, 0.12);
}

.score-list i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.component-ablation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.ablation-card {
  padding: 28px;
}

.ablation-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.52rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.ablation-card > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.88;
}

.ablation-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 1.087rem;
  font-variant-numeric: tabular-nums;
}

.ablation-table th,
.ablation-table td {
  padding: 13px 10px;
  border-bottom: 1px solid rgba(112, 140, 210, 0.16);
  text-align: right;
}

.ablation-table th:first-child,
.ablation-table td:first-child {
  text-align: left;
}

.ablation-table thead th {
  color: var(--cyan);
  font-size: 0.9875rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ablation-table tbody th {
  font-weight: 720;
}

.ablation-table .best-row th,
.ablation-table .best-row td {
  color: var(--red-bright);
  font-weight: 820;
}

.ablation-card > .ablation-takeaway {
  color: var(--text);
  font-weight: 680;
}

.rl-results-figure {
  margin-top: 28px;
}

.method-followup,
.experiment-followup {
  margin-top: clamp(44px, 6vw, 72px);
}

.result-chart-figure,
.paper-figure.result-chart-figure,
.wide-figure.result-chart-figure {
  display: flex;
  flex-direction: column;
  padding: 26px 30px 22px;
  background: linear-gradient(180deg, rgba(16, 20, 34, 0.88), rgba(10, 13, 22, 0.94));
  border: 1px solid rgba(108, 137, 201, 0.18);
  border-radius: 34px;
}

.result-chart-figure::after {
  display: none;
}

.result-chart-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.result-chart-figure figcaption {
  order: -1;
  margin: 0 0 18px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.result-chart-figure figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 760;
}

.result-chart-figure figcaption span {
  display: block;
  margin-top: 4px;
}

.scaling-layout {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(480px, 0.7fr);
  gap: 28px;
  margin-top: 44px;
  align-items: stretch;
}

.paper-figure {
  align-self: stretch;
  margin: 0;
  background: rgba(247, 251, 255, 0.98);
}

.paper-figure.evidence-figure {
  position: relative;
  width: 100%;
  margin: 44px 0 0;
}

.wide-figure.evidence-figure {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 44px auto 0;
}

.scaling-notes {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.scaling-notes article {
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 3.4vw, 56px);
}

.scaling-notes p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.88;
}

.scaling-notes span {
  font-size: clamp(1.188rem, 1.12vw, 1.367rem);
}

.scaling-result-summary {
  margin-top: 40px;
}

.scaling-result-summary article {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.scaling-result-summary span {
  display: block;
  color: var(--text);
  font-size: var(--type-body);
  font-weight: 780;
  line-height: 1.35;
}

.scaling-result-summary p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--body-leading);
}

.g1-task-heading > div > span {
  display: block;
  color: var(--cyan);
  font-size: 1.03rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.g1-task-heading {
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  margin-top: 38px;
}

.g1-task-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.g1-task-controls {
  display: flex;
  gap: 10px;
}

.g1-task-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(18, 23, 38, 0.82);
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.g1-task-controls button:hover {
  border-color: rgba(42, 210, 255, 0.58);
  color: var(--cyan);
  transform: translateY(-2px);
}

.g1-task-rail {
  display: grid;
  grid-auto-columns: minmax(260px, calc((100% - 54px) / 3.35));
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  margin-top: 20px;
  padding: 2px 2px 18px;
  scroll-behavior: auto;
  scrollbar-color: rgba(42, 210, 255, 0.42) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

.g1-task-card {
  overflow: hidden;
  padding: 0 0 22px;
  color: inherit;
  text-align: left;
}

.g1-task-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #020306;
  object-fit: cover;
  pointer-events: none;
}

.g1-task-card > span,
.g1-task-card > strong {
  display: block;
  margin-right: 20px;
  margin-left: 20px;
}

.g1-task-card > span {
  margin-top: 18px;
  color: var(--cyan);
  font-size: 0.94rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.g1-task-card > strong {
  margin-top: 8px;
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.25;
}

.report-section {
  padding-bottom: 96px;
}

.citation-card {
  min-height: 280px;
  padding: clamp(34px, 4vw, 56px);
}

.citation-card h2 {
  margin: 18px 0 12px;
  color: var(--text);
  font-size: clamp(2.2rem, 4.5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.citation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.387rem;
}

.site-footer {
  width: min(1248px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 56px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  color: var(--muted-soft);
  font-size: 1.137rem;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 760;
}

.site-footer img {
  width: 112px;
  height: auto;
  filter: brightness(2.8) grayscale(1);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

[data-reveal] {
  opacity: 1;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.58s ease,
    transform 0.58s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-nav {
    width: min(1248px, calc(100% - 32px));
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding: 14px 0;
  }

  .brand {
    justify-self: center;
  }

  .site-nav nav {
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    gap: 22px;
    padding: 2px 4px 4px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding-top: 74px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 11vw, 5rem);
  }

  .overview-cards,
  .method-grid,
  .component-ablation-grid,
  .result-grid,
  .scaling-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .method-grid article {
    min-height: 0;
  }

  .site-footer {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container,
  .wide-figure,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .wide-figure.evidence-figure {
    width: min(var(--max), calc(100% - 28px));
  }

  .result-chart-figure,
  .paper-figure.result-chart-figure,
  .wide-figure.result-chart-figure {
    padding: 20px 16px 16px;
    border-radius: 20px;
  }

  .result-chart-figure figcaption {
    margin-bottom: 14px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .site-nav {
    width: min(1248px, calc(100% - 20px));
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding: 54px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.42rem, 11.4vw, 4.25rem);
    white-space: normal;
  }

  .subtitle {
    font-size: 1.308rem;
    line-height: 1.38;
  }

  .section-body {
    font-size: 1rem;
  }

  .abstract-copy {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.88;
  }

  .section {
    padding: 68px 0;
  }

  .section-title h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
    letter-spacing: -0.045em;
  }

  .chapter-heading {
    margin-bottom: 30px;
  }

  .chapter-heading h2 {
    font-size: clamp(2.2rem, 11vw, 3.15rem);
    letter-spacing: -0.045em;
  }

  .section-title h3 {
    font-size: clamp(1.75rem, 8.2vw, 2.45rem);
    letter-spacing: -0.04em;
  }

  .wide-figure,
  .hero-media-shell,
  .paper-figure {
    border-radius: 20px;
  }

  .wide-figure.contained {
    padding: 10px;
  }

  .data-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .score-panel,
  .ablation-card,
  .citation-card,
  .method-grid article,
  .scaling-notes article {
    padding: 22px;
  }

  .ablation-table {
    font-size: 1.02rem;
  }

  .ablation-table th,
  .ablation-table td {
    padding: 11px 6px;
  }

  .score-summary {
    grid-template-columns: 1fr;
  }

  .score-summary strong {
    font-size: 3rem;
  }

  .g1-task-heading {
    align-items: center;
    margin-top: 30px;
  }

  .g1-task-heading p {
    max-width: 250px;
  }

  .g1-task-controls {
    display: none;
  }

  .g1-task-rail {
    grid-auto-columns: minmax(236px, 78vw);
    gap: 14px;
  }

}

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

/* Unified technical-report typography and layout. */
:root {
  --type-display: 4rem;
  --type-chapter: 2.75rem;
  --type-heading: 2.25rem;
  --type-subheading: 1.75rem;
  --type-label: 1.375rem;
  --type-body: 1.25rem;
  --body-leading: 1.75;
  --reading-width: 75ch;
}

body,
.brand,
.site-nav nav,
.site-footer {
  font-size: var(--type-body);
}

.hero {
  padding: 104px 0 56px;
}

.hero-copy {
  align-items: flex-start;
  max-width: var(--reading-width);
  gap: 22px;
  text-align: left;
}

.hero h1 {
  font-size: var(--type-display);
  line-height: 1;
  letter-spacing: 0;
}

.subtitle {
  max-width: var(--reading-width);
  font-size: var(--type-body);
  line-height: var(--body-leading);
  letter-spacing: 0;
}

.overview-content {
  max-width: var(--max);
}

.chapter-heading,
.report-layout {
  text-align: left;
}

.technical-page .chapter-heading,
.technical-page .section-title,
.technical-page .section-body,
.technical-page .abstract-copy,
.technical-page .citation-card,
.technical-page .wide-figure figcaption,
.technical-page .paper-figure figcaption,
.technical-page .result-chart-figure figcaption {
  justify-items: start;
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
  text-align: left !important;
}

/* Match the reference page's single-column report grid. */
.technical-page {
  --report-width: 1000px;
}

.technical-page .hero-copy {
  align-items: center;
  width: 100%;
  max-width: var(--report-width);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.technical-page .hero h1,
.technical-page .subtitle {
  width: 100%;
  text-align: center;
}

.technical-page .chapter-heading h2 {
  font-size: var(--type-chapter);
}

.technical-page .container,
.technical-page .wide-figure,
.technical-page .wide-figure.evidence-figure {
  width: min(var(--report-width), calc(100% - 48px));
}

.technical-page .overview-content {
  max-width: none;
}

.technical-page .section-title,
.technical-page .section-body,
.technical-page .abstract-copy {
  width: 100%;
  max-width: none;
}

.technical-page .container.report-layout,
.technical-page .container.citation-card {
  width: min(var(--report-width), calc(100% - 48px));
}

.technical-page .container.citation-card {
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.technical-page .container > .wide-figure,
.technical-page .container > .wide-figure.evidence-figure {
  width: 100%;
}

.technical-page .paper-figure,
.technical-page .paper-figure.evidence-figure,
.technical-page .result-chart-figure {
  width: 100%;
  max-width: none;
}

.chapter-heading {
  margin-bottom: 36px;
}

.chapter-heading h2,
.section-title h2,
.section-title h3,
.citation-card h2 {
  font-size: var(--type-heading);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-title h2,
.section-title h3,
.citation-card h2 {
  font-size: var(--type-heading);
}

.report-layout {
  align-items: flex-start;
  gap: 20px;
}

.section-title {
  width: 100%;
}

.abstract-copy,
.section-body {
  max-width: var(--reading-width);
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--body-leading);
  text-align: left;
}

.abstract-copy {
  margin: 34px 0 0;
}

.abstract-copy p,
.section-body p,
.data-table p,
.compact-grid p,
.method-grid p,
.score-summary p,
.ablation-card > p,
.scaling-notes p,
.g1-task-heading p,
.citation-card p,
.site-footer p {
  font-size: var(--type-body);
  line-height: var(--body-leading);
}

.section {
  padding: 44px 0;
}

.overview-section {
  padding: 16px 0 44px;
}

.wide-figure,
.paper-figure {
  display: flex;
  flex-direction: column;
}

.wide-figure figcaption,
.paper-figure figcaption,
.result-chart-figure figcaption {
  order: -1;
  padding: 18px 20px;
  font-size: var(--type-body);
  line-height: 1.5;
  text-align: left;
}

.result-chart-figure figcaption {
  margin: 0 0 20px;
  padding: 0;
}

.result-chart-figure figcaption span {
  margin-top: 6px;
}

.overview-cards {
  max-width: var(--max);
  margin-top: 42px;
}

.compact-grid,
.method-grid {
  gap: 32px;
}

.compact-grid article,
.method-grid article,
.scaling-notes article {
  min-height: 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.compact-grid h3,
.method-grid span,
.scaling-notes span {
  margin: 0;
  color: var(--text);
  font-size: var(--type-body);
  line-height: 1.35;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: none;
}

.compact-grid p,
.method-grid p,
.scaling-notes p {
  margin: 12px 0 0;
  color: var(--muted);
}

.method-grid {
  margin-top: 40px;
}

.data-table .table-head,
.data-table span,
.data-table strong,
.data-table p {
  font-size: var(--type-body);
}

.data-table .table-head,
.ablation-table thead th {
  letter-spacing: 0;
  text-transform: none;
}

.score-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.score-summary h3,
.score-list span,
.score-list b,
.ablation-card h3,
.ablation-table,
.ablation-table thead th {
  font-size: var(--type-body);
}

.score-summary h3,
.ablation-card h3 {
  font-size: var(--type-label);
}

.score-summary strong {
  font-size: var(--type-display);
}

.score-list b {
  font-variant-numeric: tabular-nums;
}

.ablation-card h3 {
  line-height: 1.35;
  letter-spacing: 0;
}

.ablation-card > p {
  margin-top: 14px;
}

.scaling-notes {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.citation-card {
  min-height: 190px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.citation-card h2 {
  margin: 0 0 18px;
}

.citation-bibtex {
  width: 100%;
  max-width: 100%;
  margin: 26px 0 0;
  padding: 20px;
  overflow-x: auto;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(25, 28, 35, 0.03);
  font: 0.875rem/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  white-space: pre;
}

.g1-task-heading {
  justify-content: flex-end;
  margin-top: 30px;
}

.g1-task-controls button,
.g1-task-card > strong {
  font-size: var(--type-body);
}

.g1-task-card > strong {
  margin-top: 18px;
  line-height: 1.35;
}

.site-footer {
  line-height: var(--body-leading);
}

@media (max-width: 980px) {
  .site-nav {
    justify-items: start;
  }

  .brand {
    justify-self: start;
  }

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

@media (max-width: 640px) {
  :root {
    --type-display: 3rem;
    --type-chapter: 2.4rem;
    --type-heading: 2rem;
    --type-subheading: 1.55rem;
    --type-label: 1.25rem;
    --type-body: 1.125rem;
  }

  .technical-page .container,
  .technical-page .container.report-layout,
  .technical-page .container.citation-card,
  .technical-page .wide-figure,
  .technical-page .wide-figure.evidence-figure {
    width: calc(100% - 28px);
  }

  .hero {
    padding: 58px 0 38px;
  }

  .hero h1,
  .chapter-heading h2,
  .section-title h2,
  .section-title h3,
  .citation-card h2 {
    letter-spacing: 0;
  }

  .compact-grid,
  .method-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .wide-figure figcaption,
  .paper-figure figcaption,
  .result-chart-figure figcaption {
    font-size: var(--type-body);
  }

  .g1-task-card,
  .score-panel,
  .ablation-card {
    border-radius: 16px;
  }
}

/* JoyAI-RA 0.1-inspired project header and hero. */
.technical-page .site-nav {
  width: min(1248px, calc(100% - 48px));
  min-height: 84px;
  grid-template-columns: 1fr auto 1fr;
  padding: 0;
}

.technical-page .brand {
  display: inline-flex;
  justify-self: start;
  width: 166px;
  height: 58px;
}

.technical-page .brand-wordmark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.technical-page .site-nav nav {
  justify-self: center;
  gap: clamp(42px, 5vw, 66px);
  color: rgba(233, 239, 255, 0.5);
  font-size: 1rem;
  font-weight: 560;
}

.technical-page .site-nav nav a.is-active {
  color: var(--text);
}

.technical-page .site-nav nav a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.technical-page .hero {
  display: grid;
  align-items: center;
  padding: 72px 0 56px;
}

.technical-page .hero-container {
  display: grid;
  place-items: center;
}

.technical-page .hero-copy {
  align-items: center;
  gap: 24px;
  max-width: 1120px;
  text-align: center;
}

.technical-page .hero-project-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 22px);
  width: auto;
  margin: 0;
  color: #cf0000;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 0.9;
  font-weight: 790;
  font-family: "Hiragino Kaku Gothic Std W8", "Hiragino Sans", sans-serif;
  letter-spacing: -0.055em;
  text-align: center;
  text-shadow: 0 0 26px rgba(208, 0, 0, 0.16);
  white-space: nowrap;
}

.technical-page .hero-mascot {
  flex: 0 0 auto;
  width: clamp(72px, 7vw, 100px);
  height: clamp(63px, 6.1vw, 87px);
  margin-right: -18px;
  overflow: hidden;
  background-image: url("assets/joyra05-ppt-mascot-source.png");
  background-repeat: no-repeat;
  background-position: 17.4% center;
  background-size: 297.8% auto;
}

.technical-page .hero-project-name {
  display: inline-block;
}

.technical-page .hero-letter-o {
  position: relative;
  display: inline-block;
}

.technical-page .hero-rainbow {
  position: absolute;
  left: 50%;
  bottom: clamp(-23px, -1.55vw, -17px);
  width: clamp(36px, 3.5vw, 50px);
  aspect-ratio: 2.96 / 1;
  background-image: url("assets/joyai-wordmark.png");
  background-repeat: no-repeat;
  background-position: 23.2% 100%;
  background-size: 506% auto;
  transform: translateX(-50%);
}

.technical-page .hero-version {
  display: inline-block;
  font-size: 0.778em;
}

/* V2 uses the complete title lockup exported from the supplied PDF. */
.technical-page.technical-v2-page .hero h1.hero-title-lockup {
  display: block;
  width: min(100%, clamp(280px, 56vw, 560px));
  margin: 0 auto;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  text-shadow: none;
  white-space: normal;
}

.technical-page.technical-v2-page .hero-title-lockup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.technical-page.technical-v2-page {
  --type-display: 3rem;
  --type-heading: 2rem;
  --type-body: 1rem;
  --body-leading: 1.7;
  --bg: #ffffff;
  --bg-deep: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-soft: #ffffff;
  --text: #191c23;
  --muted: rgba(0, 0, 0, 0.7);
  --muted-soft: rgba(0, 0, 0, 0.55);
  --line: #e8e8e8;
  --line-strong: rgba(0, 0, 0, 0.16);
  --cyan: #3f7396;
  --violet: #735d78;
  --shadow: 0 18px 48px rgba(25, 28, 35, 0.1);
  color-scheme: light;
  background: #ffffff;
  font-family:
    "Alibaba PuHuiTi 3.0",
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans SC",
    sans-serif;
}

html.technical-v2-root,
html.technical-v2-root body,
.technical-page.technical-v2-page main,
.technical-page.technical-v2-page .section,
.technical-page.technical-v2-page .overview-section,
.technical-page.technical-v2-page .site-footer {
  background: #ffffff;
}

.technical-page.technical-v2-page .site-backdrop,
.technical-page.technical-v2-page .site-backdrop-base {
  background: #ffffff;
}

.technical-page.technical-v2-page .site-backdrop-glow,
.technical-page.technical-v2-page .site-backdrop-vignette,
.technical-page.technical-v2-page .site-backdrop-grid,
.technical-page.technical-v2-page .site-backdrop-cross {
  display: none;
}

.technical-page.technical-v2-page .hero-media-shell::after,
.technical-page.technical-v2-page .wide-figure::after,
.technical-page.technical-v2-page .paper-figure::after {
  display: none;
}

.technical-page.technical-v2-page .site-nav {
  border: 0;
  background: #ffffff;
}

@media (min-width: 981px) {
  .technical-page.technical-v2-page .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.technical-page.technical-v2-page .site-nav nav {
  color: #697386;
  font-size: 0.98rem;
  font-weight: 420;
}

.technical-page.technical-v2-page .brand-corporate {
  width: auto;
  height: auto;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  transform: translateY(-1px);
}

.technical-page.technical-v2-page .brand-corporate .brand-wordmark {
  width: 156px;
  height: auto;
  transform: translateY(-2px);
}

.technical-page.technical-v2-page .brand-corporate span {
  color: #191c23;
  font-size: 0.86rem;
  font-weight: 520;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.technical-page.technical-v2-page .site-nav nav a.is-active,
.technical-page.technical-v2-page .site-nav nav a:hover,
.technical-page.technical-v2-page .site-nav nav a:focus-visible {
  color: var(--text);
}

.technical-page.technical-v2-page .hero .subtitle {
  color: rgba(0, 0, 0, 0.7);
}

.technical-page.technical-v2-page .top-link {
  color: var(--text);
  border: 0;
  background: #ffffff;
  box-shadow: none;
}

.technical-page.technical-v2-page .data-table,
.technical-page.technical-v2-page .ablation-card,
.technical-page.technical-v2-page .score-panel,
.technical-page.technical-v2-page .g1-task-card {
  border: 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.technical-page.technical-v2-page .score-list i {
  background: rgba(25, 28, 35, 0.1);
}

.technical-page.technical-v2-page .hero-action {
  color: var(--text);
  border: 1px solid rgba(25, 28, 35, 0.18);
  background: #ffffff;
  box-shadow: none;
}

.technical-page.technical-v2-page a.hero-action:hover,
.technical-page.technical-v2-page a.hero-action:focus-visible {
  color: var(--text);
}

.technical-page.technical-v2-page .hero-action.is-disabled {
  color: #9aa2af;
}

.technical-page.technical-v2-page .result-chart-figure,
.technical-page.technical-v2-page .paper-figure.result-chart-figure,
.technical-page.technical-v2-page .wide-figure.result-chart-figure {
  background: #ffffff;
  border: 0;
  box-shadow: none;
}

.technical-page.technical-v2-page .wide-figure,
.technical-page.technical-v2-page .paper-figure {
  border: 0;
  background-color: #ffffff;
  box-shadow: none;
}

.technical-page.technical-v2-page .paper-figure.transparent-result-figure,
.technical-page.technical-v2-page .wide-figure.transparent-result-figure {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.technical-page.technical-v2-page .site-footer img {
  filter: none;
}

.technical-page.technical-v2-page .g1-task-controls button {
  color: var(--text);
  border: 0;
  background: #ffffff;
  box-shadow: none;
}

.technical-page.technical-v2-page .g1-task-rail {
  scrollbar-color: rgba(63, 115, 150, 0.5) rgba(25, 28, 35, 0.06);
}

.technical-page.technical-v2-page .g1-task-heading {
  align-items: center;
  justify-content: space-between;
}

.technical-page.technical-v2-page .g1-task-heading p {
  flex: 1 1 auto;
  width: auto;
  max-width: 90%;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.technical-page.technical-v2-page .g1-task-controls {
  flex: 0 0 auto;
}

.technical-page.technical-v2-page .section-summary {
  margin-top: 16px;
}

.technical-page.technical-v2-page .result-tabs-switcher {
  margin-top: 34px;
}

.technical-page.technical-v2-page .result-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.technical-page.technical-v2-page .result-tab-trigger {
  padding: 11px 18px;
  border: 1px solid rgba(25, 28, 35, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.technical-page.technical-v2-page .result-tab-trigger:hover,
.technical-page.technical-v2-page .result-tab-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(25, 28, 35, 0.34);
}

.technical-page.technical-v2-page .result-tab-trigger.is-active {
  color: #ffffff;
  border-color: #252932;
  background: #252932;
}

.technical-page.technical-v2-page .result-tab-trigger:focus-visible {
  outline: 2px solid rgba(37, 41, 50, 0.2);
  outline-offset: 3px;
}

.technical-page.technical-v2-page .result-tab-panel[hidden] {
  display: none;
}

.technical-page.technical-v2-page .result-tab-panel {
  width: 60%;
  margin-right: auto;
  margin-left: auto;
}

.technical-page.technical-v2-page #scaling-policy-panel {
  width: 100%;
  max-width: none;
}

.technical-page.technical-v2-page #scaling-lacwm-panel {
  width: 100%;
  max-width: none;
}

.technical-page.technical-v2-page #scaling-lacwm-panel .result-chart-figure {
  width: 60%;
  margin-right: auto;
  margin-left: auto;
}

.technical-page.technical-v2-page .result-tab-panel .result-chart-figure {
  width: 100%;
  margin-top: 0;
}

.technical-page.technical-v2-page .scaling-panel-copy {
  width: 90%;
  max-width: none;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: left;
}

.technical-page.technical-v2-page .abstract-copy p,
.technical-page.technical-v2-page .section-body p,
.technical-page.technical-v2-page .scaling-panel-copy,
.technical-page.technical-v2-page .g1-task-heading p {
  text-align: justify !important;
  text-justify: inter-word;
}

.technical-page.technical-v2-page .scaling-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: 28px;
}

.technical-page.technical-v2-page .scaling-panel-grid .paper-figure {
  width: 100%;
  margin: 0;
}

.technical-page.technical-v2-page .rl-results-figure {
  width: min(60%, 600px);
  margin-right: auto;
  margin-left: auto;
}

.technical-page.technical-v2-page .dual-view-demo {
  position: relative;
  margin-top: 34px;
}

.technical-page.technical-v2-page .dual-view-labels {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1152fr) minmax(0, 406fr);
  gap: 16px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 1.2;
  pointer-events: none;
}

.technical-page.technical-v2-page .dual-view-labels span {
  justify-self: start;
  margin-left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(25, 28, 35, 0.78);
  backdrop-filter: blur(8px);
}

.technical-page.technical-v2-page .dual-view-demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1574 / 720;
  border: 0;
  border-radius: 4px;
  background: #ffffff;
  object-fit: contain;
}

.technical-page.technical-v2-page .wide-figure,
.technical-page.technical-v2-page .paper-figure,
.technical-page.technical-v2-page .wide-figure img,
.technical-page.technical-v2-page .paper-figure img {
  border-radius: 4px;
}

.technical-page.technical-v2-page .wide-figure,
.technical-page.technical-v2-page .paper-figure {
  overflow: visible;
}

.technical-page.technical-v2-page .subsection-title {
  width: 100%;
  margin-top: -14px;
  text-align: left;
}

.technical-page.technical-v2-page .section-title h3,
.technical-page.technical-v2-page .subsection-title h3,
.technical-page.technical-v2-page .citation-card h2 {
  color: var(--text);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
}

.technical-page.technical-v2-page .subsection-title + .paper-figure.evidence-figure {
  margin-top: 26px;
}

@media (max-width: 640px) {
  .technical-page.technical-v2-page .subsection-title {
    margin-top: -10px;
  }

  .technical-page.technical-v2-page .section-title h3,
  .technical-page.technical-v2-page .subsection-title h3,
  .technical-page.technical-v2-page .citation-card h2 {
    font-size: 1.125rem;
  }

  .technical-page.technical-v2-page .result-tab-panel,
  .technical-page.technical-v2-page .rl-results-figure,
  .technical-page.technical-v2-page #scaling-lacwm-panel .result-chart-figure {
    width: 100%;
  }

  .technical-page.technical-v2-page .scaling-panel-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .technical-page.technical-v2-page .g1-task-heading p {
    flex-basis: 100%;
    width: 100%;
    max-width: none;
  }
}

.technical-page .hero .subtitle {
  width: auto;
  max-width: 48rem;
  color: rgba(217, 225, 246, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  font-weight: 420;
  letter-spacing: 0;
  text-align: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
}

.hero-action {
  min-width: 142px;
  padding: 13px 24px;
  border: 1px solid rgba(101, 132, 204, 0.27);
  border-radius: 999px;
  color: rgba(239, 244, 255, 0.94);
  background: linear-gradient(180deg, rgba(19, 23, 40, 0.9), rgba(13, 16, 29, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 560;
  text-align: center;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

a.hero-action:hover,
a.hero-action:focus-visible {
  border-color: rgba(33, 197, 248, 0.56);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-action.is-disabled {
  color: rgba(239, 244, 255, 0.58);
  cursor: default;
}

.overview-accordion {
  align-items: start;
}

.overview-accordion details {
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.overview-accordion summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: var(--text);
  font-size: var(--type-body);
  font-weight: 780;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.overview-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--cyan);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.overview-accordion details[open] summary::after {
  content: "−";
}

.overview-accordion summary:hover,
.overview-accordion summary:focus-visible {
  color: var(--cyan);
}

.overview-accordion summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.overview-accordion details p {
  margin: 0;
  padding: 0 52px 24px 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--body-leading);
}

.human-scaling-paper-results {
  display: grid;
  grid-template-columns: 1.34fr 2.275fr;
  gap: 24px;
  align-items: start;
  width: min(var(--max), calc(100% - 48px));
  margin: 44px auto 0;
}

.human-scaling-paper-results figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.human-scaling-paper-results img {
  display: block;
  width: 100%;
  height: auto;
}

.scaling-study {
  width: min(var(--report-width), calc(100% - 48px));
  margin-top: 52px;
}

.scaling-study + .scaling-study {
  margin-top: 68px;
}

.scaling-study-copy {
  max-width: var(--reading-width);
  text-align: left;
}

.scaling-study-copy h4 {
  margin: 0;
  color: var(--text);
  font-size: var(--type-subheading);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: 0;
}

.scaling-study-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--body-leading);
}

.scaling-source-figure,
.scaling-result-figure {
  margin: 28px 0 0;
}

.scaling-source-figure {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.scaling-source-figure img,
.scaling-result-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.scaling-tsne-figure {
  width: 100%;
}

.policy-scaling-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}

.policy-scaling-grid .scaling-source-figure,
.policy-scaling-grid .scaling-result-figure {
  display: flex;
  align-items: center;
  margin-top: 0;
}

.policy-scaling-grid .scaling-result-figure {
  padding: 18px;
  background: #fff;
  border-color: rgba(32, 36, 44, 0.12);
  box-shadow: none;
}

.scaling-result-figure-wide {
  width: 100%;
}

@media (max-width: 980px) {
  .scaling-study {
    width: calc(100% - 28px);
  }

  .policy-scaling-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .technical-page .site-nav {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding: 13px 0 11px;
  }

  .technical-page .brand {
    justify-self: center;
  }

  .technical-page .site-nav nav {
    justify-self: stretch;
    justify-content: center;
    gap: clamp(24px, 8vw, 54px);
  }

  .technical-page .hero {
    padding: 68px 0 88px;
  }
}

@media (max-width: 640px) {
  .technical-page .site-nav {
    width: calc(100% - 20px);
  }

  .technical-page .brand {
    width: 142px;
    height: 52px;
  }

  .technical-page .site-nav nav {
    justify-content: flex-start;
    gap: 28px;
    font-size: 0.94rem;
  }

  .technical-page .hero {
    min-height: auto;
    padding: 76px 0 84px;
  }

  .technical-page .hero-copy {
    gap: 28px;
  }

  .technical-page .hero-project-mark {
    gap: 5px;
    font-size: clamp(2rem, 9.2vw, 2.75rem);
    letter-spacing: -0.05em;
  }

  .technical-page .hero-mascot {
    width: 42px;
    height: 44px;
    background-size: 297.8% auto;
  }

  .technical-page .hero-rainbow {
    bottom: -9px;
    width: 27px;
  }

  .technical-page .hero .subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    width: min(100%, 340px);
    gap: 12px;
  }

  .hero-action {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.94rem;
  }
}
