:root {
  --bg: #0b0c0e;
  --surface: #131418;
  --surface-2: #1a1c21;
  --line: #24262c;
  --line-strong: #34373f;
  --fg: #f3f1ea;
  --muted: #9a9ca3;
  --accent: #c9f24a;
  --accent-soft: rgba(201, 242, 74, 0.12);
  --accent-ink: #0b0c0e;
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --display: "Bricolage Grotesque", "Manrope", sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fine grain so the dark background never looks flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -200px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 242, 74, 0.16), transparent 62%);
  pointer-events: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

.wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

/* ---------- Topbar ---------- */
.topbar-slot {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 20px 0;
}

.topbar {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 8px 8px 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.topbar.scrolled {
  background: rgba(19, 20, 24, 0.78);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  background: var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
  background: var(--surface-2);
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.menu-btn svg {
  width: 18px;
  height: 18px;
}

.menu-btn[aria-expanded="true"] {
  border-color: var(--accent);
}

.section-menu {
  display: grid;
  gap: 4px;
  width: min(1120px, 100%);
  margin: 8px auto 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(19, 20, 24, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.section-menu[hidden] {
  display: none;
}

.section-menu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 600;
}

.section-menu a:hover {
  background: var(--surface-2);
}

@media (width <= 900px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 20px;
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--accent);
}

.tick {
  flex: none;
  width: 0.34em;
  height: 0.34em;
  color: var(--accent);
}

.bio {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: #c9c9c3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn.ghost {
  border: 1px solid var(--line-strong);
}

.btn.ghost:hover {
  border-color: var(--fg);
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s;
}

.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.portrait {
  perspective: 900px;
}

.portrait-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  transform: rotate(1.5deg) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 242, 74, 0.06);
  transition: transform 0.4s var(--ease);
  animation: float 7s ease-in-out infinite;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 14, 0.75), transparent 40%);
}

.portrait figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
}

.portrait figcaption span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
}

@media (width <= 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 32px;
  }

  .portrait {
    order: -1;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .portrait-inner {
    transform: none;
  }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat b {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.stat:first-child b {
  color: var(--accent);
}

.stat span {
  color: var(--muted);
  font-weight: 500;
}

@media (width <= 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 44px 0 8px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.section-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 8px;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.sub {
  margin-top: 4px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

@media (width <= 380px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s;
}

.card:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}

/* Soft spotlight that follows the pointer */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 242, 74, 0.09), transparent 60%);
  transition: opacity 0.3s;
}

.card:hover::before {
  opacity: 1;
}

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

