:root {
  --ink: #102846;
  --text: #394b61;
  --muted: #64748a;
  --blue: #255edd;
  --light-blue: #edf3ff;
  --teal: #007f79;
  --light-teal: #eaf7f3;
  --orange: #c75b23;
  --light-orange: #fff3ea;
  --line: #dfe6ee;
  --surface: #f6f8fb;
  --white: #fff;
  --section-gap: 64px;
  --plot-upstream: #bdbdbd;
  --plot-without: #737373;
  --plot-lossless: #007f79;
  --plot-approximate: #c75b23;
  --sans: Inter, 'Segoe UI', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #6c9bff;
  outline-offset: 5px;
}
::selection {
  background: #dce9ff;
}
button {
  border: 0;
}
svg {
  display: block;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  margin: 0 0 20px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 650;
}
h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}
figure {
  margin: 0;
}
sup {
  font-size: 0.65em;
  line-height: 0;
}
code,
pre {
  font-family: var(--mono);
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  z-index: 99;
}
.skip:focus {
  top: 12px;
}
.topbar {
  height: 70px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 21px;
  font-weight: 850;
  font-style: italic;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.wordmark span {
  color: var(--orange);
}
.navlinks {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 550;
  color: var(--muted);
}
.navlinks a:hover,
.navlinks a.active {
  color: var(--blue);
}
.nav-code {
  display: flex;
  gap: 7px;
  align-items: center;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  color: var(--ink);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 14% 30%, #edf4ff99, transparent 38%),
    radial-gradient(ellipse at 89% 45%, #edf8ff99, transparent 35%);
}
.hero:before,
.hero:after {
  content: '';
  position: absolute;
  width: 270px;
  height: 340px;
  top: 115px;
  background-image: radial-gradient(#acc3e1 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.35;
  mask-image: linear-gradient(to right, black, transparent);
  pointer-events: none;
}
.hero:before {
  left: -80px;
}
.hero:after {
  right: -80px;
  transform: rotate(180deg);
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-logo {
  width: 320px;
  margin: 0 auto 12px;
  mix-blend-mode: multiply;
}
.hero h1 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  max-width: 100%;
  margin: 0 auto 28px;
  color: var(--ink);
}
.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  row-gap: 0;
  max-width: 100%;
  margin: 0 auto 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 2.05;
}
.authors a {
  border-bottom: 1px solid transparent;
}
.authors a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.authors .author {
  display: inline-block;
  margin: 0;
  white-space: nowrap;
}
.authors sup,
.affiliations sup,
.corresponding sup {
  display: inline-block;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  font-variant-position: normal;
  line-height: 1;
  vertical-align: baseline;
  position: relative;
  top: -0.5em;
}
.affiliations {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 100%;
  margin: auto;
}
.affiliations span {
  display: inline-block;
  margin: 0 8px;
}
.corresponding {
  font-size: 19px;
  color: var(--muted);
  margin-top: 7px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  min-height: 44px;
  padding: 10px 23px;
  border-radius: 7px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 4px 10px #10284614;
}
.button.primary:hover {
  background: #23466e;
}
.section {
  padding: 80px 0;
}
.section-heading {
  margin-bottom: 32px;
}
.section-heading p {
  color: var(--text);
  max-width: 100%;
  margin: 18px 0 0;
  line-height: 1.75;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}
.section-top .section-heading {
  margin: 0;
}
.abstract {
  padding: 20px 0 66px;
}
.abstract h2 {
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.abstract p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.9;
  margin: 0;
}
.subtle-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.visual-frame {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
}
.visual-frame img {
  width: 100%;
}
.figure-caption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 15px;
  max-width: 950px;
}
.lossless-caption {
  max-width: none;
}
.caption-phrase {
  white-space: nowrap;
}
.math-inline {
  display: inline-block;
  width: 1.6em;
  height: 0.9em;
  vertical-align: -0.2em;
  fill: currentColor;
}
.math-variable {
  width: 0.65em;
  stroke: currentColor;
  stroke-width: 0.12;
  paint-order: stroke fill;
}
.workflow {
  padding-top: var(--section-gap);
}
.workflow-heading {
  display: block;
  margin-bottom: 26px;
}
.workflow-heading h3 {
  font-size: 28px;
  margin-bottom: 18px;
}
.workflow-heading p {
  font-size: 16px;
  max-width: 100%;
  color: var(--text);
  margin: 0;
}
.workflow-frame {
  padding: 0;
  border: 0;
  background: transparent;
}
.explorer-section {
  background: #0d2037;
  color: #f6f9ff;
  padding: 73px 0 66px;
  position: relative;
}
.explorer-section .section-heading p {
  color: #b8c9dc;
  max-width: 100%;
}
.explorer-section h2 {
  font-size: clamp(29px, 3.5vw, 42px);
}
.point-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding-bottom: 22px;
}
.point-tab {
  color: #a9bfd9;
  border: 1px solid #3a4e67;
  background: transparent;
  font-size: 13px;
  border-radius: 6px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.point-tab:hover {
  background: #1a3552;
  color: white;
}
.point-tab[aria-selected='true'] {
  background: #e6f6f1;
  border-color: #e6f6f1;
  color: #073e39;
  font-weight: 600;
}
.optimization-panel {
  border: 1px solid #3b5069;
  border-radius: 11px;
  background: #122942;
  overflow: hidden;
}
.point-intro {
  padding: 22px 26px 20px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 28px;
  border-bottom: 1px solid #344961;
  min-height: 123px;
}
.point-intro h3 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.point-intro p {
  color: #bfd0e3;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 730px;
}
.tier {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid #538982;
  background: #163c43;
  color: #8be0c9;
  border-radius: 4px;
  padding: 4px 8px;
}
.tier.approximate {
  background: #4a332c;
  color: #ffbf8b;
  border-color: #855540;
}
.tier.startup {
  background: #183b62;
  color: #b6d7ff;
  border-color: #5487be;
}
.point-body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 390px;
}
.pipeline-column {
  padding: 22px 24px;
  border-right: 1px solid #344961;
}
.panel-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #9bb3ce;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.pipeline-svg {
  width: 100%;
  height: auto;
  min-height: 240px;
}
.diagram-legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #b3c7df;
  margin-top: 6px;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.swatch {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.point-effect {
  font-size: 13px;
  color: #a5e2d3;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #304860;
  line-height: 1.7;
}
.code-column {
  padding: 22px 23px;
  background: #0b1c30;
  min-width: 0;
}
.code-column .panel-label {
  margin-bottom: 10px;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: #b7c9dc;
  font-family: var(--sans);
  font-size: 12px;
  border: 1px solid #3c506b;
  border-radius: 4px;
  padding: 3px 8px;
}
.copy-button:hover {
  background: #243d59;
}
.copy-button .icon {
  width: 13px;
  height: 13px;
}
.code-column pre {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
  white-space: pre;
  overflow: auto;
  max-height: 315px;
  color: #d9e7f6;
  tab-size: 4;
}
.code-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #9db3cc;
  text-transform: uppercase;
  margin: 10px 0 7px;
}
.code-tag.after {
  color: #79d5bd;
  padding-top: 10px;
  border-top: 1px solid #2b3e54;
}
.tok-key {
  color: #b2a7ff;
}
.tok-string {
  color: #9ddbb3;
}
.tok-num {
  color: #ffbd8c;
}
.tok-call {
  color: #7ac9fb;
}
.point-foot {
  padding: 14px 25px;
  border-top: 1px solid #344961;
  color: #a7bed7;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
}
.point-foot p {
  margin: 0;
  max-width: 810px;
}
.point-foot a {
  color: #90c5ff;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 18px;
}
.lossless-head {
  flex-wrap: wrap;
}
.result-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.round-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.round-switch input {
  position: absolute;
  width: 36px;
  height: 22px;
  margin: 0;
  opacity: 0;
}
.switch-track {
  position: relative;
  width: 36px;
  height: 22px;
  border-radius: 11px;
  background: #a6b2c1;
}
.switch-track::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
}
.round-switch input:checked + .switch-track {
  background: var(--plot-lossless);
}
.round-switch input:checked + .switch-track::before {
  transform: translateX(14px);
}
.round-switch input:focus-visible + .switch-track {
  outline: 2px solid var(--plot-lossless);
  outline-offset: 2px;
}
.legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.legend .swatch {
  width: 11px;
  height: 11px;
}
.select-wrap {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.select-wrap select {
  background: white;
  border: 1px solid #c8d4e3;
  border-radius: 6px;
  font-size: 13px;
  padding: 8px 27px 8px 11px;
  color: var(--ink);
  max-width: 200px;
}
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.chart-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px 23px 13px;
  background: #fff;
  min-width: 0;
}
.chart-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}
.chart-card h3 {
  font-size: 18px;
}
.model-gain {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  background: var(--light-teal);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.model-baseline {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.bar-chart {
  width: 100%;
  overflow: visible;
}
.chart-card svg text,
.architecture-chart svg text,
.search-plot svg text {
  font-family: var(--sans);
}
.result-takeaway {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 18px 21px;
  border-left: 3px solid var(--blue);
  background: var(--light-blue);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}
.result-takeaway strong {
  color: var(--ink);
}
.result-takeaway p:last-child {
  margin-bottom: 0;
}
.text-link {
  color: var(--blue);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.compare-rounds-action {
  padding: 0;
  background: transparent;
  font-size: inherit;
  text-decoration: none;
}
.optimization-breakdown {
  margin-top: 24px;
}
.breakdown-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 0;
  font-size: 21px;
}
.breakdown-context {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.breakdown-content {
  padding-top: 20px;
}
.breakdown-caption {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.breakdown-tabs {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breakdown-columns,
.breakdown-stage {
  display: grid;
  grid-template-columns: clamp(200px, 27%, 300px) 72px minmax(0, 1fr) 64px;
  gap: 16px;
  align-items: center;
}
.breakdown-columns {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}
.breakdown-columns > :nth-child(2),
.breakdown-columns > :last-child {
  text-align: right;
  white-space: nowrap;
}
.breakdown-stages {
  list-style: none;
  padding: 0;
  margin: 0;
}
.breakdown-stage {
  min-height: 34px;
  padding: 5px 0;
  border-top: 1px solid var(--line);
}
.breakdown-stage-label {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}
.breakdown-latency {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.breakdown-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--light-teal);
  color: var(--plot-lossless);
  font-size: 11px;
  font-weight: 600;
}
.breakdown-round-gain {
  margin-left: 8px;
  color: var(--plot-lossless);
  font-size: 11px;
  white-space: nowrap;
}
.breakdown-bar-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
}
.breakdown-track {
  height: 17px;
  border-radius: 3px;
  background: var(--surface);
}
.breakdown-bar {
  position: relative;
  height: 100%;
  border-radius: 3px;
  background: #b3d9d7;
  overflow: hidden;
}
.breakdown-bar-increment {
  position: absolute;
  right: 0;
  height: 100%;
  background: var(--plot-lossless);
}
.breakdown-stage:first-child .breakdown-bar {
  background: var(--plot-upstream);
}
.breakdown-total,
.breakdown-gain {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  text-align: right;
}
.breakdown-total {
  font-weight: 600;
  color: var(--plot-lossless);
}
.breakdown-gain {
  color: var(--text);
}
.breakdown-stage:first-child .breakdown-total {
  color: var(--muted);
  font-weight: 400;
}
.breakdown-caption {
  margin-top: 17px;
}
.table-scroll {
  overflow-x: auto;
}
.architecture-section {
  padding-top: 0;
}
.segmented {
  display: flex;
  padding: 4px;
  background: #e9eff6;
  border-radius: 8px;
  gap: 4px;
  flex-shrink: 0;
}
.segmented button {
  color: var(--muted);
  background: transparent;
  border-radius: 5px;
  padding: 7px 20px;
  font-size: 13px;
  white-space: nowrap;
}
.segmented button[aria-pressed='true'] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px #0d26401a;
  font-weight: 600;
}
.architecture-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.architecture-chart {
  padding: 25px 26px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  min-width: 0;
}
.architecture-chart h3 {
  font-size: 16px;
  margin-bottom: 17px;
}
.architecture-chart svg {
  width: 100%;
}
.recipe-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 25px;
}
.recipe-box h3 {
  font-size: 23px;
  margin-bottom: 12px;
}
.recipe-box p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}
.recipe {
  border-top: 1px solid var(--line);
  padding: 16px 0 4px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 15px;
  font-size: 13px;
}
.recipe > span {
  color: var(--text);
}
.precision-badge {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orange);
}
.recipe small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.openwam-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: start;
}
.openwam-layout > div {
  min-width: 0;
}
.openwam-copy p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
.openwam-copy p:last-child {
  margin-bottom: 0;
}
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: white;
  border: 1px solid var(--line);
}
.results-table th {
  font-size: 11px;
  font-weight: 600;
  text-align: right;
  color: var(--muted);
  background: #f0f4f8;
  padding: 12px 11px;
  white-space: nowrap;
}
.results-table th:first-child,
.results-table td:first-child {
  text-align: left;
}
.results-table td {
  text-align: right;
  padding: 14px 11px;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}
