/* JARVIS-Bench website. Palette follows the paper's Fig 1 / Fig 2:
   cream page, white cards with hairline borders, one soft colour per task. */
:root {
  --bg: #FBF8F2;
  --bg-2: #F4EEE3;
  --paper: #FFFFFF;
  --ink: #23211E;
  --ink-2: #4F4A43;
  --ink-3: #8A8378;
  --line: #EAE3D7;
  --line-2: #DDD4C5;

  --ipr: #2F7F96;  --ipr-bg: #EEF5F7;  --ipr-line: #C9E1E8;  --ipr-soft: #DCEDF2;
  --pro: #BC6A39;  --pro-bg: #FAF1E7;  --pro-line: #EFD9C3;  --pro-soft: #F5E3D1;
  --emo: #B5546E;  --emo-bg: #F9EDF0;  --emo-line: #EED0D8;  --emo-soft: #F3DCE2;
  --cdt: #557E44;  --cdt-bg: #F1F5EC;  --cdt-line: #D4E3C8;  --cdt-soft: #E2EDD8;

  --pos: #3F8F5A;
  --neg: #C2463E;

  --radius: 20px;
  --shadow: 0 0 0 1px rgba(35, 33, 30, .015), 0 1px 2px rgba(35, 33, 30, .04), 0 12px 32px -8px rgba(35, 33, 30, .08);
  --f-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .13 0 0 0 0 .12 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font-feature-settings: "cv11", "ss01", "ss03";
  color: var(--ink);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--f-mono); }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .84);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 17px/1 var(--f-head); letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; }
.brand .b2 { font-weight: 700; color: var(--ink-3); }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { font-size: 14px; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; transition: color .15s, border-color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 17px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--paper);
  font: 600 14.5px/1 var(--f-body); color: var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s, background .15s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--ink-3); box-shadow: 0 2px 10px rgba(35, 33, 30, .07); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: #FFFDF8; border-color: var(--ink); }
.btn-primary:hover { background: #3A3631; border-color: #3A3631; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero { padding: 54px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font: 500 12.5px/1 var(--f-mono); color: var(--ink-2); letter-spacing: .01em;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pro); box-shadow: 0 0 0 3px var(--pro-soft); }
.hero h1 {
  margin: 22px 0 0;
  font: 800 clamp(46px, 5.4vw, 76px)/1 var(--f-head);
  letter-spacing: -.045em;
}
.hero h1 .light { color: #B3AA9C; }
.hero .subtitle {
  margin: 18px 0 0; max-width: 560px;
  font: 600 21px/1.38 var(--f-head); color: var(--ink-2); letter-spacing: -.01em;
}
.hero .lead { margin: 18px 0 0; max-width: 520px; font-size: 16.5px; color: var(--ink-2); }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.affil-strip { margin-top: 38px; }
.affil-strip .label { font: 500 12px/1 var(--f-mono); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.affil-strip .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 16px; }
.affil-strip .more { font: 600 13px/1 var(--f-body); color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: 999px; padding: 8px 12px; }
.affil-strip .more:hover { border-color: var(--ink-3); color: var(--ink); }
.logo-img { transition: transform .2s; }
a:hover > .logo-img { transform: translateY(-1px); }
.mx { display: inline-flex; align-items: center; gap: 8px; }
.mx img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(11, 14, 26, .08); }
.mx b { font: 800 17px/1 var(--f-head); letter-spacing: -.015em; color: #0B0E1A; }
.wall a.mx { display: inline-flex; gap: 10px; }
.wall .mx b { font-size: 21px; }

.hero-art { position: relative; }
.clock-wrap { position: relative; width: 100%; max-width: 500px; margin: 0 auto; }
.clock { display: block; width: 100%; height: auto; overflow: visible; }
.clock .hl { font: 500 11px/1 var(--f-mono); fill: var(--ink-3); letter-spacing: .02em; }
.clock .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.55); opacity: .9; } 70% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .clock .pulse { animation: none; } }
.jv { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, #FFFCF6 70%, #F7F0E4 100%); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(35, 33, 30, .05), 0 14px 34px rgba(35, 33, 30, .10); display: grid; place-items: center; align-content: center; gap: 2px; }
.jv img { width: 40%; height: auto; }
.jv { gap: 9px; }
.jv span { font: 600 10.5px/1 var(--f-mono); letter-spacing: .14em; color: var(--ink-3); }
.moment { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; }
.moment .mb { position: relative; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(35, 33, 30, .05), 0 10px 24px rgba(35, 33, 30, .09); display: grid; place-items: center; }
.moment .mb > img:first-child { width: 100%; height: 100%; transform: translateY(4%) scale(1.06); }
.moment .mood { position: absolute; right: -6px; top: -6px; width: 24px; height: 24px; padding: 2px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 6px rgba(35, 33, 30, .12); }
.moment .mc { font: 600 12px/1.25 var(--f-body); color: var(--ink); background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 8px; white-space: nowrap; box-shadow: 0 2px 8px rgba(35, 33, 30, .05); }
.moment .mt { font: 500 11px/1 var(--f-mono); color: var(--ink-3); margin-right: 6px; }
.moment .md { margin-left: 7px; padding-left: 7px; border-left: 1px solid var(--line); font-weight: 600; }
.moment .md.pos { color: var(--pos); } .moment .md.neg { color: var(--neg); } .moment .md.help { color: var(--pro); }
.moment.help .mb { overflow: visible; border-color: var(--pro-line); box-shadow: 0 0 0 5px rgba(188, 106, 57, .12), 0 10px 24px rgba(35, 33, 30, .09); }
.moment.help .mb::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--pro); opacity: 0; animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .8; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .moment.help .mb::after { animation: none; } }
.jv-say { position: absolute; left: 58%; top: 26%; width: 41%; padding: 11px 13px 12px; border-radius: 4px 16px 16px 16px;
  background: var(--paper); border: 1px solid var(--pro-line); box-shadow: 0 1px 2px rgba(35, 33, 30, .05), 0 12px 28px rgba(35, 33, 30, .09);
  font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.jv-say b { display: block; margin-bottom: 4px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--pro); }
