/* ============================================================
   Unison — Project Page
   Design system built around the logo's blue → rose gradient
   ============================================================ */

:root {
  /* Brand gradient stops */
  --blue:        #4F9FE6;
  --blue-light:  #8FCBF2;
  --violet:      #AE96D4;
  --rose:        #E7838F;
  --rose-light:  #F0B0B8;
  --peach:       #F2C2A6;

  /* Ink + neutrals */
  --ink:        #15152b;
  --ink-soft:   #45455f;
  --muted:      #82839a;
  --line:       #ececf2;
  --line-soft:  #f2f2f7;
  --bg:         #ffffff;
  --tint:       #f7f8fc;
  --tint-2:     #eef1f8;

  /* Signature gradient */
  --grad: linear-gradient(120deg, #4F9FE6 0%, #9C8FD6 48%, #E7838F 100%);
  --grad-soft: linear-gradient(120deg, #e8f2fc 0%, #f0ecf8 50%, #fbe9ec 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(20,20,45,.05), 0 2px 8px rgba(20,20,45,.04);
  --shadow:    0 10px 30px -12px rgba(20,20,45,.14), 0 2px 8px rgba(20,20,45,.04);
  --shadow-lg: 0 30px 60px -22px rgba(40,40,90,.28), 0 4px 14px rgba(20,20,45,.06);

  --maxw: 1120px;
  --maxw-narrow: 760px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

::selection { background: rgba(79,159,230,.22); }

/* ---------- Shared layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 26px;
}
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight-top { padding-top: clamp(28px, 3.5vw, 44px); }
.section--tint { background: var(--tint); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

/* Section headings — the enlarged colored eyebrow stands in for the section title */
#overview .eyebrow,
#leaderboard .eyebrow,
#visualizations .eyebrow,
#citation .eyebrow {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .03em;
  margin-bottom: 12px;
}

.section__title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 18px;
}

.section__lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 40px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px -16px rgba(20,20,45,.3);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__brand img { height: 24px; width: auto; opacity: 0; transform: translateY(-4px); transition: .35s var(--ease); }
.nav.is-scrolled .nav__brand img { opacity: 1; transform: none; }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav__links + .nav__cta { margin-left: 0; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 26px 48px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg::after {
  /* faint dot grid */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(40,40,90,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 78%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
.blob--blue  { width: 520px; height: 520px; background: var(--blue-light);  top: -120px; left: -60px;  animation: float1 19s var(--ease) infinite; }
.blob--rose  { width: 480px; height: 480px; background: var(--rose-light);  top: -40px;  right: -80px; animation: float2 23s var(--ease) infinite; }
.blob--violet{ width: 460px; height: 460px; background: #d9c8ec;             top: 180px;  left: 42%;   animation: float3 27s var(--ease) infinite; opacity:.45; }

@keyframes float1 { 50% { transform: translate(60px, 50px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(-50px, 70px) scale(1.12); } }
@keyframes float3 { 50% { transform: translate(-40px, -30px) scale(.94); } }

.hero__content { position: relative; z-index: 1; max-width: 1080px; }

.hero__logo img { height: clamp(58px, 9vw, 96px); width: auto; margin: 0 auto 26px; filter: drop-shadow(0 10px 24px rgba(80,80,150,.18)); }

.badge-venue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 10px;
}
.badge-venue .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(79,159,230,.16);
}
.icml-logo { display: inline; height: 36px; width: auto; vertical-align: middle; position: relative; top: -.05em; }

.hero__title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 auto 14px;
  max-width: 1080px;
}
.hero__title .grad-text { font-weight: 600; font-style: italic; }
.hero__title-logo { display: inline; height: .82em; width: auto; vertical-align: middle; position: relative; top: -.12em; }

.hero__authors {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  margin: 0 0 6px;
}
.hero__authors a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.hero__authors a:hover { color: var(--blue); border-bottom-color: var(--blue-light); }
.hero__authors sup { color: var(--rose); }
.hero__affil { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 30px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.affil-logo { display: inline; height: 1.4em; width: auto; }

/* Buttons */
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 38px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s;
  border: 1px solid transparent;
  position: relative;
}
.btn svg { flex: none; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -10px rgba(20,20,45,.6); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(20,20,45,.55); }
.btn--hf {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--hf:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ffd21e; }
.btn--hf .emoji { font-size: 17px; line-height: 1; }
.btn .ai { font-weight: 800; letter-spacing: .02em; font-family: "JetBrains Mono", monospace; font-size: 13.5px; }

/* TL;DR */
.hero__tldr {
  max-width: 1080px;
  margin: 0 auto 42px;
  font-size: 16px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.hero__tldr strong { color: var(--ink); }
.hero__tldr strong:first-child {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800; letter-spacing: .03em;
}

/* Stats */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 6vw, 64px);
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: 13.5px; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(40,40,90,.22); border-radius: 14px;
  z-index: 1; display: grid; place-items: start center; padding-top: 7px;
}
.scroll-hint span { width: 4px; height: 8px; border-radius: 4px; background: var(--ink-soft); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;transform:translateY(12px)} }

/* ============================================================
   OVERVIEW figure
   ============================================================ */
.figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}
.figure img { border-radius: 14px; width: 100%; }
.figure figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
  padding-inline: 10px;
  line-height: 1.55;
}
.figure figcaption b { color: var(--ink-soft); }

