:root {
  --text: #303033;
  --muted: #55565a;
  --link: #2398ee;
  --button: #303030;
  --button-border: #d7d7d7;
  --background: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
}

.paper-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 28px 64px;
}

.hero {
  width: min(1760px, 100%);
  text-align: center;
}

.abstract-section {
  width: min(1380px, 100%);
  margin: 68px auto 0;
  color: var(--muted);
}

.abstract-section h2 {
  margin: 0 0 30px;
  color: var(--text);
  font-size: clamp(32px, 3.4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
}

.abstract-section p {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 25px);
  line-height: 1.48;
  letter-spacing: 0;
  text-align: justify;
  text-justify: inter-word;
}

.abstract-section strong {
  color: var(--text);
  font-weight: 700;
}

.abstract-section em {
  font-style: italic;
}

.examples-section {
  width: min(1620px, 94%);
  margin: 72px auto 0;
  color: var(--muted);
}

.examples-section h2 {
  margin: 0 0 28px;
  color: var(--text);
  font-size: clamp(31px, 3vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.caption-examples {
  margin: 0;
}

.example-stack {
  display: grid;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.example-stack img {
  width: 100%;
  min-width: 1040px;
  height: auto;
  display: block;
  border-radius: 0;
}

.caption-examples figcaption {
  max-width: 1440px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 19px);
  line-height: 1.45;
  text-align: left;
}

.caption-examples figcaption strong {
  color: var(--text);
  font-weight: 700;
}

.bibtex-section {
  width: min(1440px, 100%);
  margin: 76px auto 0;
  scroll-margin-top: 28px;
}

.bibtex-section h2 {
  margin: 0 0 30px;
  color: var(--text);
  font-size: clamp(32px, 3.2vw, 56px);
  font-weight: 700;
  line-height: 1.1;
}

.bibtex-section pre {
  margin: 0;
  overflow-x: auto;
  border-radius: 0;
  background: #f4f4f4;
  padding: 34px 38px;
}

.bibtex-section code {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(15px, 1.2vw, 21px);
  line-height: 1.5;
  white-space: pre;
}

h1 {
  max-width: 1500px;
  margin: 0 auto 36px;
  color: var(--text);
  font-size: clamp(34px, 4.25vw, 70px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0;
}

.authors {
  max-width: 1660px;
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: clamp(18px, 1.68vw, 29px);
  line-height: 1.52;
}

.authors a {
  color: var(--link);
  text-decoration: none;
}

.authors a:hover,
.authors a:focus-visible {
  text-decoration: underline;
}

sup {
  position: relative;
  top: -0.35em;
  font-size: 62%;
  line-height: 0;
}

.affiliations {
  max-width: 1440px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 27px);
  line-height: 1.55;
}

.affiliations p {
  display: inline;
  margin: 0 18px;
}

.venue {
  margin: 26px auto 24px;
  color: var(--text);
  font-size: clamp(19px, 1.6vw, 29px);
  font-weight: 700;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 21px;
  border: 3px solid transparent;
  border-radius: 36px;
  background: var(--button);
  color: #ffffff;
  font-size: clamp(15px, 1.18vw, 21px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.button:first-child {
  border-color: var(--button-border);
}

.button:hover,
.button:focus-visible {
  background: #181818;
  outline: none;
}

.button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-icon--cvf {
  width: 27px;
  height: 21px;
  border-radius: 3px;
}

.brand-icon--huggingface,
.brand-icon--github {
  width: 22px;
  height: 22px;
}

@media (max-width: 720px) {
  .paper-page {
    padding: 28px 18px 48px;
  }

  h1 {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .authors {
    font-size: 18px;
    line-height: 1.42;
  }

  .affiliations {
    font-size: 16px;
  }

  .affiliations p {
    display: block;
    margin: 4px 0;
  }

  .venue {
    margin-top: 24px;
  }

  .links {
    gap: 10px;
  }

  .abstract-section {
    margin-top: 48px;
  }

  .abstract-section h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .abstract-section p {
    font-size: 16px;
    line-height: 1.52;
    text-align: left;
  }

  .examples-section {
    width: 100%;
    margin-top: 50px;
  }

  .examples-section h2 {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .example-stack {
    gap: 16px;
    margin: 0 -18px;
    padding: 0 18px 8px;
  }

  .caption-examples figcaption {
    margin-top: 16px;
    font-size: 14px;
  }

  .bibtex-section {
    margin-top: 54px;
  }

  .bibtex-section h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .bibtex-section pre {
    margin: 0 -18px;
    padding: 24px 18px;
  }

  .bibtex-section code {
    font-size: 14px;
  }

  .button {
    min-height: 42px;
    padding: 8px 15px;
    font-size: 15px;
  }

  .button svg {
    width: 18px;
    height: 18px;
  }

  .brand-icon--cvf {
    width: 24px;
    height: 18px;
  }

  .brand-icon--huggingface,
  .brand-icon--github {
    width: 18px;
    height: 18px;
  }
}
