/* ==========================================================================
   NoKYC Payment Gateway: design system
   Layout: a ruled sheet. A 1200px column framed by hairline rails; sections
   are separated by full-bleed rules with crosshair marks at the rails. The
   hero puts the product first: a coded index window on silk artwork with
   floating cards. One dark inset chapter (the fee calculator) and a dark
   footer give the light page its contrast.
   Type: Inter Tight for display (500, tight tracking), Inter for text.
   Colour: tinted ink, opacity steps for secondary text, one emerald accent.
   ========================================================================== */

:root {
  --page: #fbfbfa;
  --paper: #ffffff;
  --sunk: #f4f6f4;
  --sunk-2: #edf1ee;
  --ink: #0b1210;
  --ink-2: rgba(11, 18, 16, 0.68);
  --ink-3: rgba(11, 18, 16, 0.6);
  --ink-4: rgba(11, 18, 16, 0.46);
  --rule: rgba(11, 18, 16, 0.08);
  --rule-2: rgba(11, 18, 16, 0.13);
  --rule-3: rgba(11, 18, 16, 0.22);
  --accent: #0a7d5e;
  --accent-deep: #075943;
  --accent-bright: #19c393;
  --accent-wash: #e9f6f0;
  --accent-line: rgba(10, 125, 94, 0.28);
  --good: #0e7a49;
  --good-wash: #e5f5eb;
  --warn: #8c5a00;
  --warn-wash: #fcf1d9;
  --bad: #b2342a;
  --bad-wash: #fbe9e6;
  --star: #f2a516;
  --night: #07110e;
  --night-2: #0c1a16;
  --night-3: #12241f;
  --night-ink: #eef4f1;
  --night-ink-2: rgba(238, 244, 241, 0.68);
  --night-ink-3: rgba(238, 244, 241, 0.56);
  --night-rule: rgba(238, 244, 241, 0.1);
  --art-1: #bff3df;
  --art-2: #6fdcc0;
  --art-3: #a6dcff;
  --art-4: #d8cdff;
  --art-5: #fff1c9;
  --shadow-1: 0 1px 2px rgba(16, 40, 32, 0.06);
  --shadow-2: 0 1px 2px rgba(16, 40, 32, 0.05), 0 14px 32px -14px rgba(16, 40, 32, 0.2);
  --shadow-3: 0 2px 6px rgba(16, 40, 32, 0.05), 0 36px 80px -28px rgba(16, 40, 32, 0.32);
  --shadow-float: 0 1px 1px rgba(16, 40, 32, 0.04), 0 12px 24px -8px rgba(16, 40, 32, 0.14), 0 40px 70px -30px rgba(16, 40, 32, 0.3);
  --mono-l: 30%;
  --mono-bg: 13%;

  --display: "Inter Tight", "Inter Tight Fallback", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-h1: clamp(42px, 5.2vw, 74px);
  --fs-h2: clamp(32px, 3.5vw, 50px);
  --fs-h3: 22px;

  --wrap: 1200px;
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.2, 0.75, 0.1, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  /* motion system: entrances ease out, exits ease in at about 0.6x the entrance time */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --d-1: 140ms;
  --d-2: 220ms;
  --d-3: 320ms;
  --d-4: 480ms;
  --sticky-top: calc(var(--nav-top) + 70px);
  --nav-top: calc(env(safe-area-inset-top, 0px) + 14px);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-gutter: stable;
}

html.scroll-lock {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px / 1.6 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: var(--accent-wash);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

img,
svg,
canvas {
  max-width: 100%;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  position: relative;
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s;
}

.skip:focus {
  top: 16px;
}

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

.i {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i-sm {
  width: 16px;
  height: 16px;
}

.i-xs {
  width: 13px;
  height: 13px;
}

.num {
  font-variant-numeric: tabular-nums;
}

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

.note {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
}

.linkish {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  border: 1px solid var(--rule-2);
  background: var(--paper);
  color: var(--ink-3);
  font: 500 12px / 1 var(--sans);
}

/* page rails: the ruled sheet */
.rails {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rails::before,
.rails::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.rails::before {
  left: calc(50% - var(--wrap) / 2 - 1px);
}

.rails::after {
  left: calc(50% + var(--wrap) / 2);
}

main,
.foot {
  position: relative;
  z-index: 1;
}

/* engraved section rule with crosshairs at the rails */
.rule {
  position: relative;
  height: 1px;
  background: var(--rule);
}

.rule i {
  position: absolute;
  top: -5px;
  width: 11px;
  height: 11px;
}

.rule i:first-child {
  left: calc(50% - var(--wrap) / 2 - 6px);
}

.rule i:last-child {
  left: calc(50% + var(--wrap) / 2 - 5px);
}

.rule i::before,
.rule i::after {
  content: "";
  position: absolute;
  background: var(--rule-3);
}

.rule i::before {
  left: 5px;
  top: 0;
  width: 1px;
  height: 11px;
}

.rule i::after {
  top: 5px;
  left: 0;
  width: 11px;
  height: 1px;
}

/* --------------------------------------------------------------------------
   Primitives: buttons, pills, chips, logos, scores, stars
   -------------------------------------------------------------------------- */
.btn {
  --b-bg: var(--paper);
  --b-fg: var(--ink);
  --b-bd: var(--rule-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--b-bd);
  background: var(--b-bg);
  color: var(--b-fg);
  font: 500 15px / 1 var(--sans);
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease);
}

.btn:hover {
  border-color: var(--rule-3);
}

.btn:active {
  transform: scale(0.98);
}

.btn .i {
  transition: transform 0.25s var(--ease);
}

@media (hover: hover) {
  .btn:hover .i-arrow {
    transform: translateX(3px);
  }
}

.btn-dark,
.btn-solid {
  --b-bg: var(--ink);
  --b-fg: #ffffff;
  --b-bd: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(16, 40, 32, 0.2);
}

.btn-dark:hover,
.btn-solid:hover {
  --b-bg: #1b2522;
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px -10px rgba(16, 40, 32, 0.6);
}

.btn-accent {
  --b-bg: var(--accent);
  --b-fg: #ffffff;
  --b-bd: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(7, 89, 67, 0.3);
}

.btn-accent:hover {
  --b-bg: var(--accent-deep);
  border-color: transparent;
}

.btn-ghost {
  --b-bg: transparent;
}

.btn-light {
  --b-bg: #ffffff;
  --b-fg: var(--ink);
  --b-bd: transparent;
}

.btn-sm {
  height: 38px;
  padding: 0 15px;
  font-size: 14px;
}

.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}

.btn[disabled] {
  --b-bg: transparent;
  --b-fg: var(--ink-3);
  --b-bd: var(--rule-3);
  border-style: dashed;
  box-shadow: none;
  cursor: not-allowed;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.icon-btn:hover {
  background: var(--sunk);
  color: var(--ink);
}

.ring-btn {
  width: 44px;
  height: 44px;
  border-color: var(--rule-2);
  background: var(--paper);
}

.ring-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* eyebrow pill: lit glass with an emerald glow */
.pill-eb {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 13px 0 11px;
  margin-bottom: 20px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(180deg, #ffffff, #f1faf6);
  box-shadow: inset 10px 0 22px rgba(25, 195, 147, 0.14), inset 0 1px 0 #fff, 0 1px 2px rgba(16, 40, 32, 0.06);
  color: var(--accent-deep);
  font: 500 13px / 1 var(--sans);
  letter-spacing: 0.01em;
}

.pill-eb::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(25, 195, 147, 0.18);
}

.night .pill-eb {
  border-color: rgba(25, 195, 147, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 12px 0 26px rgba(25, 195, 147, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #b9f2df;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: var(--paper);
  color: var(--ink-2);
  font: 500 13px / 1 var(--sans);
  white-space: nowrap;
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip.ok {
  color: var(--good);
  background: var(--good-wash);
  border-color: transparent;
}

.chip.mid {
  color: var(--warn);
  background: var(--warn-wash);
  border-color: transparent;
}

.chip.no {
  color: var(--bad);
  background: var(--bad-wash);
  border-color: transparent;
}

.chip.acc {
  color: var(--accent);
  background: var(--accent-wash);
  border-color: transparent;
}

.mono {
  --h: 160;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: hsl(var(--h) 52% var(--mono-l));
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 60%),
    color-mix(in oklab, hsl(var(--h) 62% 55%) var(--mono-bg), #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, hsl(var(--h) 50% 40%) 16%, transparent), inset 0 1px 0 #fff;
  font: 600 15px / 1 var(--display);
  letter-spacing: -0.02em;
}

.mono.sm {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 12.5px;
}

.mono.xs {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 10px;
}

.mono.lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 20px;
}

.mono.xl {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  font-size: 25px;
}

/* official logo tile: the image fills the tile, a hairline keeps white tiles defined */
.mono.logo {
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(11, 18, 16, 0.08);
}

.score {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  min-width: 52px;
  padding: 9px 10px;
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
}

.score b {
  font: 600 18px / 1 var(--display);
  letter-spacing: -0.01em;
}

.score small {
  font: 500 12px / 1 var(--sans);
  opacity: 0.7;
}

.score.hi {
  background: var(--accent);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.score.mid {
  background: var(--accent-wash);
  color: var(--accent-deep);
}

.score.lo {
  background: var(--sunk);
  color: var(--ink-2);
}

.score.lg {
  min-width: 92px;
  padding: 14px 14px;
  border-radius: 14px;
}

.score.lg b {
  font-size: 30px;
}

.stars {
  position: relative;
  display: inline-flex;
  flex: none;
  width: max-content;
  justify-self: start;
  line-height: 0;
  vertical-align: middle;
}

.stars .st-base,
.stars .st-fill {
  display: flex;
  gap: 2px;
}

.stars .st-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rating, 0) / 5 * 100%);
  overflow: hidden;
}

.stars svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.stars .st-base svg {
  fill: rgba(11, 18, 16, 0.12);
}

.stars .st-fill svg {
  fill: var(--star);
}

.stars.xs svg {
  width: 13px;
  height: 13px;
}

.stars.xs .st-base,
.stars.xs .st-fill {
  gap: 1px;
}

.stars.lg svg {
  width: 22px;
  height: 22px;
}

.stars.lg .st-base,
.stars.lg .st-fill {
  gap: 3px;
}

.night .stars .st-base svg {
  fill: rgba(255, 255, 255, 0.16);
}

.rate-txt {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--ink-3);
  font-size: 14px;
  white-space: nowrap;
}

.rate-txt b {
  color: var(--ink);
  font-weight: 600;
}

.trend {
  font: 600 12px / 1 var(--sans);
  font-style: normal;
}

.trend.up {
  color: var(--good);
}

.trend.down {
  color: var(--bad);
}

.pick {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font: 600 12px / 1 var(--sans);
  white-space: nowrap;
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule-2);
  background: linear-gradient(160deg, #ffffff, var(--sunk));
  color: var(--ink-2);
  font: 600 13px / 1 var(--sans);
}

.avatar.sm {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.avatar.xs {
  width: 26px;
  height: 26px;
  font-size: 10.5px;
}

.avatar.staff-av {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

.staff {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font: 600 12px / 1 var(--sans);
}

.tag-sample {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px dashed var(--warn);
  color: var(--warn);
  font: 600 11.5px / 1 var(--sans);
}

.sample-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px dashed var(--warn);
  background: var(--warn-wash);
  color: var(--warn);
  font: 600 13px / 1 var(--sans);
}

.sample-badge span {
  color: var(--ink-2);
  font-weight: 400;
}

/* top-lit card rim: crisp at the top, dissolving downward */
.lit {
  position: relative;
  isolation: isolate;
}

.lit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  border: 1px solid var(--rule-2);
  -webkit-mask-image: linear-gradient(#000, rgba(0, 0, 0, 0.25) 70%);
  mask-image: linear-gradient(#000, rgba(0, 0, 0, 0.25) 70%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
  pointer-events: none;
}

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  width: min(1180px, 100%);
  height: 62px;
  padding: 0 9px 0 16px;
  border-radius: 999px;
  isolation: isolate;
  box-shadow: 0 2px 8px rgba(16, 40, 32, 0.05), 0 8px 18px rgba(16, 40, 32, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 1px var(--rule);
  pointer-events: auto;
}

.nav-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  transition: background-color 0.3s;
}

.nav.scrolled .nav-pill::before {
  background: rgba(255, 255, 255, 0.9);
}

.progress {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent), #6c8cff);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  opacity: 0.85;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  padding: 6px 8px 6px 0;
  border-radius: 999px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-mark circle {
  fill: var(--ink);
}

.brand-mark path {
  fill: none;
  stroke: var(--accent-bright);
  stroke-width: 1;
}

.brand-word {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  font: 500 17px / 1 var(--display);
  letter-spacing: -0.02em;
}

.brand-word b {
  font-weight: 650;
}

.brand-word span {
  color: var(--ink-3);
}

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.menu > a,
.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 500 15px / 1 var(--sans);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.menu > a:hover,
.menu-trigger:hover,
.menu-trigger[aria-expanded="true"] {
  background: rgba(11, 18, 16, 0.05);
  color: var(--ink);
}

.menu-trigger .i {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.menu-trigger[aria-expanded="true"] .i {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-3);
  font: 400 15px / 1 var(--sans);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.search-btn:hover {
  border-color: var(--rule-3);
  color: var(--ink);
}

.burger {
  display: none;
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(1180px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 0 0 1px var(--rule), 0 40px 90px -28px rgba(16, 40, 32, 0.35);
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px) scale(0.99);
  transform-origin: 50% 0;
  transition: opacity var(--d-1) var(--ease-in), transform 0.18s var(--ease-in), visibility 0s linear 0.18s;
}

.mega.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition: opacity var(--d-2) var(--ease), transform var(--d-3) var(--ease), visibility 0s;
}

.mega-panel {
  display: none;
}

.mega-panel.on {
  display: grid;
}

.mega-gw {
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.05fr);
  gap: 6px;
}

.mega-col {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: 14px 10px 10px;
  border-radius: 16px;
  background: rgba(11, 18, 16, 0.025);
}

.mega-col h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0 6px;
  color: var(--ink-3);
  font: 500 13px / 1.2 var(--sans);
}

