/* ============================================================
   Equalitus — stylesheet (2026 redesign)
   Brand tokens (colours, gradient, Poppins) are unchanged from
   the original identity; only layout and components are new.
   Motion lives at the end of this file and only applies under
   html.fx / html.gl (js/fx-boot.js). No scroll-driven CSS: the
   pinning is position:sticky and the rest is JS, so that it
   behaves the same in Firefox.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --blue: #00AEE6;
  --purple: #92288F;
  --green: #2EAA96;
  --dark-blue: #4D6596;
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --text-secondary: #555;
  --radius: 24px;
  --shadow: 0 2px 16px rgba(0,0,0,.06);
  --gradient: linear-gradient(135deg, #00AEE6 0%, #1F91D3 10%, #932A8E 49%, #7E448F 58%, #448D94 87%, #2EAA96 100%);

  /* Derived (layout only, no new hues) */
  --night: #0B0B1C;
  --night-2: #14142B;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --line: rgba(26, 26, 46, .10);
  --muted-on-dark: rgba(255, 255, 255, .72);
  --line-on-dark: rgba(255, 255, 255, .14);
  --wrap: 1160px;
  --nav-wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 84px;
}

/* ── Reset & base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  font-size: 16px;
  background: var(--night);
  scrollbar-color: #4D6596 var(--night);
}
/* Still pages: no html.fx (see js/fx-boot.js for who gets motion and why). */
html.motion-off { scroll-behavior: auto; }
html.motion-off *, html.motion-off *::before, html.motion-off *::after { animation: none !important; transition: none !important; }
html.motion-off .share__slice { opacity: 1; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, select { font: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--text);
  color: #fff;
  border-radius: 10px;
}
.skip-link:focus { left: 8px; }

/* ── Type scale (1.25 ratio) ── */
h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
p { max-width: 66ch; }
strong { font-weight: 600; }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 58ch;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(146, 40, 143, .22);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(146, 40, 143, .30); }
.btn--ghost { border-color: var(--line); background: var(--card); }
.btn--ghost:hover { border-color: var(--text); }
.btn--light { background: #fff; color: #1A1A2E; }
.btn--light:hover { transform: translateY(-2px); }
.btn--on-dark { border-color: var(--line-on-dark); color: #fff; }
.btn--on-dark:hover { border-color: #fff; }

.text-link {
  font-weight: 600;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 1px;
}
.text-link:hover { border-color: var(--purple); }

/* ── Navbar: a floating dark glass bar, the same over every section ── */
.navbar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1000;
  max-width: var(--nav-wrap);
  height: 60px;
  margin: 0 auto;
  border-radius: 100px;
  background: rgba(11, 11, 28, .62);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
  transition: background-color .3s, box-shadow .3s;
}
.navbar--scrolled {
  background: rgba(11, 11, 28, .94);
  box-shadow: 0 14px 44px rgba(11, 11, 28, .34);
}
.navbar__inner {
  height: 100%;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.navbar__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.nav-logo { flex: none; }
.nav-logo img { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .74);
  transition: color .2s, background-color .2s;
}
.nav-links a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-links .btn { min-height: 42px; padding: 0 20px; font-size: 0.875rem; margin-left: 6px; }
/* Labels never wrap: below the width where the full bar fits, the hamburger takes over. */
.nav-links a { white-space: nowrap; }

.lang-switcher {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  color-scheme: dark;
}
/* Firefox draws the option list with these colours, not with the select's. */
.lang-switcher option { background: var(--night-2); color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* The menu opens as a circle growing from the hamburger. */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 8px) var(--gutter) 32px;
  background: var(--night);
  color: #fff;
  overflow-y: auto;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 44px) 42px);
  transition: clip-path .5s var(--ease), visibility 0s .5s;
}
.mobile-overlay.open {
  visibility: visible;
  clip-path: circle(150vmax at calc(100% - 44px) 42px);
  transition: clip-path .6s var(--ease), visibility 0s;
}
.mobile-overlay a:not(.btn) {
  padding: 14px 0;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-on-dark);
}
.mobile-overlay a[aria-current="page"] { color: var(--blue); }
.mobile-overlay .lang-switcher { margin-top: 20px; min-height: 48px; flex: none; }
.mobile-overlay .btn { margin-top: 16px; flex: none; }
.body--locked { overflow: hidden; }

