:root {
  /* Color system (Tsinghua purple + layered light grays) */
  --bg: #f7f6fb;
  --bgHero: var(--bg);
  --bgViewer: #f3f0fa;
  --bgLeaderboard: #f6f5fb;
  /* Split points (overridden by JS to match section boundaries) */
  --bgSplitViewer: 100vh;
  --bgSplitLeaderboard: 200vh;
  --surface: rgba(255, 255, 255, 0.78);
  --surfaceSoft: rgba(255, 255, 255, 0.6);
  --surfaceStrong: rgba(255, 255, 255, 0.92);
  --border: rgba(45, 21, 56, 0.14);
  --borderStrong: rgba(45, 21, 56, 0.22);
  --text: rgba(17, 14, 26, 0.92);
  --muted: rgba(17, 14, 26, 0.62);
  --shadow: 0 18px 70px rgba(25, 18, 36, 0.12);
  --shadowSm: 0 10px 32px rgba(25, 18, 36, 0.1);
  --radius: 16px;
  --brand: #82318e; /* 清华紫 */
  --brand2: #a889d6;
  --brandSoft: rgba(130, 49, 142, 0.1);
  --brandRing: rgba(130, 49, 142, 0.22);
  --brandGrad: linear-gradient(135deg, rgba(130, 49, 142, 0.98), rgba(168, 137, 214, 0.88));
  --danger: #e34a6f;
  --ok: #1aa37a;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto,
    Helvetica, Arial;

  /* Back-compat alias */
  --panel: var(--surface);
  --panelBorder: var(--border);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.1px;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: radial-gradient(1100px 700px at 14% 8%, rgba(130, 49, 142, 0.14), transparent 62%),
    radial-gradient(1000px 650px at 86% 0%, rgba(168, 137, 214, 0.16), transparent 55%),
    radial-gradient(900px 600px at 65% 82%, rgba(130, 49, 142, 0.07), transparent 62%),
    linear-gradient(
      180deg,
      var(--bgHero) 0,
      var(--bgHero) var(--bgSplitViewer),
      var(--bgViewer) var(--bgSplitViewer),
      var(--bgViewer) var(--bgSplitLeaderboard),
      var(--bgLeaderboard) var(--bgSplitLeaderboard),
      var(--bgLeaderboard) 100%
    );
}

code {
  font-family: var(--mono);
  font-size: 0.95em;
  background: rgba(45, 21, 56, 0.06);
  border: 1px solid rgba(45, 21, 56, 0.08);
  padding: 0.15em 0.35em;
  border-radius: 8px;
}

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

.container {
  width: min(1056px, calc(100% - 40px));
  margin: 0 auto;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 245, 247, 0.74);
  border-bottom: 1px solid rgba(45, 21, 56, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0.1px;
}

.nav__logo {
  height: 1.7em;
  width: auto;
  flex: 0 0 auto;
}

.nav__brandText {
  line-height: 1;
}

.nav__links {
  display: flex;
  gap: 24px;
  font-weight: 600;
  color: var(--muted);
}

.nav__links a + a {
  position: relative;
}

.nav__links a + a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 1px;
  height: 16px;
  transform: translateY(-50%);
  background: rgba(45, 21, 56, 0.24);
}

.nav__links a:hover {
  color: var(--brand);
}

