:root {
  --ink: #172026;
  --muted: #5d6b73;
  --paper: #fbfcfb;
  --line: #d8e0df;
  --teal: #047c75;
  --teal-dark: #035f59;
  --coral: #c84f3d;
  --amber: #b7791f;
  --blue: #2c6aa0;
  --soft-teal: #e6f3f1;
  --soft-coral: #f8ebe8;
  --soft-blue: #e8f0f7;
  --shadow: 0 18px 50px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  color: white;
  background: rgba(12, 21, 24, 0.68);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.side-nav {
  position: fixed;
  z-index: 25;
  top: 50%;
  right: clamp(18px, 3vw, 42px);
  display: grid;
  gap: 7px;
  transform: translateY(-50%);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: right;
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: rgba(23, 32, 38, 0.48);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.side-nav a::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(251, 252, 251, 0.78);
  box-shadow: 0 1px 8px rgba(23, 32, 38, 0.12);
}

.side-nav a:hover,
.side-nav a:focus-visible,
.side-nav a.active {
  color: var(--teal);
  transform: translateX(-2px);
}

.side-nav a.active::after {
  background: var(--teal);
  border-color: var(--teal);
}

.hero {
  position: relative;
  min-height: min(560px, 68vh);
  display: grid;
  align-items: center;
  padding: 104px clamp(20px, 5vw, 72px) 52px;
  color: white;
  background: #091012;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 36%;
  background-image: url("assets/figures/gpt2_bank_case_study.png");
  background-size: cover;
  background-position: center;
  opacity: 0.68;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #091012 0%, #091012 48%, rgba(9, 16, 18, 0.96) 58%, rgba(9, 16, 18, 0.70) 72%, rgba(9, 16, 18, 0.48) 100%),
    linear-gradient(0deg, rgba(9, 16, 18, 0.88) 0%, rgba(9, 16, 18, 0.18) 52%);
}

.hero-content {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker,
.preview-label {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb09e;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 5.2rem);
}

.hero-title {
  max-width: 760px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.16;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 700px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(23, 32, 38, 0.05);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero .button {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(23, 32, 38, 0.14);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.full {
  width: 100%;
  margin-top: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.text-link svg,
.prompt-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-band {
  background: var(--ink);
  color: white;
}

.section,
.intro-band {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.intro-grid,
.split,
.try-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(360px, 1.16fr);
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}

.intro-grid p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact {
  max-width: 760px;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.46fr);
  gap: 28px;
  align-items: start;
}

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

.case-card {
  min-height: 188px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  text-align: left;
  box-shadow: none;
}

.case-card:hover,
.case-card:focus-visible,
.case-card.active {
  border-color: rgba(4, 124, 117, 0.52);
  box-shadow: var(--shadow);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

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

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

.case-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.case-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.case-preview {
  position: sticky;
  top: 86px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.case-preview h3 {
  font-size: 1.65rem;
}

#preview-copy {
  margin-top: 14px;
  color: var(--muted);
}

.token-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8f8;
}

.token {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: white;
  color: var(--muted);
  font-size: 0.86rem;
  border: 1px solid #e5ebea;
}

.token.hot {
  background: #fff0dc;
  color: #7a4b00;
  border-color: #f4c780;
  font-weight: 800;
}

.visual-section {
  background: #f2f7f6;
}

.visual-section .split,
.erf-section .split,
.sae-block.split {
  align-items: start;
}

.contrast-section {
  background: #ffffff;
}

.sae-stack {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

.sae-block {
  min-width: 0;
}

.sae-block h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.sae-block p {
  color: var(--muted);
  font-size: 1.04rem;
}

.overlap-layout {
  display: grid;
  gap: 22px;
}

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

.overlap-row {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  align-items: stretch;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(23, 32, 38, 0.07);
}

.overlap-row > div:first-child > span {
  display: block;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.overlap-row strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.overlap-row small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(4, 124, 117, 0.24);
  border-radius: 6px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-weight: 850;
  line-height: 1.25;
  vertical-align: baseline;
  white-space: nowrap;
}

.label-note {
  color: var(--ink);
  font-weight: 760;
}

.overlap-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.mini-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--teal);
  background: #f9fbfb;
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.mini-link:hover,
.mini-link:focus-visible {
  border-color: rgba(4, 124, 117, 0.44);
  background: var(--soft-teal);
}

.mini-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.erf-section {
  background: #f2f7f6;
}

.insight-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.insight-list li {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 3px solid var(--teal);
}

.insight-list strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.insight-list span {
  color: var(--muted);
  font-size: 0.96rem;
}

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

.evidence-stack {
  display: grid;
  gap: clamp(38px, 5vw, 60px);
}

.evidence-block {
  display: grid;
  gap: 22px;
}

.evidence-block.split {
  align-items: start;
}

.evidence-block h3 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.evidence-block p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.evidence-figure-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.sparse-probe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.82fr);
  gap: 20px;
  align-items: start;
}

.sparse-main-figure img {
  width: min(100%, 820px);
  margin: 0 auto;
}

.sparse-detail {
  display: grid;
  gap: 14px;
  align-items: start;
}

.sparse-detail-copy {
  padding: 16px 18px;
  border-left: 3px solid var(--teal);
  background: #f7fbfa;
}

.sparse-detail-copy strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.sparse-detail-copy p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.sparse-detail-figure img {
  width: min(88%, 390px);
  max-height: 260px;
  margin: 0 auto;
  object-fit: contain;
}

.image-panel {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(23, 32, 38, 0.08);
}

.image-panel img {
  width: 100%;
  background: white;
}

.image-panel.overlap-figure img {
  width: 80%;
  max-height: 380px;
  margin: 0 auto;
  object-fit: contain;
}

.image-panel figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.validation-section {
  background: #f7f9f9;
}

.validation-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
  height: 460px;
  gap: 18px;
  align-items: stretch;
}