/* ── Sections ── */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band + .band { border-top: 1px solid var(--line); }
.band--tight { padding-top: 0; }
.band--white { background: var(--card); }
.band--dark {
  background: var(--night);
  color: #fff;
}
.band--dark .lead,
.band--dark p { color: var(--muted-on-dark); }
.band--dark h2,
.band--dark h3,
.band--dark strong { color: #fff; }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { max-width: 22ch; }
.section-head .lead { margin-top: 16px; }

/* ── Home story: a dark stage pinned behind the hero and the three scenes ── */
.story {
  position: relative;
  background: var(--night);
  color: #fff;
}
.story__content { position: relative; z-index: 1; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 8px) 0 56px;
}
.hero .wrap { width: 100%; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
/* Sized by height too: a four-line title (French) must leave the buttons on a laptop screen. */
.hero h1 { max-width: 12ch; font-size: clamp(2.6rem, min(6.4vw, 8.6svh), 5.6rem); }
.hero .lead { margin-top: clamp(14px, 2.6svh, 26px); color: rgba(255, 255, 255, .76); font-size: clamp(1rem, min(1.6vw, 2.2svh), 1.28rem); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 3.4svh, 36px);
}
.hero .btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.hero .status {
  margin-bottom: clamp(12px, 2.4svh, 24px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}

/* Signature visual: the weekly pool shared equally */
.share {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}
.share__dial { position: relative; }
.share__ring {
  aspect-ratio: 1;
  width: 100%;
  overflow: visible;
}
.share__slice {
  fill: none;
  stroke-width: 34;
  stroke-linecap: butt;
  transform-origin: 200px 200px;
  opacity: 0;
  animation: slice-in .5s var(--ease) forwards;
}
@keyframes slice-in {
  from { opacity: 0; transform: scale(.86); }
  to   { opacity: 1; transform: scale(1); }
}
.share__core {
  position: absolute;
  inset: 21%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
}
.share__value {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.share__caption {
  margin: 10px auto 0;
  max-width: 17ch;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .72);
}
.share__legend {
  margin: 22px auto 0;
  max-width: 36ch;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, .64);
}

/* The three scenes: without WebGL they are plain blocks of text on the dark band. */
.scene { padding: clamp(40px, 6vw, 72px) 0; }
.scene__panel {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin: 0 auto;
}
.scene__dots { display: flex; gap: 6px; margin-bottom: 18px; }
.scene__dots li {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
}
.scene__dots .on { background: #fff; }
.scene__eyebrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
}
.scene__title {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
}
.scene__answer {
  margin-top: 16px;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  max-width: 30ch;
}
.scene__also {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, .72);
  max-width: 38ch;
}
.scene__also strong { display: block; font-weight: 500; font-size: 0.82rem; color: rgba(255, 255, 255, .6); }
.scene__note { margin-top: 12px; font-size: 0.78rem; color: rgba(255, 255, 255, .55); }

/* ── Steps (a real sequence) ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
}
.steps h3 { margin-bottom: 10px; }
.steps--vertical { grid-template-columns: 1fr; max-width: 760px; gap: 0; }
.steps--vertical li {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 24px;
  padding-bottom: 32px;
  position: relative;
}
.steps--vertical li::before { margin-bottom: 0; grid-row: span 2; }
.steps--vertical li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.band--dark .steps--vertical li:not(:last-child)::after { background: var(--line-on-dark); }

/* ── Split: text + aside ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.split > * > p + p { margin-top: 16px; }
.split h2 + p,
.split h2 + .lead { margin-top: 18px; }

/* ── Feature cards: a soft light follows the pointer ── */
.points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.points--three { grid-template-columns: repeat(3, 1fr); }
.point {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.point > * { position: relative; }
.band--white .point { background: var(--bg); }
.point__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  padding: 11px;
  border-radius: 15px;
  background: rgba(0, 174, 230, .10);
  color: var(--blue);
}
.point:nth-child(3n+2) .point__icon { background: rgba(146, 40, 143, .10); color: var(--purple); }
.point:nth-child(3n) .point__icon { background: rgba(46, 170, 150, .12); color: var(--green); }
.point h3 { margin-bottom: 8px; }
.point p { color: var(--text-secondary); }
.band--dark .point {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-on-dark);
  box-shadow: none;
}
.band--dark .point p { color: var(--muted-on-dark); }
/* Stacked beside a text column: still a row, no card. */
.points--stack { gap: 14px; }

/* "Why it's different": a bento, the first and the last cards wider. */
.points--bento { grid-template-columns: repeat(6, 1fr); }
.points--bento .point { grid-column: span 2; }
.points--bento .point:nth-child(1),
.points--bento .point:nth-child(6) { grid-column: span 4; }
.point__ghost {
  position: absolute !important;
  right: -18px;
  bottom: -26px;
  width: 170px;
  height: 170px;
  color: rgba(26, 26, 46, .045);
  transition: transform .7s var(--ease), color .4s;
}
.point:hover .point__ghost { transform: rotate(-8deg) scale(1.08); color: rgba(146, 40, 143, .09); }
.point__ghost svg { stroke-width: 1; }