.results-table .best {
  color: var(--teal);
  font-weight: 650;
}
.results-table .best.approximate {
  color: var(--orange);
}
.results-table .label strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.results-table .label span {
  font-size: 11px;
  color: var(--muted);
}
.task-success {
  margin-top: 30px;
}
.task-success,
.optimization-breakdown {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.task-success h3 {
  margin-bottom: 20px;
  font-size: 21px;
}
.task-success-body > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}
.task-success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.task-success-table caption {
  padding-bottom: 12px;
  text-align: left;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.task-success-table tbody th {
  border-top: 1px solid var(--line);
  padding: 12px 11px;
  background: white;
  color: var(--text);
  font-size: inherit;
  font-weight: 400;
  white-space: normal;
}
.task-success-table tbody th span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.search-layout {
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: white;
}
.search-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.search-head h3 {
  font-size: 18px;
}
.search-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
}
.search-body {
  display: block;
}
.search-plot {
  padding: 25px 22px 14px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-color: #a3bab7 #edf3f1;
  scrollbar-width: thin;
}
.search-plot svg {
  display: block;
  width: 100%;
  min-width: 960px;
  height: auto;
}
.search-timeline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 26px 20px;
  color: var(--muted);
  font-size: 12px;
}
.search-timeline label,
.search-timeline output {
  flex-shrink: 0;
}
.search-timeline output {
  min-width: 104px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.search-timeline input {
  appearance: none;
  flex: 1;
  min-width: 40px;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --search-progress: 100%;
}
.search-timeline input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    var(--plot-lossless) var(--search-progress),
    var(--line) var(--search-progress)
  );
}
.search-timeline input::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
.search-timeline input::-moz-range-progress {
  height: 4px;
  border-radius: 4px;
  background: var(--plot-lossless);
}
.search-timeline input::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--plot-lossless);
}
.search-timeline input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--plot-lossless);
}
.search-timeline input:focus-visible {
  outline: 2px solid var(--plot-lossless);
  outline-offset: 4px;
  border-radius: 4px;
}
.search-footer {
  border-top: 1px solid var(--line);
  padding: 15px 26px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.search-footer .legend {
  gap: 15px;
}
.citation-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.citation-box {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.citation-top {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.citation-top .copy-button {
  color: var(--text);
  border-color: #cbd6e3;
  padding: 5px 10px;
}
.citation-top .copy-button:hover {
  background: #e6edf5;
}
.citation-box pre {
  padding: 22px;
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  overflow: auto;
  color: var(--text);
}
.footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 33px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer a:hover {
  color: var(--blue);
}
.footer .wordmark {
  font-size: 17px;
  gap: 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 10px 20px;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  box-shadow: 0 6px 24px #0002;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 99;
}
.status.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  padding: 20px;
  color: var(--orange);
  background: var(--light-orange);
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 62px;
  }
  .hero-logo {
    width: 350px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .navlinks {
    gap: 18px;
  }
  .nav-code {
    padding-left: 16px;
  }
  .hero-logo {
    width: 280px;
  }
  .point-body {
    grid-template-columns: 1fr 1fr;
  }
  .pipeline-column {
    padding: 20px 17px;
  }
  .code-column {
    padding: 20px 17px;
  }
  .architecture-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
  }
  .recipe-box {
    padding: 20px;
  }
  .recipe {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .openwam-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .openwam-layout > div {
    min-width: 0;
  }
  .search-body {
    display: block;
  }
  .search-plot {
    padding: 20px 12px;
  }
  .chart-card {
    padding: 18px;
  }
  .workflow-heading h3 {
    flex-basis: 38%;
  }
  .point-tabs {
    gap: 6px;
  }
  .point-tab {
    padding: 8px 10px;
    font-size: 12px;
  }
  .point-intro {
    padding: 20px;
  }
  .section {
    padding-block: 64px;
  }
  .architecture-section {
    padding-top: 0;
  }
}
@media (max-width: 650px) {
  :root {
    --section-gap: 39px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .topbar {
    height: 59px;
  }
  .wordmark {
    font-size: 19px;
  }
  .navlinks {
    gap: 17px;
    font-size: 12px;
  }
  .navlinks .nav-code,
  .navlinks a:first-child {
    display: none;
  }
  .hero {
    padding-top: 29px;
  }
  .hero-logo {
    width: 240px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .authors {
    font-size: 18px;
    line-height: 2;
  }
  .affiliations {
    font-size: 18px;
    margin-top: 12px;
  }
  .affiliations span {
    display: block;
    margin: 0;
  }
  .corresponding {
    font-size: 18px;
    margin-top: 10px;
  }
  .hero-actions {
    gap: 8px;
    margin: 22px 0 18px;
  }
  .button {
    font-size: 13px;
    min-height: 42px;
    padding: 9px 17px;
  }
  .abstract {
    padding: 16px 0 44px;
  }
  .abstract h2 {
    font-size: 22px;
  }
  .abstract p {
    font-size: 15px;
    line-height: 1.9;
  }
  .section {
    padding-block: 47px;
  }
  .section-heading {
    margin-bottom: 23px;
  }
  .section-heading p {
    font-size: 15px;
    margin-top: 15px;
  }
  h2 {
    font-size: 30px;
  }
  .visual-frame {
    padding: 9px;
    border-radius: 7px;
  }
  .figure-caption {
    font-size: 11px;
  }
  .workflow-heading {
    display: block;
    margin-bottom: 20px;
  }
  .workflow-heading h3 {
    font-size: 25px;
    margin-bottom: 12px;
  }
  .workflow-heading p {
    font-size: 14px;
  }
  .workflow-frame {
    padding: 0;
  }
  .explorer-section {
    padding: 45px 0;
  }
  .explorer-section h2 {
    font-size: 29px;
  }
  .point-tabs {
    gap: 7px;
    padding-bottom: 17px;
  }
  .point-tab {
    flex: 1 1 30%;
    font-size: 11px;
    justify-content: center;
    padding: 8px 6px;
    gap: 5px;
    min-height: 40px;
  }
  .point-intro {
    min-height: 0;
    display: block;
    padding: 20px;
  }
  .point-intro h3 {
    font-size: 21px;
    margin-bottom: 10px;
  }
  .point-intro p {
    font-size: 13px;
  }
  .tier {
    display: inline-block;
    margin-top: 14px;
  }
  .point-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pipeline-column {
    border-right: 0;
    padding: 20px 15px 18px;
  }
  .pipeline-svg {
    min-height: 0;
  }
  .code-column {
    border-top: 1px solid #344961;
    padding: 18px 20px;
  }
  .code-column pre {
    font-size: 11px;
    max-height: 280px;
  }
  .point-effect {
    margin-top: 13px;
    font-size: 12px;
  }
  .point-foot {
    padding: 15px 20px;
    display: block;
    font-size: 11px;
  }
  .point-foot a {
    display: inline-block;
    margin-top: 10px;
  }
  .chart-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .chart-card {
    padding: 20px 17px 10px;
  }
  .result-head {
    align-items: start;
    flex-direction: column;
    gap: 13px;
  }
  .legend {
    font-size: 11px;
    gap: 15px;
  }
  .result-takeaway {
    display: block;
    font-size: 15px;
    padding: 15px 17px;
  }
  .section-top {
    display: block;
  }
  .architecture-layout {
    grid-template-columns: 1fr;
  }
  .architecture-chart {
    padding: 20px 17px 13px;
  }
  .recipe-box {
    padding: 22px;
  }
  .recipe {
    grid-template-columns: 110px 1fr;
  }
  .architecture-section {
    padding-top: 0;
  }
  .openwam-layout {
    gap: 22px;
  }
  .results-table {
    font-size: 11px;
  }
  .results-table th,
  .results-table td {
    padding: 12px 9px;
  }
  .results-table .label strong {
    font-size: 11px;
  }
  .results-table .label span {
    font-size: 10px;
  }
  .task-success-grid {
    grid-template-columns: 1fr;
  }
  .task-success-table {
    font-size: 13px;
  }
  .task-success,
  .optimization-breakdown {
    padding: 17px;
  }
  .task-success h3,
  .breakdown-heading {
    font-size: 19px;
  }
  .breakdown-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .breakdown-tabs button {
    padding: 8px;
    font-size: 12px;
    white-space: normal;
  }
  .breakdown-columns,
  .breakdown-stage {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 5px 16px;
  }
  .search-head {
    padding: 18px;
    display: block;
  }
  .search-head .segmented {
    margin-top: 15px;
    width: fit-content;
  }
  .search-body {
    grid-template-columns: 1fr;
  }
  .search-footer {
    padding: 15px 18px;
    display: block;
  }
  .search-plot {
    padding: 20px 7px 8px;
  }
  .search-plot:after {
    content: 'Scroll to explore the complete trajectory';
    display: block;
    font-size: 10px;
    color: var(--muted);
    padding: 7px 10px 0;
  }
  .search-timeline {
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 8px 18px 15px;
  }
  .search-timeline input {
    order: 1;
    flex-basis: 100%;
  }
  .search-timeline output {
    margin-left: auto;
  }
  .search-footer .legend {
    gap: 12px;
    font-size: 10px;
  }
  .citation-box pre {
    font-size: 11px;
    padding: 17px;
  }
  .footer-content {
    align-items: start;
  }
  .footer-brand {
    display: block;
    font-size: 10px;
  }
  .footer-brand .wordmark {
    margin-bottom: 5px;
  }
  .footer-links {
    gap: 13px;
    font-size: 11px;
  }
  .status {
    max-width: 90%;
    width: max-content;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.result-paragraph {
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  margin: 23px 0 0;
}
.milestone-label {
  paint-order: stroke;
  stroke: white;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.search-footer {
  justify-content: center;
}
@media (max-width: 650px) {
  .result-paragraph {
    font-size: 15px;
  }
}
.abstract-box {
  padding: 30px 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
#hardware .section-top {
  display: block;
}
.section-heading h2,
.workflow-heading h3 {
  font-size: clamp(28px, 3vw, 38px);
}
.architecture-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.architecture-chart-header h3 {
  margin: 0;
}
.architecture-chart-header .segmented button {
  padding: 5px 13px;
}
.point-tabs {
  gap: 8px;
}
.point-tab {
  font-size: 12px;
  padding: 9px 12px;
}
@media (max-width: 900px) {
  .architecture-chart-header {
    display: block;
  }
  .architecture-chart-header .segmented {
    width: fit-content;
    margin-top: 12px;
  }
}
@media (max-width: 650px) {
  .abstract-box {
    padding: 23px 20px;
  }
  .point-tab {
    font-size: 11px;
    padding: 8px 6px;
  }
}
p {
  text-wrap: pretty;
}
.references {
  margin-top: clamp(32px, 4vw, 48px);
}
.reference-list {
  margin: 0;
  padding-left: 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}
.reference-list li {
  padding-left: 7px;
  margin-bottom: 15px;
}
.reference-list li:last-child {
  margin-bottom: 0;
}
.reference-list li::marker {
  color: var(--muted);
  font-size: 13px;
}
.reference-list cite {
  font-style: italic;
  color: var(--ink);
}
@media (max-width: 650px) {
  .reference-list {
    padding-left: 21px;
    font-size: 14px;
  }
  .reference-list li {
    padding-left: 3px;
  }
}
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo {
  width: 160px;
  height: auto;
}
@media (max-width: 650px) {
  .nav-logo {
    width: 125px;
  }
}
.openwam-layout > .result-takeaway {
  grid-column: 1/-1;
  margin-top: 0;
}
.result-paragraph .text-link {
  font-size: inherit;
}
.experiment-section {
  padding-bottom: var(--section-gap);
}
.experiment-section + .experiment-section {
  padding-top: 0;
}
.experiment-section > .wrap > :last-child {
  margin-bottom: 0;
}
.authors sup,
.affiliations sup {
  color: var(--teal);
}
.authors .corresponding-marker,
.corresponding .corresponding-marker {
  color: var(--blue);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
}
.point-tabs {
  gap: 8px;
}
.point-tab {
  font-size: 13px;
  padding: 9px 13px;
}
.point-intro {
  min-height: 0;
  padding: 21px 24px;
}
.point-intro p {
  max-width: 760px;
}
.point-body {
  min-height: 410px;
  grid-template-columns: 1.1fr 1fr;
}
.pipeline-column {
  padding: 20px 22px;
}
.pipeline-svg {
  min-height: 0;
}
.diagram-legend {
  gap: 10px 15px;
}
.wait-swatch {
  background: repeating-linear-gradient(130deg, #645047 0 2px, #322f30 2px 6px);
  border: 1px solid #9b7b65;
}
.point-effect {
  margin-top: 14px;
  padding-top: 12px;
  font-size: 13px;
}
.code-column pre {
  max-height: none;
  line-height: 1.85;
}
.point-foot {
  padding: 13px 24px;
}
.point-foot p {
  max-width: 820px;
}
@media (max-width: 900px) {
  .point-tab {
    font-size: 12px;
    padding: 8px 11px;
  }
  .point-body {
    grid-template-columns: 1fr;
  }
  .pipeline-column {
    border-right: 0;
    max-width: 600px;
    width: 100%;
    margin: auto;
  }
  .code-column {
    border-top: 1px solid #344961;
  }
  .code-column pre {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .point-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .point-tab {
    font-size: 12px;
    padding: 9px 8px;
    line-height: 1.4;
    min-height: 40px;
  }
  .point-intro {
    padding: 18px;
  }
  .point-intro h3 {
    font-size: 20px;
  }
  .point-intro p {
    font-size: 13px;
  }
  .point-intro .tier {
    margin-top: 11px;
  }
  .pipeline-column {
    padding: 18px 12px;
  }
  .panel-label {
    font-size: 10px;
    letter-spacing: 0.07em;
  }
  .diagram-legend {
    font-size: 10px;
    gap: 8px 12px;
  }
  .point-effect {
    font-size: 12px;
  }
  .point-foot {
    padding: 13px 18px;
  }
  .point-foot a {
    margin-top: 8px;
  }
  .code-column {
    padding: 18px;
  }
  .code-column pre {
    font-size: 11px;
  }
}
.point-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.point-tab {
  justify-content: center;
  line-height: 1.4;
  min-height: 42px;
  padding: 9px 8px;
}
.point-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 13px 24px;
  background: #10243c;
  border-bottom: 1px solid #344961;
}
.point-examples[hidden] {
  display: none;
}
.example-button {
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 11px;
  border-radius: 5px;
  border: 1px solid #3b5069;
  background: transparent;
  color: #b6cbe2;
}
.example-button:hover {
  background: #1a3552;
  color: #fff;
}
.example-button[aria-pressed='true'] {
  background: #194840;
  border-color: #5a9f90;
  color: #baf2df;
}
@media (max-width: 650px) {
  .point-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .point-examples {
    padding: 12px 14px;
    gap: 6px;
  }
  .example-button {
    font-size: 11px;
    padding: 6px 9px;
  }
}