.logo {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo.circle {
  border-radius: 50%;
}

.logo.contain img {
  object-fit: contain;
  padding: 6px;
}

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

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.rank {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

.card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.badge {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.offer {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.blurb {
  color: #bdbdb7;
  font-size: 15px;
  flex: 1;
}

.trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 13px;
  color: var(--muted);
}

.trust b {
  color: var(--fg);
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.star,
.trust-mark {
  position: relative;
  width: 16px;
  height: 16px;
  background: #3a3d44;
  overflow: hidden;
}

.star-fill {
  position: absolute;
  inset: 0;
  background: #00b67a;
}

.star::after,
.trust-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(50% 18%, 61% 41%, 86% 42%, 66% 58%, 73% 82%, 50% 68%, 27% 82%, 34% 58%, 14% 42%, 39% 41%);
}

.trust-mark {
  background: #00b67a;
}

.actions {
  display: flex;
  gap: 8px;
}

.copy {
  flex: 1;
  min-height: 46px;
  padding: 0 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.copy::after {
  content: "Copy";
  margin-left: 10px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.copy:hover {
  border-color: var(--accent);
}

.copy.copied {
  border-style: solid;
  border-color: var(--accent);
  color: var(--accent);
}

.copy.copied::after {
  content: "Copied";
  color: var(--accent);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--fg);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s;
}

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

.cta.full {
  flex: 1;
}

.cta svg {
  width: 17px;
  height: 17px;
}

.offer-rows {
  display: grid;
  gap: 10px;
}

.offer-row {
  display: grid;
  gap: 6px;
}

.offer-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Compact firm list ---------- */
.list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.list .card {
  display: grid;
  grid-template-columns: minmax(250px, 290px) 1fr auto;
  grid-template-areas:
    "top blurb actions"
    "top trust actions";
  align-items: center;
  column-gap: 20px;
  row-gap: 4px;
  padding: 12px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.list .card + .card {
  border-top: 1px solid var(--line);
}

.list .card:hover {
  transform: none;
  background: var(--surface-2);
}

.list .top {
  grid-area: top;
  gap: 12px;
}

.list .logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.list .logo.circle {
  border-radius: 50%;
}

.list .title-row {
  align-items: center;
}

.list .card h3 {
  font-size: 16px;
}

.list .badge {
  margin-top: 0;
  font-size: 12px;
}

.list .offer {
  padding: 3px 9px;
  font-size: 12px;
}

.list .blurb {
  grid-area: blurb;
  grid-row: 1 / -1;
  align-self: center;
  font-size: 14px;
  line-height: 1.45;
}

.list .card:has(.trust) .blurb {
  grid-row: auto;
  align-self: end;
}

.list .trust {
  grid-area: trust;
  align-self: start;
  font-size: 12px;
}

.list .star,
.list .trust-mark {
  width: 13px;
  height: 13px;
}

.list .actions,
.list .offer-rows {
  grid-area: actions;
}

.list .copy {
  flex: none;
  min-width: 148px;
  min-height: 38px;
  font-size: 13px;
  border-radius: 10px;
}

.list .cta {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 10px;
}

.list .cta.full {
  flex: none;
}

.list .offer-rows {
  gap: 6px;
}

.list .offer-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

@media (width <= 980px) {
  .list .card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "top actions"
      "blurb blurb"
      "trust trust";
  }

  .list .blurb,
  .list .card:has(.trust) .blurb {
    grid-row: auto;
    font-size: 13.5px;
  }
}

@media (width <= 620px) {
  .list .card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "blurb"
      "trust"
      "actions";
    row-gap: 8px;
    padding: 14px;
  }

  .list .copy {
    flex: 1;
    min-width: 0;
  }

  .list .offer-row {
    justify-content: flex-start;
  }

  .list .offer-label {
    min-width: 84px;
  }

  .list .offer-row .actions {
    flex: 1;
  }

  .list .cta.full {
    flex: 1;
  }
}

/* ---------- Footer, toast, back to top ---------- */
footer {
  margin: 64px 0 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), border-color 0.2s;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  border-color: var(--accent);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0s);
}

.card > * {
  position: relative;
}

/* ---------- Motion: ambient glow + intro ---------- */
.glow {
  animation: drift 18s ease-in-out infinite alternate;
}

.glow-2 {
  top: 900px;
  right: auto;
  left: -320px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(201, 242, 74, 0.08), transparent 62%);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-120px, 80px, 0) scale(1.15); }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.intro {
  animation: rise 0.9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 110ms + 80ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero h1 span {
  background: linear-gradient(100deg, var(--accent) 30%, #f4ffd0 50%, var(--accent) 70%) 0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
  0%, 55% { background-position: 100% 0; }
  100% { background-position: -50% 0; }
}

.dot {
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 242, 74, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(201, 242, 74, 0); }
}

.btn.primary {
  position: relative;
  overflow: hidden;
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sweep 4s ease-in-out 1.6s infinite;
}

@keyframes sweep {
  0% { transform: translateX(-120%); }
  30%, 100% { transform: translateX(120%); }
}

/* ---------- Firm marquee ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  margin: 0 -20px;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  gap: 10px;
  padding-right: 10px;
  list-style: none;
  animation: marquee 50s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

.marquee img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.marquee em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

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

/* ---------- Top picks carousel ---------- */
.picks {
  position: relative;
}

.picks-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 28px;
  border: 1px solid rgba(201, 242, 74, 0.28);
  background:
    radial-gradient(600px circle at 15% 0%, rgba(201, 242, 74, 0.12), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
}

.picks-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
}

.slide-brand {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.slide-rank {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 210px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 242, 74, 0.35);
}

.slide-logo {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(201, 242, 74, 0.06);
}

.slide-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-cat {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.slide-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 8px 0 12px;
}

.slide h3 {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.offer.big {
  padding: 7px 14px;
  font-size: 15px;
  background: var(--accent);
  color: var(--accent-ink);
}

.slide-blurb {
  max-width: 560px;
  color: #c9c9c3;
  font-size: 16px;
}

.slide-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
  list-style: none;
}

.slide-points li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #d6d6d0;
}

.slide .actions {
  max-width: 440px;
}

/* Staggered entrance of the active slide's content */
.slide .slide-body > *,
.slide .slide-logo {
  opacity: 0.25;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.slide.is-active .slide-body > *,
.slide.is-active .slide-logo {
  opacity: 1;
  transform: none;
}

.slide.is-active .slide-body > :nth-child(2) { transition-delay: 60ms; }
.slide.is-active .slide-body > :nth-child(3) { transition-delay: 120ms; }
.slide.is-active .slide-body > :nth-child(4) { transition-delay: 180ms; }
.slide.is-active .slide-body > :nth-child(5) { transition-delay: 240ms; }

.slide.is-active .slide-logo {
  animation: bob 4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { translate: 0 0; rotate: -3deg; }
  50% { translate: 0 -8px; rotate: 3deg; }
}

.picks-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.pick-tabs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pick-tab {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.pick-tab b {
  font-family: var(--mono);
  color: var(--accent);
}

.pick-tab.is-active {
  color: var(--fg);
  border-color: var(--line-strong);
}

.pick-tab-bar {
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.pick-tab-bar::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}

.pick-tab.done .pick-tab-bar::after {
  transform: scaleX(1);
  opacity: 0.35;
}

.pick-tab.is-active .pick-tab-bar::after {
  transform: scaleX(var(--p, 0));
  opacity: 1;
}

.picks-arrows {
  display: flex;
  gap: 8px;
}

.picks-arrows button,
.lb-nav,
.lb-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.picks-arrows button:hover,
.lb-nav:hover,
.lb-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.picks-arrows svg,
.lb-nav svg,
.lb-close svg {
  width: 20px;
  height: 20px;
}

@media (width <= 760px) {
  .slide {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 20px 26px;
  }

  .slide-brand {
    aspect-ratio: auto;
    height: 150px;
    justify-items: start;
  }

  .slide-rank {
    justify-items: end;
    font-size: 150px;
  }

  .slide-logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .picks-arrows {
    display: none;
  }

  .pick-tab {
    font-size: 12px;
    padding: 10px;
  }

  .pick-tab-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ---------- Payouts ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.chip:hover {
  color: var(--fg);
}

.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.payout-strip {
  position: relative;
}

.payout-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 2px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}

.payout-grid::-webkit-scrollbar {
  display: none;
}

.payout-grid:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 16px;
}

.payout {
  position: relative;
  flex: none;
  display: block;
  width: 230px;
  height: 172px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: zoom-in;
  animation: pop 0.5s var(--ease) both;
  transition: border-color 0.25s, transform 0.35s var(--ease);
}

.payout:hover {
  border-color: rgba(201, 242, 74, 0.5);
  transform: translateY(-3px);
}

@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
}