.mega-col h4 .i {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 6px;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.mega-item:hover,
.mega-item:focus-visible {
  background: #ffffff;
  box-shadow: var(--shadow-1);
}

.mega-item .nm {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14.5px;
  font-weight: 500;
}

.mega-item .sc {
  color: var(--ink-2);
  font: 600 14px / 1 var(--display);
  font-variant-numeric: tabular-nums;
}

.mega-all .nm {
  color: var(--accent);
}

.mega-all .i {
  color: var(--accent);
}

.mega-feature {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border-radius: 16px;
  background: var(--night);
  color: var(--night-ink);
  isolation: isolate;
}

.mega-feature::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 260px;
  height: 260px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 195, 147, 0.55), transparent);
}

.mega-feature .lbl {
  color: #9ff0d6;
  font: 500 13px / 1 var(--sans);
}

.mega-feature .nm {
  margin-top: 8px;
  font: 550 22px / 1.15 var(--display);
  letter-spacing: -0.02em;
}

.mega-feature .sc {
  font: 500 44px / 1 var(--display);
  letter-spacing: -0.03em;
}

.mega-feature .sc small {
  margin-left: 2px;
  color: var(--night-ink-3);
  font: 500 15px var(--sans);
}

.mf-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--night-ink-2);
  font-size: 13.5px;
}

.msheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) max(22px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 22px) max(22px, env(safe-area-inset-left, 0px));
  background: var(--page);
  /* scrolls on short and landscape screens while the page behind is locked */
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--d-2) var(--ease-in), visibility 0s linear var(--d-2);
}

.msheet.open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--d-3) var(--ease), visibility 0s;
}

.msheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.msheet nav {
  display: grid;
  margin-top: 28px;
}

.msheet nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font: 500 24px / 1.2 var(--display);
  letter-spacing: -0.02em;
}

.msheet-foot {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.msheet-foot .btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: clip;
  padding-top: calc(var(--nav-top) + 124px);
  padding-bottom: 96px;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(111, 220, 192, 0.18), transparent 70%),
    radial-gradient(700px 420px at 100% 70%, rgba(166, 220, 255, 0.18), transparent 70%),
    var(--page);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-1);
  color: var(--ink-2);
  font: 500 13.5px / 1 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.eyebrow-link:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-2);
}

.eyebrow-link .new {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
}

.eyebrow-link b {
  color: var(--ink);
  font-weight: 600;
}

