body {
  margin: 0;
  color: #17252e;
  background: #f5f7f8;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: #0b6374;
  text-decoration: none;
}

a:hover {
  color: #0a3f4d;
}

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

.container {
  width: min(100% - 32px, 1344px);
  margin: 0 auto;
}

.container.is-max-desktop {
  max-width: 960px;
}

.hero {
  background: #ffffff;
}

.project-page > .hero:first-of-type {
  background-color: #fbfaf7;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(79, 140, 255, 0.13), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(204, 75, 75, 0.11), transparent 26%),
    radial-gradient(circle at 72% 82%, rgba(65, 201, 139, 0.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  border-bottom: 1px solid #e9eceb;
  position: relative;
}

.project-page > .hero:first-of-type::after {
  background: linear-gradient(90deg, #4f8cff, #cc4b4b, #41c98b);
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
}

.project-page > .hero.teaser {
  background: #fff;
}

.hero-body {
  padding: 3rem 1.5rem;
}

.columns {
  display: flex;
  gap: 1.5rem;
  margin: 0 -0.75rem;
}

.columns.is-centered {
  justify-content: center;
}

.column {
  display: block;
  flex: 1 1 0;
  padding: 0.75rem;
}

.column.is-half {
  flex: none;
  width: 50%;
}

.column.is-four-fifths {
  flex: none;
  width: 80%;
}

.has-text-centered {
  text-align: center;
}

.has-text-justified {
  text-align: justify;
}

.title {
  color: #363636;
  font-weight: 600;
  line-height: 1.125;
  margin: 0 0 1.5rem;
}

.title.is-1 {
  font-size: 3rem;
}

.title.is-3 {
  font-size: 2rem;
}

.subtitle {
  color: #4a4a4a;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 1.5rem 0 0;
}

.is-size-5 {
  font-size: 1.25rem;
}

.publication-title {
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
}

.publication-authors {
  color: #4a4a4a;
  margin-bottom: 0.25rem;
}

.publication-note {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.author-block {
  display: inline-block;
}

.publication-links {
  margin-top: 1.5rem;
}

.link-block {
  display: inline-block;
  margin: 0.25rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 500;
  justify-content: center;
  line-height: 1.5;
  min-height: 2.5em;
  padding: calc(0.5em - 1px) 1em;
  text-align: center;
  white-space: nowrap;
}

.button.is-rounded {
  border-radius: 9999px;
  padding-left: 1.25em;
  padding-right: 1.25em;
}

.button.is-normal {
  font-size: 1rem;
}

.button.is-dark {
  background: #17252e;
  color: #fff;
}

.button.is-dark:hover {
  background: #0d171d;
  color: #fff;
}

.button.is-light {
  background: #eef4f6;
  border-color: #d7e3e7;
  color: #17252e;
}

.button.is-light:hover {
  background: #e3eef2;
  color: #0d171d;
}

.button.is-soon {
  background: #8a8a8a;
  cursor: default;
  opacity: 0.85;
  pointer-events: none;
}

.button .icon {
  display: inline-flex;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0;
  margin-right: 0.45em;
}

.button-logo {
  display: inline-block;
  flex: 0 0 auto;
  height: 1.15em;
  margin-right: 0.5em;
  width: 1.15em;
}

.section {
  padding: 3rem 1.5rem;
}

.section-plain {
  background: #fff;
}

.section-soft-blue {
  background: linear-gradient(180deg, #f5f9fc 0%, #fff 100%);
  border-bottom: 1px solid #edf1f4;
  border-top: 1px solid #edf1f4;
}

.section-soft-red {
  background: linear-gradient(180deg, #fff7f7 0%, #fff 100%);
  border-bottom: 1px solid #f1e7e7;
  border-top: 1px solid #f1e7e7;
}

.section-soft-green {
  background: linear-gradient(180deg, #f5fbf7 0%, #fff 100%);
  border-bottom: 1px solid #e8f1eb;
  border-top: 1px solid #e8f1eb;
}

.content p {
  margin: 0 0 1em;
}

.content h2,
.content h3 {
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
}

.dnerf {
  font-variant: small-caps;
  font-weight: 600;
}

.figure-card-portrait img {
  margin: 0 auto;
  max-height: 580px;
  width: auto;
}

.teaser .hero-body {
  padding-top: 0;
}

.teaser-image {
  margin: 0 auto;
  width: min(100%, 500px);
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 0.5em 1.4em rgba(10, 10, 10, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.stat-box {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.stat-number {
  color: #363636;
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  color: #666;
  display: block;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.figure-card {
  margin: 0;
}

.figure-card img {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 0.5em 1.4em rgba(10, 10, 10, 0.08);
}

.figure-card figcaption {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.75rem;
  text-align: center;
}

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

.failure-card {
  background: linear-gradient(180deg, #fff, #fbfbfb);
  border: 1px solid #e5e5e5;
  border-top: 5px solid #cc4b4b;
  border-radius: 8px;
  box-shadow: 0 0.45rem 1.1rem rgba(10, 10, 10, 0.07);
  min-height: 250px;
  padding: 1.15rem;
  position: relative;
}

.failure-card::after {
  background: #ffe1e1;
  border-radius: 999px;
  color: #8a1f1f;
  content: "Leak";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.18rem 0.55rem;
  position: absolute;
  right: 1rem;
  text-transform: uppercase;
  top: 1rem;
}

.model-logo {
  height: 2.4rem;
  margin-bottom: 0.9rem;
  width: 2.4rem;
}

.failure-card h3 {
  color: #363636;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

.failure-card p {
  color: #4a4a4a;
  font-size: 0.98rem;
  margin: 0;
}

.safe-pair-summary {
  background: #f1faf4;
  border-left: 3px solid #38a169;
  border-radius: 6px;
  color: #2d5a3a;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
}

.safe-pair-summary strong {
  color: #1f6f3d;
}

.section-link {
  margin-top: 1.5rem;
}

.compact-hero {
  padding-bottom: 1.5rem;
}

.page-kicker {
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.example-case {
  border-top: 1px solid #e5e5e5;
  padding: 3rem 0;
}

.example-case:first-child {
  border-top: 0;
  padding-top: 0;
}

.case-header {
  margin-bottom: 1.5rem;
}

.case-header p {
  color: #4a4a4a;
  margin: 0 0 1rem;
}

.case-id {
  color: #777;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.case-context {
  background: #f7fbfb;
  border: 1px solid #d9e3e7;
  border-left: 4px solid #0b6374;
  border-radius: 8px;
  margin: 1rem 0;
  padding: 1rem;
}

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

.case-grid section,
.response-card,
.trace-block {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 1rem;
}

.case-context h3,
.case-grid h3,
.response-card h3,
.trace-block summary {
  color: #363636;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.case-context p,
.case-grid p,
.case-grid li,
.trace-block li,
.response-card p {
  color: #4a4a4a;
  font-size: 0.95rem;
}

.case-grid ul,
.trace-block ol {
  margin: 0;
  padding-left: 1.25rem;
}

.trace-block {
  margin: 1rem 0;
}

.trace-block summary {
  cursor: pointer;
  margin-bottom: 0;
}

.trace-block[open] summary {
  margin-bottom: 0.75rem;
}

.trajectory-raw {
  background: #111;
  border-radius: 6px;
  color: #f5f5f5;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  max-height: 28rem;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.trajectory-events {
  display: grid;
  gap: 0.85rem;
  max-height: 42rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.trajectory-event {
  background: #111;
  border: 1px solid #2a2a2a;
  border-left: 6px solid #777;
  border-radius: 8px;
  box-shadow: 0 0.35rem 1rem rgba(10, 10, 10, 0.12);
  overflow: hidden;
}

.trajectory-event.is-use {
  border-left-color: #4f8cff;
}

.trajectory-event.is-result {
  border-left-color: #41c98b;
}

.trajectory-event-heading {
  align-items: center;
  background: #1d1d1d;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
}

.trajectory-event-heading strong {
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.95rem;
}

.trajectory-badge {
  border-radius: 999px;
  color: #111;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.18rem 0.55rem;
  text-transform: uppercase;
}

.trajectory-event.is-use .trajectory-badge {
  background: #9cc0ff;
}

.trajectory-event.is-result .trajectory-badge {
  background: #9ee6c1;
}

.trajectory-meta {
  color: #b8b8b8;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
}

.trajectory-json {
  color: #f5f5f5;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
  overflow: auto;
  padding: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.response-card.safe {
  border-top: 4px solid #38a169;
}

.response-card.leaky {
  border-top: 4px solid #cc4b4b;
}

.model-name {
  color: #777;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  margin-top: -0.25rem;
}

.response-text {
  background: #fafafa;
  border-radius: 6px;
  padding: 0.85rem;
}

.response-text p {
  margin: 0 0 0.75rem;
}

.response-text p:last-child {
  margin-bottom: 0;
}

.annotation-note {
  font-weight: 600;
  margin-bottom: 0;
}

mark {
  background: #ffe1e1;
  color: #8a1f1f;
  font-weight: 700;
  padding: 0 0.12em;
}

.results-table {
  border-collapse: collapse;
  width: 100%;
}

.results-table th,
.results-table td {
  border: 1px solid #dbdbdb;
  padding: 0.75rem;
  text-align: center;
}

.results-table th {
  background: #f5f5f5;
  color: #363636;
  font-weight: 700;
}

.bibtex {
  background: #f5f5f5;
  border-radius: 6px;
  color: #363636;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
  overflow: auto;
  padding: 1.25rem;
  text-align: left;
}

.footer {
  background: #fafafa;
  padding: 3rem 1.5rem;
}

.footer p {
  color: #4a4a4a;
  margin: 0;
  text-align: center;
}

.paper-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.90) 44%, rgba(255, 255, 255, 0.74) 100%),
    url("../images/privacy-flow-alt-a.png") center / cover no-repeat;
  border-bottom: 1px solid #d9e3e7;
  padding: 3.6rem 1.5rem 3rem;
}

.hero-layout {
  align-items: center;
  display: block;
  max-width: 1440px;
  position: relative;
  width: min(100% - 32px, 1440px);
}

.hero-copy {
  margin: 0 auto;
  max-width: 1440px;
  text-align: center;
}

.hero-title-row {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(190px, 250px) minmax(0, 840px) minmax(190px, 250px);
  justify-content: center;
  margin: 0 auto 1.35rem;
  max-width: 1440px;
}

.hero-title-spacer {
  display: block;
}

.hero-identity {
  margin: 0 auto;
  max-width: 840px;
}

.paper-hero .publication-title {
  color: #10212a;
  font-size: clamp(2.35rem, 5.3vw, 4.45rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  max-width: 840px;
}

.publication-affiliations {
  color: #50636b;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.05rem;
  gap: 0.45rem 1.1rem;
  justify-content: center;
  margin-top: 0.45rem;
}

.paper-hero .publication-authors {
  color: #253944;
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(1rem, 2vw, 1.18rem);
  gap: 0.25rem 0.9rem;
  justify-content: center;
  line-height: 1.55;
  margin: 0.45rem auto 0;
  max-width: 820px;
}

.paper-hero .publication-note {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.paper-hero .publication-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 1.65rem 0 0;
}

.hero-mascot-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
  transform: translateX(1.5rem);
}

.hero-mascot-minimal {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cddce2;
  border-radius: 28px;
  box-sizing: border-box;
  height: auto;
  padding: 0.55rem;
  width: min(250px, 100%);
}

.teaser-band {
  background: #ffffff;
  border-bottom: 1px solid #dde6ea;
  padding: 2.5rem 1.5rem 3rem;
}

.teaser-figure {
  margin: 0 auto;
  max-width: 760px;
}

.teaser-figure img,
.wide-figure img {
  background: #fff;
  border: 1px solid #d9e3e7;
  border-radius: 8px;
  margin: 0 auto;
  width: 100%;
}

.teaser-figure img {
  max-width: 560px;
}

.teaser-figure figcaption,
.wide-figure figcaption,
.table-note {
  color: #60706c;
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0.85rem auto 0;
  max-width: 760px;
  text-align: center;
}

.floating-toc {
  background: transparent;
  border-left: 1px solid #d9e3e7;
  left: 1.25rem;
  max-height: calc(100vh - 8rem);
  overflow: auto;
  padding: 0.2rem 0 0.2rem 0.9rem;
  position: fixed;
  top: 6.5rem;
  width: 210px;
  z-index: 20;
}

.floating-toc h2 {
  color: #10212a;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.toc-grid {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 1fr;
}

.toc-grid a {
  color: #253944;
  display: block;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  padding: 0.14rem 0;
}

.toc-grid a:hover {
  color: #0b6374;
}

.article-section {
  background: #ffffff;
  padding: 3.5rem 1.5rem;
  scroll-margin-top: 1rem;
}

.intro-summary {
  background: #f7fbfb;
  border-bottom: 1px solid #d9e3e7;
  padding: 3rem 1.5rem 3.1rem;
}

.intro-summary h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  margin-bottom: 1.25rem;
}

.intro-summary .lede {
  margin-bottom: 0.95rem;
}

.intro-summary p:last-child {
  margin-bottom: 0;
}

.article-grid {
  display: block;
  max-width: 860px;
}

.article-copy h2 {
  color: #10212a;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 1.1rem;
}

.article-copy h3 {
  color: #10212a;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0 0 0.45rem;
}

.article-copy p {
  color: #253944;
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0 0 1.05rem;
}

.article-copy .lede {
  color: #17252e;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.55;
}

.figure-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.annotation-figures {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.interface-detail-shot img {
  max-height: none;
  width: 100%;
}

.annotation-note-pair {
  grid-template-columns: 1fr;
}

.annotation-callout {
  background: #ffffff;
  border: 1px solid #d9e3e7;
  border-radius: 8px;
  padding: 1.1rem;
}

.annotation-callout p {
  font-size: 0.96rem;
  line-height: 1.58;
  margin-bottom: 0;
}

.prominent-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.prominent-stats .stat-box {
  background: #ffffff;
  border-color: #d9e3e7;
}

.wide-figure {
  margin: 1.75rem 0;
}

.portrait-figure {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.interface-shot img {
  max-height: 680px;
  object-fit: cover;
  object-position: top;
}

.annotation-callout {
  align-content: center;
  display: grid;
  gap: 1rem;
}

.results-showcase {
  display: grid;
  gap: 1.35rem;
  margin: 1.8rem 0;
}

.results-panel {
  border-top: 1px solid #d9e3e7;
  padding-top: 1.15rem;
}

.results-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.result-strips,
.training-comparisons {
  display: grid;
  gap: 0.65rem;
}

.metric-header {
  color: #60706c;
  display: grid;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.65rem;
  grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(84px, 1fr));
  margin: 0 0 0.35rem;
  padding: 0 1rem;
  text-transform: uppercase;
}

.metric-header span:not(:first-child) {
  text-align: center;
}

.result-strip,
.training-card {
  background: #ffffff;
  border: 1px solid #d9e3e7;
  border-radius: 8px;
}

.result-strip {
  align-items: center;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(84px, 1fr));
  padding: 0.85rem 1rem;
}

.result-strip.highlight {
  border-color: #94c4ce;
  box-shadow: inset 3px 0 0 #0b6374;
}

.result-strip h4,
.training-card h4 {
  color: #10212a;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1rem;
  margin: 0;
}

.result-strip span,
.training-row span {
  color: #50636b;
  font-size: 0.94rem;
}

.result-strip span,
.training-row span:not(:first-child) {
  text-align: center;
}

.result-strip strong,
.training-row strong,
.clean-gain {
  color: #0b6374;
}

.training-card {
  padding: 0.95rem 1rem 1rem;
}

.training-card-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.training-metric-header {
  grid-template-columns: minmax(210px, 1.7fr) repeat(3, minmax(76px, 1fr));
  padding: 0;
}

.clean-gain {
  background: #eef7f7;
  border: 1px solid #c9e1e4;
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.18rem 0.65rem;
}

.training-row {
  align-items: center;
  border-top: 1px solid #edf2f4;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(210px, 1.7fr) repeat(3, minmax(76px, 1fr));
  padding: 0.65rem 0 0;
}

.training-row + .training-row {
  margin-top: 0.55rem;
}

.training-row > span:first-child {
  color: #253944;
  font-weight: 700;
  line-height: 1.35;
}

.training-row.is-ours {
  background: #f7fbfb;
  border-radius: 6px;
  margin-left: -0.45rem;
  margin-right: -0.45rem;
  padding: 0.65rem 0.45rem;
}

.table-wrap {
  margin: 1.8rem 0;
  overflow-x: auto;
}

.table-wrap .results-table {
  background: #ffffff;
  min-width: 620px;
}

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

.table-wrap .results-table strong {
  color: #0b6374;
}

.results-table .table-group td {
  background: #eef4f6;
  color: #253944;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}

.article-copy .section-link {
  margin-top: 1.25rem;
  text-align: center;
}

.article-copy .bibtex {
  margin: 0 0 1rem;
}

@media (max-width: 1440px) {
  .floating-toc {
    background: #ffffff;
    border-bottom: 1px solid #dde6ea;
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    box-shadow: none;
    left: auto;
    max-height: none;
    overflow: visible;
    padding: 1.7rem max(1rem, calc((100vw - 960px) / 2));
    position: static;
    top: auto;
    width: auto;
  }

  .floating-toc h2 {
    font-size: 1.2rem;
    letter-spacing: 0;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: none;
  }

  .toc-grid {
    gap: 0.25rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 960px;
  }

  .toc-grid a {
    background: transparent;
    border: 0;
    font-size: 1rem;
    font-weight: 500;
    min-height: 0;
    padding: 0.12rem 0;
  }

  .toc-grid a:hover {
    color: #0b6374;
  }
}

@media (max-width: 1280px) {
  .hero-title-row {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .hero-title-spacer {
    display: none;
  }
}

@media (max-width: 860px) {
  .paper-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 251, 0.98) 100%),
      url("../images/privacy-flow-alt-a.png") center top / auto 220px no-repeat;
    padding: 1.65rem 1rem 1.9rem;
  }

  .hero-layout {
    display: block;
    width: 100%;
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
    text-align: center;
  }

  .hero-title-row {
    gap: 0.75rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .hero-identity {
    width: 100%;
  }

  .paper-hero .publication-title {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.06;
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
  }

  .paper-hero .publication-authors {
    font-size: 0.98rem;
    gap: 0.15rem 0.55rem;
    line-height: 1.45;
    margin-top: 0.7rem;
  }

  .publication-affiliations {
    font-size: 0.9rem;
    gap: 0.25rem 0.65rem;
    line-height: 1.35;
  }

  .paper-hero .publication-note {
    font-size: 0.82rem;
    margin-top: 0.55rem;
  }

  .paper-hero .publication-links {
    align-items: center;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.15rem;
    max-width: 390px;
    width: 100%;
  }

  .paper-hero .button {
    box-sizing: border-box;
    min-height: 2.75rem;
    white-space: normal;
    width: 100%;
  }

  .compact-hero .publication-links {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
    width: 100%;
  }

  .compact-hero .link-block {
    display: block;
    margin: 0;
    width: 100%;
  }

  .compact-hero .button {
    box-sizing: border-box;
    white-space: normal;
    width: 100%;
  }

  .paper-hero .publication-authors,
  .publication-affiliations {
    justify-content: center;
  }

  .result-strip,
  .metric-header,
  .training-row {
    grid-template-columns: 1fr;
  }

  .metric-header {
    display: none;
  }

  .result-strip {
    gap: 0.35rem;
  }

  .result-strip span,
  .training-row span {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
  }

  .result-strip span::before,
  .training-row span::before {
    color: #60706c;
    content: attr(data-label);
    flex: 0 0 auto;
    font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .result-strip span:nth-of-type(1)::before,
  .training-row span:nth-of-type(2)::before {
    content: "Leak %";
  }

  .result-strip span:nth-of-type(2)::before,
  .training-row span:nth-of-type(3)::before {
    content: "Omit %";
  }

  .result-strip span:nth-of-type(3)::before,
  .training-row span:nth-of-type(4)::before {
    content: "Clean %";
  }

  .training-row span:first-child {
    justify-content: flex-start;
    text-align: left;
  }

  .training-row span:first-child::before {
    content: "Run";
    margin-right: 0.7rem;
  }

  .training-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-mascot-wrap {
    justify-content: center;
    margin-top: 0;
    order: -1;
    transform: none;
  }

  .hero-mascot-minimal {
    border-radius: 22px;
    padding: 0.35rem;
    width: 112px;
  }

  .columns {
    display: block;
    margin: 0;
  }

  .column,
  .column.is-half,
  .column.is-four-fifths {
    width: auto;
  }

  .title.is-1 {
    font-size: 2.25rem;
  }

  .stats-grid,
  .failure-grid,
  .case-grid,
  .responses-grid,
  .toc-grid,
  .article-grid,
  .figure-pair {
    grid-template-columns: 1fr;
  }

  .article-section {
    padding: 2.6rem 1rem;
  }

  .article-grid {
    max-width: 860px;
  }

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

  .floating-toc {
    display: none;
  }

  .intro-summary {
    padding: 2.25rem 1rem 2.4rem;
  }

  .intro-summary h2,
  .article-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .article-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .article-copy .lede {
    font-size: 1.14rem;
  }

  .stat-box {
    padding: 0.95rem 0.75rem;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .result-strip,
  .training-card,
  .failure-card,
  .figure-card,
  .annotation-callout {
    border-radius: 7px;
  }

  .has-text-justified {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .paper-hero .publication-title {
    font-size: 2rem;
  }

  .paper-hero .publication-links {
    grid-template-columns: 1fr;
    max-width: 310px;
  }

  .prominent-stats {
    grid-template-columns: 1fr;
  }

  .publication-authors,
  .publication-affiliations {
    display: block;
  }

  .publication-authors .author-block,
  .publication-affiliations span {
    display: block;
  }
}

/* Leaderboard */
.leaderboard-intro {
  color: #41555d;
  margin: 0 auto 1.6rem;
  max-width: 760px;
  text-align: center;
}

.leaderboard {
  display: grid;
  gap: 0.6rem;
  margin: 1.8rem 0 1.4rem;
}

.lb-header {
  color: #60706c;
  display: grid;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.65rem;
  grid-template-columns: 46px minmax(200px, 1.7fr) repeat(3, minmax(78px, 1fr));
  margin: 0 0 0.35rem;
  padding: 0 1.1rem;
  text-transform: uppercase;
}

.lb-header span:nth-child(n+3) {
  text-align: center;
}

.lb-row {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9e3e7;
  border-radius: 8px;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 46px minmax(200px, 1.7fr) repeat(3, minmax(78px, 1fr));
  padding: 0.8rem 1.1rem;
}

.lb-rank {
  color: #60706c;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.lb-model {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
}

.lb-logo {
  align-self: center;
  flex: 0 0 auto;
  height: 1.15rem;
  width: 1.15rem;
}

.lb-model .lb-name {
  color: #10212a;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.lb-tag {
  border-radius: 999px;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.12rem 0.55rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.lb-tag.is-frontier {
  background: #eef3f5;
  border: 1px solid #d2dfe3;
  color: #41555d;
}

.lb-tag.is-base {
  background: #f3f1ee;
  border: 1px solid #e0dbd3;
  color: #6a6055;
}

.lb-tag.is-ours {
  background: #eef7f7;
  border: 1px solid #c9e1e4;
  color: #0b6374;
}

.lb-tag.is-other {
  background: #f5f6f7;
  border: 1px solid #e1e5e8;
  color: #5b6a72;
}

.lb-row .lb-metric {
  color: #50636b;
  font-size: 0.94rem;
  text-align: center;
}

.lb-row .lb-metric.lb-clean {
  color: #0b6374;
  font-weight: 700;
}

.lb-row.is-top {
  border-color: #94c4ce;
  box-shadow: inset 3px 0 0 #0b6374;
}

.lb-row.is-ours {
  background: #f7fbfb;
}

@media (max-width: 860px) {
  .lb-header {
    display: none;
  }

  .lb-row {
    gap: 0.4rem;
    grid-template-columns: 1fr;
  }

  .lb-rank {
    color: #10212a;
    text-align: left;
  }

  .lb-rank::before {
    content: "Rank ";
    color: #60706c;
    font-size: 0.78rem;
    text-transform: uppercase;
  }

  .lb-row .lb-metric {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    text-align: right;
  }

  .lb-row .lb-metric::before {
    color: #60706c;
    content: attr(data-label);
    flex: 0 0 auto;
    font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
  }
}
