/* =====================================================
   MLMRank — Shared stylesheet
   Corporate · data-driven · navy + teal + yellow
===================================================== */

:root {
  /* Brand palette */
  --navy-950: #07063d;
  --navy-900: #0D0B61;   /* PRIMARY */
  --navy-800: #1a1875;
  --navy-700: #2a2890;
  --slate-800: #1d3550;
  --slate-700: #294669;  /* secondary navy */
  --slate-600: #3b5d80;
  --teal-700: #2f6e70;
  --teal-600: #3a7e80;
  --teal-500: #478B8D;   /* ACCENT */
  --teal-400: #6ba6a8;
  --teal-100: #dfeded;
  --teal-50:  #eff6f6;
  --yellow-500: #c9b921;
  --yellow-400: #E4D329; /* HIGHLIGHT */
  --yellow-100: #faf3b6;
  --yellow-50:  #fdfae0;
  --star-gold: #F5B400; /* punchier gold for star ratings */

  /* Neutrals */
  --ink-950: #050a14;
  --ink-900: #0c1726;
  --ink-700: #1e2a3d;
  --ink-600: #3a4658;
  --ink-500: #5b6779;
  --ink-400: #828e9f;
  --ink-300: #aab3c1;
  --ink-200: #d4dae3;

  --line: #e6e9ef;
  --line-strong: #d2d7e0;
  --bg-soft: #f5f7fa;
  --bg-cream: #f9f8f1;
  --white: #ffffff;

  /* Type */
  --f-display: "Newsreader", Georgia, serif;
  --f-sans: "Inter Tight", "Plus Jakarta Sans", -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Layout */
  --max: 1280px;
  --pad: 24px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(13, 11, 97, 0.05), 0 2px 8px rgba(13, 11, 97, 0.04);
  --shadow: 0 8px 24px -8px rgba(13, 11, 97, 0.10), 0 24px 60px -20px rgba(13, 11, 97, 0.10);
  --shadow-lg: 0 30px 80px -20px rgba(13, 11, 97, 0.18);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-padding-top: 100px; }
body {
  overflow-x: hidden;
  max-width: 100vw;
  padding-top: 70px;
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============ TYPOGRAPHY ============ */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink-950);
  margin: 0 0 20px;
}
.display em {
  font-style: italic;
  color: var(--navy-900);
  font-weight: 500;
}
.h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink-950);
  margin: 0 0 16px;
}
.h1 em { font-style: italic; color: var(--navy-900); font-weight: 500; }
.h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink-950);
  margin: 0 0 12px;
}
.h3 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.eyebrow {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--navy-900);
}
.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-600);
  max-width: 64ch;
  text-wrap: pretty;
}
.mono {
  font-family: var(--f-mono);
  font-feature-settings: "tnum" 1;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-900);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-accent {
  background: var(--yellow-400);
  color: var(--navy-900);
}
.btn-accent:hover { background: var(--yellow-500); }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-teal {
  background: var(--teal-500);
  color: #fff;
}
.btn-teal:hover { background: var(--teal-600); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(13, 11, 97, 0.06), 0 1px 3px rgba(13, 11, 97, 0.04);
}
.site-header .nav .logo { color: var(--navy-900); }
.site-header .nav-links a {
  color: var(--navy-900);
  font-weight: 500;
}
.site-header .nav-links a:hover { color: var(--navy-700); }
.site-header .nav-links a.active {
  color: var(--navy-900);
  font-weight: 600;
}
.site-header .nav-links a.active::after {
  background: var(--yellow-400);
  bottom: -22px;
  height: 2px;
}
.site-header .btn-ghost {
  color: var(--navy-900);
  border-color: var(--line-strong, #d2d7e0);
  background: transparent;
}
.site-header .btn-ghost:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
  background: var(--bg-soft);
}
.site-header .btn-primary {
  background: var(--navy-900);
  color: #ffffff;
}
.site-header .btn-primary:hover { background: var(--navy-800); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 36px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  bottom: 4px; right: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow-400);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  position: relative;
  font-size: 17px;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--navy-900);
}
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(180deg, #fbfcfd 0%, #f5f7fa 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 56px;
  position: relative;
  overflow: visible;
  z-index: 5;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 139, 141, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 0 4px rgba(228, 211, 41, 0.25);
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink-950);
  margin: 0 0 20px;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--navy-900);
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-600);
  max-width: 56ch;
  margin: 0 0 32px;
}

/* Hero search bar */
.hero-search {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  max-width: 760px;
}
.hero-search input {
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink-900);
  background: transparent;
  min-width: 0;
}
.hero-search input::placeholder { color: var(--ink-400); }

/* ===== Custom category dropdown (replaces native select) ===== */
.cat-select {
  position: relative;
  min-width: 220px;
}
.cat-select .cat-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  height: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.cat-select .cat-trigger:hover {
  background: #fff;
  border-color: var(--line-strong);
}
.cat-select.open .cat-trigger {
  background: #fff;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(13, 11, 97, 0.12);
}
.cat-select .cat-trigger .cat-ic {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: var(--navy-900);
  color: var(--yellow-400);
}
.cat-select .cat-trigger .cat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}
.cat-select .cat-trigger .cat-text .cat-lbl {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1;
}
.cat-select .cat-trigger .cat-text .cat-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-950);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.cat-select .cat-trigger .cat-chev {
  color: var(--ink-500);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.cat-select.open .cat-trigger .cat-chev {
  transform: rotate(180deg);
  color: var(--navy-900);
}

.cat-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  list-style: none;
  margin: 0;
  padding: 6px;
  box-shadow: 0 20px 48px -12px rgba(13, 11, 97, 0.25), 0 0 0 1px rgba(13, 11, 97, 0.04);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  min-width: 260px;
}
.cat-select.open .cat-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cat-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
  transition: background 0.15s ease;
}
.cat-opt:hover { background: var(--bg-soft); }
.cat-opt.selected {
  background: rgba(13, 11, 97, 0.06);
  color: var(--navy-900);
  font-weight: 600;
}
.cat-opt .opt-ic {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cat-opt[data-value="all"] .opt-ic { background: var(--bg-soft); color: var(--ink-700); }
.cat-opt[data-value="product"] .opt-ic { background: var(--navy-900); color: var(--yellow-400); }
.cat-opt[data-value="forex"] .opt-ic { background: var(--teal-500); color: #fff; }
.cat-opt[data-value="crypto"] .opt-ic { background: var(--yellow-400); color: var(--navy-900); }
.cat-opt .opt-name {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat-opt .opt-name .nm { font-weight: 600; color: var(--ink-950); font-size: 13px; }
.cat-opt .opt-name .ct { font-size: 11px; color: var(--ink-500); font-weight: 500; }
.cat-opt .check {
  color: var(--teal-500);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}
.cat-opt.selected .check { opacity: 1; }

.hero-search select {
  border: none;
  outline: none;
  background: var(--bg-soft);
  padding: 0 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 4.5L6 7.5L9 4.5' stroke='%231e2a3d' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.hero-search button {
  background: var(--navy-900);
  color: #fff;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-search button:hover { background: var(--navy-800); }

.hero-suggest {
  margin-top: 18px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-500);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.hero-suggest::-webkit-scrollbar { display: none; }
.hero-suggest .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-900);
  color: var(--yellow-400);
  padding: 5px 11px 5px 9px;
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-right: 4px;
  box-shadow: 0 4px 12px -2px rgba(13, 11, 97, 0.35);
}
.hero-suggest .label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 0 0 rgba(228, 211, 41, 0.7);
  animation: pulse 2s infinite;
}
.hero-suggest .suggest-chip { flex-shrink: 0; }
.suggest-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink-700);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.suggest-chip:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(13, 11, 97, 0.30);
}