/* ── Panel (single framed element, used sparingly) ── */
.panel {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.panel h3 { margin-bottom: 12px; }
.panel p + p { margin-top: 12px; }

/* ── Key facts list ── */
.facts { display: grid; gap: 0; }
.facts div {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 1.4fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:first-child { padding-top: 0; }
.facts dt { font-weight: 600; }
.facts dd { color: var(--text-secondary); }
.band--dark .facts div { border-color: var(--line-on-dark); }
.band--dark .facts dd { color: var(--muted-on-dark); }

/* ── Comparison table ── */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare th,
.compare td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--text-secondary); }
.compare .compare__us {
  background: rgba(146, 40, 143, .05);
  color: var(--text);
  font-weight: 500;
}
.compare thead .compare__us { color: var(--purple); border-radius: 14px 14px 0 0; }
/* Long tables (supported countries): the column headers stay under the
   navbar while scrolling; nothing existing does sticky table headers. */
.compare--sticky thead th { position: sticky; top: var(--nav-h); z-index: 1; background: var(--card); }
/* Rows filtered out by the countries search stay hidden in the phone layout too. */
.compare tr[hidden] { display: none; }
/* Countries search field: the site has no text-input style yet. */
.country-search { display: block; max-width: 420px; font-weight: 500; }
/* The serial check reuses it; its class picker is the site's only form select. */
.country-search input,
.country-search select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

/* ── Callouts ── */
.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(0, 174, 230, .08);
  border: 1px solid rgba(0, 174, 230, .25);
  font-size: 0.95rem;
}
.note svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.note--honest { background: rgba(146, 40, 143, .06); border-color: rgba(146, 40, 143, .22); }
.note--honest svg { color: var(--purple); }
.note + .note { margin-top: 12px; }

/* ── Status pill ── */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 170, 150, .18);
}

/* ── FAQ ── */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-weight: 400;
  font-size: 1.2rem;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--text-secondary); }

/* ── Sub-page hero: dark, with the page's symbol drawn in coins ── */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 calc(clamp(56px, 7vw, 96px) + 36px);
  background: var(--night);
  color: #fff;
}
.page-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.page-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
.page-hero .lead { margin-top: 22px; color: rgba(255, 255, 255, .76); }
.page-hero__viz {
  justify-self: center;
  width: min(100%, 340px);
  aspect-ratio: 1;
  color: rgba(255, 255, 255, .85);
}
.page-hero__viz svg { width: 100%; height: 100%; stroke-width: 1; }
.page-hero__rule {
  width: 96px;
  height: 4px;
  margin-top: 36px;
  border-radius: 4px;
  background: var(--gradient);
}

/* The first section slides up over the dark hero like a sheet of paper. */
.page-hero + .band,
.story + .band {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 0;
  border-radius: 36px 36px 0 0;
  background: var(--bg);
}
.page-hero + .band--white,
.story + .band--white { background: var(--card); }
.page-hero + .band--dark { background: var(--night-2); }
.page-hero + .band { box-shadow: 0 -24px 60px rgba(11, 11, 28, .4); }

/* Slow brand-coloured light. Gradients rather than filter:blur: much cheaper to move. */
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.aurora i {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: .5;
}
.aurora i:nth-child(1) { left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(0, 174, 230, .42), transparent); }
.aurora i:nth-child(2) { right: -24vmax; top: -12vmax; background: radial-gradient(closest-side, rgba(146, 40, 143, .55), transparent); }
.aurora i:nth-child(3) { left: 16vmax; bottom: -44vmax; background: radial-gradient(closest-side, rgba(46, 170, 150, .34), transparent); }

/* ── Closing call to action ── */
.closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--gradient);
  color: #fff;
}
.closing h2 { max-width: 20ch; }
.closing p { margin-top: 10px; color: rgba(255, 255, 255, .85); }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Team ── */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team li { display: flex; align-items: center; gap: 16px; }
.team__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
.team__role { font-size: 0.9rem; color: var(--text-secondary); }

/* ── Download page ── */
.qr-hint { font-size: 0.9rem; color: var(--text-secondary); margin-top: 14px; }
.checksum {
  display: block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(26, 26, 46, .05);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

/* ── Footer ── */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--muted-on-dark);
  padding: 72px 0 0;
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img { height: 28px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.footer h2 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 14px;
}
.footer li + li { margin-top: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
/* The official logo, huge, fading into the bottom edge of the page. */
.footer__wordmark {
  margin: 40px auto -3vw;
  padding: 0 var(--gutter);
  max-width: 1600px;
  opacity: .16;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 92%);
  mask-image: linear-gradient(#000 30%, transparent 92%);
}
.footer__wordmark img { width: 100%; height: auto; }

/* ── Spacing helpers ── */
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }

/* ── Responsive ── */
/* Measured in all 9 languages (Portuguese is the widest) inside the floating
   bar: below 1360px the hamburger takes over. */
