@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

/* Keep the public landing page independent of the preserved explorer. */
html.launch-page {
  --paper: #080808;
  --ink: #e8eae5;
  --muted: #a5aca6;
  --line: #292c2a;
  --link: #b4c6d4;
  --reward: #eb8e88;
  --hover-ink: #fff;
  --row-hover: #141614;
  --selection: #b4c6d4;
  --selection-ink: #080808;
  --logo-filter: none;
  --model-logo-filter: invert(1);
  background: var(--paper);
  color-scheme: dark;
  scrollbar-color: #484b49 var(--paper);
}
html.launch-page[data-theme="light"] {
  --paper: #f7f8f7;
  --ink: #181c19;
  --muted: #566059;
  --line: #d3d9d4;
  --link: #334d62;
  --reward: #b43f3b;
  --hover-ink: #050706;
  --row-hover: #eef1ee;
  --selection: #c7d6e1;
  --selection-ink: #181c19;
  --logo-filter: brightness(.5);
  --model-logo-filter: none;
  color-scheme: light;
  scrollbar-color: #9ca79e var(--paper);
}
.launch {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.launch ::selection { background: var(--selection); color: var(--selection-ink); }
.launch a { transition: color .15s ease; }
.launch a:hover { color: var(--hover-ink); text-decoration: none; }
.launch a:focus-visible { outline: 2px solid var(--link); outline-offset: 6px; }
.launch [id] { scroll-margin-top: 36px; }
.launch .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.launch .skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 24px;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
}
.launch .skip-link:focus { transform: none; }
.launch .skip-link:hover { color: var(--paper); }
.launch .launch-header,
.launch .launch-home,
.launch .launch-footer {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 56px;
}
.launch .launch-header {
  height: 104px;
  border: 0;
}
.launch .brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -1px;
  text-decoration: none;
}
.launch-header nav { gap: 32px; font-size: 16px; color: var(--muted); }
.launch-header nav a { display: inline-flex; min-height: 44px; align-items: center; }
.launch-header nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--hover-ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-moon { display: none; }
[data-theme="light"] .theme-toggle .theme-sun { display: none; }
[data-theme="light"] .theme-toggle .theme-moon { display: block; }
.launch .launch-hero { padding: 72px 0 100px; }
.launch .launch-hero h1 {
  font-size: clamp(72px, 8vw, 96px);
  font-weight: 450;
  letter-spacing: -.035em;
  line-height: 1;
  margin: 0 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.launch .hero-description {
  max-width: 420px;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -.8px;
  font-weight: 400;
  margin: 0 0 30px;
}
.launch .contact-link {
  color: var(--link);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 24px;
  font-size: 17px;
  font-weight: 450;
}
.launch .contact-link:hover { color: var(--hover-ink); }
.launch .contact-button {
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 550;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.launch .contact-button:hover {
  background: var(--hover-ink);
  border-color: var(--hover-ink);
  color: var(--paper);
}
.launch .catalog-note { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.contact-link svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.research-intro { max-width: 560px; font-size: 18px; line-height: 1.8; color: var(--muted); }
.research-intro p { margin: 0 0 20px; }
.research-intro p:last-child { margin-bottom: 0; }
.research-intro .thesis-lead { color: var(--ink); }
.launch .launch-results { padding: 0; }
.results-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; margin-bottom: 28px; }
.launch h2 { font-size: 32px; font-weight: 450; line-height: 1.25; letter-spacing: -.9px; margin: 0; }
.results-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.results-heading p span { color: #79847c; padding-inline: 9px; }
.launch .table-scroll { overflow-x: auto; }
.launch .leaderboard { width: 100%; min-width: 0; border-top: 1px solid var(--line); }
.launch .leaderboard thead { border-top: 0; }
.launch .leaderboard thead th {
  padding: 18px 16px;
  border-color: var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}
.launch .leaderboard th:first-child { padding-left: 0; }
.launch .leaderboard thead th:first-child { padding-left: 32px; }
.launch .leaderboard th:last-child,
.launch .leaderboard td:last-child { padding-right: 32px; }
.launch .leaderboard tbody th,
.launch .leaderboard tbody td {
  padding: 24px 16px;
  border-color: var(--line);
  font-size: 20px;
  letter-spacing: -.3px;
  font-weight: 400;
}
.launch .leaderboard tbody th { padding-left: 0; }
.launch .leaderboard tbody td { white-space: nowrap; }
.launch .leaderboard td:nth-child(2) { font-weight: 550; }
.model-name { display: inline-flex; align-items: center; gap: 10px; padding-left: 32px; white-space: nowrap; }
.model-icon { display: block; width: 24px; height: 24px; object-fit: contain; flex: none; }
.model-icon--mono { filter: var(--model-logo-filter); }
.reward-value { color: var(--reward); }
.reward-track { display: block; width: 110px; height: 3px; margin: 8px 0 0 auto; background: var(--line); overflow: hidden; }
.reward-track > span { display: block; height: 100%; background: var(--reward); }
.launch .leaderboard tbody tr { transition: background-color .15s; }
.launch .leaderboard tbody tr:hover { background: var(--row-hover); }
.mobile-metric-label { display: none; }
.team-background { padding: 56px 0 64px; }
.launch .team-intro { margin: 0 0 36px; text-align: center; color: var(--muted); font-size: 17px; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.team-logo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
  max-width: 920px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
.team-logo-list li { display: flex; align-items: center; justify-content: center; min-height: 44px; }
.team-logo { display: block; max-width: 100%; height: auto; filter: var(--logo-filter); }
.launch .launch-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  border: 0;
  padding-top: 0;
  padding-bottom: 40px;
  font-size: 13px;
}
.launch-footer address { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 32px; font-style: normal; }
.launch-footer address a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .launch .launch-header,
  .launch .launch-home,
  .launch .launch-footer { padding-inline: 36px; }
  .hero-grid { gap: 64px; grid-template-columns: 1fr 1.15fr; }
  .launch .hero-description { font-size: 27px; }
  .launch .launch-hero { padding-top: 56px; }
  .launch .leaderboard tbody th, .launch .leaderboard tbody td { font-size: 18px; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 760px) {
  .launch .launch-header { height: 88px; }
  .launch .brand { font-size: 24px; }
  .launch .launch-hero { padding-top: 44px; padding-bottom: 72px; }
  .launch .launch-hero h1 { font-size: clamp(64px, 12vw, 90px); margin-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .launch .hero-description { max-width: 490px; font-size: 28px; margin-bottom: 18px; }
  .research-intro { max-width: 590px; }
}
@media (max-width: 1100px) {
  .launch .table-scroll { overflow: visible; }
  .launch .leaderboard { display: block; }
  .launch .leaderboard thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .launch .leaderboard tbody { display: block; }
  .launch .leaderboard tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
  .launch .leaderboard tbody th { display: block; grid-column: 1/-1; padding: 0; border: 0; font-size: 19px; }
  .launch .leaderboard tbody td { display: block; border: 0; padding: 0; text-align: left; white-space: normal; font-size: 17px; line-height: 1.5; }
  .launch .leaderboard tbody td:last-child { padding-right: 0; }
  .launch .leaderboard tbody tr:hover { background: transparent; }
  .launch .mobile-metric-label { display: block; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.4; min-height: 38px; margin-bottom: 8px; max-width: 130px; }
  .reward-value { font-size: 20px; line-height: 1.2; }
  .reward-track { width: 80px; margin-left: 0; }
}
@media (max-width: 600px) {
  .launch .launch-header,
  .launch .launch-home,
  .launch .launch-footer { padding-inline: 22px; }
  .launch .launch-header { height: 84px; }
  .launch .brand { font-size: 23px; }
  .launch-header nav { gap: 16px; font-size: 14px; }
  .launch .launch-hero { padding-top: 36px; padding-bottom: 64px; }
  .launch .launch-hero h1 { font-size: clamp(48px, 15vw, 72px); margin-bottom: 34px; letter-spacing: -.035em; }
  .launch .hero-description { font-size: 26px; letter-spacing: -.65px; max-width: 390px; }
  .hero-grid { gap: 36px; }
  .research-intro { font-size: 17px; line-height: 1.8; }
  .research-intro p { margin-bottom: 18px; }
  .launch .contact-link { font-size: 16px; gap: 20px; }
  .launch h2 { font-size: 30px; letter-spacing: -.8px; }
  .results-heading { gap: 12px; margin-bottom: 24px; }
  .results-heading p { font-size: 12px; }
  .results-heading p span { padding-inline: 6px; }
  .launch .leaderboard tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch .leaderboard tbody td { font-size: 15px; }
  .reward-value { font-size: 19px; line-height: 1.2; }
  .reward-track { width: 64px; margin-left: 0; }
  .team-background { padding: 40px 0 44px; }
  .launch .team-intro { margin-bottom: 28px; font-size: 16px; }
  .team-logo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; max-width: 360px; }
  .team-logo-xai { width: 32px; }
  .team-logo-meta { width: 100px; }
  .team-logo-scale { width: 106px; }
  .team-logo-berkeley { width: 132px; }
  .launch .launch-footer { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 30px; }
  .launch-footer address { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (max-width: 360px) {
  .launch .launch-header,
  .launch .launch-home,
  .launch .launch-footer { padding-inline: 18px; }
  .launch .brand { font-size: 21px; }
  .launch-header nav { gap: 10px; font-size: 13px; }
  .launch .hero-description { font-size: 24px; }
  .launch h2 { font-size: 28px; }
  .launch .leaderboard tbody tr { gap: 18px 9px; }
  .launch .leaderboard tbody td { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .launch *, .launch *::before, .launch *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