.validation-tabs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}

.validation-tab {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  text-align: left;
}

.validation-tab span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
}

.validation-tab strong {
  font-size: 1rem;
  line-height: 1.22;
}

.validation-tab small {
  color: var(--muted);
  font-size: 0.8rem;
}

.validation-tab:hover,
.validation-tab:focus-visible,
.validation-tab.active {
  border-color: rgba(4, 124, 117, 0.5);
  box-shadow: 0 10px 28px rgba(23, 32, 38, 0.10);
}

.validation-panel {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.validation-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.validation-panel-head .button {
  flex: 0 0 auto;
}

.validation-prompts {
  display: grid;
  min-height: 0;
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.prompt-row {
  display: grid;
  min-height: 0;
  grid-template-columns: 118px minmax(0, 1fr) 82px 74px 62px;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #edf1f0;
}

.prompt-row:last-child {
  border-bottom: 0;
}

.prompt-row p {
  color: #26343b;
}

.prompt-row mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #fff0c2;
  color: #4b3600;
}

.expected {
  display: inline-flex;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
}

.should-activate .expected {
  background: var(--soft-teal);
  color: var(--teal-dark);
}

.should-not .expected {
  background: var(--soft-coral);
  color: var(--coral);
}


.prompt-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: end;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.prompt-link:hover,
.prompt-link:focus-visible {
  text-decoration: underline;
}
.score,
.rank {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  text-align: right;
}

.try-section {
  background: #eef3f7;
}

.try-stack {
  display: grid;
  gap: clamp(28px, 4vw, 42px);
}

.fit-strip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 22px;
  border: 1px solid #cfdbe3;
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(23, 32, 38, 0.06);
}


.fit-strip .section-kicker {
  margin-bottom: 6px;
}

.fit-strip h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}


.fit-strip p:last-child {
  max-width: 880px;
  margin-top: 6px;
  color: var(--muted);
}

.fit-strip .button {
  flex: 0 0 auto;
}

.build-section {
  background: #ffffff;
}

.build-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.build-grid > div:first-child p:not(.section-kicker) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.build-grid > div:first-child .button {
  margin-top: 26px;
}