.eyebrow-link .i {
  color: var(--ink-3);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.display {
  margin: 26px 0 0;
  font: 500 var(--fs-h1) / 1.02 var(--display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.display .muted {
  color: var(--ink-4);
}

.lede {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* quick fee check: a working form in the hero */
.qcalc {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 34px;
  max-width: 560px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 1px var(--rule-2), var(--shadow-2);
}

.qf {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 14px;
  cursor: text;
  transition: background-color 0.2s;
}

.qf + .qf {
  border-left: 1px solid var(--rule);
  border-radius: 0 14px 14px 0;
}

.qf:focus-within {
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.qf > span:first-child {
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
}

.qin {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font: 500 19px / 1.2 var(--display);
}

.qin input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.qcalc .btn {
  height: auto;
  min-height: 52px;
  border-radius: 14px;
  padding: 0 20px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 14px;
}

.hero-proof > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof b {
  color: var(--ink);
  font-weight: 600;
}

.avs {
  display: inline-flex;
}

.avs .mono {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 10px;
  box-shadow: 0 0 0 2px var(--page);
}

.avs .mono + .mono {
  margin-left: -4px;
}

.avs .mono.logo {
  border-radius: 8px;
}

/* product stage */
.stage {
  position: relative;
  min-width: 0;
  height: 600px;
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2) + 12px);
  perspective: 1600px;
}

.stage-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--r-xl) 0 0 var(--r-xl);
  background:
    radial-gradient(60% 70% at 18% 20%, var(--art-1), transparent 70%),
    radial-gradient(55% 60% at 85% 15%, var(--art-4), transparent 72%),
    radial-gradient(60% 70% at 70% 90%, var(--art-3), transparent 72%),
    radial-gradient(45% 50% at 20% 95%, var(--art-5), transparent 70%),
    linear-gradient(135deg, #dff6ec, #e9f1ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.stage-art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 18, 16, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.5;
}

.aw {
  position: absolute;
  top: 92px;
  left: 44px;
  right: 72px;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(11, 18, 16, 0.08), var(--shadow-float);
  transform: rotateY(-4deg) rotateX(2deg);
  transform-origin: 0 50%;
}

.aw-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(#ffffff, #fbfcfb);
}

.aw-dots {
  display: flex;
  gap: 6px;
}

.aw-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(11, 18, 16, 0.1);
}

.aw-title {
  font: 600 14px / 1 var(--display);
  letter-spacing: -0.01em;
}

.aw-tabs {
  display: flex;
  gap: 2px;
  margin-left: 14px;
  padding: 3px;
  border-radius: 999px;
  background: var(--sunk);
}

.aw-tabs span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

.aw-tabs span.on {
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.aw-head,
.aw-row {
  display: grid;
  grid-template-columns: 22px 34px minmax(0, 1fr) 118px 80px 54px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.aw-head {
  height: 34px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  background: #fcfdfc;
}

.aw-row {
  height: 62px;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
  animation: rowIn 0.7s var(--ease) both;
}

.aw-row:last-child {
  border-bottom: 0;
}

.aw-row .rk {
  color: var(--ink-3);
  font: 600 13px / 1 var(--display);
}

.aw-row b {
  display: block;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.aw-row small {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.aw-row .chip {
  height: 22px;
  padding: 0 8px;
  font-size: 11.5px;
}

.aw-row .score {
  min-width: 46px;
  padding: 7px 8px;
}

.aw-row .score b {
  font-size: 15px;
}

.aw-row.lead {
  background: linear-gradient(90deg, rgba(25, 195, 147, 0.08), transparent 70%);
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.fl {
  position: absolute;
  z-index: 3;
  border-radius: 16px;
  /* opaque enough that a backdrop blur would be invisible: none, so nothing re-blurs per frame */
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0 0 1px rgba(11, 18, 16, 0.07), var(--shadow-float);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  50% {
    translate: 0 -8px;
  }
}

.fl-score {
  left: -30px;
  bottom: -34px;
  width: 286px;
  padding: 16px;
  animation-delay: -2s;
}

.fl-save {
  top: -28px;
  right: 10px;
  width: 260px;
  padding: 14px 16px;
  animation-delay: -4s;
}

.fl-review {
  right: 22px;
  bottom: 14px;
  width: 270px;
  padding: 14px 16px;
  animation-delay: -1s;
}

.fl-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fl-top > div > b {
  display: block;
  font: 600 15px / 1.2 var(--display);
}

.fl-top small {
  color: var(--ink-3);
  font-size: 12px;
}

.fl-lbl {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

.fl-big {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  font: 500 30px / 1 var(--display);
  letter-spacing: -0.03em;
}

.fl-big small {
  color: var(--ink-3);
  font: 500 13px var(--sans);
  letter-spacing: 0;
}

.fl-save .fl-big {
  color: var(--accent);
}

.fl-bars {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.fl-bars div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12px;
}

.fl-bars i {
  height: 6px;
  border-radius: 6px;
  background: var(--sunk-2);
  overflow: hidden;
}

.fl-bars i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
}

.fl-bars b {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fl-cmp {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.fl-cmp div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.fl-cmp div b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fl-cmp div.best b {
  color: var(--accent);
}

.fl-review p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}

.fl-review .who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.fl-review .who .chip {
  height: 20px;
  margin-left: auto;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Gateway marquee
   -------------------------------------------------------------------------- */
.logos {
  position: relative;
  padding: 34px 0 40px;
  background: var(--page);
}

.logos-label {
  margin-bottom: 18px;
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}

.logos-label b {
  color: var(--ink);
  font-weight: 600;
}

.marquee {
  overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.mq-track {
  display: flex;
  gap: 12px;
  width: max-content;
  /* one gap of trailing space makes -50% exactly one period: no jump at the loop point */
  padding-inline-end: 12px;
  animation: marquee var(--dur, 60s) linear infinite;
}

@media (hover: hover) {
  .marquee:hover .mq-track {
    animation-play-state: paused;
  }
}

.marquee[data-offscreen] .mq-track,
.is-paused .mq-track,
.overlay-open .mq-track {
  animation-play-state: paused;
}

.mq-track.rev {
  animation-direction: reverse;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.lp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 8px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  font: 500 16px / 1 var(--display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.2s var(--ease);
}

@media (hover: hover) {
  .lp:hover {
    box-shadow: 0 0 0 1px var(--accent-line), var(--shadow-2);
    transform: translateY(-1px);
  }
}

.lp .mono {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
}

.lp .mono.logo {
  border-radius: 10px;
}

.lp small {
  color: var(--ink-3);
  font: 500 13px var(--sans);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.sec {
  position: relative;
  padding-block: 120px;
}

.sec-tint {
  background: linear-gradient(180deg, var(--sunk) 0, var(--page) 100%);
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 48px;
}

.sec-head > div {
  max-width: 760px;
  min-width: 0;
}

.sec-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sec-head.center > div {
  max-width: 820px;
}

.sec h2,
.cta h2,
.night h2 {
  margin: 0;
  font: 500 var(--fs-h2) / 1.06 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.sec h2 .muted,
.cta h2 .muted {
  color: var(--ink-4);
}

.sec-sub {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
}

.sec-foot {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.seg {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: rgba(11, 18, 16, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
}

.seg::-webkit-scrollbar {
  display: none;
}

.seg button {
  position: relative;
  z-index: 1;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 500 14px / 1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}

.seg button:hover {
  color: var(--ink);
}

.seg button.on {
  color: var(--ink);
}

.seg button em {
  margin-left: 4px;
  color: var(--ink-3);
  font-style: normal;
  font-weight: 500;
}

.seg-ind {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 40, 32, 0.1), 0 4px 10px -4px rgba(16, 40, 32, 0.18);
  transition: transform 0.45s var(--spring), width 0.45s var(--spring);
}

/* manifesto + stats */
.manifesto {
  padding-block: 120px 110px;
}

.manifesto-text {
  max-width: 1040px;
  font: 500 clamp(28px, 3.1vw, 44px) / 1.2 var(--display);
  letter-spacing: -0.03em;
  color: var(--ink-4);
  text-wrap: pretty;
}

.manifesto-text strong {
  color: var(--ink);
  font-weight: 500;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 72px 0 0;
  border-top: 1px solid var(--rule);
}

.stats > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 24px 0 0;
  min-width: 0;
}

.stats > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.stats dd {
  order: -1;
  margin: 0;
  font: 500 clamp(44px, 4.6vw, 64px) / 1 var(--display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stats dt {
  color: var(--ink-2);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Rankings: podium + list
   -------------------------------------------------------------------------- */
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pc-cell {
  position: relative;
  display: grid;
  min-width: 0;
}

/* the hover shadow is pre-rendered and faded in, instead of animating a large box-shadow */
.pc-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  transition: box-shadow 0.3s, transform 0.35s var(--ease);
}

@media (hover: hover) {
  .pc-cell:hover .pcard {
    box-shadow: 0 0 0 1px var(--rule-2), var(--shadow-1);
    transform: translateY(-3px);
  }
  .pc-cell:hover::before {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.pc-art {
  --h: 160;
  position: relative;
  height: 168px;
  background:
    radial-gradient(80% 90% at 15% 10%, hsl(var(--h) 75% 88%), transparent 70%),
    radial-gradient(70% 90% at 95% 100%, hsl(calc(var(--h) + 50) 80% 88%), transparent 70%),
    linear-gradient(135deg, hsl(var(--h) 55% 95%), hsl(calc(var(--h) + 30) 60% 93%));
}

.pc-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 18, 16, 0.07) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
}

.pc-rank {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 1;
  font: 500 64px / 0.9 var(--display);
  letter-spacing: -0.05em;
  color: rgba(11, 18, 16, 0.85);
}

.pc-rank small {
  font-size: 26px;
  letter-spacing: -0.02em;
  vertical-align: top;
  margin-right: 1px;
  color: var(--ink-3);
}

.pc-art .mono {
  position: absolute;
  right: 20px;
  bottom: -26px;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 10px 24px -10px rgba(16, 40, 32, 0.35);
}

.pc-art .mono.logo {
  box-shadow: inset 0 0 0 1px rgba(11, 18, 16, 0.08), 0 10px 24px -10px rgba(16, 40, 32, 0.35);
}

.pc-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
}

.pc-badge .pick {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 22px 22px 22px;
}

.pc-body h3 {
  margin: 0;
  padding-right: 80px;
  font: 550 24px / 1.15 var(--display);
  letter-spacing: -0.025em;
}

.pc-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pc-best {
  display: -webkit-box;
  min-height: calc(2 * 1.45em);
  margin-top: 6px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}

.pc-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pc-facts > div {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  min-width: 0;
}

.pc-facts > div + div {
  padding-left: 12px;
  border-left: 1px solid var(--rule);
}

.pc-facts dt {
  color: var(--ink-3);
  font-size: 12.5px;
}

.pc-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.3;
  font-size: 14.5px;
  font-weight: 600;
}

.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.pc-foot .rate {
  display: grid;
  gap: 4px;
}

.ranklist {
  display: grid;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  overflow: hidden;
}

.rrow {
  position: relative;
  display: grid;
  grid-template-columns: 40px 44px minmax(0, 1.8fr) minmax(0, 0.8fr) 170px 60px 20px;
  grid-template-areas: "rank logo who tags rate score go";
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-top: 1px solid var(--rule);
  transition: background-color 0.2s;
}

.rrow:first-child {
  border-top: 0;
}

.rrow:hover {
  background: var(--sunk);
}

.rrow .rank {
  grid-area: rank;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.rrow .rank b {
  color: var(--ink-3);
  font: 600 18px / 1 var(--display);
  font-variant-numeric: tabular-nums;
}

.rrow .mono {
  grid-area: logo;
}

.who {
  grid-area: who;
  min-width: 0;
}

.who h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  font: 550 17px / 1.25 var(--display);
  letter-spacing: -0.015em;
}

.who p {
  margin-top: 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-3);
  font-size: 14px;
}

.stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.rate {
  grid-area: rate;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.rrow .score {
  grid-area: score;
  justify-self: end;
}

.rrow .go {
  grid-area: go;
  color: var(--ink-4);
  transition: transform 0.25s var(--ease), color 0.2s;
}

@media (hover: hover) {
  .rrow:hover .go {
    color: var(--accent);
    transform: translateX(3px);
  }
}

.cmp-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 32px 20px;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule);
  color: var(--ink-3);
  text-align: center;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Bento with coded mini-UIs
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.bt {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  min-height: 440px;
  padding: 28px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  transition: box-shadow 0.3s;
}

@media (hover: hover) {
  .bt:hover {
    box-shadow: 0 0 0 1px var(--rule-2), var(--shadow-2);
  }
}

.bt.w3 {
  grid-column: span 3;
}

.bt.w2 {
  grid-column: span 2;
}

.bt.w4 {
  grid-column: span 4;
}

.bt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bt h3 {
  margin: 0;
  max-width: 30ch;
  font: 500 22px / 1.25 var(--display);
  letter-spacing: -0.02em;
}

.bt h3 .muted {
  color: var(--ink-3);
}

.bt-go {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sunk);
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}

@media (hover: hover) {
  .bt:hover .bt-go {
    background: var(--ink);
    color: #ffffff;
    transform: rotate(-45deg);
  }
}

.bt-vis {
  position: relative;
  flex: 1;
  margin: 28px -28px -28px 0;
  min-height: 250px;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
  mask-image: linear-gradient(180deg, #000 72%, transparent);
}

.bt-vis.tint {
  margin: 28px -28px -28px -28px;
  padding: 28px 0 0 28px;
  background: linear-gradient(180deg, var(--sunk), rgba(244, 246, 244, 0));
}

.mini {
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-2);
  overflow: hidden;
}

.mini-row {
  display: grid;
  grid-template-columns: 20px 34px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
}

.mini-row:first-child {
  border-top: 0;
}

.mini-row .rk {
  color: var(--ink-3);
  font-weight: 600;
}

.mini-row b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}

.mini-row .score {
  min-width: 42px;
  padding: 6px 7px;
}

.mini-row .score b {
  font-size: 13.5px;
}

.mini-bars {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.mini-bars div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}

.mini-bars span:first-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-bars i {
  height: 10px;
  border-radius: 6px;
  background: var(--sunk-2);
  overflow: hidden;
}

.mini-bars i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: var(--rule-3);
}

.mini-bars .best i::before {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
}

.mini-bars .best,
.mini-bars .best b {
  color: var(--accent);
}

.mini-bars b {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mini-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 0;
}

.mini-head b {
  font: 500 26px / 1 var(--display);
  letter-spacing: -0.03em;
}

.mini-head small {
  color: var(--ink-3);
  font-size: 12.5px;
}

.mini-dist {
  display: grid;
  gap: 6px;
  padding: 12px 16px 16px;
}

.mini-dist div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 12.5px;
}

.mini-dist i {
  height: 7px;
  border-radius: 7px;
  background: var(--sunk-2);
  overflow: hidden;
}

.mini-dist i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--v);
  background: var(--star);
  border-radius: inherit;
}

.toasts {
  display: grid;
  gap: 10px;
  padding-right: 28px;
}

.toast-c {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--rule), 0 8px 20px -10px rgba(16, 40, 32, 0.22);
  font-size: 13px;
}

.toast-c:nth-child(2) {
  margin-left: 16px;
  opacity: 0.92;
}

.toast-c:nth-child(3) {
  margin-left: 32px;
  opacity: 0.8;
}

.toast-c b {
  display: block;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.toast-c small {
  color: var(--ink-3);
  font-size: 12px;
}

.kyc-stack {
  display: grid;
  gap: 10px;
  padding-right: 28px;
}

.kyc-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--rule);
}

.kyc-line .avs .mono {
  box-shadow: 0 0 0 2px #ffffff;
}

.cmp-mini {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 13px;
}

.cmp-mini > div {
  padding: 10px 12px;
  border-top: 1px solid var(--rule);
}

.cmp-mini > div:nth-child(-n + 3) {
  border-top: 0;
  font-weight: 600;
}

.cmp-mini .lbl {
  color: var(--ink-3);
}

.cmp-mini .win {
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Reviews wall
   -------------------------------------------------------------------------- */
.rev-sum {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.rev-sum .big {
  font: 500 56px / 1 var(--display);
  letter-spacing: -0.04em;
}

.rev-sum .stars {
  margin-bottom: 6px;
}

.rev-sum small {
  display: block;
  color: var(--ink-3);
  font-size: 14px;
}

.rmq {
  display: grid;
  gap: 14px;
}

.rmq .marquee {
  padding-block: 4px 10px;
}

.rmq .mq-track {
  gap: 14px;
  padding-inline-end: 14px;
  align-items: stretch;
}

.rmq .review {
  width: 380px;
  flex: none;
}

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  transition: box-shadow 0.25s;
}

@media (hover: hover) {
  .rmq .review:hover {
    box-shadow: 0 0 0 1px var(--rule-2), var(--shadow-2);
  }
}

.rprov {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 3px 12px 3px 3px;
  border-radius: 999px;
  background: var(--sunk);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.rprov span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rprov .i {
  color: var(--ink-3);
}

.rprov:hover {
  background: var(--accent-wash);
}

.rv-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.review h4 {
  margin: 0;
  font: 550 17px / 1.35 var(--display);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.rv-body {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.review.clamp .rv-body {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review.clamp.expanded .rv-body {
  display: block;
  -webkit-line-clamp: unset;
}

.review .more {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: 500 14px / 1 var(--sans);
  cursor: pointer;
}

.rv-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.who2 {
  display: grid;
  flex: 1;
  min-width: 0;
}

.who2 b {
  font-size: 14px;
  font-weight: 600;
}

.who2 small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-3);
  font-size: 13px;
}

.rv-helpful {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 14px;
}

.rv-reply {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  background: var(--sunk);
}

.rv-reply b {
  font-size: 14px;
  font-weight: 600;
}

.rv-reply time {
  margin-left: 8px;
  color: var(--ink-3);
  font-size: 13px;
}

.rv-reply p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Night chapter: fee calculator
   -------------------------------------------------------------------------- */
.night {
  position: relative;
  padding: 0 12px;
}

.night-panel {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding-block: 120px;
  border-radius: 32px;
  background: var(--night);
  color: var(--night-ink);
}

.night-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 420px at 12% 0%, rgba(25, 195, 147, 0.26), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(80, 120, 255, 0.2), transparent 70%);
}

.night-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--night-rule) 1px, transparent 1px), linear-gradient(90deg, var(--night-rule) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 0%, #000, transparent 80%);
  opacity: 0.55;
}

.night h2 {
  color: var(--night-ink);
}

.night h2 .muted {
  color: var(--night-ink-3);
}

.night .sec-sub {
  color: var(--night-ink-2);
}

.calc {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.glass {
  position: relative;
  min-width: 0;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-mask-image: linear-gradient(#000, transparent 70%);
  mask-image: linear-gradient(#000, transparent 70%);
  pointer-events: none;
}

.calc-in {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 28px;
}

.field-lbl {
  margin-bottom: 4px;
  color: var(--night-ink-2);
  font-size: 15px;
  font-weight: 500;
}

.field-val {
  display: block;
  margin-bottom: 12px;
  font: 500 40px / 1.1 var(--display);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.calc-how summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  color: #9ff0d6;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.calc-how summary::-webkit-details-marker {
  display: none;
}

.calc-how summary .i {
  transition: transform 0.25s var(--ease);
}

.calc-how[open] summary .i {
  transform: rotate(180deg);
}

.calc-how .note {
  margin-top: 10px;
  color: var(--night-ink-3);
}

.verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 28px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--night-rule);
}

.verdict .lbl {
  display: block;
  color: var(--night-ink-3);
  font-size: 15px;
}

.verdict h3 {
  margin: 8px 0 0;
  font: 500 30px / 1.2 var(--display);
  letter-spacing: -0.03em;
}

.verdict h3 b {
  font-weight: 500;
  color: #7ff0c9;
}

.save {
  display: grid;
  justify-items: end;
  gap: 6px;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(25, 195, 147, 0.22), rgba(25, 195, 147, 0.06));
  box-shadow: inset 0 0 0 1px rgba(25, 195, 147, 0.32), inset 0 0 40px rgba(25, 195, 147, 0.18);
}

.save .lbl {
  color: var(--night-ink-2);
  font-size: 14px;
}

.save .amt {
  /* digits are tabular and the box has room, so the figure counting up never reflows the verdict */
  min-width: 6.5ch;
  text-align: right;
  font: 500 40px / 1 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  background: linear-gradient(90deg, #ffffff, #9ff0d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.save .cap {
  color: var(--night-ink-2);
  font-size: 14px;
}

.cbars {
  display: grid;
  gap: 2px;
}

.cbar {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 100px;
  align-items: center;
  gap: 16px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--night-ink);
  transition: background-color 0.15s;
}

.cbar:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cbar .nm {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 500;
}

.cbar .nm-t {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cbar .nm em {
  flex: none;
  color: var(--night-ink-3);
  font-size: 12.5px;
  font-style: normal;
}

.cbar .trk {
  position: relative;
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.cbar .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.32);
  /* slides inside the clipped track (compositor only); always at least 4px showing */
  transform: translateX(max(calc(var(--w, 0%) - 100%), calc(4px - 100%)));
  transition: transform 0.45s var(--ease);
}

.cbar.best .fill {
  background: linear-gradient(90deg, #19c393, #7ff0c9);
  box-shadow: 0 0 18px rgba(25, 195, 147, 0.6);
}

.cbar.base .fill {
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.35) 0 6px, rgba(255, 255, 255, 0.14) 6px 12px);
}

.cbar .v {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cbar.best .v,
.cbar.best .nm {
  color: #7ff0c9;
}

.rng {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --p: 50%;
  --trk: var(--rule-2);
  --fillc: var(--accent);
  --thumb-bg: #ffffff;
}

.night .rng {
  --trk: rgba(255, 255, 255, 0.14);
  --fillc: #19c393;
}

.rng::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--fillc) var(--p), var(--trk) var(--p));
}