/* ===== Hero animated logo cloud (right side) ===== */
.logo-cloud {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 11, 97, 0.02), rgba(71, 139, 141, 0.04)),
    radial-gradient(ellipse at 50% 50%, rgba(13, 11, 97, 0.05), transparent 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.cloud-cols {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px;
}
.cloud-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: cloud-scroll-up 32s linear infinite;
  will-change: transform;
}
.cloud-col.down {
  animation-name: cloud-scroll-down;
  animation-duration: 38s;
}
.cloud-col.alt {
  animation-duration: 44s;
}
@keyframes cloud-scroll-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes cloud-scroll-down {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
.lc-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(13, 11, 97, 0.04);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.lc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--teal-400);
}
.lc-card .lc-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.lc-card .lc-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  line-height: 1.15;
  text-wrap: balance;
}
.lc-card .lc-meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
}
.lc-card.product .lc-meta { background: rgba(13, 11, 97, 0.08); color: var(--navy-900); }
.lc-card.forex .lc-meta { background: rgba(71, 139, 141, 0.14); color: var(--teal-700); }
.lc-card.crypto .lc-meta { background: rgba(228, 211, 41, 0.28); color: #7a6f00; }

/* Floating overlay callouts on the cloud */
.cloud-callout {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.cloud-callout.cc-top {
  top: 18px;
  left: -22px;
  animation-delay: 0s;
}
.cloud-callout.cc-bot {
  bottom: 26px;
  right: -22px;
  animation-delay: 1.6s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.cloud-callout .cc-ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cloud-callout.cc-top .cc-ic { background: var(--navy-900); color: var(--yellow-400); }
.cloud-callout.cc-bot .cc-ic { background: var(--yellow-400); color: var(--navy-900); }
.cloud-callout .cc-txt .l {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1;
  margin-bottom: 3px;
}
.cloud-callout .cc-txt .v {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-950);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cc-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  position: relative;
}
.cc-pulse::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--teal-500);
  opacity: 0.35;
  animation: pulse-ring 1.6s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Hero stat strip */
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 24px 0;
}
.hero-stat {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-stat .num sup {
  font-size: 18px;
  color: var(--teal-500);
  font-weight: 600;
  font-family: var(--f-sans);
}
.hero-stat .lbl {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
}

/* ============ SECTIONS ============ */
section.block { padding: 56px 0; }
section.block-tight { padding: 40px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head .left { max-width: none; width: 100%; }
.section-head .left .eyebrow { justify-content: center; }
.section-head .left .h1,
.section-head .left .h2 { white-space: normal; text-wrap: balance; }
.section-head .lede { margin: 4px auto 0; max-width: 64ch; }
.section-head .right-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.section-link {
  font-weight: 600;
  color: var(--navy-900);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.section-link:hover { color: var(--teal-500); }
.section-link .short-label { display: none; }

/* ============ CATEGORY CARDS (3 main) ============ */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  position: relative;
  padding: 36px 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.cat-card > * { position: relative; z-index: 1; }
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.cat-card .rank {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  z-index: 2;
}
.cat-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  position: relative;
}
.cat-card .cat-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cat-card .cat-tags .ct {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
}
.cat-card .cat-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ink-950);
  margin-bottom: 10px;
  line-height: 1.04;
}
.cat-card .cat-name em {
  font-style: italic;
  color: var(--navy-900);
}
.cat-card .cat-desc {
  color: var(--ink-600);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 38ch;
}
.cat-card .cat-meta {
  display: flex;
  gap: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.cat-meta .item .v {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink-950);
  letter-spacing: -0.018em;
  line-height: 1;
}
.cat-meta .item .l {
  font-size: 10px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 700;
}
.cat-card .browse {
  margin-top: 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.cat-card .browse::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cat-card:hover .browse::after { opacity: 1; }

/* ========= PRODUCT — dark navy futuristic (matches Crypto) ========= */
.cat-card.product {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(228, 211, 41, 0.22), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(71, 139, 141, 0.20), transparent 60%),
    linear-gradient(165deg, #0a0844 0%, #0D0B61 55%, #1d1875 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.85);
}
.cat-card.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(228, 211, 41, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 211, 41, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 75%);
  pointer-events: none;
}
.cat-card.product::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -40px;
  width: 220px; height: 220px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23E4D329' stroke-width='1.2' opacity='0.25'><path d='M100 30 L160 60 L160 130 L100 160 L40 130 L40 60 Z'/><path d='M100 30 L100 95 L160 130'/><path d='M100 95 L40 60'/><circle cx='100' cy='30' r='3' fill='%23E4D329'/><circle cx='160' cy='60' r='3' fill='%23E4D329'/><circle cx='160' cy='130' r='3' fill='%23E4D329'/><circle cx='100' cy='160' r='3' fill='%23E4D329'/><circle cx='40' cy='130' r='3' fill='%23E4D329'/><circle cx='40' cy='60' r='3' fill='%23E4D329'/><circle cx='100' cy='95' r='3' fill='%23E4D329'/></svg>") no-repeat center / contain;
  pointer-events: none;
}
.cat-card.product .rank { color: rgba(255, 255, 255, 0.40); }
.cat-card.product .cat-icon {
  background: var(--yellow-400);
  color: var(--navy-900);
  box-shadow: 0 14px 32px -10px rgba(228, 211, 41, 0.55), 0 0 0 1px rgba(228, 211, 41, 0.20);
}
.cat-card.product .cat-tags .ct {
  background: rgba(228, 211, 41, 0.16);
  color: var(--yellow-400);
}
.cat-card.product .cat-name { color: #fff; }
.cat-card.product .cat-name em { color: var(--yellow-400); }
.cat-card.product .cat-desc { color: rgba(255, 255, 255, 0.70); }
.cat-card.product .cat-meta { border-top-color: rgba(255, 255, 255, 0.14); }
.cat-card.product .cat-meta .item .v { color: var(--yellow-400); }
.cat-card.product .cat-meta .item .l { color: rgba(255, 255, 255, 0.55); }
.cat-card.product .browse { color: var(--yellow-400); }
.cat-card.product:hover { border-color: transparent; }

/* ========= FOREX — teal, chart-driven ========= */
.cat-card.forex {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(13, 11, 97, 0.08), transparent 60%),
    linear-gradient(180deg, #e7f3f3 0%, #cee2e3 100%);
  border-color: rgba(47, 110, 112, 0.20);
}
.cat-card.forex::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 110, 112, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 110, 112, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(135deg, transparent 30%, #000 85%);
  -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000 85%);
  pointer-events: none;
}
.cat-card.forex::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='0' y1='0' y2='1'><stop offset='0%25' stop-color='%23478B8D' stop-opacity='0.30'/><stop offset='100%25' stop-color='%23478B8D' stop-opacity='0'/></linearGradient></defs><path d='M0 160 L40 130 L80 145 L120 100 L160 120 L200 80 L240 95 L280 50 L320 70 L360 30 L400 45 L400 200 L0 200 Z' fill='url(%23g)'/><path d='M0 160 L40 130 L80 145 L120 100 L160 120 L200 80 L240 95 L280 50 L320 70 L360 30 L400 45' fill='none' stroke='%23478B8D' stroke-width='1.4' opacity='0.55'/><circle cx='280' cy='50' r='3' fill='%23478B8D'/><circle cx='360' cy='30' r='3' fill='%23478B8D'/></svg>") no-repeat bottom / 100% auto;
  pointer-events: none;
  opacity: 0.85;
}
.cat-card.forex .cat-icon {
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(47, 110, 112, 0.65);
}
.cat-card.forex .cat-tags .ct {
  background: rgba(47, 110, 112, 0.16);
  color: var(--teal-700);
}
.cat-card.forex .cat-meta { border-top-color: rgba(47, 110, 112, 0.18); }
.cat-card.forex .cat-name { color: var(--ink-950); }
.cat-card.forex .browse { color: var(--teal-700); }

/* ========= CRYPTO — dark navy, futuristic ========= */
.cat-card.crypto {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(228, 211, 41, 0.22), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(71, 139, 141, 0.20), transparent 60%),
    linear-gradient(165deg, #0a0844 0%, #0D0B61 55%, #1d1875 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.85);
}
.cat-card.crypto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(228, 211, 41, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 211, 41, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 75%);
  pointer-events: none;
}
.cat-card.crypto::after {
  content: "";
  position: absolute;
  bottom: -40px; right: -40px;
  width: 240px; height: 240px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><g stroke='%23E4D329' stroke-width='1' opacity='0.20'><circle cx='40' cy='40' r='6'/><circle cx='100' cy='30' r='6'/><circle cx='160' cy='60' r='6'/><circle cx='170' cy='130' r='6'/><circle cx='110' cy='150' r='6'/><circle cx='50' cy='130' r='6'/><circle cx='30' cy='90' r='6'/><circle cx='100' cy='95' r='8'/><line x1='40' y1='40' x2='100' y2='30'/><line x1='100' y1='30' x2='160' y2='60'/><line x1='40' y1='40' x2='100' y2='95'/><line x1='100' y1='30' x2='100' y2='95'/><line x1='160' y1='60' x2='100' y2='95'/><line x1='160' y1='60' x2='170' y2='130'/><line x1='170' y1='130' x2='110' y2='150'/><line x1='110' y1='150' x2='100' y2='95'/><line x1='110' y1='150' x2='50' y2='130'/><line x1='50' y1='130' x2='30' y2='90'/><line x1='30' y1='90' x2='40' y2='40'/><line x1='30' y1='90' x2='100' y2='95'/><line x1='50' y1='130' x2='100' y2='95'/></g><g fill='%23E4D329' opacity='0.35'><circle cx='40' cy='40' r='2'/><circle cx='100' cy='30' r='2'/><circle cx='160' cy='60' r='2'/><circle cx='170' cy='130' r='2'/><circle cx='110' cy='150' r='2'/><circle cx='50' cy='130' r='2'/><circle cx='30' cy='90' r='2'/><circle cx='100' cy='95' r='3'/></g></svg>") no-repeat center / contain;
  pointer-events: none;
}
.cat-card.crypto .rank { color: rgba(255, 255, 255, 0.40); }
.cat-card.crypto .cat-icon {
  background: var(--yellow-400);
  color: var(--navy-900);
  box-shadow: 0 14px 32px -10px rgba(228, 211, 41, 0.55), 0 0 0 1px rgba(228, 211, 41, 0.20);
}
.cat-card.crypto .cat-tags .ct {
  background: rgba(228, 211, 41, 0.16);
  color: var(--yellow-400);
}
.cat-card.crypto .cat-name { color: #fff; }
.cat-card.crypto .cat-name em { color: var(--yellow-400); }
.cat-card.crypto .cat-desc { color: rgba(255, 255, 255, 0.70); }
.cat-card.crypto .cat-meta { border-top-color: rgba(255, 255, 255, 0.14); }
.cat-card.crypto .cat-meta .item .v { color: var(--yellow-400); }
.cat-card.crypto .cat-meta .item .l { color: rgba(255, 255, 255, 0.55); }
.cat-card.crypto .browse { color: var(--yellow-400); }
.cat-card.crypto:hover { border-color: transparent; }

/* ========= INVESTMENT — cream/gold, portfolio-driven ========= */
.cat-card.investment {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(228, 211, 41, 0.22), transparent 60%),
    linear-gradient(180deg, #fefaed 0%, #f4e9c8 100%);
  border-color: rgba(212, 175, 55, 0.30);
}
.cat-card.investment::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 11, 97, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 11, 97, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(135deg, transparent 30%, #000 85%);
  -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000 85%);
  pointer-events: none;
}
.cat-card.investment::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -40px;
  width: 220px; height: 220px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><g stroke='%230D0B61' stroke-width='1.4' opacity='0.22'><circle cx='100' cy='100' r='65'/><line x1='100' y1='100' x2='100' y2='35'/><line x1='100' y1='100' x2='159' y2='130'/><line x1='100' y1='100' x2='50' y2='135'/></g><path d='M 100 35 A 65 65 0 0 1 159 130 L 100 100 Z' fill='%23E4D329' opacity='0.32'/><path d='M 159 130 A 65 65 0 0 1 50 135 L 100 100 Z' fill='%230D0B61' opacity='0.10'/></svg>") no-repeat center / contain;
  pointer-events: none;
}
.cat-card.investment .cat-icon {
  background: var(--navy-900);
  color: var(--yellow-400);
  box-shadow: 0 12px 28px -10px rgba(13, 11, 97, 0.45);
}
.cat-card.investment .cat-tags .ct {
  background: rgba(13, 11, 97, 0.08);
  color: var(--navy-900);
}
.cat-card.investment .cat-meta { border-top-color: rgba(13, 11, 97, 0.15); }
.cat-card.investment .cat-name { color: var(--ink-950); }
.cat-card.investment .cat-name em { color: var(--navy-900); }
.cat-card.investment .browse { color: var(--navy-900); }
.cat-card.investment:hover { border-color: transparent; }