@supports (-webkit-background-clip: text) {
  .nav__brandText {
    background: var(--brandGrad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero .container {
  width: min(1380px, calc(100% - 40px));
}

.hero__title--withLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__titleLogo {
  height: 3.1em;
  width: auto;
  flex: 0 0 auto;
}

.hero {
  padding: 64px 0 44px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.hero__inner--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero__inner--center .hero__title--withLogo {
  flex-direction: column;
  gap: 18px;
}

.hero__inner--center .hero__titleLogo {
  height: clamp(86px, 9vw, 120px);
  filter: drop-shadow(0 16px 40px rgba(25, 18, 36, 0.18));
}

.hero__inner--center .hero__cta {
  justify-content: center;
}

.hero__title {
  max-width: 42ch;
  margin: 0 auto 18px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.15;
  text-wrap: balance;
}

.hero__subtitle {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero__subtitle--lede {
  max-width: 78ch;
  margin: 0 auto 28px;
  font-size: 15px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__card {
  border: 1px solid var(--panelBorder);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
}

.hero__cardTitle {
  font-weight: 650;
  margin-bottom: 10px;
}

.hero__steps {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.hero__steps--compact {
  margin: 0;
  padding-left: 18px;
  line-height: 1.65;
}

.section {
  padding: 52px 0 64px;
}

#analysis.section {
  border-top: 1px solid rgba(45, 21, 56, 0.06);
  background: radial-gradient(900px 520px at 50% 0%, rgba(130, 49, 142, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(250, 246, 249, 0.96), rgba(247, 246, 251, 0.96));
}

.subsection {
  margin-top: 26px;
}

.subsection__header {
  text-align: center;
  max-width: 80ch;
  margin: 0 auto 18px;
}

.subsection__header h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
}

.subsection__header p {
  margin: 0 auto;
  max-width: 76ch;
  font-size: 14px;
  line-height: 1.75;
}

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

.analysisCard {
  border: 1px solid rgba(45, 21, 56, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.6));
  border-radius: 14px;
  padding: 12px;
}

.analysisCard__title {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.analysisCard__body {
  font-size: 13px;
  line-height: 1.7;
}

.analysisGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.analysisText {
  font-size: 13px;
  line-height: 1.8;
}

.analysisList {
  margin: 0;
  padding-left: 18px;
}

.analysisList li {
  margin: 0 0 8px;
}

.analysisFigure {
  margin: 0;
}

.analysisFigure--full {
  margin: 0;
}

.analysisFigure--full + .analysisText {
  margin-top: 14px;
}

.analysisFigure__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(45, 21, 56, 0.12);
  box-shadow: 0 16px 44px rgba(25, 18, 36, 0.1);
  background: rgba(255, 255, 255, 0.42);
}

.analysisFigure__img--noRadius {
  border-radius: 0;
}

.analysisFigure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.section__header h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
}

.section__header p {
  margin: 0 auto 18px;
  max-width: 76ch;
  font-size: 14px;
  line-height: 1.75;
}

.section__header {
  text-align: center;
  max-width: 80ch;
  margin: 0 auto 18px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panelBorder);
  background: radial-gradient(800px 520px at 18% 0%, rgba(130, 49, 142, 0.1), transparent 58%),
    linear-gradient(180deg, var(--surfaceStrong), var(--surface));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.analysisCard {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero__teaserImg {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

@media (hover: hover) {
  .panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 90px rgba(25, 18, 36, 0.16);
    border-color: rgba(130, 49, 142, 0.22);
  }

  #leaderboard .panel:hover {
    transform: none;
    box-shadow: none;
  }

  .analysisCard:hover {
    transform: translateY(-6px);
    border-color: rgba(130, 49, 142, 0.22);
    box-shadow: 0 18px 52px rgba(25, 18, 36, 0.14);
  }

  .hero__teaserImg:hover {
    transform: translateY(-6px);
    border-color: rgba(130, 49, 142, 0.2);
    box-shadow: 0 26px 78px rgba(25, 18, 36, 0.16);
  }
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brandGrad);
  opacity: 0.9;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

#pipeline .panel::before {
  display: none;
}

#overview .panel::before {
  display: none;
}

.overviewGrid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  align-items: start;
}

.overviewFigure {
  margin: 0;
}

.overviewFigure__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  border: 1px solid rgba(45, 21, 56, 0.12);
  box-shadow: 0 16px 44px rgba(25, 18, 36, 0.1);
  background: rgb(254,250,251);
}

.overviewFigure--center {
  text-align: center;
}

.overviewFigure__img--pie {
  width: min(340px, 100%);
  margin: 0 auto;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.overviewFigure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .overviewGrid {
    grid-template-columns: 1fr;
  }
  .analysisCards {
    grid-template-columns: 1fr;
  }
  .analysisGrid {
    grid-template-columns: 1fr;
  }
}

#leaderboard .panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#leaderboard .panel::before {
  display: none;
}

.leaderboardMeta {
  margin-top: 10px;
}

.leaderboardLegend {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.leaderboardLegend__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(45, 21, 56, 0.1);
}