.rng::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  border: 0;
  background: var(--thumb-bg);
  box-shadow: 0 0 0 4px rgba(25, 195, 147, 0.25), 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s var(--ease);
}

.rng:active::-webkit-slider-thumb {
  transform: scale(1.12);
}

.rng::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: var(--trk);
}

.rng::-moz-range-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--fillc);
}

.rng::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  background: var(--thumb-bg);
  box-shadow: 0 0 0 4px rgba(25, 195, 147, 0.25);
}

.fchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: var(--paper);
  color: var(--ink-2);
  font: 500 14px / 1 var(--sans);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.fchip:hover {
  border-color: var(--rule-3);
  color: var(--ink);
}

.fchip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.fchip.clear {
  border-style: dashed;
  color: var(--ink-3);
}

.night .fchip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--night-ink-2);
}

.night .fchip:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.night .fchip[aria-pressed="true"] {
  border-color: transparent;
  background: #ffffff;
  color: var(--night);
}

/* --------------------------------------------------------------------------
   All gateways table
   -------------------------------------------------------------------------- */
.table-card {
  min-width: 0;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  /* clip (not hidden) so the column header can stick to the viewport */
  overflow: clip;
}

.table-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
}

.tfilter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 240px;
  max-width: 380px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--sunk);
  color: var(--ink-3);
  transition: box-shadow 0.2s, background-color 0.2s;
}