.stats-figures {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 16px;
  margin-top: 22px;
  align-items: center;
}
.stats-img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 720px) {
  .stats-figures { grid-template-columns: 1fr; }
}

/* ============================================================
   ABSTRACT prose
   ============================================================ */
.prose { font-size: 18px; color: var(--ink-soft); margin: 0 0 16px; }
.prose strong { color: var(--ink); }
.prose--abstract { text-align: justify; margin-bottom: clamp(30px, 4vw, 52px); }
.prose--list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.prose--list li {
  position: relative;
  padding: 18px 20px 18px 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.prose--list li::before {
  content: "";
  position: absolute; left: 20px; top: 22px;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--grad);
}

/* ============================================================
   DIMENSION cards
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__tag {
  position: absolute; top: 22px; right: 24px;
  font-family: "Newsreader", serif; font-style: italic;
  font-size: 30px; color: var(--tint-2); font-weight: 600;
}
.card__icon {
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center;
  font-size: 28px; color: #fff; line-height: 1;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--c1) 60%, transparent);
  margin-bottom: 20px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.card p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }
.card em { font-style: normal; font-weight: 600; color: var(--ink); }

/* ============================================================
   STRENGTHS
   ============================================================ */
.strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.strength {
  padding-left: 22px;
  border-left: 3px solid transparent;
  border-image: var(--grad) 1;
}
.strength__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.strength h3 { font-size: 22px; font-weight: 700; margin: 8px 0 10px; letter-spacing: -.01em; }
.strength p { font-size: 16px; color: var(--ink-soft); margin: 0; }
.strength em { font-style: italic; color: var(--ink); }

/* ============================================================
   LEADERBOARD
   ============================================================ */
.lb-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--tint-2);
  border-radius: 999px;
  margin-bottom: 22px;
}
.lb-tab {
  border: 0; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 22px;
  border-radius: 999px;
  background: transparent;
  transition: color .2s, background .25s var(--ease), box-shadow .25s;
}
.lb-tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* lead text spans the full page width, matching the table below */
#leaderboard .section__lead { max-width: none; }