/* ============ COMPANY LOGO (initials) ============ */
.clogo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.clogo-lg { width: 56px; height: 56px; font-size: 20px; border-radius: 12px; }
.clogo-sm { width: 32px; height: 32px; font-size: 12px; border-radius: 7px; }

/* ============ RANKING TABLE ============ */
.rank-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14px;
}
.rank-table thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  text-align: left;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.rank-table thead th.num-col { text-align: right; }
.rank-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.rank-table tbody tr:last-child td { border-bottom: none; }
.rank-table tbody tr { transition: background 0.15s ease; }
.rank-table tbody tr:hover { background: var(--teal-50); }
.rank-col {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  width: 60px;
}
.co-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}
.co-cell .name {
  font-weight: 600;
  color: var(--ink-950);
  font-size: 15px;
  letter-spacing: -0.005em;
}
/* Anchor wrapping company name in rank-table rows — inherit name styling, add hover affordance */
.rank-table .row-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}
.rank-table .row-link:hover .name { color: var(--navy-900); }
.rank-table.dark .row-link:hover .name { color: var(--yellow-400); }
.co-cell .sub {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* ============ BADGES ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.b-product { background: rgba(13, 11, 97, 0.08); color: var(--navy-900); }
.b-forex { background: rgba(71, 139, 141, 0.14); color: var(--teal-700); }
.b-crypto { background: rgba(228, 211, 41, 0.22); color: #7a6f00; }
.b-verified { background: rgba(47, 110, 112, 0.12); color: var(--teal-700); }
.b-trending { background: var(--navy-900); color: #fff; }
.b-new { background: var(--yellow-400); color: var(--navy-900); }
.b-popular { background: var(--ink-900); color: #fff; }
.b-outline { background: #fff; color: var(--ink-700); border: 1px solid var(--line-strong); }

.plan-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-700);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

/* ============ STARS ============ */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stars-row {
  display: inline-flex;
  gap: 1px;
  color: var(--star-gold);
  font-size: 14px;
  letter-spacing: -1px;
}
.stars-row .empty { color: var(--ink-200); }
.stars .val {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 13px;
}
.stars .count {
  font-size: 12px;
  color: var(--ink-500);
}

/* ============ FEATURED COMPANIES GRID ============ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: #fff;
  border: 1.5px solid var(--feat-color, var(--line-strong));
  border-radius: var(--radius-lg);
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.feat-card:hover {
  box-shadow: 0 18px 48px -16px var(--feat-color, rgba(13, 11, 97, 0.18));
  transform: translateY(-4px);
}

/* Brand-colored banner header */
.feat-card .feat-banner {
  height: 88px;
  position: relative;
  background: var(--feat-color, var(--navy-900));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px 22px;
}
.feat-card .feat-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) 16px,
    rgba(255, 255, 255, 0.07) 16px,
    rgba(255, 255, 255, 0.07) 17px
  );
  pointer-events: none;
}
.feat-card .feat-banner::after {
  content: "";
  position: absolute;
  top: -60%; right: -10%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.feat-card .feat-banner .top-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
}
.feat-card .feat-banner .top-badge.b-product { background: rgba(255, 255, 255, 0.92); color: var(--navy-900); }
.feat-card .feat-banner .top-badge.b-forex { background: rgba(255, 255, 255, 0.92); color: var(--teal-700); }
.feat-card .feat-banner .top-badge.b-crypto { background: var(--yellow-400); color: var(--navy-900); }

.feat-card .feat-logo {
  width: 68px; height: 68px;
  border-radius: 16px;
  background: #fff;
  border: 4px solid #fff;
  color: var(--feat-color);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  margin-bottom: -36px;
  box-shadow: 0 8px 20px -6px rgba(13, 11, 97, 0.30);
}

/* Body */
.feat-card .feat-body {
  padding: 48px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.feat-card .feat-name {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-950);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.feat-card .feat-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 500;
}
.feat-card .feat-sub .stars-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.feat-card .feat-sub .stars-mini .stars-row {
  font-size: 13px;
  letter-spacing: -1px;
  color: var(--star-gold);
}
.feat-card .feat-sub .stars-mini .stars-row .empty { color: var(--ink-200); }
.feat-card .feat-sub .stars-mini .val {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 13px;
}
.feat-card .feat-desc {
  font-size: 13px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 4px 0 0;
  text-wrap: pretty;
}

/* Plan + Score row */
.feat-card .feat-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  margin-top: auto;
}
.feat-card .feat-meta .l {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 4px;
}
.feat-card .feat-meta .v {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}

/* Circular score ring */
.score-ring {
  position: relative;
  width: 60px; height: 60px;
  flex-shrink: 0;
}
.score-ring svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.score-ring .track {
  fill: none;
  stroke: var(--line);
  stroke-width: 5;
}
.score-ring .fill {
  fill: none;
  stroke: var(--feat-color, var(--navy-900));
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}
.score-ring .lbl {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink-950);
}

/* Footer strip */
.feat-card .feat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.feat-card .feat-footer .visit {
  font-size: 13px;
  font-weight: 700;
  color: var(--feat-color, var(--navy-900));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.005em;
  transition: gap 0.2s ease;
}
.feat-card:hover .feat-footer .visit { gap: 10px; }
.feat-card .feat-footer .visit-disabled {
  color: var(--ink-400);
  font-weight: 600;
  cursor: default;
}
.feat-card:hover .feat-footer .visit-disabled { gap: 6px; }

.section-link-disabled {
  color: var(--ink-400);
  font-weight: 600;
  cursor: default;
}
.section-link-disabled:hover { color: var(--ink-400); }

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.step {
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.2s ease;
}
.step:last-child { border-right: none; }
.step:hover { background: rgba(13, 11, 97, 0.025); }
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.step .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--yellow-400);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(13, 11, 97, 0.35);
  position: relative;
}
.step .icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 17px;
  border: 1px solid rgba(13, 11, 97, 0.12);
}
.step .n {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0.35;
  display: block;
  margin-bottom: 0;
}
.step h3 {
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-950);
  margin: 0 0 8px;
}
.step p {
  font-size: 13px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0;
}
.step .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(13, 11, 97, 0.08);
  color: var(--navy-900);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Connector arrow between steps (desktop only) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 56px; right: -7px;
  width: 12px; height: 12px;
  border-top: 1.5px solid var(--navy-900);
  border-right: 1.5px solid var(--navy-900);
  transform: rotate(45deg);
  background: transparent;
  opacity: 0.30;
  z-index: 2;
}

/* ============ TRENDING / NEW LIST ============ */
.list-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.list-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.list-col .head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list-col .head h3 {
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-950);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.list-col .head .icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.list-col.trending .head .icon { background: var(--navy-900); color: var(--yellow-400); }
.list-col.fresh .head .icon { background: var(--yellow-400); color: var(--navy-900); }
.list-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: var(--bg-soft); }
.list-row .lr {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: -0.02em;
  text-align: center;
}
.list-row .lr.top { color: var(--navy-900); }
.list-row .lname {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.list-row .lname .name {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-row .lname .meta {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 1px;
}
.list-row .delta {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.list-row .delta.down { color: #c44; }

/* ============ REVIEWS ============ */
.reviews-band {
  background: var(--bg-cream);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.reviews-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 40px;
  align-items: end;
}
.score-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  border: 2px solid var(--yellow-400);
  position: relative;
  box-shadow: 0 12px 32px -10px rgba(228, 211, 41, 0.35);
}
.score-card::before {
  content: "★";
  position: absolute;
  top: -16px;
  right: 22px;
  width: 32px; height: 32px;
  background: var(--yellow-400);
  color: var(--navy-900);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px -2px rgba(228, 211, 41, 0.50);
}
.score-card .num {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.02em;
}
.score-card .meta { font-size: 13px; color: var(--ink-600); }
.score-card .meta strong { color: var(--ink-900); display: block; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* ===== Reviews marquee (PolicySure-style) ===== */
.reviews-marquee {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
  position: relative;
}
.rm-row {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
}
.rm-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: rm-scroll-left 65s linear infinite;
  padding: 6px 0;
}
.rm-track.reverse { animation-name: rm-scroll-right; }
@keyframes rm-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes rm-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.rm-row:hover .rm-track { animation-play-state: paused; }
.rm-card {
  background: #fff;
  border: 2px solid var(--co-color, var(--line-strong));
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.rm-card::before {
  /* soft brand-tinted corner glow */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, var(--co-color, transparent) 0%, transparent 70%);
  opacity: 0.10;
  pointer-events: none;
  border-radius: inherit;
}
.rm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -14px var(--co-color, rgba(13, 11, 97, 0.2));
}
.rm-card .rm-stars {
  color: var(--star-gold);
  font-size: 18px;
  letter-spacing: 2px;
}
.rm-card .rm-text {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}
.rm-card .rm-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rm-card .rm-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--co-color, var(--slate-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.rm-card .rm-name {
  font-weight: 700;
  color: var(--ink-950);
  font-size: 14px;
  letter-spacing: -0.005em;
}
.rm-card .rm-role {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
  font-weight: 500;
}
@media (max-width: 980px) {
  .rm-card { flex-basis: 320px; padding: 20px 22px; min-height: 200px; }
  .rm-card .rm-text { font-size: 16px; }
}

.review {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.review::before {
  content: "\201C";
  position: absolute;
  top: -60px; right: -8px;
  font-family: var(--f-display);
  font-size: 220px;
  font-weight: 500;
  color: var(--navy-900);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.review > * { position: relative; z-index: 1; }

.review-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-strong);
}
.review-tagline .mini-logo {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--co-color, var(--navy-900));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.review-tagline .meta { min-width: 0; }
.review-tagline .meta .lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1;
}
.review-tagline .meta .co {
  font-weight: 700;
  color: var(--ink-950);
  font-size: 14px;
  letter-spacing: -0.005em;
  margin-top: 3px;
}

.review .rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review .stars-big {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.review .stars-big .stars-row {
  font-size: 18px;
  letter-spacing: -1px;
  color: var(--star-gold);
}
.review .stars-big .stars-row .empty { color: var(--ink-200); }
.review .stars-big .score {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 15px;
  font-family: var(--f-display);
  letter-spacing: -0.01em;
}

.review .text {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1.42;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
  flex: 1;
}
.review .text::first-letter {
  font-weight: 500;
}

.review .footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.review .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--co-color, var(--slate-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--co-color, var(--slate-700)), 0 6px 14px -4px rgba(13, 11, 97, 0.20);
  flex-shrink: 0;
}
.review .who {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-950);
  letter-spacing: -0.005em;
}
.review .where {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 2px;
  font-weight: 500;
}

/* ============ TRUST BAND ============ */
.trust-band {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.trust-band::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 211, 41, 0.12), transparent 70%);
  pointer-events: none;
}
.trust-band .eyebrow { color: var(--yellow-400); }
.trust-band .eyebrow::before { background: var(--yellow-400); }
.trust-band h2 { color: #fff; max-width: 18ch; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}
.trust-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
}
.trust-item .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(228, 211, 41, 0.18);
  color: var(--yellow-400);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.trust-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}