@media (max-width: 1359px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 900px) {
  .hero__grid,
  .split { grid-template-columns: 1fr; }
  .share { width: min(100%, 340px); }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__viz { width: min(58vw, 220px); justify-self: end; margin-top: -8px; }
  .steps,
  .points--three,
  .team { grid-template-columns: 1fr; }
  .points--bento { grid-template-columns: 1fr 1fr; }
  .points--bento .point { grid-column: span 1; }
  .points--bento .point:nth-child(1),
  .points--bento .point:nth-child(6) { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .points { grid-template-columns: 1fr; }
  .points--bento .point,
  .points--bento .point:nth-child(1),
  .points--bento .point:nth-child(6) { grid-column: auto; }
  .points--bento { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .hero__actions .btn,
  .closing__actions .btn { width: 100%; }
  .closing__actions { width: 100%; }
  .faq details p { padding-right: 0; }

  /* Comparison table becomes one block per topic */
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { display: block; padding: 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: 10px; font-size: 1.05rem; }
  .compare td { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 6px 0; }
  .compare td::before { content: attr(data-label); font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); }
  .compare .compare__us { margin-top: 6px; padding: 10px 12px; border-radius: 12px; }
  .compare .compare__us::before { color: var(--purple); }
}

/* ── Equal-share ring: brand gradient stops + one staggered reveal on load ── */
.stop-blue { stop-color: var(--blue); }
.stop-purple { stop-color: var(--purple); }
.stop-green { stop-color: var(--green); }
.share__slice:nth-child(2)  { animation-delay: .05s; }
.share__slice:nth-child(3)  { animation-delay: .10s; }
.share__slice:nth-child(4)  { animation-delay: .15s; }
.share__slice:nth-child(5)  { animation-delay: .20s; }
.share__slice:nth-child(6)  { animation-delay: .25s; }
.share__slice:nth-child(7)  { animation-delay: .30s; }
.share__slice:nth-child(8)  { animation-delay: .35s; }
.share__slice:nth-child(9)  { animation-delay: .40s; }
.share__slice:nth-child(10) { animation-delay: .45s; }
.share__slice:nth-child(11) { animation-delay: .50s; }
.share__slice:nth-child(12) { animation-delay: .55s; }
.share__slice:nth-child(13) { animation-delay: .60s; }

/* ── Checklists (plain rows with a tick, used for facts that aren't a sequence) ── */
.checklist { display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 22px; height: 22px; margin-top: 2px; color: var(--green); }
.checklist--no svg { color: var(--purple); }
.band--dark .checklist svg { color: var(--blue); }

/* Two panels side by side: what is stored vs what is not */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ledger__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 1.3rem;
}
.ledger__title svg { width: 26px; height: 26px; color: var(--purple); flex: none; }

.points--stack { grid-template-columns: 1fr; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Vertical steps whose item is a single paragraph */
.steps--vertical li > p { align-self: center; }

@media (max-width: 900px) {
  .ledger { grid-template-columns: 1fr; }
}

/* CJK: "ch" is half a glyph wide, and lines must break between phrases */
:lang(ja) .hero h1,
:lang(zh) .hero h1 { max-width: 8em; }
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 { word-break: auto-phrase; }

/* ── Services, privacy notice and developer pages (0.2.9) ── */
/* Four features in a row (home "new in 0.2.9"), two per row on tablets. */
.points--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .points--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .points--four { grid-template-columns: 1fr; } }