.lb-legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-bottom: 18px;
  font-size: 13px; color: var(--muted);
}
.lb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lb-legend b {
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 700;
  color: #fff; padding: 2px 7px; border-radius: 6px;
}
.lb-legend span:nth-child(1) b { background: var(--blue); }
.lb-legend span:nth-child(2) b { background: var(--violet); }
.lb-legend span:nth-child(3) b { background: var(--rose); }
.lb-legend span:nth-child(4) b { background: #e0a878; }

.lb-panel { display: none; }
.lb-panel.is-active { display: block; animation: fadein .4s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.lb {
  border-collapse: collapse;
  width: 100%;
  min-width: 940px;
  font-size: 13.5px;
}
table.lb th, table.lb td {
  padding: 11px 9px;
  text-align: center;
  white-space: nowrap;
}
table.lb thead th {
  position: sticky; top: 0;
  background: #fff;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
table.lb thead tr:first-child th { font-size: 12px; }
table.lb .grp { color: #fff; border-radius: 8px 8px 0 0; }
table.lb thead .grp-ic  { background: var(--blue); }
table.lb thead .grp-ugg { background: var(--violet); }
table.lb thead .grp-ggu { background: var(--rose); }
table.lb thead .grp-me  { background: #e0a878; }

table.lb tbody td {
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
table.lb tbody tr:last-child td { border-bottom: 0; }
table.lb tbody tr { transition: background .15s; }
table.lb tbody tr:hover { background: var(--tint); }

/* model + params + overall columns */
.col-model {
  text-align: left !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 600;
  position: sticky; left: 0;
  background: #fff;
  z-index: 2;
  box-shadow: 1px 0 0 var(--line-soft);
}
table.lb thead .col-model { z-index: 3; }
table.lb tbody tr:hover .col-model { background: var(--tint); }
.col-model a { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--line); transition: border-color .2s, color .2s; }
.col-model a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.col-params { text-align: left !important; color: var(--muted) !important; font-size: 12.5px; }

/* unified sub-columns get a subtle highlight (headline metric) */
td.uni, th.uni { background: rgba(79,159,230,.045); }
table.lb tbody td.uni { font-weight: 600; color: var(--ink); }
table.lb tbody tr:hover td.uni { background: rgba(79,159,230,.09); }

/* overall column emphasis */
.col-overall {
  font-weight: 800 !important;
  color: var(--ink) !important;
  font-size: 14.5px;
  background: var(--grad-soft);
  border-left: 1px solid var(--line);
}
table.lb thead .col-overall { background: var(--ink); color: #fff !important; }

/* best / second markers */
table.lb tbody strong {
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(120deg, rgba(79,159,230,.16), rgba(231,131,143,.16));
  padding: 2px 7px; border-radius: 7px;
  display: inline-block;
}
table.lb tbody u { text-decoration: none; border-bottom: 2px solid var(--rose-light); padding-bottom: 1px; color: var(--ink); font-weight: 600; }

.na { color: #c4c5d2 !important; font-weight: 400 !important; }

/* medal rows */
tr.is-medal .col-model { background: linear-gradient(90deg, rgba(255,236,200,.5), #fff 70%); }
tr.is-medal:hover .col-model { background: linear-gradient(90deg, rgba(255,236,200,.7), var(--tint) 70%); }
.medal { margin-right: 7px; font-size: 15px; }

.lb-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; text-align: center; }

/* ============================================================
   VISUALIZATIONS iframe
   ============================================================ */
.viz-frame-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.viz-frame {
  display: block;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: none;
}

/* ============================================================
   CITATION
   ============================================================ */
.bibtex {
  position: relative;
  background: #14142a;
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.bibtex::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
}
.bibtex pre {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: #d7d9ec;
  overflow-x: auto;
  white-space: pre;
}
.bibtex__copy {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 12.5px; font-weight: 600;
  color: #cdd0e8; cursor: pointer;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 12px; border-radius: 9px;
  transition: background .2s, color .2s, transform .15s;
}
.bibtex__copy:hover { background: rgba(255,255,255,.16); color: #fff; }
.bibtex__copy.is-copied { background: rgba(120,220,160,.2); color: #aef0c4; border-color: transparent; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #101023;
  color: #b9bad0;
  padding: 64px 0 54px;
  position: relative;
}
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.footer__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer__logo { height: 30px; width: auto; margin-bottom: 6px; opacity: .95; }
.footer__line { font-size: 15px; color: #ecedf7; font-weight: 500; max-width: 640px; margin: 0; }
.footer__meta { font-size: 13.5px; color: #8889a6; margin: 0; }
.footer__links { display: flex; gap: 22px; margin: 14px 0 4px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: #cdd0e8; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__credit { font-size: 12.5px; color: #66677f; margin: 8px 0 0; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  color: #fff; background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s;
}
.to-top.is-shown { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--grad); }

/* ============================================================
   REVEAL on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .nav__brand img { opacity: 1; transform: none; }
  .strengths { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .hero__tldr { padding: 16px 18px; }
  .figure { padding: 10px; border-radius: var(--radius); }
  .hero__stats { gap: 18px 34px; }
}
@media (max-width: 460px) {
  .container { padding-inline: 18px; }
  .btn { padding: 10px 16px; font-size: 14px; }
  .hero__buttons { gap: 9px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none !important; }
}