.trust-item p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 211, 41, 0.18), transparent 70%);
}
.cta-banner h2 {
  font-family: var(--f-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  font-weight: 500;
  max-width: 18ch;
}
.cta-banner h2 em { font-style: italic; }
.cta-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
  max-width: 50ch;
}
.cta-banner .btn { padding: 16px 28px; font-size: 15px; }
.cta-banner .btn-accent { background: var(--yellow-400); color: var(--navy-900); }
.cta-checks {
  display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px;
  font-size: 14px; color: rgba(255, 255, 255, 0.85);
}
.cta-checks .item { display: inline-flex; align-items: center; gap: 8px; }
.cta-checks svg { color: var(--yellow-400); }
.cta-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0;
  color: var(--ink-900);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(228, 211, 41, 0.30);
  position: relative;
  overflow: visible;
}
/* Yellow glow ring */
.cta-form::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: calc(var(--radius-lg) + 10px);
  background: radial-gradient(circle at 50% 0%, rgba(228, 211, 41, 0.55), transparent 70%);
  z-index: -1;
  filter: blur(12px);
  pointer-events: none;
}
/* Floating "100% FREE" sticker */
.cta-form .free-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: var(--yellow-400);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 8px 24px -4px rgba(13, 11, 97, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.cta-form .free-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 0 0 rgba(228, 211, 41, 0.7);
  animation: pulse 2s infinite;
}

/* Yellow accent top stripe */
.cta-form .form-header {
  background: var(--yellow-400);
  padding: 32px 26px 22px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-form .form-header::after {
  /* diagonal stripe overlay */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg,
    transparent 0, transparent 12px,
    rgba(13, 11, 97, 0.06) 12px, rgba(13, 11, 97, 0.06) 13px);
  pointer-events: none;
}
.cta-form .form-header .title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.1;
  margin: 0;
}
.cta-form .form-header .title em {
  font-style: italic;
}
.cta-form .form-header .sub {
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
  opacity: 0.65;
  position: relative;
}

.cta-form .form-body {
  padding: 22px 26px 18px;
}

.cta-form .field {
  margin-bottom: 14px;
  position: relative;
}
.cta-form .field label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.cta-form .field label .req {
  color: var(--teal-500);
  font-family: var(--f-sans);
}
.cta-form .field .icon-left {
  position: absolute;
  left: 14px;
  bottom: 16px;
  color: var(--ink-400);
  pointer-events: none;
  transition: color 0.2s ease;
  display: inline-flex;
}
.cta-form .field input,
.cta-form .field select {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  background: var(--bg-soft);
  transition: all 0.2s ease;
}
.cta-form .field input::placeholder { color: var(--ink-400); }
.cta-form .field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 4.5L6 7.5L9 4.5' stroke='%231e2a3d' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.cta-form .field input:hover,
.cta-form .field select:hover {
  background: #fff;
  border-color: var(--ink-300);
}
.cta-form .field input:focus,
.cta-form .field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 4px rgba(13, 11, 97, 0.10);
}
.cta-form .field:focus-within .icon-left { color: var(--navy-900); }

.cta-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.cta-form .field-row .field { margin-bottom: 0; }

.cta-form button[type="submit"] {
  width: 100%;
  padding: 17px 20px;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 10px;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 28px -8px rgba(13, 11, 97, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  border: 1px solid var(--navy-900);
  position: relative;
  overflow: hidden;
}
.cta-form button[type="submit"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(228, 211, 41, 0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.cta-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -8px rgba(13, 11, 97, 0.65), inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}
.cta-form button[type="submit"]:hover::before { transform: translateX(100%); }

/* Trust strip at footer of form */
.cta-form .form-foot {
  border-top: 1px dashed var(--line-strong);
  margin: 12px 26px 0;
  padding: 14px 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.cta-form .form-foot .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-600);
  font-weight: 500;
}
.cta-form .form-foot .item strong {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1;
}
.cta-form .form-foot .item .lbl {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.site-footer .brand-col .logo { color: #fff; }
.site-footer .brand-col .logo-mark { background: var(--yellow-400); color: var(--navy-900); }
.site-footer .brand-col p {
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 30ch;
}
.site-footer .col h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.site-footer .col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer .col a:hover { color: var(--yellow-400); }
.site-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.socials {
  display: flex; gap: 8px;
}
.socials a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.15s ease;
}
.socials a:hover { background: var(--yellow-400); color: var(--navy-900); }

/* ============ CATEGORY PAGE ============ */
.cat-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #fbfcfd 0%, #f5f7fa 100%);
  border-bottom: 1px solid var(--line);
}
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 20px;
}
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--navy-900); }
.crumbs .sep { color: var(--ink-300); }
.crumbs .here { color: var(--ink-900); font-weight: 500; }

.cat-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
}
.cat-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-950);
  margin: 0 0 16px;
}
.cat-hero h1 em { font-style: italic; color: var(--navy-900); }
.cat-hero p.lede {
  font-size: 17px;
  color: var(--ink-600);
  max-width: 50ch;
  margin: 0 0 24px;
}
.cat-side-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cat-side-stats .item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.cat-side-stats .v {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cat-side-stats .l {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 500;
}

/* === Top 10 list (replaces cat-side-stats on category hero) === */
.top10-list {
  display: block !important;
  background: #fff;
  border: 1.5px solid rgba(13, 11, 97, 0.18);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px -16px rgba(13, 11, 97, 0.18);
}
.top10-list .t10-head {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy-900);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top10-list .t10-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-400);
}
.top10-list .t10-live {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top10-list .t10-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  position: relative;
}
.top10-list .t10-pulse::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--teal-500);
  opacity: 0.35;
  animation: pulse-ring 1.6s ease-out infinite;
}

/* Auto-scrolling vertical marquee — shows ~5 rows at a time, scrolls slowly */
.top10-list .t10-marquee {
  position: relative;
  height: 250px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.top10-list .t10-track {
  display: flex;
  flex-direction: column;
  animation: t10-scroll 22s linear infinite;
}
.top10-list .t10-marquee:hover .t10-track { animation-play-state: paused; }
@keyframes t10-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.top10-list .t10-row {
  display: grid;
  grid-template-columns: 32px 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.top10-list .t10-row:hover { background: var(--bg-soft); }
.top10-list .t10-rk {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  text-align: center;
}
.top10-list .t10-clog {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.01em;
}
.top10-list .t10-nm {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-950);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top10-list .t10-sc {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--teal-700);
  letter-spacing: -0.02em;
}

/* Filter / toolbar */
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  margin: 24px 0 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar .group { display: flex; gap: 8px; align-items: center; }
.toolbar label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-right: 4px;
}
.tb-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tb-chip:hover, .tb-chip.active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.toolbar .spacer { flex: 1; }
.toolbar .search-input {
  padding: 8px 14px 8px 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  width: 240px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6779' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat 14px center;
}

/* ============ COMPANY DETAIL PAGE ============ */
.detail-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 56px;
}

/* ============ DETAIL HERO V2 (enhanced) ============ */
.detail-hero-v2 { padding: 28px 0 32px; }
.dh2-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.dh2-headline { flex: 1 1 540px; min-width: 0; }
.dh2-h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink-950);
  margin: 0 0 10px;
}
.dh2-subtitle {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--ink-700);
  margin: 0 0 16px;
  max-width: 60ch;
}
.dh2-subtitle strong { font-weight: 600; color: var(--ink-950); }
.dh2-em { color: var(--ink-500); margin: 0 2px; }

.dh2-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 14px;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.dh2-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dh2-meta-item svg {
  color: var(--ink-500);
  flex-shrink: 0;
}

.dh2-website {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}
.dh2-website svg { color: var(--teal-600); }
.dh2-website a {
  color: var(--teal-700);
  font-weight: 500;
  text-decoration: none;
}
.dh2-website a:hover { text-decoration: underline; }

.dh2-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dh2-badge-top {
  display: inline-flex;
  align-items: center;
  background: var(--navy-900);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.005em;
}
.dh2-badge-score {
  display: inline-flex;
  align-items: center;
  background: var(--yellow-50);
  color: #7a6612;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--yellow-100);
}

.dh2-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.dh2-toc {
  margin-top: 20px;
  background: var(--yellow-50);
  border: 1px solid #f3ead4;
  border-radius: 14px;
  padding: 14px 18px;
}
.dh2-toc-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a6612;
  margin-bottom: 8px;
}
.dh2-toc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.dh2-toc-chip {
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.15s ease;
  position: relative;
  cursor: pointer;
}
.dh2-toc-chip:hover { color: var(--teal-700); }
.dh2-toc-chip:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--teal-500);
}