.clock-legend { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 7px 22px; margin-top: 14px; font-size: 12px; color: var(--ink-2); }
.clock-legend i { display: inline-block; width: 12px; height: 4px; border-radius: 99px; margin-right: 6px; vertical-align: 2px; }
.clock-cap { margin-top: 8px; text-align: center; font: 500 11px/1.4 var(--f-mono); color: var(--ink-3); letter-spacing: .02em; }

/* ---------- stats ---------- */
.stats { padding: 10px 0 0; }
.stats-card {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 22px 22px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .v { font: 800 32px/1 var(--f-head); letter-spacing: -.03em; }
.stat .v small { font-size: inherit; font-weight: 700; color: #B9B0A2; margin: 0 1px; }
.stat .k { margin-top: 9px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }

/* ---------- sections ---------- */
.section { padding: 104px 0 0; }
.section:last-of-type { padding-bottom: 96px; }
.section.first { padding-top: 64px; }
.page-home #leaderboard { padding-top: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--ink-3); }
.section h2 { margin: 16px 0 0; font: 800 clamp(30px, 3.6vw, 42px)/1.12 var(--f-head); letter-spacing: -.03em; max-width: 760px; }
.section .intro { margin: 16px 0 0; max-width: 700px; font-size: 17px; color: var(--ink-2); }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 1.5px; background: var(--ink-3); }
.section-head.center h2, .section-head.center .intro { margin-left: auto; margin-right: auto; }

/* ---------- data ---------- */
.data-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: start; }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { margin-top: 26px; }
.feature .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); font-size: 18px; }
.feature h3 { margin: 0; font: 700 16.5px/1.3 var(--f-head); }
.feature p { margin: 5px 0 0; font-size: 14.5px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.chip b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }
.link-row { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.day-card { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 18px; box-shadow: var(--shadow); }
.day-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; }
.day-head .t { font: 700 15px/1.2 var(--f-head); }
.day-head .t span { display: block; font: 500 12px/1.4 var(--f-mono); color: var(--ink-3); margin-top: 3px; }
.day-head .who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.day-head .who img { width: 30px; height: 30px; }
.ev { display: grid; grid-template-columns: 38px 1fr 66px; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 14px; margin-top: 7px; border: 1px solid transparent; }
.ev .em { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: rgba(255, 255, 255, .72); }
.ev .top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ev .dom { font: 700 14px/1.2 var(--f-head); }
.ev .mood { font: 600 11.5px/1 var(--f-body); padding: 3px 7px; border-radius: 999px; }
.ev .mood.pos { color: var(--pos); background: rgba(63, 143, 90, .1); }
.ev .mood.neg { color: var(--neg); background: rgba(194, 70, 62, .09); }
.ev .mood.help { color: var(--ipr); background: rgba(47, 127, 150, .1); }
.ev .txt { margin-top: 3px; font-size: 13.5px; color: var(--ink-2); font-style: italic; line-height: 1.4; }
.ev .ph { width: 66px; height: 48px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(35, 33, 30, .06); }
.ev .ph.none { display: grid; place-items: center; background: rgba(255, 255, 255, .7); color: var(--ink-3); font-size: 18px; }
.ev.wake { background: #FFF6E3; } .ev.wake .dom { color: #B7791F; }
.ev.work { background: #EEF3FA; } .ev.work .dom { color: #3D6CA3; }
.ev.exercise { background: #EDF6EF; } .ev.exercise .dom { color: #3E8A57; }
.ev.food { background: #F8F0E7; } .ev.food .dom { color: #9C6B47; }
.ev.shopping { background: #F3EEF9; } .ev.shopping .dom { color: #7556A6; }
.ev.bedtime { background: #EFEEF9; border-color: #DCDAF1; } .ev.bedtime .dom { color: #5458A6; }
.gap-dots { text-align: center; color: var(--ink-3); letter-spacing: 4px; font-size: 13px; padding: 2px 0 0; }
.agent-say { display: grid; grid-template-columns: 40px 1fr; gap: 10px; margin-top: 14px; align-items: start; }
.agent-say img { width: 40px; height: 40px; }
.say {
  background: var(--pro-bg); border: 1px solid var(--pro-line);
  border-radius: 4px 16px 16px 16px; padding: 11px 14px;
  font-size: 14px; line-height: 1.5; font-style: italic; color: var(--ink);
}
.say .who { display: block; font: 700 12px/1 var(--f-mono); font-style: normal; color: var(--pro); margin-bottom: 6px; letter-spacing: .04em; }
.say-foot { margin: 8px 0 0 50px; font-size: 13px; color: var(--pos); font-style: italic; }

/* ---------- tasks ---------- */
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.task {
  --c: var(--ipr); --c-bg: var(--ipr-bg); --c-line: var(--ipr-line); --c-soft: var(--ipr-soft);
  display: flex; flex-direction: column;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 24px; padding: 24px;
}
.task.pro { --c: var(--pro); --c-bg: var(--pro-bg); --c-line: var(--pro-line); --c-soft: var(--pro-soft); }
.task.emo { --c: var(--emo); --c-bg: var(--emo-bg); --c-line: var(--emo-line); --c-soft: var(--emo-soft); }
.task.cdt { --c: var(--cdt); --c-bg: var(--cdt-bg); --c-line: var(--cdt-line); --c-soft: var(--cdt-soft); }
.task-head { display: flex; align-items: center; gap: 13px; }
.task-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--c-line); color: var(--c); font-size: 19px; flex: none; }
.task-head h3 { margin: 0; font: 800 20px/1.2 var(--f-head); letter-spacing: -.015em; }
.task-head p { margin: 3px 0 0; font-size: 14px; color: var(--c); font-weight: 600; }
.example { margin-top: 18px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; padding: 15px; flex: 1; }
.scenario { font-size: 14px; color: var(--ink); }
.scenario b { font-weight: 700; }
.eps { margin-top: 11px; display: grid; gap: 7px; }
.ep { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.ep img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.ep b { color: var(--ink); font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; margin-right: 4px; }
.scene { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; }
.scene img { width: 132px; height: 112px; border-radius: 14px; object-fit: cover; }
.scene p { margin: 0; font-size: 13.5px; color: var(--ink-2); font-style: italic; line-height: 1.45; }
.infer { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--c-soft); font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.infer b { color: var(--c); font-weight: 700; }
.infer + .infer { margin-top: 6px; }
.dialog { margin-top: 12px; display: grid; gap: 8px; }
.msg { display: grid; grid-template-columns: 30px 1fr; gap: 9px; align-items: start; }
.msg img { width: 30px; height: 30px; }
.msg .b { background: var(--paper); border: 1px solid var(--c-line); border-radius: 4px 14px 14px 14px; padding: 8px 11px; font-size: 13.5px; line-height: 1.45; font-style: italic; }
.msg.user { grid-template-columns: 1fr 30px; }
.msg.user .b { border-radius: 14px 4px 14px 14px; background: #FFFDF9; border-color: var(--line); justify-self: end; }
.msg.user img { order: 2; }
.spec { margin: 16px 0 0; display: grid; gap: 9px; }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.spec dt { font: 500 11px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.spec dd { margin: 0; color: var(--ink-2); }
.spec code { font-family: var(--f-mono); font-size: 12.5px; background: rgba(255, 255, 255, .7); padding: 1px 5px; border-radius: 5px; }

/* ---------- ladder ---------- */
.ladder-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 28px 22px; }
.ladder { display: grid; grid-template-columns: 52px repeat(5, 1fr); gap: 0 18px; }
.axis { position: relative; height: 230px; }
.axis span { position: absolute; right: 2px; transform: translateY(50%); font: 500 11px/1 var(--f-mono); color: var(--ink-3); }
.lcol .plot { position: relative; height: 230px; border-bottom: 1px solid var(--line-2); }
.gridline { position: absolute; left: 0; right: 0; border-top: 1px dashed #EEE7DB; }
.gridline.base { border-top: 1.5px dashed #D9CDBB; }
.bar { position: absolute; left: 18%; right: 18%; bottom: 0; border-radius: 10px 10px 3px 3px; background: linear-gradient(180deg, #7FB3C3, #5E9DB0); }
.bar .bv { position: absolute; top: 9px; left: 0; right: 0; text-align: center; font: 600 13px/1 var(--f-mono); color: #fff; white-space: nowrap; }
.best { position: absolute; left: 50%; width: 12px; height: 12px; margin: 0 0 -6px -6px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--pro); }
.best-label { position: absolute; left: 0; right: 0; text-align: center; font: 500 11px/1.3 var(--f-mono); color: var(--pro); white-space: nowrap; }
.best-label b { font-weight: 600; font-size: 12px; }
.lcol .lab { padding-top: 14px; }
.lcol .code { font: 600 12px/1 var(--f-mono); color: var(--ipr); }
.lcol .nm { margin-top: 6px; font: 700 15px/1.25 var(--f-head); }
.lcol .ds { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.ladder-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.ladder-legend i { display: inline-block; vertical-align: -1px; margin-right: 7px; }
.lg-bar { width: 14px; height: 12px; border-radius: 3px; background: #6FA8BA; }
.lg-dot { width: 11px; height: 11px; border-radius: 50%; border: 2.5px solid var(--pro); background: #fff; }
.lg-base { width: 18px; border-top: 1.5px dashed #CDBFA9; vertical-align: 3px !important; }

/* ---------- leaderboard ---------- */
.lb-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.lb-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tabs { display: inline-flex; padding: 4px; background: var(--bg-2); border-radius: 999px; gap: 2px; }
.tab { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font: 600 13.5px/1 var(--f-body); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.tab .n { font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); }
.tab.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(35, 33, 30, .1); }
.tab .sw { width: 8px; height: 8px; border-radius: 50%; }
.lb-note { margin-left: auto; font-size: 13px; color: var(--ink-3); max-width: 430px; text-align: right; line-height: 1.4; }
.fams { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FFFDF9; }
.fam { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 600 12.5px/1 var(--f-body); color: var(--ink-2); cursor: pointer; transition: border-color .15s; }
.fam img { width: 16px; height: 16px; object-fit: contain; }
.fam:hover { border-color: var(--line-2); }
.fam.on { border-color: var(--ink); color: var(--ink); }
.fam .c { font: 500 11px/1 var(--f-mono); color: var(--ink-3); }
.table-wrap { overflow-x: auto; }
table.lb { width: 100%; border-collapse: collapse; font-size: 14px; }
.lb th { position: sticky; top: 0; background: #FFFCF7; text-align: right; padding: 12px 14px; font: 600 11.5px/1.25 var(--f-mono); color: var(--ink-3); letter-spacing: .03em; text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
.lb th small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; margin-top: 3px; }
.lb th.l, .lb td.l { text-align: left; }
.lb th.sorted { color: var(--ink); }
.lb th.sorted::after { content: " ↓"; }
.lb th.nosort { cursor: default; }
.lb td { padding: 10px 14px; border-bottom: 1px solid #F2EDE4; text-align: right; white-space: nowrap; font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--ink-2); }
.lb tr:last-child td { border-bottom: 0; }
.lb tbody tr:hover td { background: #FFFBF4; }
.lb td.rank { width: 46px; color: var(--ink-3); text-align: left; padding-left: 20px; }
.lb td.model { font-family: var(--f-body); color: var(--ink); }
.mdl { display: flex; align-items: center; gap: 10px; }
.mdl img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.mdl b { font-weight: 600; font-size: 14px; }
.mdl .f { font: 500 11px/1 var(--f-mono); color: var(--ink-3); margin-left: 2px; }
.lb td.top { color: var(--ink); font-weight: 600; }
.lb td.top, .c4 .v.top { position: relative; }
.lb td.top::after { content: ""; position: absolute; right: 6px; top: 50%; width: 46px; height: 24px; transform: translateY(-50%); border-radius: 7px; background: rgba(188, 106, 57, .1); box-shadow: inset 0 0 0 1px rgba(188, 106, 57, .22); }
.c4 .v.top { color: #9A5228; }
.c4 { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.c4 .trk { width: 110px; height: 7px; border-radius: 99px; background: #F0EBE2; overflow: hidden; }
.c4 .fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8DBBC9, var(--ipr)); }
.c4 .v { width: 38px; color: var(--ink); font-weight: 600; }
.delta { font-size: 12px; padding: 2px 6px; border-radius: 6px; }
.delta.up { color: #A8433A; background: #FCEDEB; }
.delta.dn { color: #2F6C8F; background: #EAF2F8; }
.delta.zero { color: var(--ink-3); background: #F3EFE8; }
.lb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); background: #FFFDF9; font-size: 12.5px; color: var(--ink-3); }

/* ---------- findings ---------- */
.find-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.find { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.find::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c, var(--ipr)); opacity: .85; }
.find .no { font: 500 12px/1 var(--f-mono); color: var(--ink-3); }
.find .big { margin-top: 16px; font: 800 38px/1 var(--f-head); letter-spacing: -.035em; color: var(--c, var(--ipr)); }
.find .big small { font-size: 16px; font-weight: 700; margin-left: 3px; letter-spacing: 0; }
.find h3 { margin: 14px 0 0; font: 700 16.5px/1.3 var(--f-head); }
.find p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.leaders { margin-top: 12px; display: grid; gap: 6px; }
.leaders div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 6px; }
.leaders b { color: var(--ink); font-weight: 600; }

/* ---------- resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.res { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.res:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(35, 33, 30, .05), 0 16px 34px rgba(35, 33, 30, .07); }
.res .ri { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-2); font-size: 19px; }
.res h3 { margin: 16px 0 0; font: 800 19px/1.2 var(--f-head); }
.res .meta { margin-top: 5px; font: 500 12px/1.4 var(--f-mono); color: var(--ink-3); }
.res p { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); flex: 1; }
.res .go { margin-top: 16px; font: 600 14px/1 var(--f-body); color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.res pre { margin: 12px 0 0; font: 12px/1.5 var(--f-mono); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; overflow-x: auto; color: var(--ink-2); }
.privacy { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--cdt-bg); border: 1px solid var(--cdt-line); font-size: 14px; color: var(--ink-2); }
.privacy b { color: var(--ink); }

/* ---------- team ---------- */
.authors { text-align: center; max-width: 980px; margin: 0 auto; font-size: 15px; line-height: 2; color: var(--ink); }
.authors .a { white-space: nowrap; }
.authors sup { font: 500 10px/1 var(--f-mono); color: var(--ink-3); margin-left: 1px; }
.authors .sep { color: #CBBFAD; margin: 0 6px; }
.author-notes { text-align: center; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.affils { columns: 3; column-gap: 28px; max-width: 980px; margin: 26px auto 0; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.affils div { break-inside: avoid; }
.affils sup { font-family: var(--f-mono); margin-right: 4px; }
.wall { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 44px; padding: 36px 40px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.wall a { display: grid; place-items: center; min-height: 52px; }
.partner { margin: 26px auto 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.partner .lbl { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.partner a { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.partner img { width: 40px; height: 40px; border-radius: 50%; }
.partner b { font: 800 18px/1 var(--f-head); letter-spacing: -.01em; }
.partner span { font-size: 13px; color: var(--ink-3); }
.thanks { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- cite ---------- */
.cite-box { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cite-box pre { margin: 0; padding: 22px 24px; max-height: 300px; overflow: auto; font: 12.5px/1.65 var(--f-mono); color: var(--ink-2); }
.cite-box .btn { position: absolute; top: 14px; right: 14px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 13px; color: var(--ink-3); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(35, 33, 30, .76); padding: 4vh 3vw; cursor: zoom-out; }
.lightbox.on { display: grid; }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.lightbox .cap { margin-top: 12px; text-align: center; color: #F3EEE6; font-size: 13.5px; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .find-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-note { margin-left: 0; text-align: left; max-width: none; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .data-grid, .task-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .stats-card { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .res-grid { grid-template-columns: 1fr; }
  .affils { columns: 2; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .find-grid { grid-template-columns: 1fr; }
  .affils { columns: 1; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .ladder { grid-template-columns: 34px repeat(5, 1fr); gap: 0 6px; }
  .lcol .ds { display: none; }
  .scene { grid-template-columns: 1fr; }
  .scene img { width: 100%; height: 160px; }
}

/* ---------- leaderboard head: the C0-C4 ladder ---------- */
.lb-head { display: grid; gap: 22px; margin-bottom: 26px; }
.lb-head h2 { margin: 0; font: 800 clamp(30px, 3.6vw, 42px)/1.1 var(--f-head); letter-spacing: -.03em; }
.ladder-defs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: lv; }
.ladder-defs li { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 10px; align-items: center;
  padding: 14px 14px 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.ladder-defs li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid #CDBFA9; border-right: 1.5px solid #CDBFA9; transform: translateY(-50%) rotate(45deg); background: transparent; z-index: 1; }
.ladder-defs .lv { grid-row: 1 / span 3; display: grid; grid-template-columns: repeat(5, 4px); gap: 2px; align-self: stretch; align-items: end; padding: 2px 4px 2px 0; border-right: 1px solid var(--line); }
.ladder-defs .lv i { display: block; border-radius: 2px; background: linear-gradient(180deg, #8EC1CF, #2F7F96); }
.ladder-defs .lv i:nth-child(1) { height: 10px; } .ladder-defs .lv i:nth-child(2) { height: 16px; } .ladder-defs .lv i:nth-child(3) { height: 22px; }
.ladder-defs .lv i:nth-child(4) { height: 28px; } .ladder-defs .lv i:nth-child(5) { height: 34px; }
.ladder-defs b { font: 600 11.5px/1 var(--f-mono); color: var(--ipr); letter-spacing: .04em; }
.ladder-defs strong { margin-top: 5px; font: 700 14.5px/1.2 var(--f-head); color: var(--ink); }
.ladder-defs li > span:last-child { margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }

/* ---------- team ---------- */
#team .authors { font-size: 15.5px; line-height: 2.05; letter-spacing: -.005em; }
#team .authors .sep { color: #D8CDBD; margin: 0 9px; }
.author-notes { display: flex; justify-content: center; gap: 18px; }
.author-notes sup { margin-right: 3px; color: var(--pro); font-weight: 600; }
.affil-toggle { max-width: 980px; margin: 18px auto 0; text-align: center; }
.affil-toggle summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 600 13px/1 var(--f-body); color: var(--ink-2); box-shadow: var(--shadow); }
.affil-toggle summary::-webkit-details-marker { display: none; }
.affil-toggle summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.affil-toggle[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.affil-toggle .affils { text-align: left; margin-top: 20px; }
.wall { margin-top: 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.wall a { height: 86px; display: grid; place-items: center; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.wall a:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(35, 33, 30, .02), 0 2px 4px rgba(35, 33, 30, .05), 0 18px 36px -10px rgba(35, 33, 30, .14); }
.wall a.mx { display: inline-flex; justify-content: center; gap: 10px; background: linear-gradient(135deg, #FFFFFF, #F6F3FF); }
.thanks { margin-top: 26px; }

/* ---------- cite ---------- */
.cite-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.cite-text h2 { margin: 16px 0 0; font: 800 clamp(30px, 3.6vw, 42px)/1.1 var(--f-head); letter-spacing: -.03em; }
.cite-text .ref { margin: 18px 0 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 470px; }
.cite-text .ref em { color: var(--ink); font-style: normal; font-weight: 600; }
.cite-text .ref sup { color: var(--pro); font-weight: 600; }
.cite-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.code-win { border-radius: 18px; overflow: hidden; background: #1F1D1B; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 24px 50px -16px rgba(35, 33, 30, .35); border: 1px solid #2E2B27; }
.cw-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px 0 16px; background: #272421; border-bottom: 1px solid #34302B; }
.cw-bar .dots { display: inline-flex; gap: 6px; }
.cw-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #4A453E; }
.cw-bar .dots i:nth-child(1) { background: #E2735C; } .cw-bar .dots i:nth-child(2) { background: #E0B04D; } .cw-bar .dots i:nth-child(3) { background: #6DB37A; }
.cw-name { font: 500 12px/1 var(--f-mono); color: #A79F92; }
.cw-copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 8px; border: 1px solid #3D3833; background: #2F2B27; color: #E9E2D6; font: 600 12px/1 var(--f-body); cursor: pointer; }
.cw-copy:hover { background: #38332E; }
.cw-copy svg { width: 14px; height: 14px; }
.code-win pre { margin: 0; padding: 18px 20px 20px; max-height: 360px; overflow: auto; font: 12.5px/1.7 var(--f-mono); color: #E9E2D6; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-win pre .k { color: #E9A36F; } .code-win pre .t { color: #7FC1D3; } .code-win pre .p { color: #8E877D; }
@media (max-width: 960px) {
  .ladder-defs { grid-template-columns: repeat(2, 1fr); }
  .ladder-defs li::after { display: none; }
  .wall { grid-template-columns: repeat(3, 1fr); }
  .cite-grid { grid-template-columns: 1fr; }
}

.moment.lft .mc { transform: translateX(24px); }

/* hero: all institutions in a slow marquee */
.affil-strip .logos { display: block; margin-top: 14px; }
.marquee { position: relative; overflow: hidden; max-width: 560px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee .track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee .set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee .track { animation: none; width: auto; }
  .marquee .set { flex-wrap: wrap; gap: 14px 24px; }
  .marquee .set[aria-hidden] { display: none; }
}
.lb-note:empty { display: none; }
.affils.open { margin-top: 22px; }


.credits { margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.credits summary { cursor: pointer; list-style: none; display: inline-flex; gap: 6px; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after { content: "+"; }
.credits details[open] summary::after { content: "–"; }
.credits ul { margin: 6px 0 0; padding-left: 16px; columns: 2; column-gap: 32px; }
.credits a { text-decoration: underline; text-decoration-color: var(--line-2); }
/* phones: the leaderboard tabs scroll sideways instead of being cut off */
@media (max-width: 620px) {
  .lb-top .tabs { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .lb-top .tabs::-webkit-scrollbar { display: none; }
  .lb-top .tab { flex: none; white-space: nowrap; padding: 8px 12px; }
}

/* hero: the four tasks as a small index (hairline, task-colour segment, numeral, name, what it measures) */
.hero-tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin-top: 26px; max-width: 560px; }
.hero-tasks a { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; row-gap: 3px; align-content: start;
  padding: 13px 0 14px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.hero-tasks a:nth-child(n+3) { border-bottom: 1px solid var(--line); }
.hero-tasks a::before { content: ""; position: absolute; left: 0; top: -1px; width: 26px; height: 2px; background: var(--c); transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.hero-tasks a:hover::before, .hero-tasks a:focus-visible::before { width: 100%; }
.hero-tasks a:focus-visible { outline: none; }
.hero-tasks .n { grid-row: 1 / span 2; padding-top: 2px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .02em; color: var(--c); }
.hero-tasks b { font: 700 14.5px/1.3 var(--f-head); letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.hero-tasks .d { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.hero-tasks a:hover b, .hero-tasks a:focus-visible b { color: var(--c); }
@media (max-width: 620px) {
  .hero-tasks { column-gap: 16px; }
  .hero-tasks a { grid-template-columns: 1fr; }
  .hero-tasks .n { grid-row: auto; padding-top: 0; }
}

/* hero: C0-C4, best of the 54 models (numbers first, few words) */
.hero-ladder { margin: 24px 0 0; max-width: 560px; padding: 13px 4px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-ladder .hl-head { display: flex; justify-content: space-between; padding: 0 14px 11px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hero-ladder ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hero-ladder li { display: grid; gap: 7px; padding: 0 14px; border-left: 1px solid var(--line); }
.hero-ladder li:first-child { border-left: 0; }
.hero-ladder .c { font: 600 11px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink-3); }
.hero-ladder b { font: 800 30px/1 var(--f-head); letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-ladder i { display: block; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ipr) 45%, #FFFFFF) calc(var(--v) * 100%), #EEE7DA 0); }
.hero-ladder .nm { font-size: 12px; line-height: 1.2; color: var(--ink-3); white-space: nowrap; }
.hero-ladder li.top .c, .hero-ladder li.top b { color: var(--ipr); }
.hero-ladder li.top i { background: linear-gradient(90deg, var(--ipr) calc(var(--v) * 100%), #EEE7DA 0); }
@media (max-width: 620px) {
  .hero-ladder .hl-head { padding: 0 10px 9px; }
  .hero-ladder li { padding: 0 8px; gap: 6px; }
  .hero-ladder b { font-size: 21px; }
  .hero-ladder .nm { font-size: 10.5px; }
}

/* hero: institutions band, full page width (the marquee runs edge to edge) */
.hero-band { margin-top: 46px; }
.hero-band .label { text-align: center; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hero-band .logos { margin-top: 20px; }
.hero-band .marquee { max-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }  /* runs inside the content width, like the sections above and below */
.hero-band .marquee .set { gap: 56px; padding-right: 56px; }
@media (max-width: 620px) { .hero-band { margin-top: 34px; } .hero-band .marquee .set { gap: 36px; padding-right: 36px; } }

/* hero: the three leaderboard tasks in one row (Cross-Domain Transfer lives on the Tasks page) */
.hero-tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; }
.hero-tasks a { border-bottom: 1px solid var(--line); }
@media (max-width: 620px) { .hero-tasks { grid-template-columns: 1fr; } }

/* institutions band: industry first, static and larger; the universities scroll underneath */
.hero-band .industry { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 18px 36px; margin: 20px 0 6px; }
.hero-band .industry .logo-img { height: auto; }
.hero-band .industry .mx b { font-size: 16px; }
.hero-band .industry + .logos { margin-top: 16px; opacity: .92; }
@media (max-width: 1180px) { .hero-band .industry { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; justify-items: center; gap: 16px 40px; } .hero-band .industry .logo-img { max-width: 100%; } }
@media (max-width: 620px) { .hero-band .industry { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 14px; } .hero-band .industry .mx b { display: none; } }