.tfilter:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--accent-line), 0 0 0 4px var(--accent-wash);
}

.tfilter input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px var(--sans);
}

#tunerToggle[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 18px;
  border-bottom: 1px solid var(--rule);
}

.tuner {
  padding: 24px 20px;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--sunk), #ffffff);
}

.tuner-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
}

.tuner h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  font: 550 16px / 1.3 var(--display);
}

.tuner h3 .linkish {
  font-size: 14px;
}

.presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.preset {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--rule-2);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.preset b {
  font-size: 14px;
  font-weight: 600;
}

.preset span {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.35;
}

.preset:hover {
  border-color: var(--rule-3);
}

.preset[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.weights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.wt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
}

.wt label {
  font-size: 14px;
  font-weight: 500;
}

.wt output {
  color: var(--ink-3);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.wt input {
  grid-column: 1 / -1;
}

.wt .rng::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px var(--rule-2), 0 2px 6px rgba(16, 40, 32, 0.2);
}

.trow {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 2fr) 150px 112px 96px 140px 84px 40px;
  grid-template-areas: "rank name kyc fee payout rate score cmp";
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  font-size: 15px;
  transition: background-color 0.15s;
}

.trow:hover {
  background: var(--sunk);
}

.thead {
  border-top: 0;
  padding-block: 12px;
  background: var(--sunk);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
}

.thead:hover {
  background: var(--sunk);
}

/* the column header follows the reader down the 25-row index */
@media (min-width: 961px) {
  .thead {
    position: sticky;
    top: var(--sticky-top);
    z-index: 4;
    box-shadow: 0 1px 0 var(--rule);
  }
}

.thead .t-pay,
.thead .t-rank {
  color: inherit;
  font: inherit;
}

.thead button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.thead button:hover,
.thead button[data-dir] {
  color: var(--ink);
}

.thead .i {
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: transform 0.2s, opacity 0.2s;
}

.thead button:hover .i,
.thead button[data-dir] .i {
  opacity: 1;
}

.thead button[data-dir="asc"] .i {
  transform: rotate(180deg);
}

.t-rank {
  grid-area: rank;
  color: var(--ink-3);
  font: 600 15px / 1 var(--display);
  font-variant-numeric: tabular-nums;
}

.t-name {
  grid-area: name;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.t-name > div {
  min-width: 0;
}

.t-name a {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}

.t-name small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-3);
  font-size: 13px;
}

.t-kyc {
  grid-area: kyc;
}

.t-fee {
  grid-area: fee;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.t-pay {
  grid-area: payout;
  color: var(--ink-2);
}

.t-rate {
  grid-area: rate;
  display: grid;
  gap: 3px;
}

.t-rate small {
  color: var(--ink-3);
  font-size: 13px;
}

.t-rate small b {
  color: var(--ink);
  font-weight: 600;
}

.t-score {
  grid-area: score;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.t-score b {
  font: 600 19px / 1 var(--display);
  font-variant-numeric: tabular-nums;
}

.delta {
  font: 600 12px / 1 var(--sans);
  font-style: normal;
}

.delta.up {
  color: var(--good);
}

.delta.down {
  color: var(--bad);
}

.cmp-btn {
  grid-area: cmp;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--rule-2);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.cmp-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cmp-btn[aria-pressed="true"] {
  border-color: transparent;
  background: var(--ink);
  color: #ffffff;
}

.empty-row {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 44px 16px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  text-align: center;
}

.table-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--rule);
  background: var(--sunk);
}

.tcount {
  color: var(--ink-3);
  font-size: 14px;
}

.tcount b {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Compare
   -------------------------------------------------------------------------- */
.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.slot {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 132px;
  padding: 20px;
  border-radius: 22px;
  border: 1.5px dashed var(--rule-3);
  background: transparent;
  color: var(--ink-3);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.slot:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-wash);
}

.slot .plus {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--rule-2), var(--shadow-1);
}

.slot.filled {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 56px;
  border: 0;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  color: var(--ink);
  text-align: left;
  cursor: default;
}

.slot.filled .meta {
  flex: 1;
  min-width: 0;
}

.slot.filled b {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 550 18px / 1.2 var(--display);
}

.slot.filled small {
  color: var(--ink-3);
  font-size: 14px;
}

.slot .rm {
  position: absolute;
  top: 10px;
  right: 10px;
}

.cmp-wrap {
  margin-top: 16px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  overflow-x: auto;
}

.cmp-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.cmp-table th,
.cmp-table td {
  padding: 13px 20px;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
  font-size: 15px;
}

.cmp-table thead th {
  border-top: 0;
  padding-block: 18px;
  font-weight: 600;
}

.cmp-table thead .hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: 17px;
}

.cmp-table tbody th {
  width: 230px;
  color: var(--ink-3);
  font-weight: 500;
}

.cmp-table .grp th {
  padding-top: 26px;
  border-top: 0;
  color: var(--ink);
  font: 550 16px var(--display);
}

.cmp-table td.win {
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-weight: 600;
}

.cmp-table .scorecell {
  font: 600 24px var(--display);
}

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */
.panel {
  min-width: 0;
  padding: 24px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
}

.comm {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.channels {
  position: sticky;
  top: var(--sticky-top);
  display: grid;
  gap: 2px;
  padding: 10px;
}

.channel {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.channel:hover {
  background: var(--sunk);
}

.channel[aria-pressed="true"] {
  background: var(--ink);
}

.channel b {
  font-size: 15px;
  font-weight: 600;
}

.channel b em {
  margin-left: 4px;
  color: var(--ink-3);
  font-style: normal;
  font-weight: 400;
}

.channel span {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.45;
}

.channel[aria-pressed="true"] b,
.channel[aria-pressed="true"] b em {
  color: rgba(255, 255, 255, 0.92);
}

.channel[aria-pressed="true"] span {
  color: rgba(255, 255, 255, 0.6);
}

.threads {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.thread-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 4px;
}

.threads > .thread-tools,
.cfeed > .thread-tools {
  margin-top: 0;
}

.thread-tools > .seg {
  min-width: 0;
  max-width: 100%;
}

.thread-tools .seg button {
  height: 34px;
  padding: 0 13px;
  font-size: 14px;
}

.trd {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  transition: box-shadow 0.25s;
}

.trd:hover,
.trd.open {
  box-shadow: 0 0 0 1px var(--rule-2), var(--shadow-2);
}

.trd.pinned {
  box-shadow: 0 0 0 1px var(--accent-line), var(--shadow-1);
}

.trd-main {
  min-width: 0;
}

.trd-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font: 550 18px / 1.35 var(--display);
  letter-spacing: -0.015em;
  text-wrap: pretty;
  cursor: pointer;
}

.trd-title:hover span {
  color: var(--accent);
}

.trd-title .i {
  margin-top: 4px;
  color: var(--accent);
}

.trd-ex {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.trd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 14px;
}

.trd-meta b {
  color: var(--ink);
  font-weight: 600;
}

.trd-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 10px 12px;
  color: var(--ink-3);
  font-size: 13px;
  text-align: right;
}

.trd-stats > span {
  display: grid;
  gap: 3px;
}

.trd-stats b {
  color: var(--ink);
  font: 500 24px / 1 var(--display);
  letter-spacing: -0.02em;
}

.trd-stats .last {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.trd-posts {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule-2);
}

.post {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 14px;
}

.post-meta b {
  color: var(--ink);
}

.post p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.likes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 13px;
}

.composer {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1.5px dashed var(--rule-2);
  background: rgba(255, 255, 255, 0.6);
}

.composer textarea {
  display: block;
  width: 100%;
  min-height: 70px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink-3);
  font: 400 15px / 1.5 var(--sans);
}

.composer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.locked {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 14px;
}

.locked .i {
  color: var(--accent);
}

.ctiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 16px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
  overflow: hidden;
}

.ctile {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 24px 26px;
}

.ctile + .ctile {
  border-left: 1px solid var(--rule);
}

.ctile .num {
  font: 500 40px / 1.05 var(--display);
  letter-spacing: -0.035em;
}

.ctile small {
  color: var(--ink-3);
  font-size: 15px;
}

.ctiles.sm {
  margin: 6px 0 0;
  border-radius: 18px;
}

.ctiles.sm .ctile {
  padding: 16px;
}

.ctiles.sm .num {
  font-size: 26px;
}

.ctiles.sm small {
  font-size: 13.5px;
}

.desk {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: 16px;
  align-items: start;
}

.mini-h {
  margin: 0 0 12px;
  font: 550 18px / 1.3 var(--display);
  letter-spacing: -0.015em;
}

.rb-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 50px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 12px;
  padding: 11px 8px;
  border-top: 1px solid var(--rule);
  border-radius: 10px;
  font-size: 15px;
  transition: background-color 0.15s;
}

a.rb-row:hover {
  background: var(--sunk);
}

.rb-head {
  padding-block: 4px 10px;
  border-top: 0;
  color: var(--ink-3);
  font-size: 13px;
}

.rb-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
}

.rb-name > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rb-rate {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rb-bar {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: var(--sunk-2);
  overflow: hidden;
}

.rb-bar i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: var(--good);
}

.process {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 18px;
  counter-increment: step;
}

.process li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font: 600 13px / 1 var(--display);
}

.process li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 4px;
  width: 1px;
  background: var(--rule-2);
}

.process li:last-child::after {
  display: none;
}

.process b {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
}

.process p {
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}

.cfeed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.ccard {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-1);
}

.c-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.c-head time {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 14px;
}

.ccard h4 {
  margin: 0;
  font: 550 18px / 1.35 var(--display);
  letter-spacing: -0.015em;
}