/* "Coming soon" pill in front of a heading. */
.tag {
  display: inline-block;
  vertical-align: middle;
  padding: 2px 10px;
  margin-right: 4px;
  border-radius: 100px;
  background: rgba(146, 40, 143, .12);
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--on-dark { background: rgba(255, 255, 255, .14); color: #fff; }

.band--dark .text-link--on-dark { color: #fff; }

/* Code: inline in tables and facts, and blocks for request examples. */
.compare code,
.facts--code code,
.checklist code,
.point code,
.split p code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
.facts--code div { grid-template-columns: minmax(110px, .5fr) 1.5fr; }
.code {
  margin: 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--text);
  color: #E8E8F0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre;
}
/* Reference tables: no highlighted "Equalitus" column, first column fits its content. */
.compare--plain { min-width: 560px; }
.compare--plain tbody th { width: auto; white-space: nowrap; }
@media (max-width: 640px) {
  .compare--plain { min-width: 0; }
  .compare--plain tbody th { white-space: normal; overflow-wrap: anywhere; }
  .compare--plain td { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .compare--plain td > span { min-width: 0; }
}
/* Long unbreakable words (web addresses in the privacy notice) wrap instead of widening the column. */
.split > *,
.ledger > *,
.note > * { min-width: 0; }
.note p { overflow-wrap: break-word; }
/* A status pill on its own line above a heading. */
.tag-line { margin-bottom: 10px; }
.tag-line .tag { margin-right: 0; }
/* A ledger title is a flex row: its text cannot shrink below its longest
   phrase, and Japanese phrases (auto-phrase) can be wider than a phone. */
.ledger__title { overflow-wrap: anywhere; }

/* ═══════════════════════════════════════════════════════════════
   Motion. Everything below needs html.fx (JS on, no reduced-motion
   request) or html.gl (WebGL too). Without those classes the rules
   above give a complete, still page.
   ═══════════════════════════════════════════════════════════════ */

/* ── Aurora drift ── */
.fx .aurora i { will-change: transform; animation: drift-a 26s ease-in-out infinite alternate; }
.fx .aurora i:nth-child(2) { animation: drift-b 32s ease-in-out infinite alternate; }
.fx .aurora i:nth-child(3) { animation: drift-c 38s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(16vmax, 10vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-14vmax, 16vmax, 0) scale(.9); } }
@keyframes drift-c { to { transform: translate3d(12vmax, -14vmax, 0) scale(1.2); } }

/* ── Words rise out of a mask ── */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* Room for descenders and tight heading line-heights inside the mask. */
  padding: .1em .03em .18em;
  margin: -.1em -.03em -.18em;
}
.word__in { display: inline-block; }
/* A gradient text fill only paints inside the box: extend it under the descenders. */
.word__in--accent,
.scene--us .word__in { padding-bottom: .18em; margin-bottom: -.18em; }
.fx .word__in {
  transform: translateY(115%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform .95s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.fx .in .word__in,
.fx .is-split.in .word__in { transform: none; }
.word__in--accent {
  background: linear-gradient(90deg, #35C5F2, #D35BCB 50%, #4FD8BF, #35C5F2);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
  animation-delay: calc(var(--i, 0) * -180ms);
}
@keyframes sheen { to { background-position: -260% 0; } }

/* Headings stay hidden only until js/fx.js splits them: if it never runs,
   this animation still brings them back. */
.fx h1:not(.is-split),
.fx .closing h2:not(.is-split) { animation: fx-failsafe .01s 2.5s both; }
@keyframes fx-failsafe { from { visibility: hidden; } to { visibility: visible; } }

/* ── Things come in as they enter the viewport ── */
.fx .rv {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.fx .rv.in { opacity: 1; transform: none; }
.fx tr.rv { transform: none; }
/* A failed script must not leave the page empty. */
.fx .rv { animation: rv-failsafe .4s 4s both; }
.fx .rv.in { animation: none; }
@keyframes rv-failsafe { to { opacity: 1; transform: none; } }

/* Icons draw themselves. */
.fx .point__icon svg > *,
.fx .ledger__title svg > * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--ease) calc(var(--d, 0) * 70ms + .15s);
}
.fx .rv.in .point__icon svg > *,
.fx .panel.in .ledger__title svg > *,
.fx .point__icon.in svg > * { stroke-dashoffset: 0; }

/* ── Cards: light that follows the pointer, a slight lean towards it ── */
.fx .point,
.fx .panel,
.fx .closing { --mx: 50%; --my: 0%; }
.fx .point {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity .8s var(--ease), transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.fx .point.rv:not(.in) { transform: translate3d(0, 28px, 0); }
.fx .point::before,
.fx .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(0, 174, 230, .13), rgba(146, 40, 143, .07) 45%, transparent 72%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.fx .panel { position: relative; overflow: hidden; }
.fx .panel > * { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .fx .point:hover { box-shadow: 0 22px 54px rgba(26, 26, 46, .13); border-color: rgba(146, 40, 143, .28); }
  .fx .band--dark .point:hover { box-shadow: 0 22px 54px rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .28); }
  .fx .point:hover::before,
  .fx .panel:hover::before { opacity: 1; }
}

/* ── Buttons: a slow sheen, a magnetic pull, a press ── */
.btn { transition: transform .25s var(--ease), box-shadow .25s, background-color .2s, border-color .2s; }
.fx .btn {
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
}
.fx .btn:hover { transform: translate3d(var(--tx, 0px), calc(var(--ty, 0px) - 2px), 0); }
.fx .btn:active { transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(.96); }
.fx .btn--primary {
  background-size: 220% 100%;
  animation: btn-flow 7s ease-in-out infinite alternate;
}
@keyframes btn-flow { to { background-position: 100% 0; } }
.fx .hero .btn--primary { box-shadow: 0 10px 34px rgba(0, 174, 230, .25), 0 10px 44px rgba(146, 40, 143, .4); }
.fx .hero .btn--primary:hover { box-shadow: 0 14px 44px rgba(0, 174, 230, .34), 0 14px 60px rgba(146, 40, 143, .55); }

/* ── Status pill pings ── */
.fx .status { position: relative; }
.fx .status::before { animation: ping 2.4s ease-out infinite; }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(46, 170, 150, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(46, 170, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 170, 150, 0); }
}

/* ── Scroll cue ── */
.scroll-cue { display: none; }
@media (min-height: 700px) and (min-width: 901px) {
  .fx .scroll-cue {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 26px;
    height: 44px;
    margin-left: -13px;
    border: 1.5px solid rgba(255, 255, 255, .34);
    border-radius: 16px;
  }
  .fx .scroll-cue::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: #fff;
    animation: cue 1.9s var(--ease) infinite;
  }
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 0; }
  25%  { opacity: 1; }
  80%  { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}

/* ── Steps elsewhere: a line of light joins the numbers ── */
@media (min-width: 901px) {
  .fx .steps:not(.steps--vertical):not(.steps--scroll) li { position: relative; }
  .fx .steps:not(.steps--vertical):not(.steps--scroll) li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 56px;
    right: calc(-1 * clamp(24px, 4vw, 48px) + 12px);
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.1s var(--ease) calc(var(--d, 0) * 120ms + .3s);
  }
  .fx .steps li.in::after { transform: scaleX(1) !important; }
}