.payout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}

.payout:hover img {
  transform: scale(1.06);
}

.payout-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(11, 12, 14, 0.94), transparent);
  font-size: 12px;
  color: #d6d6d0;
  text-align: left;
}

.payout-cap b {
  font-family: var(--display);
  font-size: 17px;
  color: var(--accent);
}

.payout[hidden] {
  display: none;
}

.strip-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  translate: 0 -50%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(19, 20, 24, 0.9);
  color: var(--fg);
  transition: border-color 0.2s, opacity 0.2s;
}

.strip-nav:hover {
  border-color: var(--accent);
}

.strip-nav svg {
  width: 18px;
  height: 18px;
}

.strip-prev {
  left: -12px;
}

.strip-next {
  right: -12px;
}

.strip-nav[disabled] {
  opacity: 0;
  pointer-events: none;
}

@media (hover: none) {
  .strip-nav {
    display: none;
  }
}

@media (width <= 600px) {
  .payout {
    width: 190px;
    height: 142px;
  }

  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -20px 14px;
    padding: 0 20px;
  }

  .chip {
    flex: none;
  }
}

.sub .count {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Liveliness ---------- */
.section-head {
  position: relative;
}

.section-head::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 7s ease-in-out infinite;
}

@keyframes scan {
  0% { transform: translateX(-120px); opacity: 0; }
  10% { opacity: 1; }
  60% { opacity: 1; }
  70%, 100% { transform: translateX(min(1000px, 80vw)); opacity: 0; }
}

.section-num {
  text-shadow: 0 0 12px rgba(201, 242, 74, 0.55);
}

.offer {
  position: relative;
  overflow: hidden;
}

.offer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(244, 255, 208, 0.45) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: sweep 5s ease-in-out infinite;
  animation-delay: var(--sd, 0s);
}

.card .logo img {
  transition: transform 0.4s var(--ease);
}

.card:hover .logo img {
  transform: scale(1.08) rotate(-4deg);
}

.sparks {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.sparks i {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  opacity: 0;
  animation: ember var(--t, 14s) linear infinite;
  animation-delay: var(--w, 0s);
}

@keyframes ember {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: 0.7; }
  80% { opacity: 0.35; }
  100% { transform: translate3d(var(--x, 30px), -105vh, 0); opacity: 0; }
}

.burst {
  position: fixed;
  z-index: 60;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  pointer-events: none;
  animation: burst 0.7s var(--ease) forwards;
}

@keyframes burst {
  from { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  to { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) rotate(var(--br)) scale(0.4); opacity: 0; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  margin: auto;
  width: min(1100px, 100vw - 24px);
  max-width: none;
  max-height: none;
  padding: 56px 64px 24px;
  border: 0;
  background: transparent;
  color: var(--fg);
}

.lightbox::backdrop {
  background: rgba(6, 7, 9, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox[open] figure {
  animation: pop 0.35s var(--ease) both;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  margin: 0 auto;
  border-radius: 16px;
}

.lightbox figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.lb-close {
  position: absolute;
  top: 4px;
  right: 4px;
}

.lb-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}

.lb-prev {
  left: 4px;
}

.lb-next {
  right: 4px;
}

@media (width <= 600px) {
  .lightbox {
    padding: 56px 8px 72px;
  }

  .lb-nav {
    top: auto;
    bottom: 8px;
    translate: none;
  }

  .lb-prev {
    left: calc(50% - 56px);
  }

  .lb-next {
    right: calc(50% - 56px);
  }
}

footer p {
  max-width: 760px;
}

footer b {
  color: var(--fg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after,
  .reveal.in {
    transition: none !important;
    animation: none !important;
  }

  .card:hover,
  .btn:hover {
    transform: none;
  }

  .marquee {
    overflow-x: auto;
  }
}