.build-list {
  display: grid;
  gap: 12px;
}

.build-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: #f8fbfa;
}

.build-list span {
  grid-row: span 2;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
}

.build-list strong {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.25;
}

.build-list p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.future-hero {
  position: relative;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px) 72px;
  color: white;
  background: #091012;
}

.future-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 36%;
  background-image: url("assets/figures/gpt2_layer_06_ica_sae_top1_sentence_ridgeline.png");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: 100% center;
  opacity: 0.68;
}

.future-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #091012 0%, #091012 48%, rgba(9, 16, 18, 0.96) 58%, rgba(9, 16, 18, 0.70) 72%, rgba(9, 16, 18, 0.48) 100%),
    linear-gradient(0deg, rgba(9, 16, 18, 0.88) 0%, rgba(9, 16, 18, 0.18) 52%);
}

.future-hero-inner h1 {
  max-width: 960px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.future-hero-inner {
  position: relative;
  z-index: 1;
}

.future-hero-inner > p {
  max-width: 780px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.future-hero-inner .hero-actions {
  margin-top: 60px;
}

.future-section {
  background: #fbfcfb;
}

.future-stack {
  display: grid;
  width: min(920px, 100%);
  gap: clamp(34px, 5vw, 54px);
}

.future-project {
  display: grid;
  gap: 14px;
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
}

.future-project h2 {
  max-width: 760px;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

.future-project > p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

.future-project > div:last-child p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

.future-start {
  margin-bottom: clamp(6px, 2vw, 18px);
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: #f8fbfa;
}

.future-start .text-link {
  margin-top: 18px;
}

.future-project-open {
  margin-top: clamp(4px, 1.5vw, 14px);
  padding-top: clamp(24px, 4vw, 36px);
  padding-bottom: 0;
  border-top: 3px solid var(--coral);
  border-bottom: 0;
}

.future-project-open .section-kicker {
  color: var(--coral);
}

pre {
  margin: 0;
  padding: 22px;
  border: 1px solid #cfdbe3;
  border-radius: 8px;
  background: #10191f;
  color: #e9f3f2;
  overflow-x: auto;
  line-height: 1.55;
  box-shadow: var(--shadow);
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
}

.cite-section {
  background: white;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-authors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
}

.footer-authors span {
  color: var(--muted);
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 520px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-authors {
    justify-content: flex-start;
  }
}

@media (max-width: 1240px) {
  .side-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .hero {
    min-height: 620px;
    padding-top: 96px;
  }

  .hero::before {
    inset: 0;
    opacity: 0.34;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 16, 18, 0.96) 0%, rgba(9, 16, 18, 0.88) 100%),
      linear-gradient(0deg, rgba(9, 16, 18, 0.92) 0%, rgba(9, 16, 18, 0.42) 52%);
  }

  .future-hero::before {
    inset: 0;
    opacity: 0.34;
  }

  .future-hero::after {
    background:
      linear-gradient(90deg, rgba(9, 16, 18, 0.96) 0%, rgba(9, 16, 18, 0.88) 100%),
      linear-gradient(0deg, rgba(9, 16, 18, 0.92) 0%, rgba(9, 16, 18, 0.42) 52%);
  }

  .intro-grid,
  .split,
  .try-grid,
  .build-grid,
  .case-layout,
  .case-list,
  .validation-layout,
  .overlap-layout,
  .overlap-list,
  .contrast-grid,
  .evidence-grid,
  .evidence-figure-pair,
  .sparse-probe-layout,
  .sparse-detail {
    grid-template-columns: 1fr;
  }

  .case-preview {
    position: static;
  }

  .fit-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .overlap-row {
    min-height: unset;
  }

  .overlap-actions {
    display: flex;
    flex-wrap: wrap;
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .link-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .case-card {
    min-height: unset;
  }
}


@media (max-width: 700px) {
  .validation-panel-head {
    display: grid;
  }

  .prompt-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .score,
  .rank {
    text-align: left;
  }
}