.leaderboardLegend__swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(45, 21, 56, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.leaderboardLegend__swatch--proprietary {
  background: rgba(255, 233, 238, 0.95);
}

.leaderboardLegend__swatch--open {
  background: rgba(233, 242, 255, 0.98);
}

.leaderboardLegend__swatch--baseline {
  background: rgba(255, 248, 224, 0.98);
}

.leaderboardTabs {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.leaderboardHint {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
}

.leaderboardTab {
  appearance: none;
  border: 1px solid rgba(45, 21, 56, 0.22);
  background: rgba(255, 255, 255, 0.86);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 750;
  color: rgba(23, 18, 29, 0.86);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(25, 18, 36, 0.08);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.leaderboardTab:hover {
  transform: translateY(-1px);
  border-color: rgba(130, 49, 142, 0.35);
}

.leaderboardTab.isActive {
  background: var(--brandGrad);
  border-color: rgba(130, 49, 142, 0.55);
  color: white;
}

.tableWrap {
  margin-top: 14px;
  overflow: auto;
  border: 1px solid rgba(45, 21, 56, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(25, 18, 36, 0.08);
}

.leaderboardTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  min-width: 0;
  table-layout: fixed;
}

.leaderboardCol--model {
  width: 220px;
}

.leaderboardCol--metric,
.leaderboardCol--avg {
  width: 66px;
}

.leaderboardGroup,
.leaderboardTh {
  text-align: center;
  border-bottom: 1px solid rgba(45, 21, 56, 0.12);
  background: rgba(244, 245, 247, 0.72);
  color: rgba(23, 18, 29, 0.82);
  font-weight: 650;
  white-space: nowrap;
}

.leaderboardGroup {
  padding: 10px 10px;
}

.leaderboardTh {
  padding: 0;
}

.leaderboardGroup {
  background: rgba(80, 120, 190, 0.12);
  color: rgba(23, 18, 29, 0.86);
}

.leaderboardGroup--topo {
  background: rgba(70, 160, 120, 0.12);
  border-left: 1px solid rgba(45, 21, 56, 0.14);
}

.leaderboardSort {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 10px;
  border-radius: 10px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}

.leaderboardSort:hover {
  background: rgba(130, 49, 142, 0.08);
  box-shadow: 0 8px 18px rgba(25, 18, 36, 0.08);
  transform: translateY(-1px);
}

.leaderboardSort.isActive {
  color: var(--brand);
}

.leaderboardSort__arrow {
  font-size: 11px;
  opacity: 0.85;
}

.leaderboardTd {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(45, 21, 56, 0.08);
  text-align: center;
  white-space: nowrap;
  transition: background 140ms ease, box-shadow 140ms ease;
}

.leaderboardTd--model,
.leaderboardTh--model {
  text-align: left;
  width: 220px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  border-right: 1px solid rgba(45, 21, 56, 0.14);
}

.leaderboardTh--model .leaderboardSort {
  justify-content: flex-start;
}

.leaderboardRow {
  --row-bg: rgba(255, 255, 255, 0.84);
  --row-bg-hover: rgba(243, 241, 250, 0.92);
}

.leaderboardRow .leaderboardTd {
  background: var(--row-bg);
}

.leaderboardTable tbody .leaderboardRow:hover .leaderboardTd {
  box-shadow: 0 1px 0 rgba(45, 21, 56, 0.08) inset, 0 -1px 0 rgba(45, 21, 56, 0.08) inset;
}

.leaderboardTable tbody .leaderboardRow:hover .leaderboardTd:not(.isBest):not(.isSecond) {
  background: var(--row-bg-hover);
}

.leaderboardTd--avg,
.leaderboardTh--avg {
  font-weight: 750;
}

.leaderboardTd--avg,
.leaderboardTh--avg,
.leaderboardTd.isSepLeft,
.leaderboardTh.isSepLeft {
  border-left: 1px solid rgba(45, 21, 56, 0.14);
}

.leaderboardRow--proprietary {
  --row-bg: rgba(255, 233, 238, 0.9);
  --row-bg-hover: rgba(252, 219, 227, 0.96);
}

.leaderboardRow--open {
  --row-bg: rgba(233, 242, 255, 0.95);
  --row-bg-hover: rgba(217, 233, 255, 0.97);
}

.leaderboardRow--baseline {
  --row-bg: rgba(255, 248, 224, 0.95);
  --row-bg-hover: rgba(248, 237, 203, 0.97);
}

.leaderboardTd.isBest {
  font-weight: 800;
  background: rgba(130, 49, 142, 0.28) !important;
  box-shadow: 0 0 0 999px rgba(130, 49, 142, 0.06) inset;
}

.leaderboardTd.isSecond {
  font-weight: 750;
  background: rgba(130, 49, 142, 0.16) !important;
}

.leaderboardRow.isGroupBest .leaderboardTd--model {
  font-weight: 850;
  box-shadow: 4px 0 0 rgba(130, 49, 142, 0.55) inset;
}

.leaderboardRow.isGroupSecond .leaderboardTd--model {
  font-weight: 800;
  box-shadow: 4px 0 0 rgba(130, 49, 142, 0.32) inset;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.controls--compact {
  margin-top: 12px;
}

.control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 190px;
}

.control--grow {
  flex: 1;
  min-width: 250px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

select,
input {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

select:focus,
input:focus {
  border-color: rgba(130, 49, 142, 0.7);
  box-shadow: 0 0 0 3px rgba(130, 49, 142, 0.18);
  background: rgba(255, 255, 255, 0.98);
}

.toolbar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar--compact {
  margin-top: 12px;
}

.toolbar__left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.promptBox {
  margin-top: 14px;
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(45, 21, 56, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.66));
}

.promptBox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.promptBox__title {
  font-weight: 650;
  letter-spacing: -0.1px;
}

.promptBox__body {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  max-height: 360px;
  overflow: auto;
}

.promptBox__body strong {
  color: rgba(130, 49, 142, 0.92);
  font-weight: 750;
}

.meta {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 12px;
}

.button {
  appearance: none;
  border: 1px solid rgba(45, 21, 56, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease,
    filter 140ms ease;
}

.button:hover {
  border-color: rgba(45, 21, 56, 0.22);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadowSm);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0px);
  filter: brightness(0.99);
}

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brandRing), var(--shadowSm);
}

.button--primary {
  color: rgba(255, 255, 255, 0.98);
  border-color: rgba(130, 49, 142, 0.55);
  background: var(--brandGrad);
  box-shadow: 0 12px 32px rgba(130, 49, 142, 0.18);
}

.button--primary:hover {
  filter: brightness(1.03);
  box-shadow: 0 14px 34px rgba(130, 49, 142, 0.24);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.6);
}

