:root {
  --text: #363636;
  --muted: #6b7280;
  --link: #209cee;
  --line: #dbdbdb;
  --light: #fafafa;
  --dark: #363636;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

a { color: var(--link); }
img { display: block; max-width: 100%; }
.navbar { min-height: 3.25rem; }
.container { width: min(960px, calc(100% - 48px)); margin: 0 auto; }
.text-container { max-width: 768px; }
.has-text-centered { text-align: center; }
.has-text-justified { text-align: justify; }

.publication-header { padding: 3rem 1.5rem; }
.publication-header .container { width: min(1200px, calc(100% - 48px)); }
.publication-title {
  max-width: 1150px;
  margin: 0 auto 1.25rem;
  color: #111;
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.125;
}
.publication-title span { display: block; }
.publication-venue {
  margin-bottom: .85rem;
  color: #111;
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
}
.publication-authors {
  margin-bottom: .45rem;
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
}
.author-block { display: inline-block; margin: 0 .22rem; }
.author-block a { text-decoration: none; }
.author-block a:hover { text-decoration: underline; }
.publication-authors sup,
.publication-affiliations sup,
.publication-notes sup { font-size: .68em; vertical-align: super; }
.publication-affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem 1rem;
  margin-bottom: .4rem;
  color: #4a4a4a;
  font-size: .98rem;
}
.publication-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem 1rem;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: .84rem;
}
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.5rem;
  padding: .45rem 1rem;
  color: #fff;
  background: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: #222; }
.button.disabled { opacity: .72; cursor: default; }
.button svg { width: 1rem; height: 1rem; }

.section { padding: 3rem 1.5rem; }
.title {
  margin: 0 0 1.5rem;
  color: #111;
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.125;
}
.title-small { font-size: 1.5rem; }
.subtitle { margin: 0 0 1rem; color: #222; font-size: 1.15rem; font-weight: 700; }
.content p { margin: 0 0 1rem; }

.demo-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin: -.8rem 0 1.5rem;
  color: var(--muted);
  font-size: .9rem;
}
.demo-note svg { width: 1.1rem; }
.audio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  width: 80%;
  margin: 0 auto;
}
.audio-sample { padding: 0 0 1.1rem; border-bottom: 1px solid var(--line); text-align: left; }
.audio-sample p { margin: 0; }
.audio-sample p span { margin-left: .35rem; color: #e36d31; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.audio-sample small { display: block; margin: .2rem 0 .7rem; color: var(--muted); }
.audio-sample audio { display: block; width: 100%; height: 40px; }

.teaser { padding-top: 1rem; }
.teaser-image { width: 100%; margin: 0 auto; }
.pipeline-image { width: 80%; margin: 0 auto; }
.teaser-caption {
  max-width: 820px;
  margin: 1.5rem auto 0;
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  line-height: 1.5;
}
.figure-description { width: 80%; margin: 2rem auto 0; }

.results-block { width: 94%; margin: 0 auto 2.7rem; }
.results-block .subtitle { margin-bottom: .8rem; }
.table-wrapper {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th, td { padding: .65rem .55rem; border: 1px solid var(--line); text-align: center; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead { background: #f5f5f5; }
.ours-row { background: #f1f8fd; }
.results-table { border-left: 0; border-right: 0; }
.results-table th:first-child, .results-table td:first-child { border-left: 0; }
.results-table th:last-child, .results-table td:last-child { border-right: 0; }
.type-a-table { min-width: 720px; }
.type-b-table { min-width: 895px; font-size: .78rem; }
.type-b-table th, .type-b-table td { padding-right: .34rem; padding-left: .34rem; }
.type-c-table { min-width: 690px; }
.real-table { min-width: 680px; }
.results-caption { width: 80%; margin: 2rem auto 0; text-align: justify; }

pre {
  overflow-x: auto;
  margin: 0;
  padding: 1.25rem 1.5rem;
  color: #333;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: .9rem;
  line-height: 1.5;
}
.footer { padding: 3rem 1.5rem; color: #4a4a4a; background: var(--light); font-size: .9rem; }
.footer p { margin: .25rem 0; }

@media (max-width: 768px) {
  .navbar { min-height: 1.5rem; }
  .container { width: min(100%, calc(100% - 24px)); }
  .publication-header { padding: 2rem .75rem 2.5rem; }
  .publication-header .container { width: min(100%, calc(100% - 24px)); }
  .publication-title { font-size: 2.15rem; }
  .publication-venue { font-size: 1.25rem; }
  .publication-authors { font-size: 1.05rem; }
  .publication-affiliations { font-size: .88rem; }
  .publication-notes { font-size: .78rem; }
  .section { padding: 2.25rem .75rem; }
  .title { font-size: 1.7rem; }
  .title-small { font-size: 1.35rem; }
  .audio-grid { grid-template-columns: 1fr; }
  .audio-grid, .results-block, .teaser-image, .pipeline-image, .figure-description, .results-caption { width: 100%; }
  .teaser-caption { font-size: 1.05rem; }
  .has-text-justified { text-align: left; }
}
