:root {
  --ink: #101425;
  --muted: #62687a;
  --line: #dfe2ea;
  --paper: #ffffff;
  --soft: #f5f6fa;
  --navy: #101a42;
  --blue: #3154e8;
  --cyan: #13a9da;
  --violet: #7c47ea;
  --green: #0b9167;
  --shadow: 0 22px 60px rgba(28, 36, 68, 0.12);
  --radius: 22px;
  --shell: 1180px;
  --narrow: 850px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 78px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.shell.wide {
  width: min(calc(100% - 32px), 1450px);
}

.narrow {
  max-width: var(--narrow);
  margin-inline: auto;
}

.center {
  text-align: center;
}

.section-space {
  padding-block: 108px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(223, 226, 234, 0.78);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark-mark {
  display: block;
  width: 30px;
  height: auto;
  flex: 0 0 auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  color: #4e5568;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--blue);
}

.hero {
  overflow: hidden;
  padding-top: 98px;
  padding-bottom: 76px;
  background:
    radial-gradient(circle at 16% 10%, rgba(19, 169, 218, 0.08), transparent 25%),
    radial-gradient(circle at 84% 8%, rgba(124, 71, 234, 0.08), transparent 28%);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8.4vw, 102px);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.gradient-text {
  color: var(--blue);
  background: linear-gradient(115deg, #0a9ed2 5%, #3154e8 48%, #7949ea 95%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  max-width: 760px;
  margin: 26px auto 22px;
  color: #343a4b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.hero-claim {
  max-width: 720px;
  margin: 22px auto 0;
  color: #5d6478;
  font-size: 17px;
  line-height: 1.65;
}

.hero-claim strong {
  color: #293965;
  font-weight: 760;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-top: 26px;
  color: #303649;
  font-size: 16px;
  font-weight: 650;
}

.authors a {
  color: #244fc4;
  text-underline-offset: 3px;
}

.affiliation {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.resource-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #cdd2de;
  border-radius: 999px;
  color: #33394b;
  background: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(27, 34, 58, 0.05);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.resource-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.resource-button .arxiv-icon {
  fill: currentColor;
  stroke: none;
}

a.resource-button:hover,
a.resource-button:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.resource-button.disabled {
  cursor: default;
  opacity: 0.74;
}

.video-showcase {
  padding: 18px 0 106px;
}

.video-shell {
  max-width: 1120px;
}

.video-heading {
  margin-bottom: 24px;
  text-align: center;
}

.video-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 770;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fff;
  object-fit: contain;
}

.video-note {
  margin: 12px 0 0;
  color: #777e90;
  font-size: 12px;
  text-align: center;
}

.teaser {
  padding-bottom: 76px;
}

.teaser-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.teaser-frame img {
  width: 100%;
  height: auto;
}

.teaser-copy {
  padding-top: 42px;
  text-align: center;
}

.teaser-copy h2,
.section-space h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 770;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.teaser-copy p {
  max-width: 730px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.abstract {
  margin: 32px 0 0;
  color: #353b4e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.76;
}

.soft-section {
  border-block: 1px solid #e6e8ef;
  background: var(--soft);
}

.comparison h2 {
  max-width: 700px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.comparison-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 32px rgba(31, 39, 68, 0.05);
}

.comparison-card.featured {
  border-color: rgba(49, 84, 232, 0.42);
  background: linear-gradient(155deg, #ffffff 50%, #f0f3ff);
  box-shadow: 0 16px 45px rgba(49, 84, 232, 0.11);
}

.comparison-card h3,
.method-steps h3,
.application-list h3 {
  margin: 7px 0 10px;
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.comparison-card p,
.method-steps p,
.application-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.card-label {
  color: var(--blue) !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.schedule-icon {
  display: grid;
  width: 100%;
  height: 100px;
  align-content: center;
  gap: 6px;
  margin-bottom: 23px;
  padding: 13px;
  border-radius: 14px;
  background: #f0f2f7;
}

.schedule-icon i {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: #234d90;
}

.schedule-icon.common i:nth-child(1) { opacity: 1; }
.schedule-icon.common i:nth-child(2) { opacity: 0.8; }
.schedule-icon.common i:nth-child(3) { opacity: 0.6; }
.schedule-icon.common i:nth-child(4) { opacity: 0.4; }
.schedule-icon.common i:nth-child(5) { opacity: 0.2; }

.schedule-icon.causal i:nth-child(1) { width: 44%; opacity: 1; }
.schedule-icon.causal i:nth-child(2) { width: 58%; opacity: 0.82; }
.schedule-icon.causal i:nth-child(3) { width: 72%; opacity: 0.64; }
.schedule-icon.causal i:nth-child(4) { width: 86%; opacity: 0.44; }
.schedule-icon.causal i:nth-child(5) { width: 100%; opacity: 0.22; }

.schedule-icon.reroll i {
  background: linear-gradient(90deg, #19a6d8 0 24%, #3154e8 24% 46%, #8d63ec 46% 66%, #3154e8 66% 80%, #b3c8e8 80%);
}
.schedule-icon.reroll i:nth-child(2) { transform: translateX(4%); }
.schedule-icon.reroll i:nth-child(3) { transform: translateX(8%); }
.schedule-icon.reroll i:nth-child(4) { transform: translateX(4%); }

.denoising-showcase {
  padding: 34px 0 112px;
}

.section-intro > p:last-child {
  max-width: 760px;
  margin: 19px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.section-intro h2,
.robotics-heading h2,
.temporal-thesis h2,
.failure-section h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 770;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.process-card {
  position: relative;
  overflow: hidden;
  padding: 10px 10px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 36px rgba(29, 37, 68, 0.07);
}

.process-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 30px;
  width: 54px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  content: "";
}

.process-full::before { background: #de4040; }
.process-causal::before { background: #e2941d; }
.process-reroll::before { background: #14947a; }

.process-reroll {
  border-color: rgba(20, 148, 122, 0.42);
  background: linear-gradient(155deg, #ffffff 58%, #edf9f6);
  box-shadow: 0 16px 40px rgba(20, 148, 122, 0.11);
}

.process-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e3e5ea;
  border-radius: 13px;
  background: #fff;
}

.process-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-index {
  margin: 21px 19px 6px;
  color: #737a8c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-card h3 {
  margin: 0 19px 7px;
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.process-card > p:last-child {
  margin: 0 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.process-visual-note {
  margin: 18px auto 0;
  color: #737a8c;
  font-size: 12px;
  text-align: center;
}

.process-visual-note strong {
  color: #50586c;
}

.robotics-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: end;
}

.robotics-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.robotics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 50px;
}

.robotics-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 13px 34px rgba(31, 39, 68, 0.06);
}

.robotics-image {
  display: flex;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #e7e9ef;
  background: #fff;
}

.robotics-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.robotics-card-body {
  padding: 24px 25px 25px;
}

.robotics-type,
.failure-label {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.robotics-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.robotics-card-body > p:not(.robotics-type) {
  min-height: 76px;
  margin: 11px 0 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.robotics-card-body > span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #4d5878;
  background: #f0f2f7;
  font-size: 10px;
  font-weight: 760;
}

.temporal-thesis {
  padding-block: 88px;
  color: white;
  background:
    radial-gradient(circle at 6% 10%, rgba(19, 169, 218, 0.25), transparent 30%),
    radial-gradient(circle at 90% 100%, rgba(124, 71, 234, 0.28), transparent 34%),
    #0e1532;
}

.temporal-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 88px;
  align-items: start;
}

.temporal-thesis h2 {
  max-width: 510px;
}

.temporal-copy p {
  margin: 0;
  color: #d5d9e7;
  font-size: 18px;
  line-height: 1.7;
}

.temporal-copy p + p {
  margin-top: 18px;
}

.concept-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.concept-row span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #a9e6fa;
  background: rgba(255, 255, 255, 0.055);
  font-size: 11px;
  font-weight: 760;
}

.failure-section h2 {
  max-width: 810px;
}

.failure-lead {
  max-width: 820px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.failure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.failure-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 34px rgba(30, 39, 68, 0.06);
}

.failure-red { border-top: 3px solid #d94747; }
.failure-amber { border-top: 3px solid #dd901f; }

.failure-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.failure-image img,
.revision-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.failure-card-body {
  padding: 25px 27px 28px;
}

.failure-card h3,
.revision-copy h3,
.method-visual-copy h3,
.bidirectional-copy h3,
.bidirectional-matrix-copy h3,
.bidirectional-note h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.failure-card-body > p:last-child,
.revision-copy > p:not(.failure-label),
.method-visual-copy > p:not(.card-label),
.bidirectional-copy > p:not(.card-label),
.bidirectional-matrix-copy > p:not(.card-label),
.bidirectional-note > p:not(.card-label) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.failure-red .failure-label { color: #c63535; }
.failure-amber .failure-label { color: #bf7411; }

.revision-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(20, 148, 122, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff 55%, #ebf8f5);
  box-shadow: 0 18px 46px rgba(20, 148, 122, 0.1);
}

.revision-image {
  min-height: 360px;
  border-right: 1px solid rgba(20, 148, 122, 0.2);
  background: white;
}

.revision-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.revision-copy .failure-label {
  color: #0a846b;
}

.revision-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 25px;
  color: #616b73;
  font-size: 11px;
  font-weight: 760;
}

.revision-sequence span,
.revision-sequence strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf1f2;
}

.revision-sequence strong {
  color: #08755f;
  background: #dff4ee;
}

.revision-sequence i {
  color: #8c9499;
  font-style: normal;
}

.method-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}

.method-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.method-visual {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  overflow: hidden;
  margin-top: 50px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f9fc;
}

.method-visual-training {
  grid-template-columns: 1.45fr 0.55fr;
  margin-top: 22px;
}

.method-visual > img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: contain;
  border-right: 1px solid var(--line);
  background: white;
}

.method-visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.method-visual-training > img {
  min-height: 330px;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 62px 0 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.method-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 32px 30px 34px 0;
}

.method-steps li + li {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.step-number,
.application-index {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.method-steps h3 {
  margin-top: -3px;
}

.takeaway {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 42px;
  padding: 26px 30px;
  border-radius: 18px;
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 71, 234, 0.75), transparent 36%),
    linear-gradient(112deg, #13214f, #1e3fa6);
  box-shadow: 0 18px 40px rgba(18, 35, 86, 0.18);
}

.takeaway-label {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.takeaway p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.45;
}

.bidirectional-group {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(124, 71, 234, 0.25);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 71, 234, 0.12), transparent 30%),
    #f8f7fd;
  box-shadow: 0 18px 46px rgba(71, 49, 122, 0.08);
}

.bidirectional-panel {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.bidirectional-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.bidirectional-note {
  margin: 0;
  padding: 10px 10px 30px;
}

.bidirectional-note > p:not(.card-label) {
  max-width: 860px;
}

.bidirectional-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  color: #645a79;
  font-size: 12px;
  font-weight: 760;
}

.bidirectional-flow span,
.bidirectional-flow strong {
  padding: 7px 11px;
  border: 1px solid rgba(124, 71, 234, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.bidirectional-flow strong {
  color: #5631ad;
  background: #eee8fb;
}

.bidirectional-flow i {
  color: #8a75b7;
  font-style: normal;
}

.bidirectional-media {
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  background: #070914;
}

.bidirectional-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #070914;
  object-fit: contain;
}

.bidirectional-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.bidirectional-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #5d6478;
  background: #eef0f5;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.bidirectional-matrix {
  display: grid;
  grid-template-columns: 1.38fr 0.62fr;
  overflow: hidden;
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.bidirectional-matrix-image {
  display: flex;
  align-items: center;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  background: white;
}

.bidirectional-matrix-image img {
  width: 100%;
  height: auto;
}

.bidirectional-matrix-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.bidirectional-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.bidirectional-mode-grid article {
  padding: 30px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 30px rgba(35, 32, 62, 0.05);
}

.bidirectional-mode-grid article:last-child {
  border-color: rgba(124, 71, 234, 0.26);
  background: linear-gradient(145deg, #ffffff 62%, #f3effc);
}

.mode-label {
  margin: 0 0 8px;
  color: #6845b2;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bidirectional-mode-grid h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.bidirectional-mode-grid article > p:not(.mode-label) {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.mode-use {
  display: inline-block;
  margin-top: 20px;
  color: #71569e;
  font-size: 11px;
  font-weight: 750;
}

.results-section {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 12% 0%, rgba(23, 164, 216, 0.25), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(124, 71, 234, 0.28), transparent 30%),
    #0e1532;
}

.section-kicker.light {
  color: #8adffc;
}

.results-section h2 {
  max-width: 760px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.result-card {
  min-height: 340px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(10px);
}

.result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 760;
}

.dataset {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #c9d5ff;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-pair {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 52px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.metric-before {
  color: #8f98b7;
  font-size: 32px;
}

.metric-arrow {
  color: #7e8ab1;
  font-size: 22px;
}

.metric-pair strong {
  color: white;
  font-size: clamp(38px, 4vw, 53px);
  letter-spacing: -0.055em;
}

.metric-caption {
  margin: 13px 0 0;
  color: #c4cbe2;
  font-size: 14px;
  line-height: 1.5;
}

.result-note {
  margin-top: 33px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fe1ff;
  font-size: 13px;
  font-weight: 700;
}

.reroll-events-figure {
  overflow: hidden;
  margin: 76px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px rgba(2, 6, 20, 0.22);
}

.reroll-events-caption {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: end;
  padding: 34px 36px;
}

.result-figure-label {
  margin: 0 0 10px;
  color: #8adffc;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.reroll-events-caption h3 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 41px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.reroll-events-caption > p {
  margin: 0;
  color: #c2cae0;
  font-size: 15px;
  line-height: 1.7;
}

.reroll-events-plot {
  padding: 22px 18px;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  background: white;
}

.reroll-events-plot img {
  width: 100%;
  height: auto;
}

.plot-scroll-hint {
  display: none;
}

.reroll-events-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.reroll-events-summary div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 24px 20px;
}

.reroll-events-summary div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.reroll-events-summary strong {
  color: #8fe1ff;
  font-size: 12px;
}

.reroll-events-summary span {
  color: #aeb6ce;
  font-size: 12px;
}

.experiment-heading {
  margin-top: 76px;
}

.experiment-heading h3 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(27px, 3.3vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.experiment-grid article {
  position: relative;
  min-height: 240px;
  padding: 29px 30px;
  background: #121a39;
}

.experiment-index {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #66708f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

.experiment-domain {
  margin: 0 0 23px;
  color: #8adffc;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experiment-grid h4 {
  max-width: 430px;
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.experiment-grid article > p:last-child {
  max-width: 470px;
  margin: 13px 0 0;
  color: #aeb6ce;
  font-size: 14px;
  line-height: 1.62;
}

.conclusion-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(19, 169, 218, 0.08), transparent 27%),
    radial-gradient(circle at 92% 80%, rgba(124, 71, 234, 0.09), transparent 30%),
    white;
}

.conclusion-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.conclusion-section h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(34px, 4.7vw, 56px);
  font-weight: 770;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.conclusion-copy p {
  margin: 0;
  color: #495064;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.75;
}

.conclusion-copy p + p {
  margin-top: 18px;
}

.application-list {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.application-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.application-list h3 {
  margin-top: -4px;
  font-size: 25px;
}

.application-list p {
  max-width: 720px;
  font-size: 16px;
}

.application-tag {
  padding: 5px 11px;
  border-radius: 999px;
  color: #535b72;
  background: var(--soft);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.citation-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.copy-button {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid #cdd2df;
  border-radius: 9px;
  color: #3a4259;
  background: white;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

pre {
  overflow-x: auto;
  margin: 28px 0 0;
  padding: 25px;
  border: 1px solid #dde0e9;
  border-radius: 15px;
  color: #222b49;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
}

.copy-status {
  min-height: 23px;
  margin: 8px 0 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7a8090;
  font-size: 12px;
}

.footer-inner a {
  color: #4c5f9d;
}

@media (max-width: 900px) {
  .section-space {
    padding-block: 82px;
  }

  .comparison-grid,
  .result-grid,
  .process-grid,
  .robotics-grid,
  .bidirectional-mode-grid,
  .experiment-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    max-width: 650px;
    margin-inline: auto;
    margin-top: 42px;
  }

  .robotics-heading,
  .temporal-layout,
  .method-visual,
  .reroll-events-caption,
  .bidirectional-panel,
  .bidirectional-matrix,
  .conclusion-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .reroll-events-summary div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

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

  .robotics-card-body > p:not(.robotics-type) {
    min-height: 0;
  }

  .failure-grid {
    grid-template-columns: 1fr;
  }

  .revision-panel {
    grid-template-columns: 1fr;
  }

  .revision-image,
  .method-visual > img {
    min-height: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .bidirectional-panel {
    gap: 0;
  }

  .bidirectional-matrix {
    gap: 0;
  }

  .bidirectional-matrix-image {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bidirectional-media {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .comparison-card,
  .result-card {
    min-height: 0;
  }

  .method-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-steps li,
  .method-steps li + li {
    padding: 28px 0;
    border-left: 0;
  }

  .method-steps li + li {
    border-top: 1px solid var(--line);
  }

  .result-card {
    padding-bottom: 25px;
  }

  .metric-pair {
    margin-top: 34px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

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

  .desktop-nav {
    display: none;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 58px;
  }

  .video-showcase {
    padding: 6px 0 76px;
  }

  .video-frame {
    border-radius: 13px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 74px);
  }

  .subtitle {
    font-size: 25px;
  }

  .hero-claim {
    font-size: 15px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
    margin-inline: auto;
  }

  .resource-button {
    justify-content: center;
  }

  .teaser {
    padding-bottom: 40px;
  }

  .teaser-frame {
    overflow-x: auto;
    border-radius: 13px;
  }

  .teaser-frame img {
    width: 940px;
    max-width: none;
  }

  .comparison-card {
    padding: 23px;
  }

  .denoising-showcase {
    padding: 16px 0 78px;
  }

  .process-card {
    padding: 8px 8px 24px;
  }

  .robotics-heading,
  .temporal-layout,
  .method-visual,
  .bidirectional-panel,
  .bidirectional-matrix {
    gap: 18px;
  }

  .temporal-thesis {
    padding-block: 70px;
  }

  .failure-card-body,
  .revision-copy,
  .method-visual-copy,
  .bidirectional-copy,
  .bidirectional-matrix-copy,
  .bidirectional-note,
  .reroll-events-caption {
    padding: 23px;
  }

  .bidirectional-group {
    padding: 10px;
    border-radius: 18px;
  }

  .bidirectional-note {
    padding: 13px 13px 24px;
  }

  .reroll-events-plot {
    overflow-x: auto;
    padding: 14px;
  }

  .reroll-events-plot img {
    width: 920px;
    max-width: none;
  }

  .plot-scroll-hint {
    display: block;
    margin: 0;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #8f98b7;
    font-size: 10px;
    text-align: center;
  }

  .failure-card h3,
  .revision-copy h3,
  .method-visual-copy h3,
  .bidirectional-copy h3,
  .bidirectional-matrix-copy h3,
  .bidirectional-note h3 {
    font-size: 21px;
  }

  .experiment-grid article {
    padding: 25px 23px;
  }

  .experiment-index {
    top: 24px;
    right: 22px;
  }

  .conclusion-copy p {
    font-size: 18px;
  }

  .revision-sequence {
    gap: 5px;
  }

  .method-steps li {
    grid-template-columns: 38px 1fr;
  }

  .takeaway {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 23px;
  }

  .takeaway p {
    font-size: 19px;
  }

  .application-list article {
    grid-template-columns: 34px 1fr;
    gap: 15px;
  }

  .application-tag {
    grid-column: 2;
    justify-self: start;
  }

  .citation-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  pre {
    padding: 18px;
    font-size: 11px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 26px;
  }

  .footer-inner p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