@media (max-width: 768px) {
  .detail-hero-v2 { padding: 20px 0 24px; }
  .dh2-top {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 12px;
  }
  .dh2-headline { flex: 1 1 auto; }
  .dh2-h1 { font-size: 40px; }
  .dh2-subtitle { font-size: 16px; margin-bottom: 12px; }
  .dh2-meta { gap: 6px 16px; font-size: 13px; }
  .dh2-website { margin-bottom: 14px; font-size: 13px; }
  .dh2-actions { width: 100%; }
  .dh2-actions .btn { flex: 1 1 auto; }
  .dh2-toc { padding: 12px 14px; margin-top: 14px; }
  .dh2-toc-chips { gap: 3px 12px; }
  .dh2-toc-chip { font-size: 13px; }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  margin-top: 32px;
}
.detail-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
.detail-head .clogo { width: 80px; height: 80px; border-radius: 16px; font-size: 30px; }
.detail-head h1 {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 500;
  color: var(--ink-950);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.detail-head .sub {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.detail-head .sub a { color: var(--teal-700); font-weight: 600; }
.detail-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.detail-section {
  margin-bottom: 48px;
}

/* Score band — extracted from inline */
.detail-score-band {
  background: linear-gradient(135deg, #fff, var(--bg-soft));
  border: 1.5px solid rgba(13, 11, 97, 0.18);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

/* === Share popover === */
.share-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 20px 48px -12px rgba(13, 11, 97, 0.25);
  padding: 14px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.share-popover.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.share-popover .sp-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 10px;
  font-family: var(--f-mono);
}
.share-popover .sp-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.share-popover .sp-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.share-popover .sp-opt:hover { background: #fff; border-color: var(--navy-900); color: var(--navy-900); }
.share-popover .sp-opt svg { flex-shrink: 0; }
.share-popover .sp-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
}
.share-popover .sp-url input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-700);
  padding: 4px 6px;
  min-width: 0;
}
.share-popover .sp-copy-btn {
  background: var(--navy-900);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--f-mono);
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.share-popover .sp-copy-btn:hover { background: var(--navy-800); }
.share-popover .sp-copy-btn.copied { background: var(--teal-500); }
#shareBtn { position: relative; }
.share-anchor { position: relative; display: inline-block; }

/* === Save button — toggled state */
#saveBtn.is-saved {
  background: var(--yellow-400);
  color: var(--navy-900);
  border-color: var(--yellow-400);
}
#saveBtn.is-saved svg { fill: currentColor; }

/* Share button feedback */
#shareBtn.is-copied {
  background: var(--teal-500);
  color: #fff;
  border-color: var(--teal-500);
}
.detail-section h2 {
  font-family: var(--f-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink-950);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.detail-section p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-600);
  margin: 0 0 12px;
  text-wrap: pretty;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1.5px solid rgba(13, 11, 97, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact:nth-child(4n) { border-right: none; }
.fact:nth-last-child(-n+4) { border-bottom: none; }
.fact .l {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.fact .v {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-950);
}

/* ============ VIDEO FRAME (featured embed) ============ */
.video-frame {
  background: linear-gradient(135deg, #fefaed 0%, #f5f7fa 100%);
  border: 1.5px solid rgba(13, 11, 97, 0.10);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.video-frame::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(228, 211, 41, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.video-frame::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(71, 139, 141, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.video-frame > * { position: relative; z-index: 1; }
.video-frame-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: rgba(13, 11, 97, 0.06);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.video-frame-eyebrow .vf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 0 4px rgba(228, 211, 41, 0.25);
}
.video-frame-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-950);
  margin: 0 0 10px;
}
.video-frame-desc {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 60ch;
}
.video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px -20px rgba(13, 11, 97, 0.30), 0 8px 24px -8px rgba(13, 11, 97, 0.15);
}
.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* YouTube facade — thumbnail with play button, only loads iframe on click */
.video-frame-wrap picture,
.video-frame-wrap .vf-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-frame-wrap .vf-thumb {
  object-fit: cover;
  display: block;
}
.video-frame-wrap .vf-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.40));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.video-frame-wrap .vf-play-btn:hover,
.video-frame-wrap .vf-play-btn:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
  outline: 0;
}
.video-frame-wrap .vf-play-btn svg {
  display: block;
  width: 80px;
  height: 56px;
}
@media (max-width: 768px) {
  .video-frame-wrap .vf-play-btn svg { width: 60px; height: 42px; }
}
@media (max-width: 768px) {
  .video-frame { padding: 22px 18px; }
  .video-frame-title { font-size: 22px; line-height: 1.2; }
  .video-frame-desc { font-size: 14px; margin-bottom: 18px; }
  .video-frame-eyebrow { font-size: 10px; padding: 5px 10px; margin-bottom: 14px; }
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.plan-card {
  border: 1.5px solid rgba(13, 11, 97, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}
.plan-card .pn {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-950);
  margin-bottom: 8px;
}
.plan-card .pd {
  font-size: 12px;
  color: var(--ink-600);
  line-height: 1.5;
}

.sidebar-card {
  background: #fff;
  border: 1.5px solid rgba(13, 11, 97, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.sidebar-card h2, .sidebar-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink-950);
  margin: 0 0 16px;
}
.sidebar-card .quick-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.sidebar-card .quick-row:last-of-type { border-bottom: none; }
.sidebar-card .quick-row .k { color: var(--ink-500); }
.sidebar-card .quick-row .v { color: var(--ink-900); font-weight: 600; }
.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 14px; }

.review-list-detail .review-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.review-list-detail .review-item:first-child { padding-top: 0; }
.review-list-detail .review-item:last-child { border-bottom: none; }
.review-item .ri-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.review-item .ri-author { font-weight: 600; color: var(--ink-900); font-size: 14px; }
.review-item .ri-when { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.review-item .ri-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-950);
  margin: 4px 0 6px;
  letter-spacing: -0.005em;
}
.review-item .ri-text {
  font-size: 13px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0;
}

/* ===================================================
   SECTION THEMES — each block gets its own background
=================================================== */

/* Default — keep transparent/white. Ensure container above pattern. */
section.block { position: relative; }
section.block > .container { position: relative; z-index: 1; }

/* --- Cream (warm) — for 3 categories --- */
section.sec-cream {
  background: linear-gradient(180deg, #faf8ed 0%, #f5f0dc 100%);
}
section.sec-cream::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(13, 11, 97, 0.10) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
section.sec-cream::after {
  content: "";
  position: absolute;
  bottom: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 211, 41, 0.16), transparent 70%);
  pointer-events: none;
}