.c-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--ink-3);
  font-size: 14px;
}

.c-sum {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.ctl {
  display: flex;
  flex-wrap: wrap;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.ctl li {
  position: relative;
  display: grid;
  gap: 2px;
  flex: 1 1 120px;
  padding: 18px 12px 0 0;
  font-size: 13px;
}

.ctl li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.ctl li::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 18px;
  right: 6px;
  height: 1px;
  background: var(--rule-2);
}

.ctl li:last-child::after {
  display: none;
}

.ctl b {
  color: var(--ink-2);
  font-weight: 500;
}

.ctl time {
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   How we score: accordion + live panel
   -------------------------------------------------------------------------- */
.method {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.macc {
  display: grid;
  border-top: 1px solid var(--rule);
}

.macc-item {
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.macc-item button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.macc-item .ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sunk);
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}

.macc-item .t {
  font: 550 19px / 1.3 var(--display);
  letter-spacing: -0.015em;
  color: var(--ink-3);
  transition: color 0.25s;
}

.macc-item .w {
  color: var(--ink-3);
  font: 600 15px / 1 var(--display);
  font-variant-numeric: tabular-nums;
}

/* the description opens by animating its row from 0fr to 1fr: no jump, no reflow of the page */
.macc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease);
}

.macc-item.on .macc-body {
  grid-template-rows: 1fr;
}

.macc-item p {
  min-height: 0;
  overflow: hidden;
  /* no vertical padding on the collapsing item itself, or the closed rows keep a 20px gap */
  padding: 0 0 0 50px;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.macc-item.on .t,
.macc-item.on .w {
  color: var(--ink);
}

.macc-item.on .ic {
  background: var(--ink);
  color: #ffffff;
}

.macc-item p::after {
  content: "";
  display: block;
  height: 20px;
}

.macc-item p {
  opacity: 0;
  transition: opacity var(--d-2) var(--ease-in);
}

.macc-item.on p {
  opacity: 1;
  transition: opacity var(--d-3) var(--ease) 0.08s;
}

@keyframes accIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.macc-item .timer {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  /* the bar grows with transform (compositor only) and is the accordion's only clock */
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.macc-item.on .timer {
  animation: timer var(--acc-t, 6.5s) linear forwards;
}

.macc.paused .macc-item.on .timer {
  animation-play-state: paused;
}

@keyframes timer {
  to {
    transform: scaleX(1);
  }
}

.mpanel {
  position: sticky;
  top: 110px;
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(70% 80% at 0% 0%, rgba(111, 220, 192, 0.3), transparent 70%),
    radial-gradient(70% 80% at 100% 100%, rgba(166, 220, 255, 0.35), transparent 70%),
    linear-gradient(135deg, #f1faf6, #f2f6ff);
  box-shadow: 0 0 0 1px var(--rule);
}

.mp-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.mp-top .lbl {
  color: var(--ink-3);
  font-size: 14px;
}

.mp-top h3 {
  margin: 4px 0 0;
  font: 500 30px / 1.1 var(--display);
  letter-spacing: -0.03em;
}

.mp-w {
  font: 500 64px / 0.9 var(--display);
  letter-spacing: -0.05em;
}

.mp-w small {
  font-size: 26px;
  color: var(--ink-3);
}

.mp-card {
  margin-top: 22px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-2);
  overflow: hidden;
}

.mp-card .cap {
  padding: 14px 18px 0;
  color: var(--ink-3);
  font-size: 13.5px;
}

.mp-list {
  display: grid;
  padding: 8px 10px 12px;
}

.mp-list a {
  display: grid;
  grid-template-columns: 22px 34px minmax(0, 1fr) minmax(0, 1.1fr) 36px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  font-size: 14px;
  transition: background-color 0.15s;
}

.mp-list a:hover {
  background: var(--sunk);
}

.mp-list .rk {
  color: var(--ink-3);
  font-weight: 600;
}

.mp-list b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}

.mp-list i {
  height: 8px;
  border-radius: 8px;
  background: var(--sunk-2);
  overflow: hidden;
}

.mp-list i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  transition: width 0.7s var(--ease);
}

.mp-list .v {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pledges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--rule);
}

.pledge {
  display: grid;
  /* a fixed track, so the long contact address truncates instead of widening the page */
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 28px 28px 0 0;
}

.pledge + .pledge {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}

.pledge .ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent);
}

.pledge h3 {
  margin: 4px 0 0;
  font: 550 19px / 1.3 var(--display);
  letter-spacing: -0.015em;
}

.pledge p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.copyline {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 4px;
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: var(--paper);
}

.copyline span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
  user-select: all;
  -webkit-user-select: all;
}

/* --------------------------------------------------------------------------
   FAQ, closing CTA, footer
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font: 550 19px / 1.4 var(--display);
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent);
}

.faq .pm {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sunk);
  transition: background-color 0.2s;
}

.faq .pm::before,
.faq .pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}

.faq .pm::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] .pm {
  background: var(--ink);
}

.faq details[open] .pm::before,
.faq details[open] .pm::after {
  background: #ffffff;
}

.faq details[open] .pm::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq .ans {
  max-width: 64ch;
  padding: 0 52px 24px 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}

.cta {
  padding: 40px 12px 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px var(--gutter);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 15% 10%, var(--art-1), transparent 70%),
    radial-gradient(55% 70% at 90% 15%, var(--art-4), transparent 72%),
    radial-gradient(60% 80% at 60% 100%, var(--art-3), transparent 72%),
    linear-gradient(135deg, #e3f7ee, #ecf2ff);
}

.cta-panel canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.cta-panel h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.cta-panel p {
  max-width: 52ch;
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: 18px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.foot {
  margin: 12px;
  padding: 72px 0 0;
  border-radius: 32px;
  background: var(--night);
  color: var(--night-ink);
  overflow: hidden;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.foot .brand-mark circle {
  fill: #ffffff;
}

.foot .brand-mark path {
  stroke: var(--accent);
}

.foot .brand-word span {
  color: var(--night-ink-3);
}

.foot-brand p {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--night-ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.foot h4 {
  margin: 6px 0 16px;
  color: var(--night-ink-3);
  font: 500 14px / 1.3 var(--sans);
}

.foot ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot ul a {
  color: var(--night-ink);
  font-size: 15px;
  transition: color 0.2s;
}

.foot ul a:hover {
  color: #7ff0c9;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 56px;
  padding-block: 24px calc(env(safe-area-inset-bottom, 0px) + 26px);
  border-top: 1px solid var(--night-rule);
  color: var(--night-ink-3);
  font-size: 13.5px;
  line-height: 1.6;
}

.foot-legal p {
  max-width: 82ch;
}

.foot-word {
  margin: 8px 0 -0.18em;
  text-align: center;
  font: 600 clamp(80px, 17vw, 250px) / 0.9 var(--display);
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(238, 244, 241, 0.14), rgba(238, 244, 241, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Compare tray, provider sheet, palette, toast
   -------------------------------------------------------------------------- */
.tray {
  visibility: hidden;
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  background: rgba(11, 18, 16, 0.96);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  transform: translate(-50%, 160%);
  transition: transform 0.5s var(--spring), visibility 0s linear 0.5s;
}

.tray.show {
  visibility: visible;
  transform: translate(-50%, 0);
  transition: transform 0.5s var(--spring), visibility 0s;
}

.tray .icon-btn {
  color: rgba(255, 255, 255, 0.75);
}

.tray .icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tray-stack {
  display: flex;
}

.tray-stack .mono {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink);
  font-size: 11px;
}

.tray-stack .mono + .mono {
  margin-left: -4px;
}

.tray-stack .mono.logo {
  border-radius: 9px;
}

.tray-txt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  white-space: nowrap;
}

.sheet,
.palette {
  position: fixed;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.sheet {
  z-index: 80;
  transition: visibility 0s linear 0.3s;
}

.sheet.open,
.palette.open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

.scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 16, 0.32);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--d-2) var(--ease-in);
}

.sheet.open .scrim,
.palette.open .scrim {
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}

.sheet-panel {
  position: absolute;
  top: 12px;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: 12px;
  display: flex;
  flex-direction: column;
  width: min(780px, calc(100% - 24px));
  border-radius: 28px;
  background: var(--page);
  box-shadow: 0 0 0 1px var(--rule), 0 40px 90px -30px rgba(16, 40, 32, 0.5);
  overflow: hidden;
  transform: translateX(calc(100% + 30px));
  transition: transform 0.3s var(--ease-in);
}

.sheet.open .sheet-panel {
  transform: none;
  transition: transform var(--d-4) var(--ease);
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 10px 24px;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.8);
}

.sheet-head .crumbs {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-3);
  font-size: 14px;
}

.sheet-body {
  --pad: 30px;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--pad) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 40px);
}

.pv-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.pv-hero h2 {
  margin: 0;
  font: 500 34px / 1.1 var(--display);
  letter-spacing: -0.035em;
}

.pv-hero p {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 14px;
}

.pv-rate,
.pv-tags,
.pv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.status {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--warn-wash);
  font-size: 15px;
  line-height: 1.5;
}

.status .i {
  margin-top: 2px;
  color: var(--warn);
}

.status.info {
  background: var(--accent-wash);
}

.status.info .i {
  color: var(--accent);
}

.pv-tabs {
  position: sticky;
  top: calc(var(--pad) * -1);
  z-index: 5;
  margin: 22px calc(var(--pad) * -1) 0;
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--rule);
  background: rgba(251, 251, 250, 0.97);
}

.pv-sec {
  margin-top: 28px;
}

#pvPane {
  padding-top: 22px;
}

#pvPane > :first-child {
  margin-top: 0;
}

.pv-sec > h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  font: 550 18px / 1.3 var(--display);
  letter-spacing: -0.015em;
}

.pv-sec > h3 span {
  color: var(--ink-3);
  font: 400 14px var(--sans);
}

.pv-summary {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.breakdown,
.factgrid,
.pc > div,
.rsum,
.flag {
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--rule);
}

