html {
  background-color: #ffffff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #2b2b2b;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: #3273dc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

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

.hero {
  display: block;
}

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

.publication-header .hero-body {
  padding: 3.5rem 0 1.5rem;
}

.columns {
  display: flex;
  gap: 1.5rem;
}

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

.column {
  flex: 1 1 0;
  min-width: 0;
}

.column.is-four-fifths {
  flex: 0 1 80%;
}

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

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

.title {
  margin: 0 0 1.25rem;
  color: #363636;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.125;
}

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

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

.subtitle {
  margin: 1.35rem auto 0;
  color: #4a4a4a;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.45;
}

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

.publication-title {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  color: #202020;
}

.publication-authors {
  margin-top: 0.4rem;
  color: #4a4a4a;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
}

.publication-authors.affiliations {
  margin-top: 0.75rem;
  color: #5e5e5e;
  font-size: 1rem;
}

.author-block {
  display: inline-block;
  margin: 0 0.12rem;
}

.publication-venue {
  width: fit-content;
  margin: 1.1rem auto 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #ffffff;
  background: #363636;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.link-block {
  display: inline-flex;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  padding: 0 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.button:hover {
  text-decoration: none;
}

.button.is-dark {
  color: #ffffff;
  background-color: #363636;
}

.button.is-dark:hover,
.button.is-dark:focus-visible {
  background-color: #4a4a4a;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  font-size: 1.05em;
  line-height: 1;
}

.teaser .hero-body {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.teaser-image {
  width: 100%;
  margin: 0 auto;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.08);
}

.section {
  padding: 3rem 0;
}

.section.is-light {
  background: #f5f5f5;
}

.content {
  color: #363636;
}

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

.content strong {
  color: #242424;
}

.highlight-list {
  max-width: 850px;
  margin: 0 auto;
}

.highlight-list ol {
  margin: 1rem 0 0;
  padding-left: 1.5rem;
}

.highlight-list li {
  margin: 0.8rem 0;
}

.architecture-card {
  margin-top: 1.35rem;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.08);
}

.architecture-card img {
  width: 100%;
}

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

.figure-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  background: #ffffff;
}

.figure-grid img {
  width: 100%;
  background: #ffffff;
}

.figure-grid figcaption {
  padding: 0.75rem 0.9rem 0.9rem;
  color: #555555;
  font-size: 0.92rem;
  text-align: center;
}

.section-lead {
  max-width: 760px;
  margin: -0.35rem auto 1.5rem;
  color: #555555;
}

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

.rollout-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  background: #ffffff;
}

.rollout-card video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #ededed;
}

.rollout-card figcaption {
  min-height: 4.3rem;
  padding: 0.75rem 0.85rem;
  color: #4a4a4a;
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: center;
}

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

.result-card {
  min-height: 132px;
  padding: 1.15rem;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
}

.metric {
  display: block;
  color: #16745f;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 0.85rem;
  color: #4a4a4a;
  font-size: 0.98rem;
}

pre {
  overflow-x: auto;
  margin: 1rem 0 0;
  padding: 1.25rem;
  border-radius: 8px;
  color: #f5f5f5;
  background: #1f1f1f;
  text-align: left;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer {
  padding: 2rem 0;
  color: #5d5d5d;
  background: #fafafa;
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .title.is-1 {
    font-size: 2.1rem;
  }

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

  .subtitle {
    font-size: 1.05rem;
  }

  .columns {
    flex-direction: column;
  }

  .column.is-four-fifths {
    flex-basis: auto;
  }

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

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

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

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 960px);
  }

  .publication-header .hero-body {
    padding-top: 2.25rem;
  }

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

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

  .publication-links {
    align-items: stretch;
    flex-direction: column;
  }

  .link-block,
  .button {
    width: 100%;
  }

  .section,
  .hero-body {
    padding: 2.2rem 0;
  }

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

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