:root {
  --green: #76b900;
  --green-text: #4f7f00;
  --black: #000000;
  --ink: #1a1a1a;
  --ink-muted: #5c5c5c;
  --white: #ffffff;
  --on-dark-muted: #a8aaac;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

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

a {
  color: var(--green-text);
}

sup {
  font-size: 0.65em;
  line-height: 0;
}

.accent {
  color: var(--green);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Title and authors */

.hero {
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
  border-top: 4px solid var(--green);
  background: var(--white);
  text-align: center;
}

.title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.title-mark {
  display: block;
  font-size: clamp(3rem, 9vw, 5.25rem);
  line-height: 1.05;
}

.title-rest {
  display: block;
  max-width: 22em;
  margin: 14px auto 0;
  font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  max-width: 860px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 500;
}

.authors li {
  white-space: nowrap;
}

.authors a {
  text-decoration: none;
}

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

.authors sup {
  margin-left: 1px;
  color: var(--ink-muted);
  font-weight: 400;
}

.affiliations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 56px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.affiliations li {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.affiliations sup {
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 0.8rem;
  line-height: 1;
}

.logo {
  width: auto;
}

.logo-ucla {
  height: 30px;
}

.logo-nvidia,
.logo-stanford {
  height: 34px;
}

.author-notes {
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.author-notes .sep {
  display: inline-block;
  width: 20px;
}

/* Video */

.video-band {
  padding: clamp(24px, 5vw, 56px) 0;
  background: var(--black);
}

.video-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--black);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

/* Footer */

.footer {
  padding: 24px 0 28px;
  background: var(--black);
  color: var(--on-dark-muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Responsive */

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .authors {
    gap: 4px 16px;
    font-size: 1rem;
  }

  .affiliations {
    gap: 18px 36px;
  }

  .logo-ucla {
    height: 24px;
  }

  .logo-nvidia,
  .logo-stanford {
    height: 27px;
  }
}