/* --- Dark navy — dramatic ranking table section --- */
section.sec-dark {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(71, 139, 141, 0.22), transparent 55%),
    radial-gradient(ellipse at 95% 100%, rgba(228, 211, 41, 0.10), transparent 50%),
    linear-gradient(180deg, #08063a 0%, #0D0B61 50%, #11106e 100%);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
section.sec-dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 80%);
}
section.sec-dark::after {
  content: "";
  position: absolute;
  top: 50%; right: -10%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 139, 141, 0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
section.sec-dark .eyebrow { color: var(--yellow-400); }
section.sec-dark .eyebrow::before { background: var(--yellow-400); }
section.sec-dark .h1,
section.sec-dark .h2 { color: #fff; }
section.sec-dark .h1 em,
section.sec-dark .h2 em { color: var(--yellow-400); }
section.sec-dark .lede { color: rgba(255, 255, 255, 0.72); }
section.sec-dark .tb-chip {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
}
section.sec-dark .tb-chip:hover,
section.sec-dark .tb-chip.active {
  background: var(--yellow-400);
  color: var(--navy-900);
  border-color: var(--yellow-400);
}
section.sec-dark .section-link { color: var(--yellow-400); }
section.sec-dark .section-link:hover { color: #fff; }
section.sec-dark .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}
section.sec-dark .btn-ghost:hover {
  border-color: var(--yellow-400);
  color: var(--yellow-400);
}

/* Dark variant of ranking table */
.rank-table.dark {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
}
.rank-table.dark thead th {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.rank-table.dark tbody td { border-bottom-color: rgba(255, 255, 255, 0.08); }
.rank-table.dark tbody tr:hover { background: rgba(255, 255, 255, 0.05); }
.rank-table.dark .rank-col { color: var(--yellow-400); }
.rank-table.dark .co-cell .name { color: #fff; }
.rank-table.dark .co-cell .sub { color: rgba(255, 255, 255, 0.55); }
.rank-table.dark .plan-pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}
.rank-table.dark .stars .val { color: #fff; }
.rank-table.dark .mono { color: #fff; }
.rank-table.dark .section-link { color: var(--yellow-400); border-color: var(--yellow-400); }
.rank-table.dark .b-product { background: rgba(228, 211, 41, 0.18); color: var(--yellow-400); }
.rank-table.dark .b-forex { background: rgba(71, 139, 141, 0.30); color: #b6e1e3; }
.rank-table.dark .b-crypto { background: rgba(228, 211, 41, 0.20); color: var(--yellow-400); }
.rank-table.dark .stars-row .empty { color: rgba(255, 255, 255, 0.18); }

/* --- Slate blueprint — for featured companies --- */
section.sec-slate {
  background: linear-gradient(180deg, #eef2f8 0%, #e6ecf4 100%);
  overflow: hidden;
}
section.sec-slate::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41, 70, 105, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 70, 105, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
section.sec-slate::after {
  content: "";
  position: absolute;
  top: 10%; left: -8%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 139, 141, 0.16), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

/* --- Teal tint — for trending/new feed --- */
section.sec-teal {
  background: linear-gradient(180deg, #eef6f6 0%, #dfecec 100%);
  overflow: hidden;
}
section.sec-teal::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(47, 110, 112, 0.20) 1px, transparent 0);
  background-size: 18px 18px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
section.sec-teal::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 11, 97, 0.10), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* --- Diagonal stripes — for "How to list" steps section --- */
section.sec-stripes {
  background:
    linear-gradient(180deg, #fbfaf3 0%, #f6f3e6 100%);
  overflow: hidden;
}
section.sec-stripes::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 28px,
    rgba(13, 11, 97, 0.045) 28px,
    rgba(13, 11, 97, 0.045) 29px
  );
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

/* Adjust section-head colors against tinted backgrounds */
section.sec-cream .eyebrow,
section.sec-slate .eyebrow,
section.sec-teal .eyebrow,
section.sec-stripes .eyebrow { color: var(--navy-900); }

/* Steps in stripes section — pure white to pop against cream stripes */
section.sec-stripes .steps {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* List columns in teal section — keep white card feel with stronger shadow */
section.sec-teal .list-col {
  box-shadow: 0 8px 32px -16px rgba(13, 11, 97, 0.18);
}

/* Featured cards in slate section — slightly stronger shadow on hover for depth */
section.sec-slate .feat-card {
  box-shadow: 0 1px 0 rgba(13, 11, 97, 0.04);
}
section.sec-slate .feat-card:hover {
  box-shadow: 0 16px 40px -12px rgba(13, 11, 97, 0.18);
}

/* Section divider — angled separator for visual rhythm */
.sec-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ============ MOBILE ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .cats { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:nth-child(odd) { border-right: 1px solid var(--line); }
  .list-split { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-band { padding: 36px 28px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 48px 28px; gap: 32px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-search { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-cloud { height: 440px; }
  .cloud-callout.cc-top { left: 8px; }
  .cloud-callout.cc-bot { right: 8px; }
  .cat-hero-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2n) { border-right: none; }
  .fact:nth-child(4n) { border-right: none; }
  .plan-list { grid-template-columns: 1fr; }
  .rank-table { font-size: 12px; }
  .rank-table thead th, .rank-table tbody td { padding: 12px 12px; }
}
@media (max-width: 768px) {
  section.block { padding: 24px 0 !important; }
  .hero { padding: 24px 0 24px; }
  .container { padding: 0 16px; }
  .detail-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .detail-head .clogo { width: 64px; height: 64px; }

  /* === Menu: only show logo, centered === */
  .site-header .nav {
    justify-content: center;
    height: 56px;
  }
  body { padding-top: 56px; }
  .site-header .nav-cta { display: none; }
  .site-header .nav-links { display: none; }

  /* === Hero: remove animated logo wall, stack content === */
  .hero-right { display: none; }
  .hero-grid { gap: 20px; grid-template-columns: 1fr; }
  .hero-inner { padding: 0; }
  .hero h1 {
    font-size: 26px;
    line-height: 1.1;
    max-width: none;
    text-align: center;
    margin: 0 0 14px;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 auto 18px;
    text-align: center;
    max-width: 100%;
  }
  .hero-tag {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 16px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
    text-align: left;
  }
  .hero-left { text-align: center; min-width: 0; }
  .hero-left > * { max-width: 100%; }

  /* Search + Category + Submit in one row (compact icons) */
  .hero-search {
    grid-template-columns: 1fr auto auto;
    padding: 4px;
    border-radius: 10px;
    gap: 4px;
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-search input {
    padding: 8px 10px;
    font-size: 13px;
  }
  .cat-select {
    min-width: 0;
    width: auto;
  }
  .cat-select .cat-trigger {
    padding: 2px 4px;
    gap: 0;
  }
  .cat-select .cat-trigger .cat-text,
  .cat-select .cat-trigger .cat-chev { display: none; }
  .cat-select .cat-trigger .cat-ic {
    width: 28px; height: 28px;
    border-radius: 6px;
  }
  .cat-menu {
    left: auto;
    right: 0;
    min-width: 220px;
  }
  .hero-search button[type="submit"] {
    padding: 0;
    width: 34px;
    height: 34px;
    justify-content: center;
    border-radius: 7px;
  }
  .hero-search button[type="submit"] .search-label { display: none; }

  /* === Headings: hide the italic em accent and lede paragraph === */
  .section-head .h1 em,
  .section-head .h2 em,
  .h1 em,
  .h2 em { display: none; }
  .section-head .lede { display: none; }
  /* Doc pages (privacy, terms, disclaimer, contact) keep the h1 em visible,
     otherwise part of the heading or the whole heading is hidden on mobile. */
  .doc-page .h1 em { display: inline; }

  /* Compact category cards in mobile carousel */
  .cat-card {
    padding: 22px 22px 18px;
    min-height: auto;
  }
  .cat-card .rank {
    top: 16px;
    right: 16px;
    font-size: 10px;
  }
  .cat-card .cat-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    margin-bottom: 14px;
    margin-top: -4px;
  }
  .cat-card .cat-icon svg { width: 22px; height: 22px; }
  .cat-card .cat-tags { gap: 4px; margin-bottom: 10px; }
  .cat-card .cat-tags .ct {
    font-size: 9px;
    padding: 3px 7px;
  }
  .cat-card .cat-name {
    font-size: 24px;
    line-height: 1.05;
    margin-bottom: 8px;
    white-space: nowrap;
  }
  .cat-card .cat-name em {
    display: inline;
    font-style: italic;
  }
  .cat-card .cat-desc {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
    max-width: none;
  }
  .cat-card .cat-meta {
    gap: 16px;
    padding-top: 14px;
  }
  .cat-meta .item .v { font-size: 20px; }
  .cat-meta .item .l { font-size: 9px; margin-top: 4px; }
  .cat-card .browse {
    margin-top: 12px;
    font-size: 13px;
  }
  .cat-card::after { width: 160px !important; height: 160px !important; bottom: -50px !important; right: -30px !important; }
  .section-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .section-head .left {
    text-align: left;
    flex: 1;
    min-width: 0;
  }
  .section-head .left .eyebrow {
    justify-content: flex-start;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .section-head .left .h1,
  .section-head .left .h2 {
    font-size: 22px;
    line-height: 1.15;
    text-align: left;
    margin-top: 8px;
  }
  .section-head .section-link {
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .section-head .section-link .full-label { display: none; }
  .section-head .section-link .short-label { display: inline; }
  .section-head .right-actions { width: auto; justify-content: flex-end; }

  /* When section-head contains filter chips (tb-chip), stack and center */
  .section-head:has(.tb-chip) {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .section-head:has(.tb-chip) > div:not(.left) {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .section-head:has(.tb-chip) .left { text-align: center; width: 100%; }
  .section-head:has(.tb-chip) .left .eyebrow { justify-content: center; }
  .section-head:has(.tb-chip) .left .h1,
  .section-head:has(.tb-chip) .left .h2 { text-align: center; }

  /* === Mobile Top Rank — selector + single detail card === */
  /* === Mobile Top Rank — white card, navy text, green stars === */
  #topRankTable { display: none; }
  #topRankTable + div { display: none !important; }
  .m-rank {
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px -16px rgba(13, 11, 97, 0.20);
  }
  .m-rank-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 14px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
    background: var(--bg-soft);
  }
  .m-rank-pills::-webkit-scrollbar { display: none; }
  .m-rank-pill {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--line-strong);
    color: var(--navy-900);
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.01em;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .m-rank-pill:hover { background: var(--bg-soft); border-color: var(--navy-900); }
  .m-rank-pill.active {
    background: var(--navy-900);
    color: var(--yellow-400);
    border-color: var(--navy-900);
    transform: scale(1.05);
    box-shadow: 0 6px 14px -4px rgba(13, 11, 97, 0.40);
  }
  .m-rank-card {
    padding: 24px 20px 22px;
    color: var(--ink-700);
    position: relative;
    background: #fff;
  }
  .m-rank-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 140px; height: 140px;
    background: radial-gradient(circle at top right, rgba(71, 139, 141, 0.12), transparent 70%);
    pointer-events: none;
  }
  .m-rank-card .mr-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
  }
  .m-rank-card .mr-rank {
    font-family: var(--f-display);
    font-size: 44px;
    font-weight: 500;
    color: var(--navy-900);
    letter-spacing: -0.03em;
    line-height: 1;
    flex-shrink: 0;
  }
  .m-rank-card .mr-logo {
    width: 54px; height: 54px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -6px rgba(13, 11, 97, 0.35);
  }
  .m-rank-card .mr-meta { min-width: 0; flex: 1; }
  .m-rank-card .mr-name {
    font-weight: 700;
    color: var(--ink-950);
    font-size: 17px;
    letter-spacing: -0.01em;
    line-height: 1.15;
  }
  .m-rank-card .mr-sub {
    font-size: 12px;
    color: var(--ink-500);
    margin-top: 3px;
    font-weight: 500;
  }
  .m-rank-card .mr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    padding: 16px 0;
    border-top: 1px dashed var(--line-strong);
    border-bottom: 1px dashed var(--line-strong);
  }
  .m-rank-card .mr-grid .item {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
  }
  .m-rank-card .mr-grid .item .l {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ink-500);
  }
  .m-rank-card .mr-grid .item .v {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-950);
    margin-top: 4px;
    letter-spacing: -0.005em;
  }
  .m-rank-card .mr-stars-row {
    color: var(--teal-500);
    font-size: 15px;
    letter-spacing: -1px;
  }
  .m-rank-card .mr-stars-row .empty { color: var(--ink-200); }
  .m-rank-card .mr-stars-val {
    font-weight: 700;
    color: var(--ink-950);
    font-size: 14px;
    margin-left: 6px;
  }
  .m-rank-card .mr-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    gap: 12px;
  }
  .m-rank-card .mr-score {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .m-rank-card .mr-score .num {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--navy-900);
    letter-spacing: -0.025em;
    line-height: 1;
  }
  .m-rank-card .mr-score .lbl {
    font-family: var(--f-mono);
    font-size: 9px;
    color: var(--ink-500);
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
  }
  .m-rank-card .mr-link {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--navy-900);
    border-radius: 8px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.005em;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 6px 16px -4px rgba(13, 11, 97, 0.40);
  }
  .m-rank-card .mr-link:hover {
    background: var(--navy-800);
    transform: translateY(-1px);
  }
  .m-rank-card .mr-link-disabled {
    background: var(--ink-200);
    color: var(--ink-500);
    box-shadow: none;
    cursor: not-allowed;
    font-weight: 600;
  }
  .m-rank-card .mr-link-disabled:hover {
    background: var(--ink-200);
    transform: none;
  }
  .m-rank-card .mr-plan-row {
    margin-bottom: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }

  /* === Horizontal snap carousels for long grids === */
  .cats,
  .featured-grid,
  .steps,
  .list-split {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 20px 4px;
    margin: 0 -24px;
    scrollbar-width: none;
    border-radius: 0;
    border: none;
    background: transparent;
  }
  .cats::-webkit-scrollbar,
  .featured-grid::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .list-split::-webkit-scrollbar { display: none; }
  .cats > *,
  .featured-grid > *,
  .steps > *,
  .list-split > * {
    flex: 0 0 88%;
    scroll-snap-align: center;
  }

  /* Trending list rows — compact product-card style */
  .list-col { border-radius: var(--radius-lg); }
  .list-col .head { padding: 14px 16px; }
  .list-col .head h3 { font-size: 14px; }
  .list-row {
    grid-template-columns: 26px 1fr auto;
    padding: 12px 14px;
    gap: 10px;
  }
  .list-row .lr { font-size: 14px; }
  .list-row .lname .name { font-size: 13px; }
  .list-row .lname .meta { font-size: 10px; }
  .list-row .delta {
    background: rgba(47, 110, 112, 0.12);
    color: var(--teal-700);
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 10px;
  }
  .list-row .delta.down { background: rgba(196, 68, 68, 0.10); color: #c44; }
  .list-row .badge { display: none; }  /* hide badge on mobile to save width */
  /* steps cells lose border-right divider when in carousel mode */
  .steps .step {
    border-right: 1px solid var(--line);
    border-bottom: none;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
  }
  .steps .step::after { display: none; }  /* hide connector arrows */

  /* Carousel controls (arrows + dots) — disabled per user request */
  .carousel-controls { display: none !important; }

  /* CTA banner stack */
  .cta-banner { grid-template-columns: 1fr; padding: 28px 20px; gap: 22px; }
  .cta-banner .eyebrow { font-size: 10px; }
  .cta-banner h2 { font-size: 24px; line-height: 1.1; margin-bottom: 12px; }
  .cta-banner h2 em { display: inline; }
  .cta-banner p { font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
  .cta-checks { gap: 8px 16px; margin-top: 14px; font-size: 12px; }
  .cta-checks .item { gap: 6px; }
  .cta-checks .item svg { width: 12px; height: 12px; }
  .cta-form { margin: 0 -4px; }
  .cta-form .form-header { padding: 24px 18px 16px; }
  .cta-form .form-header .title { font-size: 18px; }
  .cta-form .form-header .sub { font-size: 9px; margin-top: 3px; }
  .cta-form .form-body { padding: 18px 18px 14px; }
  .cta-form .field { margin-bottom: 10px; }
  .cta-form .field label { font-size: 9px; }
  .cta-form .field input, .cta-form .field select { padding: 11px 12px 11px 38px; font-size: 13px; }
  .cta-form .field .icon-left { left: 12px; bottom: 13px; }
  .cta-form .field-row { gap: 8px; margin-bottom: 10px; }
  .cta-form button[type="submit"] { padding: 13px 16px; font-size: 13px; margin-top: 6px; }
  .cta-form .form-foot { margin: 10px 18px 0; padding: 12px 0 16px; gap: 8px; }
  .cta-form .form-foot .item strong { font-size: 15px; }
  .cta-form .form-foot .item .lbl { font-size: 8px; }
  .free-tag { font-size: 9px !important; padding: 5px 12px !important; }

  /* Reviews band — already in marquee, no change needed */
  .reviews-head {
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
  }
  .reviews-head h2 { font-size: 22px !important; line-height: 1.1; margin-bottom: 6px !important; }
  .reviews-head h2 em { display: inline; }
  .reviews-head .eyebrow { font-size: 9px; }
  .reviews-head .lede { font-size: 11px; line-height: 1.45; margin-top: 6px !important; }
  .score-card {
    padding: 14px 16px;
    gap: 10px;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .score-card::before {
    top: -10px;
    right: 12px;
    width: 22px;
    height: 22px;
    font-size: 11px;
    border-width: 2px;
  }
  .score-card .num { font-size: 30px; }
  .score-card .meta { font-size: 11px; }
  .score-card .meta strong { font-size: 12px; }
  .score-card .meta .stars-row { font-size: 12px; margin-top: 3px !important; }
  .score-card .meta div:last-child { display: none; }  /* "Across all 2,481 companies" hidden on mobile */
  .reviews-marquee .rm-row:nth-child(n+2) { display: none; }
  .reviews-marquee { gap: 0; }

  /* Footer */
  .site-footer { margin-top: 0; padding: 28px 0 16px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-bottom: 20px; }
  .site-footer .brand-col { grid-column: 1 / -1; }
  .site-footer .brand-col p { margin: 12px 0 14px; }
  .site-footer .col h3 { margin-bottom: 10px; font-size: 10px; }
  .site-footer .col ul { gap: 6px; }
  .site-footer .col a { font-size: 12px; }
  .site-footer .bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 16px; }
  .site-footer .legal { gap: 16px; }

  /* === Company detail page (mobile) === */
  .detail-hero { padding: 24px 0 28px; }
  .detail-hero h1 { font-size: 30px !important; }
  .detail-head { gap: 14px !important; }
  .detail-head .clogo { width: 56px !important; height: 56px !important; font-size: 22px !important; border-radius: 12px !important; }
  .detail-head .sub { flex-wrap: wrap; gap: 6px 10px !important; font-size: 12px; }
  .detail-meta { gap: 6px !important; margin-top: 10px !important; }
  .detail-meta .badge, .detail-meta .plan-pill { font-size: 10px; }
  /* action buttons row stays right but wraps */
  .detail-hero .container > div:not(.crumbs) { flex-direction: column; align-items: stretch !important; }
  .detail-hero .container > div:not(.crumbs) > div:last-child { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .crumbs { flex-wrap: wrap; row-gap: 4px; font-size: 12px; }
  .crumbs > * { flex: 0 0 auto; }

  /* Detail score band stacks vertically on mobile */
  .detail-score-band {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 18px;
    margin-bottom: 28px;
  }
  .detail-score-band .dsb-num > div:first-child { font-size: 44px !important; }
  .detail-score-band .dsb-bars {
    border-left: none !important;
    border-top: 1px solid var(--line);
    padding-left: 0 !important;
    padding-top: 18px;
  }
  .detail-score-band .dsb-bars > div { grid-template-columns: 1fr !important; gap: 10px !important; }
  .detail-score-band .dsb-rating { display: flex; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
  .detail-score-band .dsb-rating > div { margin-top: 0 !important; }

  /* Main detail section content tighter */
  section[style*="padding: 56px 0 88px"] { padding: 24px 0 36px !important; }
  .detail-section { margin-bottom: 28px; }
  .detail-section h2 { font-size: 18px; }
  .detail-section p { font-size: 14px; }
  .fact-grid { grid-template-columns: 1fr 1fr !important; }
  .fact { padding: 12px 14px; }
  .fact .v { font-size: 14px; }
  .plan-list { grid-template-columns: 1fr !important; gap: 10px; }
  .plan-card { padding: 14px 16px; }

  /* Sidebar moves below */
  .sidebar-card { position: static !important; padding: 18px; }
  .sidebar-card h2, .sidebar-card h3 { font-size: 13px; }

  /* Detail grid: aside (Quick facts + Verification) appears above main on mobile */
  .detail-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  .detail-grid > aside { order: -1; }
  .detail-grid > aside .sidebar-card + .sidebar-card { margin-top: 14px !important; }

  /* Quick facts header — centered highlighted pill */
  .sidebar-card h2, .sidebar-card h3 {
    display: block;
    text-align: center;
    background: var(--yellow-400);
    color: var(--navy-900);
    padding: 8px 14px;
    border-radius: 6px;
    margin: 0 auto 16px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: max-content;
    max-width: 100%;
  }

  /* Similar companies — single column on mobile */
  .similar-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Review list items */
  .review-list-detail .review-item { padding: 14px 0; }
  .review-item .ri-head { gap: 10px; flex-wrap: wrap; }
  .review-item .ri-text { font-size: 13px; }

  /* Share popover — switch to bottom sheet style on mobile */
  .share-popover {
    position: fixed !important;
    top: auto !important;
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto !important;
    transform: translateY(20px);
  }
  .share-popover.open { transform: translateY(0); }
  .share-popover .sp-options { grid-template-columns: 1fr 1fr; }

  /* Verification + Score band merged in one row */
  .m-vscore-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
    align-items: start;
  }
  .m-vscore-row > * {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .m-vscore-row .detail-score-band {
    padding: 16px 14px !important;
    gap: 12px !important;
  }
  .m-vscore-row .detail-score-band .dsb-num > div:first-child { font-size: 28px !important; }
  .m-vscore-row .detail-score-band .dsb-num > div:last-child { font-size: 9px !important; }
  .m-vscore-row .detail-score-band .dsb-bars { display: none; }  /* hide bars in compact merged row */
  .m-vscore-row .detail-score-band .dsb-rating { padding-top: 12px !important; flex-direction: column; gap: 4px !important; }
  .m-vscore-row .detail-score-band .dsb-rating > div { font-size: 13px !important; }
  .m-vscore-row .sidebar-card { padding: 14px !important; }
  .m-vscore-row .sidebar-card h2, .m-vscore-row .sidebar-card h3 { font-size: 10px !important; padding: 6px 10px !important; margin-bottom: 10px !important; }
  .m-vscore-row .sidebar-card div[style*="padding:12px 0"],
  .m-vscore-row .sidebar-card div[style*="padding: 12px 0"] {
    padding: 8px 0 !important;
    gap: 8px !important;
  }
  .m-vscore-row .sidebar-card div[style*="width:24px"] {
    width: 18px !important;
    height: 18px !important;
  }
  .m-vscore-row .sidebar-card strong { font-size: 11px; }
  .m-vscore-row .sidebar-card div[style*="font-size:11px"] {
    font-size: 9px !important;
  }

  /* === Category page (mobile) === */
  .cat-hero { padding: 24px 0 28px; }
  .cat-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .cat-hero h1 { font-size: 28px !important; margin-bottom: 10px; }
  .cat-hero h1 em { display: inline; }
  .cat-hero p.lede { font-size: 14px; margin-bottom: 16px; }
  .cat-hero .badge { font-size: 10px !important; padding: 5px 10px !important; margin-bottom: 12px !important; }
  .cat-side-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-side-stats .item { padding: 14px 16px; border: 1.5px solid rgba(13, 11, 97, 0.15); }
  .cat-side-stats .v { font-size: 24px; }
  .cat-side-stats .l { font-size: 10px; margin-top: 4px; }

  /* Sub-category chips strip — horizontal scroll */
  .subcat-chips {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 24px -16px 0 !important;
    padding-left: 16px;
    padding-right: 16px;
  }
  .subcat-chips::-webkit-scrollbar { display: none; }
  .subcat-chips .tb-chip { flex-shrink: 0; font-size: 12px; padding: 5px 12px; }

  /* Toolbar wraps + stacks groups + search full width */
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0;
  }
  .toolbar .group {
    width: 100%;
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 12px;
  }
  .toolbar .group label {
    margin-right: 0;
    font-size: 10px;
    letter-spacing: 0.10em;
  }
  .toolbar .group select {
    width: 100%;
    padding: 10px 32px 10px 14px;
    font-size: 13px;
  }
  .toolbar .spacer { display: none; }
  .toolbar .search-input { width: 100%; padding: 10px 14px 10px 38px; font-size: 13px; }

  /* Hide the big 18-row table on mobile; JS builds compact cards */
  #catTable { display: none; }
  #catTable + div { /* pagination row */ flex-wrap: wrap; gap: 12px; }
  #catTable + div > div { flex-wrap: wrap; gap: 4px; }
  #catTable + div .tb-chip { padding: 4px 9px; font-size: 12px; }

  /* Mobile rank cards (built by JS for category page) */
  .m-cat-list { display: flex; flex-direction: column; gap: 10px; }
  .m-cat-card {
    background: #fff;
    border: 1.5px solid rgba(13, 11, 97, 0.18);
    border-radius: 12px;
    padding: 14px;
    display: grid;
    grid-template-columns: 28px 44px 1fr auto;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: var(--ink-900);
    transition: all 0.2s ease;
  }
  .m-cat-card:hover, .m-cat-card:active {
    border-color: var(--navy-900);
    box-shadow: 0 6px 18px -8px rgba(13, 11, 97, 0.25);
  }
  .m-cat-card .mc-rank {
    font-family: var(--f-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    text-align: center;
  }
  .m-cat-card .mc-logo {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
  }
  .m-cat-card .mc-body { min-width: 0; }
  .m-cat-card .mc-name {
    font-weight: 700;
    color: var(--ink-950);
    font-size: 14px;
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-cat-card .mc-meta {
    font-size: 11px;
    color: var(--ink-500);
    margin-top: 2px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
  }
  .m-cat-card .mc-meta .stars-row { font-size: 11px; color: var(--star-gold); letter-spacing: -0.5px; }
  .m-cat-card .mc-meta .stars-row .empty { color: var(--ink-200); }
  .m-cat-card .mc-score {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--teal-700);
    letter-spacing: -0.02em;
    text-align: right;
  }
  .m-cat-card .mc-score .mc-out {
    display: block;
    font-family: var(--f-mono);
    font-size: 8px;
    color: var(--ink-500);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
  }

  /* Sub-category breakdown — horizontal scroll carousel on mobile */
  .subcat-grid {
    grid-template-columns: none !important;
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px !important;
    padding: 4px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .subcat-grid::-webkit-scrollbar { display: none; }
  .subcat-grid > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
    border: 1.5px solid rgba(13, 11, 97, 0.18) !important;
    padding: 16px !important;
  }

  /* Tighten section spacing */
  section[style*="padding: 32px 0 88px"] { padding: 20px 0 32px !important; }
  .subcat-grid + div, [style*="margin-top:96px"] { margin-top: 28px !important; }
}

/* Hide mobile-only components on desktop */
@media (min-width: 769px) {
  .m-rank { display: none !important; }
  .carousel-controls { display: none !important; }
}

/* === FAQ accordion (uses native <details>/<summary> for accessibility).
   Lives in async-loaded styles.css since FAQs sit below the fold on every page. */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  color: var(--ink-950);
  transition: color 0.15s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--navy-900); }
.faq-item > summary:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 2px;
  border-radius: 4px;
}
.faq-item .faq-q {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}
.faq-item .faq-chev {
  color: var(--ink-500);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] > summary { color: var(--navy-900); }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--navy-900); }
.faq-item .faq-a {
  padding: 0 4px 20px;
}
.faq-item .faq-a p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0;
}
@media (max-width: 768px) {
  .faq-item > summary { padding: 16px 2px; gap: 12px; }
  .faq-item .faq-q { font-size: 15px; }
  .faq-item .faq-a { padding: 0 2px 16px; }
  .faq-item .faq-a p { font-size: 14px; }
}

/* === Editorial byline + YMYL + Sources (company profile pages) === */
.byline {
  margin: 24px 0 14px;
  padding: 10px 14px;
  background: var(--ink-50);
  border-left: 3px solid var(--navy-900);
  border-radius: 4px;
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--ink-700);
}
.byline-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.byline-label { color: var(--ink-500); font-weight: 500; }
.byline-author { color: var(--navy-900); font-weight: 600; text-decoration: none; }
.byline-author:hover { text-decoration: underline; }
.byline-sep { color: var(--ink-300); }
.byline-date { color: var(--ink-600); font-style: italic; }
.byline-team {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.byline-team:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

.ymyl-note {
  margin: 0 0 32px;
  padding: 14px 16px;
  background: #fffaf0;
  border: 1px solid #f0d58a;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-800);
}
.ymyl-note strong { color: #8a5a00; }

.source-list {
  margin: 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
}
.source-list li { margin-bottom: 12px; }
.source-list li strong { color: var(--ink-950); font-weight: 600; }
.source-list a { color: var(--navy-900); text-decoration: none; }
.source-list a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .byline { font-size: 12px; padding: 8px 12px; }
  .ymyl-note { font-size: 12px; padding: 12px 14px; margin-bottom: 24px; }
  .source-list { font-size: 13px; padding-left: 18px; }
}

/* Related-companies pull paragraph in About sections — small visual treatment
   so editorial cross-links don't read as commodity body prose. */
.related-mention {
  margin-top: 18px !important;
  padding: 14px 16px;
  background: var(--ink-50, #f4f6fa);
  border-left: 3px solid var(--navy-900, #0d0b61);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700, #4b5670);
}
.related-mention a {
  color: var(--navy-900, #0d0b61);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.related-mention a:hover {
  color: var(--navy-800, #1e1a86);
}

/* ===================================================================
   PROFILE TABS — simple About / Business Plan tab switcher
   ===================================================================
   Sits at the top of the main content column on company profile pages.
   Two-tab strip; clicking a tab swaps the visible panel inline. */
.profile-tabs {
  margin-bottom: 32px;
}
.tab-strip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  background: var(--bg-soft, #f5f7fa);
  border: 1px solid var(--line, #e6e9ef);
  border-radius: 12px;
}
.tab-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 10px 18px;
  font-family: var(--f-sans, "Inter Tight", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500, #5b6779);
  letter-spacing: -0.005em;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.tab-strip-btn svg {
  opacity: 0.75;
  transition: opacity 0.18s ease, color 0.18s ease;
  flex-shrink: 0;
}
.tab-strip-btn:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink-700, #1e2a3d);
}
.tab-strip-btn:hover svg {
  opacity: 1;
}
.tab-strip-btn.is-active {
  background: var(--white, #ffffff);
  color: var(--navy-900, #0d0b61);
  box-shadow:
    0 1px 2px rgba(13, 11, 97, 0.06),
    0 2px 8px rgba(13, 11, 97, 0.08);
}
.tab-strip-btn.is-active svg {
  opacity: 1;
  color: var(--teal-600, #3a7e80);
}
.tab-strip-btn:focus-visible {
  outline: 2px solid var(--navy-900, #0d0b61);
  outline-offset: 2px;
}

/* Panels — hide inactive */
.tab-panel[hidden] {
  display: none;
}

/* === Business Plan panel internals === */
.bp-block {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line, #e5e8ee);
}
.bp-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.bp-block h3 {
  margin: 0 0 14px;
  font-family: var(--f-serif, "Newsreader", serif);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink-950, #050a14);
}
.bp-block > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-800, #2a3145);
  margin: 0 0 12px;
}
.bp-block > p strong {
  color: var(--ink-950, #050a14);
  font-weight: 600;
}

/* Callouts inside the business plan panel */
.bp-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--navy-50, #eef0fb);
  border-left: 3px solid var(--navy-900, #0d0b61);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-800, #2a3145);
}
.bp-callout-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy-900, #0d0b61);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.bp-callout-warn {
  background: #fffaf0;
  border-left-color: #d97706;
}
.bp-callout-warn .bp-callout-icon {
  background: #d97706;
}
.bp-callout strong {
  color: var(--ink-950, #050a14);
}

/* Income stream cards */
.bp-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.bp-card {
  background: #fff;
  border: 1px solid var(--line, #e5e8ee);
  border-radius: 10px;
  padding: 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bp-card:hover {
  border-color: var(--navy-900, #0d0b61);
  box-shadow: 0 4px 12px rgba(13, 11, 97, 0.06);
}
.bp-tier {
  display: inline-block;
  font-family: var(--f-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-900, #0d0b61);
  background: var(--navy-50, #eef0fb);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.bp-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-950, #050a14);
  font-family: var(--f-sans, "Inter Tight", system-ui, sans-serif);
}
.bp-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-700, #4b5670);
  margin: 0 0 12px;
}
.bp-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--line, #e5e8ee);
}
.bp-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500, #8b93a4);
}
.bp-stat strong {
  font-family: var(--f-mono, "JetBrains Mono", monospace);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900, #0d0b61);
}

/* India key stats row */
.bp-keystat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.bp-keystat {
  background: #fff;
  border: 1px solid var(--line, #e5e8ee);
  border-radius: 8px;
  padding: 14px;
}
.bp-keystat .l {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500, #8b93a4);
  margin-bottom: 4px;
}
.bp-keystat .v {
  font-family: var(--f-serif, "Newsreader", serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-950, #050a14);
  line-height: 1.1;
}
.bp-keystat .v span {
  font-size: 12px;
  font-family: var(--f-sans);
  color: var(--ink-500, #8b93a4);
  font-weight: 400;
  margin-left: 2px;
}

/* How-to-join steps */
.bp-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.bp-steps > li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line, #e5e8ee);
}
.bp-steps > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.bp-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-900, #0d0b61);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--f-sans);
}
.bp-steps h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-950, #050a14);
  font-family: var(--f-sans, "Inter Tight", system-ui, sans-serif);
}
.bp-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-700, #4b5670);
}

/* Mobile */
@media (max-width: 768px) {
  .tab-strip {
    display: flex;
    width: 100%;
    padding: 4px;
    border-radius: 10px;
  }
  .tab-strip-btn {
    flex: 1;
    justify-content: center;
    font-size: 13px;
    padding: 9px 10px;
  }
  .tab-strip-btn svg {
    width: 13px;
    height: 13px;
  }
  .bp-block h3 {
    font-size: 20px;
  }
  .bp-cards-grid {
    grid-template-columns: 1fr;
  }
  .bp-keystat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