/* ── Globe + countries marquee in "Where we are today" ── */
.band--globe { position: relative; overflow: hidden; padding-bottom: 0 !important; isolation: isolate; }
.band--globe .wrap { position: relative; z-index: 1; }
.marquee {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 88px);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--line-on-dark);
  background: rgba(11, 11, 28, .4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; flex-wrap: nowrap; width: max-content; gap: 36px; color: rgba(255, 255, 255, .62); font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
.marquee__track span { flex: none; }
.fx .marquee__track { animation: marquee 180s linear infinite; }
@keyframes marquee { to { transform: translate3d(calc(-50% - 18px), 0, 0); } }
/* Without motion the names stay available as a wrapped block. */
html:not(.fx) .marquee__track { width: auto; flex-wrap: wrap; gap: 8px 22px; white-space: normal; padding: 0 var(--gutter); }
html:not(.fx) .marquee__track span:nth-child(n + 137) { display: none; }

/* ── Closing panel: its gradient turns slowly ── */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.fx .closing { background: none; }
.fx .closing::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40%;
  --spin: 0deg;
  background: conic-gradient(from var(--spin), #00AEE6, #92288F, #2EAA96, #1F91D3, #932A8E, #00AEE6);
  animation: spin 18s linear infinite;
}
.fx .closing::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .2), transparent 70%), rgba(11, 11, 28, .2);
}
@keyframes spin { to { --spin: 360deg; } }
.fx .closing h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }

/* ── FAQ ── */
.faq summary::after { transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.faq summary:hover::after { background: var(--text); color: #fff; border-color: var(--text); }

/* ── Comparison: the Equalitus column stands out ── */
.compare .compare__us { position: relative; }
.compare thead .compare__us {
  background: var(--gradient);
  color: #fff;
}
.fx .compare tbody tr { transition: opacity .7s var(--ease), background-color .2s; }

/* ── Footer logo rises ── */
.fx .footer__wordmark img { transform: translateY(14%); transition: transform 1.6s var(--ease); }
.fx .footer.in .footer__wordmark img { transform: none; }

/* ── Page change: curtain lifts on arrival, closes on departure ── */
.fx body::before,
.fx body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5000;
  pointer-events: none;
  background: linear-gradient(135deg, #00AEE6, #92288F 55%, #2EAA96);
}
.fx body::before { background: var(--night); animation: curtain-fade .5s ease-out both; }
.fx.arrive body::before { background: linear-gradient(135deg, #00AEE6, #92288F 55%, #2EAA96); animation: curtain-up .75s cubic-bezier(.76, 0, .24, 1) both; }
@keyframes curtain-fade { to { opacity: 0; } }
.fx body::after {
  transform: translateY(101%);
  transition: transform .33s cubic-bezier(.76, 0, .24, 1);
}
.fx.leaving body::after { transform: none; }
@keyframes curtain-up { from { transform: none; } to { transform: translateY(-101%); } }

/* Text selection in the brand's colour. */
::selection { background: rgba(146, 40, 143, .85); color: #fff; }

@media print {
  .navbar, .aurora, canvas, .marquee, .footer__wordmark, .cursor { display: none !important; }
  .fx .rv, .fx .word__in { opacity: 1 !important; transform: none !important; }
  .story, .page-hero, .band--dark, .footer { background: #fff !important; color: #000 !important; }
}

/* ═══════════════════════════════════════════════════════════════
   The coin world: home page only, with WebGL. One fixed canvas behind
   everything; each [data-form] section calls up its own formation.
   ═══════════════════════════════════════════════════════════════ */
.world { display: none; }
.gl .world {
  display: block;
  position: fixed;
  inset: 0;
  /* Inside main's stacking context: below all of main's content, positioned or not. */
  z-index: -1;
  width: 100vw;
  height: 100lvh;
}
.gl.fx .page-home main,
.gl.fx .page-home .footer { position: relative; z-index: 1; }
.gl .page-home .story,
.gl .page-home .band,
.gl .page-home .band--white,
.gl .page-home .band--dark { background: transparent; color: #fff; border: 0; }
.gl .page-home .story + .band { margin-top: 0; border-radius: 0; box-shadow: none; }
.gl .page-home .footer { background: linear-gradient(transparent, rgba(11, 11, 28, .86) 120px); }

/* Everything that sat on white now sits in the night. */
.gl .page-home main {
  --text-secondary: rgba(255, 255, 255, .74);
  --line: rgba(255, 255, 255, .14);
  --card: rgba(13, 13, 32, .6);
  --bg: rgba(13, 13, 32, .6);
  --text: #fff;
  --shadow: none;
}
.gl .page-home .section-head h2,
.gl .page-home .split h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.03; letter-spacing: -0.04em; max-width: 18ch; text-shadow: 0 2px 40px rgba(11, 11, 28, .9); }
.gl .page-home .band .lead { color: rgba(255, 255, 255, .84); text-shadow: 0 1px 24px rgba(11, 11, 28, 1); }
.gl .page-home .point { border-color: rgba(255, 255, 255, .13); }
.gl .page-home .point__ghost { color: rgba(255, 255, 255, .05); }
.gl .page-home .point:hover .point__ghost { color: rgba(255, 255, 255, .12); }
.gl .page-home .band { padding: clamp(96px, 16svh, 180px) 0; }
.gl .page-home .text-link { color: #fff; }
.gl .page-home .compare { background: rgba(13, 13, 32, .66); border-radius: 22px; overflow: hidden; }
.gl .page-home .compare .compare__us { background: rgba(146, 40, 143, .22); color: #fff; }
.gl .page-home .compare thead .compare__us { background: var(--gradient); }
.gl .page-home .faq { padding: 8px 28px; border-radius: 22px; background: rgba(13, 13, 32, .66); border: 1px solid var(--line); }
.gl .page-home .faq summary:hover::after { background: #fff; color: var(--night); border-color: #fff; }
.gl .page-home .band--globe { padding-bottom: 0; }
.gl .page-home .band--globe .split { grid-template-columns: 1fr; justify-items: end; }
.gl .page-home .band--globe .split > * { width: min(100%, 560px); }
.gl .page-home .band--globe .facts { padding: 8px 24px; border-radius: 22px; background: rgba(13, 13, 32, .66); border: 1px solid var(--line); }
.gl .page-home .band--globe .facts div:last-child { border-bottom: 0; }
.gl .page-home .band--finale { min-height: 100svh; display: flex; align-items: center; }
.gl .page-home .band--finale .wrap { width: 100%; }

/* Hero: the title stands alone in the middle of the ring. */
.gl .page-home .hero { text-align: center; padding-bottom: 96px; }
.gl .page-home .hero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(20px, 3.4svh, 36px); }
.gl .page-home .hero h1 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(2.7rem, min(8.6vw, 13.5svh), 9rem);
  line-height: .98;
  letter-spacing: -0.05em;
  text-shadow: 0 0 80px rgba(11, 11, 28, .75);
}
.gl .page-home .hero .lead { margin: clamp(14px, 2.6svh, 26px) auto 0; max-width: 62ch; text-shadow: 0 1px 22px rgba(11, 11, 28, 1); }
.gl .page-home .hero__actions { justify-content: center; }
.gl .page-home .share { width: auto; }
.gl .page-home .share__ring { display: none; }
.gl .page-home .share__dial { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.gl .page-home .share__core { position: static; display: flex; align-items: center; gap: 14px; background: none; border-radius: 0; text-align: left; }
.gl .page-home .share__value { font-size: clamp(1.8rem, 3.4svh, 2.5rem); }
.gl .page-home .share__caption { margin: 0; max-width: 24ch; }
.gl .page-home .share__legend { margin-top: 8px; max-width: 60ch; font-size: .82rem; text-shadow: 0 1px 14px rgba(11, 11, 28, 1); }

/* While the logo forms, the page waits a moment. */
.ch { display: inline-block; }
.fx .ch {
  opacity: 0;
  transform: translate3d(0, .55em, -60px) rotateX(-70deg) scale(1.2);
  transition: opacity .7s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--c, 0) * 32ms);
}
.fx .in .ch { opacity: 1; transform: none; }
.fx .hero h1 .word__in { transform: none; transition: none; }
.fx .hero h1 .word { overflow: visible; perspective: 600px; }
/* A gradient text fill on a transformed parent would break in the letters: each carries its own. */
.word__in--accent .ch {
  background: linear-gradient(90deg, #35C5F2, #D35BCB 50%, #4FD8BF, #35C5F2);
  background-size: 800% 100%;
  background-position: calc(var(--c, 0) * -40px) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .18em;
  margin-bottom: -.18em;
}
.hero h1 .word__in--accent { background: none; animation: none; color: inherit; }
html.world-intro .hero h1 .ch,
html.world-intro .hero .rv,
html.world-intro .hero .share,
html.world-intro .navbar,
html.world-intro .hero .scroll-cue { opacity: 0 !important; transform: translate3d(0, 20px, 0); }
.fx .hero .share { transition: opacity .9s ease; }
.fx .navbar { transition: opacity .9s ease, background-color .3s, box-shadow .3s; }

/* The three steps: words on the left, the coins draw the step on the right. */
.gl .page-home .steps--scroll { display: block; counter-reset: step; }
.fx .steps--scroll li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 112svh;
  max-width: 44%;
  opacity: .22;
  transition: opacity .5s var(--ease);
}
.fx .steps--scroll li.rv { transform: none; }
.fx .steps--scroll li.is-active { opacity: 1; }
.fx .steps--scroll li::before { width: 56px; height: 56px; font-size: 1.3rem; transition: transform .5s var(--ease); }
.fx .steps--scroll li.is-active::before { transform: scale(1.18); }
.fx .steps--scroll h3 { font-size: clamp(1.9rem, 3.8vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 16px; text-shadow: 0 2px 30px rgba(11, 11, 28, .9); }
.fx .steps--scroll p { font-size: 1.1rem; max-width: 44ch; color: rgba(255, 255, 255, .84); text-shadow: 0 1px 18px rgba(11, 11, 28, 1); }
/* Without the world (no WebGL) the steps keep the ordinary three columns. */
.fx:not(.gl) .steps--scroll { display: grid; }
.fx:not(.gl) .steps--scroll li { min-height: 0; max-width: none; opacity: 1; display: block; }

/* Scenes */
.gl .page-home .scene { min-height: 190svh; padding: 0; pointer-events: none; }
.gl .page-home .scene--us { min-height: 235svh; }
.gl .page-home .scene__panel {
  position: sticky;
  top: max(calc(var(--nav-h) + 24px), 20svh);
  width: min(40%, 520px);
  margin: 0 0 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-bottom: 8svh;
  pointer-events: auto;
}
.gl .page-home .scene__title { font-size: clamp(2.4rem, 5.2vw, 5rem); text-shadow: 0 2px 40px rgba(11, 11, 28, .9); }
.gl .page-home .scene__answer { font-size: clamp(1.15rem, 1.9vw, 1.6rem); text-shadow: 0 1px 24px rgba(11, 11, 28, 1); }
.scene--us .scene__title { color: transparent; }
.scene--us .scene__title,
.scene--us .word__in {
  background: linear-gradient(90deg, #35C5F2, #D35BCB 55%, #4FD8BF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The ring of light that follows the pointer. */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 4000;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cursor::before {
  content: "";
  position: absolute;
  left: -16px;
  top: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  opacity: 0;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.cursor--seen::before { opacity: 1; }
.cursor--on::before { transform: scale(1.8); background: rgba(53, 197, 242, .14); border-color: #35C5F2; }

/* The switch in the footer. */
.motion-switch {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 44px;
}
.js .motion-switch { display: inline-block; }
.motion-switch:hover { color: #fff; }

/* Sub-pages: the canvas paints its own sky; the CSS aurora is only the fallback. */
.gl .page-hero .aurora { display: none; }
.gl .page-hero__canvas { display: block; }
.gl .page-hero__viz svg { visibility: hidden; }
@media (min-width: 901px) { .gl .page-hero { min-height: 82svh; display: flex; align-items: center; } .gl .page-hero .wrap { width: 100%; } }

@media (max-width: 900px) {
  /* Shape up top, words at the bottom, on a pane so that they stay readable. */
  .gl .page-home .hero { display: flex; padding-bottom: 72px; }
  .gl .page-home .scene__panel {
    top: 52svh;
    width: auto;
    margin: 0 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(11, 11, 28, .74);
    border: 1px solid var(--line-on-dark);
  }
  .gl .page-home .scene__title { font-size: 1.8rem; }
  .gl .page-home .scene__answer { font-size: 1.02rem; }
  .fx .steps--scroll li {
    max-width: none;
    justify-content: flex-end;
    min-height: 100svh;
    padding-bottom: 8svh;
  }
  .gl .page-home .band--globe .split { justify-items: stretch; }
  .gl .page-home .band--globe .split > div:first-child { min-height: 46svh; }
  .gl .page-home .faq { padding: 4px 16px; }
  .gl .page-home .share__dial { flex-direction: column; text-align: center; }
  .gl .page-home .share__core { flex-direction: column; gap: 4px; text-align: center; }
}