.breakdown {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
}

.bd {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

.bd .lb small {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
}

.bd .trk {
  height: 8px;
  border-radius: 8px;
  background: var(--sunk-2);
  overflow: hidden;
}

.bd .trk i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
}

.bd .vl {
  text-align: right;
  font: 600 16px var(--display);
  font-variant-numeric: tabular-nums;
}

.factgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 4px 20px;
  border-radius: 20px;
}

.factgrid > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}

.factgrid > div:nth-child(odd) {
  padding-right: 18px;
}

.factgrid > div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--rule);
}

.factgrid > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.factgrid dt {
  color: var(--ink-3);
  font-size: 14px;
}

.factgrid dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.factgrid dd small {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 400;
}

.pc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pc > div {
  padding: 20px;
  border-radius: 20px;
}

.pc h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font: 550 16px var(--display);
}

.pc ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.pc .pro .i {
  color: var(--good);
}

.pc .con .i {
  color: var(--bad);
}

.flags {
  display: grid;
  gap: 8px;
}

.flag {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
}

.flag-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--warn-wash);
  color: var(--warn);
}

.flag p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.flag a {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.flag a .i {
  margin-left: 4px;
  vertical-align: -2px;
  width: 13px;
  height: 13px;
}

.intg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.srcs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.srcs a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  overflow-wrap: anywhere;
}

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

.srcs .i {
  width: 14px;
  height: 14px;
}

.srcs .cite {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.srcs .cite .i {
  margin-top: 3px;
  color: var(--ink-3);
}

.pv-foot {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 14px;
}

.rsum {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 22px;
  border-radius: 20px;
}

.rsum-big {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.rsum-big .num {
  font: 500 56px / 1 var(--display);
  letter-spacing: -0.04em;
}

.rsum-big small {
  color: var(--ink-3);
  font-size: 14px;
}

.rdist {
  display: grid;
  gap: 2px;
}

.rd {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font: 500 14px / 1 var(--sans);
  cursor: pointer;
  transition: background-color 0.15s;
}

.rd:hover,
.rd.on {
  background: var(--sunk);
}

.rd > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rd .i {
  fill: var(--star);
  stroke: none;
}

.rd-trk {
  height: 8px;
  border-radius: 8px;
  background: var(--sunk-2);
  overflow: hidden;
}

.rd-trk i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: var(--star);
}

.rd .num {
  text-align: right;
}

.rlist {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.filter-note {
  margin-top: 12px;
}

.cmts {
  display: grid;
  margin-top: 14px;
}

.cmt {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.cmt.child {
  grid-template-columns: 28px minmax(0, 1fr);
  margin-top: 12px;
  padding: 0 0 0 14px;
  border-top: 0;
  border-left: 2px solid var(--rule);
}

.cmt.child .avatar.sm {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.cmt-main {
  min-width: 0;
}

.cmt-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 14px;
}

.cmt-meta b {
  color: var(--ink);
  font-size: 15px;
}

.cmt-main > p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.cmt-act {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 13px;
}

.cmt-act span,
.cmt-act .likes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 32px 12px 28px;
  border-radius: 20px;
  border: 1.5px dashed var(--rule-2);
  text-align: center;
}

.empty .ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
}

.empty b {
  font: 550 18px var(--display);
}

.empty p {
  max-width: 44ch;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}

.palette {
  z-index: 90;
  display: grid;
  place-items: start center;
  padding: max(12vh, 60px) 16px 16px;
  transition: visibility 0s linear 0.18s;
}

.pal-box {
  position: relative;
  width: min(640px, 100%);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 0 0 1px var(--rule), 0 40px 90px -28px rgba(16, 40, 32, 0.45);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity var(--d-1) var(--ease-in), transform 0.16s var(--ease-in);
}

.palette.open .pal-box {
  opacity: 1;
  transform: none;
  transition: opacity var(--d-2) var(--ease), transform var(--d-3) var(--ease);
}

.pal-in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 18px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
}

.pal-in input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 400 17px var(--sans);
}

.pal-list {
  max-height: min(440px, 58vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
}

.pal-group {
  padding: 12px 10px 6px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
}

.pal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.pal-item[aria-selected="true"] {
  background: var(--accent-wash);
  box-shadow: inset 0 0 0 1.5px var(--accent-line);
}

.pal-item .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent);
}

.pal-item .tx {
  flex: 1;
  min-width: 0;
}

.pal-item .tx b {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 600;
}

.pal-item .tx small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-3);
  font-size: 13px;
}

.pal-item .sc {
  font: 600 15px var(--display);
  font-variant-numeric: tabular-nums;
}

.pal-item .ret {
  display: none;
}

.pal-item[aria-selected="true"] .ret {
  display: inline-grid;
}

.pal-empty {
  padding: 30px 10px;
  color: var(--ink-3);
  text-align: center;
}

.pal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 13px;
}

.pal-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 88px);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* a fixed box at left:50% would otherwise wrap at half the screen width */
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 22px;
  text-align: center;
  text-wrap: balance;
  background: var(--ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--spring);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .rails {
    display: none;
  }
  .rule i {
    display: none;
  }
}

@media (max-width: 1180px) {
  .rrow {
    grid-template-columns: 34px 44px minmax(0, 1.4fr) minmax(0, 1fr) 150px 58px 18px;
    gap: 14px;
  }
  .trow {
    grid-template-columns: 34px minmax(0, 2fr) 140px 100px 88px 130px 72px 40px;
  }
  .fl-review {
    display: none;
  }
}