.taskIntro {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

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

.card {
  border: 1px solid rgba(45, 21, 56, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  border-radius: 14px;
  padding: 12px;
}

.card__title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.imgWrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(45, 21, 56, 0.1);
  background: rgba(45, 21, 56, 0.03);
}

.imgWrap::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(25, 18, 36, 0.42);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(25, 18, 36, 0.18);
  opacity: 0;
  transform: translateY(2px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;

  /* Lucide-like expand icon (inline SVG) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3Cpath d='M21 3l-7 7'/%3E%3Cpath d='M3 21l7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.imgWrap:hover::after,
.imgWrap:focus-within::after {
  opacity: 1;
  transform: translateY(0px);
  background-color: rgba(130, 49, 142, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
}

.imgWrap--originals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 140ms ease, transform 140ms ease, border-color 140ms ease;
}

.imgWrap--originals:hover {
  border-color: rgba(130, 49, 142, 0.22);
  box-shadow: var(--shadowSm);
  transform: translateY(-1px);
}

.imgWrap--option {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 140ms ease, transform 140ms ease, border-color 140ms ease;
}

.imgWrap--option:hover {
  border-color: rgba(130, 49, 142, 0.22);
  box-shadow: var(--shadowSm);
  transform: translateY(-1px);
}

.imgWrap__pick {
  appearance: none;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1px;
  color: rgba(255, 255, 255, 0.98);
  background: rgba(25, 18, 36, 0.42);
  backdrop-filter: blur(10px);
  cursor: default;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.imgWrap__pick:hover {
  background: rgba(130, 49, 142, 0.5);
  border-color: rgba(255, 255, 255, 0.55);
}

.imgWrap__pick:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brandRing), 0 10px 24px rgba(25, 18, 36, 0.18);
  opacity: 1;
  transform: translateY(0px);
}

.imgWrap__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.96);
  background: rgba(25, 18, 36, 0.36);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.imgWrap__badge--always {
  opacity: 1;
  transform: none;
}

.imgWrap--option:hover .imgWrap__pick,
.imgWrap--option:hover .imgWrap__badge,
.imgWrap--option:focus-within .imgWrap__pick,
.imgWrap--option:focus-within .imgWrap__badge {
  opacity: 1;
  transform: translateY(0px);
}

@media (hover: none) {
  .imgWrap__pick,
  .imgWrap__badge {
    opacity: 1;
    transform: none;
  }
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.imgWrap img {
  cursor: default;
}

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

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

.option {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.refBox {
  margin-bottom: 10px;
}


.answer {
  margin-top: 14px;
  border-top: 1px solid rgba(45, 21, 56, 0.08);
  padding-top: 14px;
}

.answer--compact {
  border-top: none;
  padding-top: 0;
}

.answer__row {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.answer__row--compact {
  align-items: center;
  margin-top: 10px;
}

.answer__buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(130, 49, 142, 0.22);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0;
  background: rgba(130, 49, 142, 0.06);
  color: rgba(130, 49, 142, 0.92);
}

.result {
  margin-top: 12px;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(45, 21, 56, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.result--ok {
  border-color: rgba(26, 163, 122, 0.28);
  background: linear-gradient(180deg, rgba(26, 163, 122, 0.1), rgba(255, 255, 255, 0.62));
}

.result--bad {
  border-color: rgba(227, 74, 111, 0.28);
  background: linear-gradient(180deg, rgba(227, 74, 111, 0.1), rgba(255, 255, 255, 0.62));
}

.result .meta {
  font-size: inherit;
}

.result__ok {
  color: rgba(26, 163, 122, 0.98);
  font-weight: 700;
}

.result__bad {
  color: rgba(227, 74, 111, 0.98);
  font-weight: 700;
}

.prose p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 10px;
}

.footer {
  padding: 22px 0;
  border-top: 1px solid rgba(45, 21, 56, 0.08);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .control {
    min-width: 160px;
  }
}

.hero__subtitle--tight {
  margin-top: 14px;
}

.hero__subtitle--author {
  max-width: 80ch;
  margin: 0 auto 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgb(102, 8, 116);
  text-wrap: balance;
}

.hero__subtitle--author .author {
  color: inherit;
  cursor: pointer;
}

.hero__subtitle--author .author--corresponding::after {
  content: "";
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-left: 1px;
  vertical-align: super;
  position: relative;
  top: -0.05em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='rgb(102%2C%208%2C%20116)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='6.5' width='17' height='12' rx='2'/%3E%3Cpath d='M4.5 8l7.1 5.3c.8.6 1.9.6 2.7 0L21 8'/%3E%3C/g%3E%3C/svg%3E");
}


.hero__subtitle--affil {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
  color: rgb(102, 8, 116);
}

.hero__resources {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__teaser {
  margin: 26px auto 0;
  width: min(980px, 100%);
}

.hero__teaserImg {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(45, 21, 56, 0.12);
  box-shadow: 0 18px 50px rgba(25, 18, 36, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.pipelineFigure {
  margin: 0;
}

.pipelineFigure__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(45, 21, 56, 0.12);
  box-shadow: 0 18px 50px rgba(25, 18, 36, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.heroResource {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(130, 49, 142, 0.22);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(25, 18, 36, 0.08);
  color: rgb(102, 8, 116);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  user-select: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.heroResource:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(130, 49, 142, 0.3);
  box-shadow: 0 12px 30px rgba(25, 18, 36, 0.1);
}

.heroResource:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brandRing), 0 10px 26px rgba(25, 18, 36, 0.12);
}

.heroResource__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
}

.heroResource__icon--dataset {
  width: 19px;
  height: 19px;
}

.heroResource__icon--img {
  object-fit: contain;
}

 
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(25, 18, 36, 0.62);
  z-index: 200;
}

.lightbox.isOpen {
  display: flex;
}

.lightbox__inner {
  width: min(1200px, calc(100% - 16px));
  max-height: calc(100vh - 44px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.lightbox__img {
  width: 100%;
  height: auto;
  display: block;
  max-height: calc(100vh - 44px);
  object-fit: contain;
}

.lightbox__close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 24px;
  line-height: 40px;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