@media (max-width: 1080px) {
  .menu > a:nth-of-type(n + 3) {
    display: none;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .stage {
    height: 592px;
    margin-right: 0;
  }
  .stage-art {
    border-radius: var(--r-xl);
  }
  .fl-score {
    left: 14px;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bt.w2,
  .bt.w3,
  .bt.w4 {
    grid-column: span 1;
  }
  .bt.wide-md {
    grid-column: 1 / -1;
  }
  .podium {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .podium .pc-cell:first-child {
    grid-column: 1 / -1;
  }
  .tuner-grid,
  .method,
  .comm,
  .desk,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .mpanel,
  .calc-in,
  .channels {
    position: relative;
    top: 0;
  }
  .trow {
    grid-template-columns: 30px minmax(0, 2fr) 140px 96px 126px 64px 40px;
    grid-template-areas: "rank name kyc fee rate score cmp";
  }
  .t-pay {
    display: none;
  }
  .calc {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calc-how {
    grid-column: 1 / -1;
  }
  .channels {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .channel {
    flex: none;
    max-width: 240px;
  }
  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .menu,
  .search-btn span,
  .search-btn kbd,
  .nav-cta {
    display: none;
  }
  .search-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .burger {
    display: inline-grid;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
    margin-top: 24px;
  }
  .pledges {
    grid-template-columns: minmax(0, 1fr);
  }
  .pledge,
  .pledge + .pledge {
    padding: 24px 0 0;
    border-left: 0;
  }
  .rrow {
    grid-template-columns: 26px 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "rank logo who score"
      ". tags tags tags"
      ". rate rate rate";
    gap: 10px 14px;
    padding: 16px;
  }
  .rrow .go {
    display: none;
  }
  .trow {
    grid-template-columns: 26px minmax(0, 1fr) auto 40px;
    grid-template-areas:
      "rank name score cmp"
      ". kyc kyc kyc"
      ". fee rate rate";
    gap: 8px 12px;
    padding: 14px 16px;
  }
  .trow.thead {
    display: none;
  }
  .t-score {
    justify-content: flex-end;
  }
  .t-fee::before {
    content: "Fee ";
    color: var(--ink-3);
    font-weight: 400;
  }
  .t-rate {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 8px;
  }
  .rrow .rate {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 10px;
  }
  .ctiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ctile:nth-child(3) {
    border-left: 0;
  }
  .ctile:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 760px) {
  :root {
    --fs-h2: 30px;
  }
  .sec {
    padding-block: 80px;
  }
  .manifesto {
    padding-block: 80px;
  }
  .hero {
    padding-top: calc(var(--nav-top) + 100px);
    padding-bottom: 64px;
  }
  .lede {
    font-size: 17px;
  }
  .qcalc {
    flex-wrap: wrap;
  }
  .qf {
    flex: 1 1 40%;
  }
  .qcalc .btn {
    flex: 1 1 100%;
    margin-top: 6px;
  }
  .stage {
    display: grid;
    height: auto;
    padding: 28px 16px 22px;
    margin-inline: calc(var(--gutter) * -1);
  }
  .stage-art {
    border-radius: 0;
  }
  .aw {
    position: relative;
    inset: auto;
    transform: none;
  }
  .aw-tabs {
    display: none;
  }
  .aw-head,
  .aw-row {
    grid-template-columns: 18px 34px minmax(0, 1fr) 46px;
    gap: 10px;
    padding: 0 12px;
  }
  .aw-head span:nth-child(4),
  .aw-head span:nth-child(5),
  .aw-row > :nth-child(4),
  .aw-row > :nth-child(5) {
    display: none;
  }
  .fl-score {
    position: relative;
    left: auto;
    bottom: auto;
    justify-self: start;
    width: min(290px, calc(100% - 14px));
    margin: -6px 0 0 14px;
  }
  .fl-save,
  .fl-review {
    display: none;
  }
  .qf > span:first-child,
  .pc-facts dt,
  .pick,
  .trend,
  .staff,
  .aw-row small,
  .aw-head span {
    font-size: 13px;
  }
  .tfilter input {
    font-size: 16px;
  }
  .fchip,
  .seg button,
  .thread-tools .seg button {
    min-height: 40px;
  }
  .bt-go {
    width: 40px;
    height: 40px;
  }
  .foot ul {
    gap: 0;
  }
  .foot ul a {
    display: block;
    padding-block: 10px;
  }
  .linkish {
    padding: 10px 6px;
    margin: -10px -6px;
  }
  .podium {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .bt {
    min-height: 380px;
    padding: 22px;
  }
  .bt-vis {
    margin: 22px -22px -22px 0;
  }
  .bt-vis.tint {
    margin: 22px -22px -22px -22px;
    padding: 22px 0 0 22px;
  }
  .rmq .review {
    width: min(84vw, 340px);
  }
  .night,
  .cta {
    padding-inline: 0;
  }
  .night-panel,
  .cta-panel {
    border-radius: 0;
  }
  .night-panel {
    padding-block: 80px;
  }
  .glass {
    padding: 20px;
  }
  .verdict {
    grid-template-columns: minmax(0, 1fr);
  }
  .save {
    justify-items: start;
  }
  .calc-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .cbar {
    grid-template-columns: 112px minmax(0, 1fr) 72px;
    gap: 10px;
    padding-inline: 4px;
    font-size: 14px;
  }
  .cbar .nm em {
    display: none;
  }
  .weights {
    grid-template-columns: minmax(0, 1fr);
  }
  .slots {
    grid-template-columns: minmax(0, 1fr);
  }
  .slot {
    min-height: 76px;
  }
  /* empty slots sit on one line instead of three tall boxes */
  .slot:not(.filled) {
    grid-auto-flow: column;
    justify-content: center;
    min-height: 64px;
    padding-block: 12px;
  }
  .slot:not(.filled) .plus {
    width: 34px;
    height: 34px;
  }
  .cmp-table {
    table-layout: fixed;
    min-width: calc(96px + 128px * var(--n, 2));
  }
  /* fade the edge only while there is more to scroll to */
  .cmp-wrap.more {
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
    mask-image: linear-gradient(90deg, #000 90%, transparent);
  }
  .cmp-table thead th:not(:first-child) {
    padding-inline: 12px;
  }
  .cmp-table thead .hd {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 15px;
  }
  .cmp-table tbody th,
  .cmp-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 96px;
    min-width: 96px;
    padding-inline: 12px;
    background: var(--paper);
    font-size: 14px;
  }
  .trd {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .trd-stats {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    text-align: left;
  }
  .trd-stats > span {
    grid-auto-flow: column;
    align-items: baseline;
    gap: 5px;
  }
  .trd-stats b {
    font-size: 17px;
  }
  .trd-stats .last {
    grid-column: auto;
  }
  .rb-row {
    grid-template-columns: minmax(0, 1fr) 40px 64px 64px;
    gap: 8px;
    font-size: 14px;
  }
  .rb-head > span {
    white-space: nowrap;
  }
  .rb-bar {
    display: none;
  }
  .ctl {
    flex-direction: column;
  }
  .ctl li {
    flex: none;
    padding: 0 0 12px 22px;
  }
  .ctl li::before {
    top: 4px;
  }
  .ctl li::after {
    top: 16px;
    bottom: 0;
    left: 4.5px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .ctile {
    padding: 18px;
  }
  .ctile .num {
    font-size: 30px;
  }
  .foot {
    margin: 0;
    border-radius: 0;
  }
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sheet-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - env(safe-area-inset-top, 0px) - 28px);
    border-radius: 24px 24px 0 0;
    transform: translateY(105%);
  }
  .sheet-body {
    --pad: 18px;
  }
  .pv-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .pv-hero .score {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .pv-tabs .seg {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
  .pv-tabs .seg button {
    padding-inline: 4px;
    font-size: 13px;
  }
  .factgrid {
    grid-template-columns: minmax(0, 1fr);
  }
  .factgrid > div,
  .factgrid > div:nth-child(odd),
  .factgrid > div:nth-child(even) {
    grid-template-columns: 120px minmax(0, 1fr);
    padding-inline: 0;
    border-left: 0;
  }
  .factgrid > div:nth-last-child(2) {
    border-bottom: 1px solid var(--rule);
  }
  .pc {
    grid-template-columns: minmax(0, 1fr);
  }
  .bd {
    grid-template-columns: 112px minmax(0, 1fr) 34px;
  }
  .bd .lb small {
    display: none;
  }
  .rsum {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq .ans {
    padding-right: 0;
  }
  .tray-txt {
    display: none;
  }
  .cmp-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .brand-word span {
    display: none;
  }
  .pv-tabs .seg button em {
    display: none;
  }
  .stats dd {
    font-size: 40px;
  }
  .stats > div + div {
    padding-left: 16px;
  }
  .pc-facts dd {
    font-size: 13.5px;
  }
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fl-save {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.3s;
}

/* sticky comparison header on wide screens */
@media (min-width: 761px) {
  .cmp-wrap {
    overflow-x: clip;
  }
  .cmp-table {
    table-layout: fixed;
  }
  .cmp-table thead th:first-child,
  .cmp-table tbody th {
    width: 26%;
  }
  .cmp-table thead th {
    position: sticky;
    top: var(--sticky-top);
    z-index: 2;
    background: var(--paper);
    box-shadow: inset 0 -1px 0 var(--rule);
  }
}

/* touch screens: the review wall becomes a swipeable row */
@media (hover: none) {
  .rmq .marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    padding-inline: 16px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .rmq .marquee::-webkit-scrollbar {
    display: none;
  }
  .rmq .mq-track {
    animation: none;
  }
  .rmq .review {
    scroll-snap-align: start;
  }
  .rmq .review[aria-hidden="true"] {
    display: none;
  }
}


/* ==========================================================================
   Audit pass: fallback fonts, new controls, motion and touch polish
   ========================================================================== */

/* metric-matched fallbacks: line breaks stay put when the web fonts arrive */
@font-face {
  font-family: "Inter Tight Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 98.8%;
  ascent-override: 98%;
  descent-override: 24.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 105.5%;
  ascent-override: 91.8%;
  descent-override: 22.9%;
  line-gap-override: 0%;
}

html {
  -webkit-tap-highlight-color: transparent;
}

/* hero: nothing half-built shows before the script has filled it */
.aw:empty,
.fl:empty {
  visibility: hidden;
}

.hero-proof {
  min-height: 34px;
}

#silk,
#silk2 {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

#silk.on,
#silk2.on {
  opacity: 1;
}

/* ambient motion pauses where nobody can see it */
#stage[data-offscreen] .fl,
.overlay-open .fl {
  animation-play-state: paused;
}

/* hero window: between 1081 and 1240px the rating column steps aside so names keep their room */
@media (min-width: 1081px) and (max-width: 1240px) {
  .aw-head,
  .aw-row {
    grid-template-columns: 22px 34px minmax(0, 1fr) 118px 54px;
  }
  .aw-head span:nth-child(5),
  .aw-row > :nth-child(5) {
    display: none;
  }
}

/* marquee pause buttons (moving content that runs longer than five seconds can be paused) */
.mq-toggle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--rule-2);
  background: var(--paper);
  color: var(--ink-3);
  cursor: pointer;
  transition: color var(--d-2) var(--ease), border-color var(--d-2) var(--ease), background-color var(--d-2) var(--ease);
}

.mq-toggle .ic-play,
.mq-toggle[aria-pressed="true"] .ic-pause {
  display: none;
}

.mq-toggle[aria-pressed="true"] .ic-play {
  display: block;
}

.mq-toggle[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-wash);
}

@media (hover: hover) {
  .mq-toggle:hover {
    color: var(--ink);
    border-color: var(--rule-3);
  }
}

.logos > .mq-toggle {
  position: absolute;
  top: 26px;
  right: var(--gutter);
}

.mq-toggle.inline {
  width: 46px;
  height: 46px;
}

.sec-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* index table: the compare button's cell */
.t-cmp {
  grid-area: cmp;
  position: relative;
  z-index: 2;
  display: flex;
}

/* sideways-scrolling segmented controls fade at the edge while there is more */
.seg.more {
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
  mask-image: linear-gradient(90deg, #000 82%, transparent);
}

/* sticky channel list fits shorter laptop screens */
@media (min-width: 1081px) {
  .channels {
    max-height: calc(100vh - var(--sticky-top) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

/* dark surfaces: a focus ring that stands out */
.night :focus-visible,
.foot :focus-visible,
.tray :focus-visible,
.mega-feature:focus-visible {
  outline-color: var(--accent-bright);
}

.mega-feature .stars .st-base svg {
  fill: rgba(255, 255, 255, 0.16);
}

/* index cards (≤960px): the rating stays on one line */
@media (max-width: 960px) {
  .t-rate small {
    white-space: nowrap;
  }
}

/* small phones: the bento complaint stack drops its offsets */
@media (max-width: 480px) {
  .toast-c:nth-child(n) {
    margin-left: 0;
  }
}

/* mobile menu on short or landscape screens */
@media (max-height: 560px) {
  .msheet nav {
    margin-top: 12px;
  }
  .msheet nav a {
    padding-block: 10px;
    font-size: 20px;
  }
}

/* touch screens: the reviews row is swiped, so it has nothing to pause */
@media (hover: none) {
  .mq-toggle.inline {
    display: none;
  }
}

/* FAQ answers open and close smoothly where the browser can animate to auto height */
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
  .faq details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size var(--d-3) var(--ease), content-visibility var(--d-3) allow-discrete;
  }
  .faq details[open]::details-content {
    block-size: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    transition-delay: 0s !important;
  }
  /* still strips become scrollable rows, without the looping copies */
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }
  .mq-track > [aria-hidden="true"] {
    display: none;
  }
  .mq-toggle,
  .macc-item .timer {
    display: none;
  }
}

/* ── NexaPay summary section ───────────────────────────────────────── */
.nx-summary {
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  max-width: 820px;
}
.nx-summary-head {
  margin-bottom: 1.25rem;
}
.nx-summary-head h2 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.5rem;
  color: var(--ink);
}
.nx-summary-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 0.75rem;
}
.nx-summary-body p:last-child {
  margin-bottom: 0;
}
.nx-summary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--accent-line);
}
.nx-summary-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--paper);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.nx-summary-links a:hover {
  background: var(--accent-wash);
  border-color: var(--accent);
}
@media (max-width: 640px) {
  .nx-summary {
    padding: 1.25rem 1rem;
  }
}
