/* ============================================================
   SOFALISTIC PLATFORM — marketing site
   Mirakl-inspired light theme, pink/yellow brand accent
============================================================ */

:root {
  /* surfaces */
  --bg: #FFFFFF;
  --bg-soft: #FAF8F3;       /* warm cream */
  --bg-tint: #FDF7EE;       /* faint yellow tint */
  --bg-dark: #0A0B0F;
  --bg-dark-2: #14151B;

  /* lines */
  --border: #E8E6E0;
  --border-soft: #F0EEE8;
  --border-strong: #DCD9D2;

  /* ink */
  --ink: #0A0B0F;
  --ink-2: #4F5562;
  --muted: #8B92A0;
  --muted-2: #B7BCC7;

  /* brand */
  --pink: #ED1C8D;
  --pink-2: #FF5AA8;
  --pink-soft: rgba(237, 28, 141, 0.08);
  --pink-line: rgba(237, 28, 141, 0.22);

  --yellow: #F7D101;
  --yellow-2: #FFE246;
  --yellow-soft: rgba(247, 209, 1, 0.14);
  --yellow-line: rgba(247, 209, 1, 0.40);

  --green: #3B9C68;
  --green-soft: rgba(59, 156, 104, 0.10);

  /* gradients */
  --grad-pink: linear-gradient(135deg, #FF5AA8 0%, #ED1C8D 100%);
  --grad-yellow: linear-gradient(135deg, #FFE246 0%, #F7D101 100%);
  --grad-warm: linear-gradient(135deg, #FFE246 0%, #FF5AA8 60%, #ED1C8D 100%);

  /* type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* layout */
  --max: 1240px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }

/* ============================================================
   TYPE
============================================================ */
h1, h2, h3, h4, h5 { font-family: var(--font); margin: 0; letter-spacing: -0.02em; font-weight: 800; }
h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 em { font-style: normal; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.028em;
}
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
h4 { font-size: 20px; line-height: 1.3; font-weight: 700; }
h5 { font-size: 13px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
p { margin: 0; }
strong { font-weight: 700; color: var(--ink); }

.lead {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--ink-2);
  max-width: 62ch;
  line-height: 1.6;
}

.eyebrow {
  display: none;
}
/* Kept for legacy markup; pink-dot kickers removed across the site 2026-05-18 per Marc */
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(237,28,141,0.10);
}

/* ============================================================
   LAYOUT
============================================================ */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: clamp(72px, 8vw, 120px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head .lead { margin-top: 18px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   BANNER
============================================================ */
.banner {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.banner-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 28px;
  flex-wrap: wrap;
}
.banner-pill {
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.banner-text { color: #E8E6E0; flex: 1; }
.banner-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--yellow-2); font-weight: 600;
  transition: opacity .15s;
}
.banner-link:hover { opacity: 0.85; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center;
}
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}
@media (min-width: 720px) { .brand-logo { height: 54px; } }
.footer .brand-logo {
  filter: invert(1) brightness(1.05);
  height: 58px;
}

/* Brand logo (SVG file: repurch-logo.svg) — icon mark + wordmark combined */
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}
@media (min-width: 720px) { .brand-logo { height: 42px; } }

/* Wordmark — text-based, inherits Inter from page font */
.brand-wordmark {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  display: inline-block;
}
@media (min-width: 720px) { .brand-wordmark { font-size: 40px; } }
.footer .brand-wordmark {
  color: #FFFFFF;
  font-size: 44px;
}
/* Legacy — kept so any orphan brand-mark/brand-text markup doesn't break layout */
.brand-mark { display: inline-flex; }
.brand-text em { font-style: normal; font-weight: 400; color: var(--ink-2); margin-left: 2px; }

.nav-links { display: none; align-items: center; gap: 6px; }
@media (min-width: 1080px) { .nav-links { display: inline-flex; } }
.nav-link {
  background: transparent; border: 0;
  color: var(--ink); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-link.active { color: var(--pink); background: var(--pink-soft); }
.nav-link.active:hover { background: var(--pink-soft); }
.nav-item.has-menu.open > .nav-link svg { transform: rotate(180deg); }
.nav-item.has-menu > .nav-link svg { transition: transform .2s ease; }

.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(10,11,15,0.15), 0 8px 24px -8px rgba(10,11,15,0.08);
  padding: 12px;
  display: none;
  z-index: 10;
}
.nav-item.open .nav-menu { display: block; }
.nav-menu-item {
  display: flex; gap: 14px;
  padding: 12px;
  border-radius: 10px;
  transition: background .15s;
}
.nav-menu-item:hover { background: var(--bg-soft); }
.nmi-ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nmi-body { display: block; }
.nmi-body strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; font-weight: 700; }
.nmi-body span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.45; }

.nav-cta { display: inline-flex; gap: 8px; align-items: center; }

/* ============================================================
   MOBILE NAV — hamburger + slide-down drawer (below 1080px)
============================================================ */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: background .15s, border-color .15s;
}
.nav-toggle:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.nav-toggle-icon-close { display: none; }

@media (max-width: 1079px) {
  .nav-toggle { display: inline-flex; order: 99; }
  .nav-row { justify-content: flex-start; gap: 12px; }
  .brand { margin-right: auto; }

  .nav.mobile-open .nav-toggle-icon-open { display: none; }
  .nav.mobile-open .nav-toggle-icon-close { display: inline-flex; }

  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 60px -20px rgba(10,11,15,0.10);
    padding: 14px 20px 22px;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    z-index: 60;
  }

  .nav.mobile-open .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
  }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, background-color .15s, box-shadow .2s, border-color .15s;
  text-decoration: none; white-space: nowrap; letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(10,11,15,0.45);
}
.btn-primary:hover {
  background: #1B1C24;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(10,11,15,0.55);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: #C9C7C0; }
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 22px -8px rgba(247,209,1,0.50);
}
.btn-yellow:hover { background: var(--yellow-2); transform: translateY(-1px); }
.btn-link {
  background: transparent;
  color: var(--ink);
  padding: 0;
  height: auto;
  border-radius: 0;
  font-weight: 600;
}
.btn-link:hover { color: var(--pink); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn .arrow, .btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  padding: clamp(40px, 5vw, 80px) 0 clamp(48px, 6vw, 88px);
  background:
    radial-gradient(circle 700px at 85% -10%, rgba(247,209,1,0.13), transparent 60%),
    radial-gradient(circle 600px at 12% 25%, rgba(237,28,141,0.07), transparent 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px;
  align-items: center; padding-top: 24px; border-top: 1px solid var(--border-soft);
}
.trust-item {
  display: inline-flex; gap: 9px; align-items: center;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
}
.trust-item svg { color: var(--pink); flex-shrink: 0; }

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   FRICTION COMPARISON — carousel on mobile, side-by-side on desktop
============================================================ */
.friction-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.friction-pagination { display: none; }
.friction-hint { display: none; }

@media (max-width: 767px) {
  .friction-comparison {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 24px 12px;
    margin: 0 -20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .friction-comparison::-webkit-scrollbar { display: none; }
  .friction-comparison > * {
    flex: 0 0 86%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .friction-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }
  .friction-pagination span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 11, 15, 0.18);
    transition: background .25s, width .25s, border-radius .25s;
  }
  .friction-pagination span.active {
    background: var(--pink);
    width: 28px;
    border-radius: 4px;
  }

  .friction-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    animation: frictionHint 2.6s ease-in-out infinite;
  }
  .friction-hint.dismissed {
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
  }
  @keyframes frictionHint {
    0%, 100% { opacity: 0.55; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(6px); }
  }
}

/* ============================================================
   CUSTOMER FLOW — SVG on desktop, scroll-snap carousel on mobile
============================================================ */
.flow-svg-desktop { display: block; }
.flow-comparison { display: none; }
.flow-pagination { display: none; }
.flow-hint { display: none; }

@media (max-width: 767px) {
  .flow-svg-desktop { display: none; }
  .flow-comparison {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 24px 12px;
    margin: 0 -20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .flow-comparison::-webkit-scrollbar { display: none; }
  .flow-comparison > * {
    flex: 0 0 78%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .flow-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .flow-pagination span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 11, 15, 0.18);
    transition: background .25s, width .25s, border-radius .25s;
  }
  .flow-pagination span.active {
    background: var(--pink);
    width: 28px;
    border-radius: 4px;
  }

  .flow-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    animation: frictionHint 2.6s ease-in-out infinite;
  }
  .flow-hint.dismissed {
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
  }
}

/* Ambient gradient orbs behind the card */
.hero-orbs {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  /* No overflow:hidden — let orbs extend naturally; heavy blur softens any clipping
     at the parent .hero's overflow boundary. No mask either — the mask itself
     was creating visible transition edges. */
}
.hero-orbs .orb {
  position: absolute;
  border-radius: 50%;
  /* Heavy blur — turns the orb into a pure colour wash with no defined edge */
  filter: blur(80px);
  will-change: transform, opacity;
}
.hero-orbs .orb-pink {
  width: 380px; height: 380px;
  /* Diffuse gradient — fully fades to transparent across the orb's own radius,
     so there is no internal "edge of orb" even without the blur */
  background: radial-gradient(circle, #FF5AA8 0%, transparent 70%);
  top: -40px; right: -40px;
  animation: heroOrbA 6s ease-in-out infinite;
}
.hero-orbs .orb-yellow {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #FFE246 0%, transparent 70%);
  bottom: -60px; left: -60px;
  animation: heroOrbB 7s ease-in-out infinite;
  animation-delay: -2s;
}
.hero-orbs .orb-dark {
  /* Centre orb — directly behind the card, breathes most dramatically */
  width: 340px; height: 340px;
  background: radial-gradient(circle, #ED1C8D 0%, transparent 75%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: heroOrbC 5s ease-in-out infinite;
  animation-delay: -1s;
}
/* Orbs BREATHE — scale + opacity oscillation is far more perceptible than translation alone.
   Each orb out of phase so the whole field is always moving. */
@keyframes heroOrbA {
  0%   { transform: translate(0, 0) scale(0.85);          opacity: 0.35; }
  50%  { transform: translate(-50px, 40px) scale(1.20);   opacity: 0.95; }
  100% { transform: translate(0, 0) scale(0.85);          opacity: 0.35; }
}
@keyframes heroOrbB {
  0%   { transform: translate(0, 0) scale(0.90);          opacity: 0.40; }
  50%  { transform: translate(60px, -50px) scale(1.18);   opacity: 0.95; }
  100% { transform: translate(0, 0) scale(0.90);          opacity: 0.40; }
}
@keyframes heroOrbC {
  0%   { transform: translate(-50%, -50%) scale(0.80);    opacity: 0.08; }
  50%  { transform: translate(-50%, -50%) scale(1.35);    opacity: 0.40; }
  100% { transform: translate(-50%, -50%) scale(0.80);    opacity: 0.08; }
}

/* The glass card */
.hero-card {
  position: relative; z-index: 1;
  width: min(100%, 460px);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 22px;
  box-shadow:
    0 30px 70px -20px rgba(10, 11, 15, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: heroCardIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroCardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Card header — partner brand + status */
.hero-card-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(10, 11, 15, 0.06);
}
.hero-brand { display: flex; align-items: center; gap: 10px; }
.hero-brand-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #ED1C8D, #FF5AA8);
  border-radius: 9px;
  flex-shrink: 0;
  position: relative;
}
.hero-brand-mark::after {
  content: ''; position: absolute; inset: 7px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 3px;
  transform: rotate(45deg);
}
.hero-brand-name { font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: -0.01em; }
.hero-brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 1px; }
.hero-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; color: #2D7A4F;
  background: rgba(59, 156, 104, 0.12);
  padding: 5px 11px; border-radius: 999px;
}
.hero-status-dot { width: 6px; height: 6px; background: #3B9C68; border-radius: 50%; animation: heroStatusPulse 2.4s ease-in-out infinite; }
@keyframes heroStatusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 156, 104, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(59, 156, 104, 0); }
}

/* Hero revenue metric — the headline value to the retailer */
.hero-metric {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(247, 209, 1, 0.15), rgba(255, 90, 168, 0.10));
  border: 1px solid rgba(247, 209, 1, 0.35);
  border-radius: 14px;
  margin-bottom: 12px;
  position: relative; overflow: hidden;
}
.hero-metric::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(247, 209, 1, 0.25), transparent 60%);
  pointer-events: none;
}
.hero-metric-k { font-size: 10.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-metric-v {
  font-weight: 800; font-size: 32px; color: var(--ink);
  letter-spacing: -0.03em; line-height: 1.05; margin-top: 6px;
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
}
.hero-metric-delta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; color: #2D7A4F;
  margin-top: 4px;
}
.hero-metric-delta::before { content: '↑'; font-size: 13px; }

/* Supporting stats strip */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 16px;
}
.hero-stat {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(10, 11, 15, 0.05);
  border-radius: 10px;
}
.hero-stat-v { font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stat-k { font-size: 10.5px; color: var(--muted); font-weight: 500; margin-top: 2px; line-height: 1.3; }

/* Activity feed */
.hero-feed-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px;
}
.hero-feed-pulse { width: 6px; height: 6px; background: #ED1C8D; border-radius: 50%; animation: heroFeedPulse 1.6s ease-in-out infinite; }
@keyframes heroFeedPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
.hero-feed {
  display: flex; flex-direction: column; gap: 8px;
  /* Locked height so row cycling doesn't bounce the card (or the page below it).
     Fits 4 rows of content; the brief 5-row state mid-transition is clipped inside. */
  height: 280px;
  overflow: hidden;
}
.hero-row {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(10, 11, 15, 0.05);
  border-radius: 12px;
  flex-shrink: 0; /* prevent flex squish when 5 rows briefly co-exist */
  animation: heroRowIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-row:nth-of-type(1) { animation-delay: 0.45s; }
.hero-row:nth-of-type(2) { animation-delay: 0.55s; }
.hero-row:nth-of-type(3) { animation-delay: 0.65s; }
.hero-row:nth-of-type(4) { animation-delay: 0.75s; }
@keyframes heroRowIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-row--latest {
  background: rgba(247, 209, 1, 0.16);
  border-color: rgba(247, 209, 1, 0.45);
  box-shadow: 0 0 24px -2px rgba(247, 209, 1, 0.30);
  animation: heroRowIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both, heroLatestGlow 3.2s ease-in-out 1s infinite;
}
@keyframes heroLatestGlow {
  0%, 100% { box-shadow: 0 0 14px -2px rgba(247, 209, 1, 0.25); }
  50%      { box-shadow: 0 0 32px 0 rgba(247, 209, 1, 0.55); }
}
/* JS-injected new row entrance */
.hero-row--enter {
  animation: heroRowEnter 0.55s cubic-bezier(0.16, 1.05, 0.45, 1) both !important;
}
@keyframes heroRowEnter {
  0%   { opacity: 0; transform: translateY(-12px) scale(0.96); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
  40%  { opacity: 1; max-height: 80px; padding-top: 11px; padding-bottom: 11px; }
  100% { opacity: 1; transform: translateY(0) scale(1); max-height: 80px; }
}
.hero-row--exit {
  animation: heroRowExit 0.35s ease-in both !important;
}
@keyframes heroRowExit {
  0%   { opacity: 1; transform: translateY(0); max-height: 80px; }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border-width: 0; }
}
/* Metric counter ticking animation — applied to hero metric + supporting stats */
.hero-metric-v.tick, .hero-stat-v.tick { animation: heroMetricTick 0.45s ease-out; }
@keyframes heroMetricTick {
  0%   { transform: translateY(0); color: var(--ink); }
  45%  { transform: translateY(-3px); color: #ED1C8D; }
  100% { transform: translateY(0); color: var(--ink); }
}
.hero-row-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-row-icon--credit { background: rgba(247, 209, 1, 0.22); color: #9A7A00; }
.hero-row-icon--redeem { background: rgba(59, 156, 104, 0.18); color: #2D7A4F; }
.hero-row-icon--sold { background: rgba(237, 28, 141, 0.14); color: #ED1C8D; }
.hero-row-icon--listed { background: rgba(10, 11, 15, 0.08); color: #4F5562; }
.hero-row-body { flex: 1; min-width: 0; }
.hero-row-title {
  font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-row-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.hero-row-time { font-size: 11px; color: var(--muted); font-weight: 500; flex-shrink: 0; }

/* Reduced motion: kill all hero animations */
@media (prefers-reduced-motion: reduce) {
  .hero-card, .hero-row, .hero-orbs .orb, .hero-status-dot, .hero-feed-pulse, .hero-row--latest {
    animation: none !important;
  }
}
.hero-footnote {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  filter: none;
  text-align: center;
}
.hero-footnote a {
  color: var(--ink-2);
  font-weight: 600;
  border-bottom: 1px solid var(--border-strong);
  transition: color .15s, border-color .15s;
}
.hero-footnote a:hover { color: var(--pink); border-bottom-color: var(--pink); }

/* ============================================================
   TIER STRIP
============================================================ */
.tierstrip {
  padding: 36px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.tierstrip-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.tierstrip-row {
  display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start;
}
.tier-pip {
  display: flex; flex-direction: column; gap: 4px;
}
.tier-pip strong {
  font-size: 26px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.025em;
  line-height: 1;
}
.tier-pip.alt strong { color: var(--pink); }
.tier-pip span {
  font-size: 12px; color: var(--ink-2);
  line-height: 1.45;
}

/* ============================================================
   UPLIFT CALCULATOR
============================================================ */
.calc {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.calc-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .calc-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; }
}
.calc-inputs {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 40px -25px rgba(10,11,15,0.08);
}
.calc-field { margin-bottom: 28px; }
.calc-field:last-of-type { margin-bottom: 0; }
.calc-field-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-bottom: 14px;
}
.calc-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.calc-field-value {
  font-size: 24px; font-weight: 800; letter-spacing: -0.025em;
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.calc-field input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--border);
  border-radius: 3px; outline: none; cursor: pointer;
  margin: 0;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pink); border: 3px solid #fff;
  cursor: grab;
  box-shadow: 0 4px 12px rgba(237,28,141,0.40);
  transition: transform .15s;
}
.calc-field input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pink); border: 3px solid #fff;
  cursor: grab;
  box-shadow: 0 4px 12px rgba(237,28,141,0.40);
}
.calc-field-scale {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 11px; color: var(--muted); font-weight: 500;
  letter-spacing: 0.04em;
}
.calc-field-note {
  margin-top: 12px;
  font-size: 12px; color: var(--muted); line-height: 1.5;
}
.calc-assumptions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px; color: var(--ink-2); line-height: 1.65;
}
.calc-assumptions strong { color: var(--ink); }
.calc-assumptions a { color: var(--pink); font-weight: 600; }

.calc-advanced-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 4px 0 24px;
  padding: 8px 14px 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
  font: 600 12px/1 var(--font, inherit);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.calc-advanced-toggle:hover {
  background: #fff8fc;
  border-color: var(--pink-line);
  color: var(--ink);
}
.calc-advanced-toggle-chevron {
  transition: transform .2s ease;
}
.calc-advanced-toggle[aria-expanded="true"] .calc-advanced-toggle-chevron {
  transform: rotate(180deg);
}
.calc-advanced[hidden] { display: none; }
.calc-advanced {
  margin-bottom: 4px;
  padding: 20px 22px;
  background: #fbfafd;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  animation: calc-advanced-reveal .22s ease-out;
}
.calc-advanced .calc-field:last-of-type { margin-bottom: 0; }
@keyframes calc-advanced-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.calc-outputs {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.calc-out {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, border-color .2s;
}
.calc-out--feature {
  background: var(--ink); border-color: var(--ink);
  grid-column: span 2;
}
.calc-out--feature .calc-out-label { color: var(--yellow); }
.calc-out--feature .calc-out-value { color: #fff; font-size: 38px; }
.calc-out--feature .calc-out-meta { color: #B6B6C6; }

.calc-out-breakdown {
  display: grid; gap: 8px;
  margin: 14px 0 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.calc-out-line {
  display: flex; align-items: baseline; gap: 14px;
  font-variant-numeric: tabular-nums;
}
.calc-out-line-v {
  font-size: 15px; font-weight: 700;
  color: #fff;
  min-width: 92px;
  letter-spacing: -0.01em;
}
.calc-out-line-l {
  font-size: 12px; color: #B6B6C6;
  letter-spacing: 0.01em;
}
.calc-out--tier {
  background: linear-gradient(180deg, #fff, #fff8fc);
  border-color: var(--pink-line);
}
.calc-out--tier .calc-out-label { color: var(--pink); }
.calc-out-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.calc-out-value {
  display: block;
  font-size: 28px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.calc-out-meta {
  display: block;
  font-size: 12px; color: var(--ink-2); line-height: 1.5;
}
.calc-cta {
  margin-top: 36px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ============================================================
   BIG NUMBER
============================================================ */
.bignum {
  background: var(--bg);
}
.bignum-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .bignum-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.bignum-copy h2 { margin: 18px 0 22px; }
.bignum-copy .btn-link { margin-top: 26px; display: inline-flex; gap: 8px; align-items: center; }

.ledger {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 40px 80px -30px rgba(10,11,15,0.30);
  position: relative;
  overflow: hidden;
}
.ledger::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle 400px at 90% 0%, rgba(247,209,1,0.10), transparent 60%);
  pointer-events: none;
}
.ledger-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  position: relative;
}
.ledger-title {
  font-size: 13px; color: #E8E6E0; font-weight: 600; letter-spacing: 0.02em;
}
.ledger-tag {
  font-size: 10px; color: var(--yellow); font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  background: rgba(247,209,1,0.12);
  border: 1px solid rgba(247,209,1,0.30);
  padding: 4px 9px; border-radius: 999px;
}
.ledger-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  position: relative;
  font-size: 14px;
}
.ledger-row:last-of-type { border-bottom: 0; }
.ledger-k { color: #B6B6C6; }
.ledger-v { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ledger-v.pos { color: #5EEAB0; }
.ledger-v.neg { color: #FFA792; }
.ledger-v.big {
  background: var(--grad-yellow);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 32px; letter-spacing: -0.03em;
}
.ledger-row.subtotal {
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.02);
}
.ledger-row.subtotal .ledger-k { color: #DDDDE5; font-weight: 600; font-style: italic; }
.ledger-row.subtotal .ledger-v { font-size: 15px; }
.ledger-row.total {
  margin-top: 12px; padding: 22px 18px; border-radius: 14px;
  background: rgba(247,209,1,0.06);
  border: 1px solid rgba(247,209,1,0.25);
}
.ledger-row.total .ledger-k { color: #fff; font-weight: 700; font-size: 15px; }
.ledger-footnote {
  margin-top: 18px;
  font-size: 12px; color: #B6B6C6; line-height: 1.5;
}

/* ============================================================
   PRODUCTS GRID
============================================================ */
.products { background: var(--bg-soft); }
.prod-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
.prod-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -25px rgba(10,11,15,0.16);
  border-color: var(--border-strong);
}
.prod-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.prod-card--pink::before { background: var(--grad-pink); }
.prod-card--yellow::before { background: var(--grad-yellow); }
.prod-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.prod-card--pink .prod-icon { background: var(--pink-soft); color: var(--pink); }
.prod-card--yellow .prod-icon { background: var(--yellow-soft); color: #A37C00; }
.prod-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.prod-card h3 { margin-bottom: 12px; }
.prod-card p { color: var(--ink-2); }
.prod-list {
  list-style: none; padding: 0; margin: 24px 0;
  display: grid; gap: 10px;
}
.prod-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink); font-weight: 500;
}
.prod-card--pink .prod-list li svg { color: var(--pink); flex-shrink: 0; margin-top: 2px; }
.prod-card--yellow .prod-list li svg { color: #A37C00; flex-shrink: 0; margin-top: 2px; }
.prod-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  padding-top: 8px;
  transition: color .15s, gap .15s;
}
.prod-card--pink:hover .prod-cta { color: var(--pink); }
.prod-card--yellow:hover .prod-cta { color: #A37C00; }
.prod-card:hover .prod-cta svg { transform: translateX(3px); }

/* ============================================================
   COMPARE TABLE
============================================================ */
.why { background: var(--bg); }
.compare {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-soft);
}
.compare-row:last-child { border-bottom: 0; }
.compare-cell {
  padding: 18px 20px;
  font-size: 14.5px; color: var(--ink);
  display: flex; flex-direction: column; gap: 4px; justify-content: center;
  border-right: 1px solid var(--border-soft);
}
.compare-cell:last-child { border-right: 0; }
.compare-cell em { font-style: normal; color: var(--muted); font-size: 12px; }
.compare-row.compare-head .compare-cell {
  background: var(--bg-soft);
  font-size: 12px; font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-row.compare-head .compare-cell strong {
  color: var(--pink); font-size: 13px;
}
.compare-row:not(.compare-head):hover { background: var(--bg-soft); }
.check { font-size: 18px; line-height: 1; }
.check.yes { color: var(--green); }
.check.half { color: var(--yellow); }
.check.no { color: var(--muted-2); }
.compare-foot {
  margin-top: 20px;
  font-size: 13px; color: var(--muted);
  max-width: 80ch;
}
@media (max-width: 880px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .compare-cell:last-child { border-bottom: 0; }
  .compare-row.compare-head { display: none; }
  .compare-cell::before { content: attr(data-label); font-size: 11px; color: var(--muted); text-transform: uppercase; }
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.how { background: var(--bg-soft); }
.how-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .how-grid { grid-template-columns: repeat(4, 1fr); } }
.how-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .25s, border-color .25s;
}
.how-step:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.how-num {
  font-size: 13px; font-weight: 700;
  color: var(--pink);
  background: var(--pink-soft);
  border: 1px solid var(--pink-line);
  padding: 5px 10px; border-radius: 6px;
  display: inline-block;
  margin-bottom: 22px;
  letter-spacing: 0.10em;
}
.how-step h4 { margin-bottom: 10px; }
.how-step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.how-meta {
  margin-top: 18px;
  font-size: 12px; color: var(--muted);
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   STATS BAND
============================================================ */
.stats {
  background: var(--bg-dark);
  color: #fff;
  padding: clamp(56px, 6vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle 500px at 10% 50%, rgba(247,209,1,0.06), transparent 60%),
    radial-gradient(circle 500px at 90% 50%, rgba(237,28,141,0.08), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid; grid-template-columns: 1fr; position: relative;
  gap: 0;
}
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-cell {
  padding: 36px 28px;
  border-left: 1px solid rgba(255,255,255,0.10);
}
.stat-cell:first-child { border-left: 0; }
@media (max-width: 760px) {
  .stat-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,0.10); padding: 30px 0; }
  .stat-cell:first-child { border-top: 0; }
}
.stat-v {
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 800;
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 18px;
}
.stat-k {
  font-size: 13px; color: #B6B6C6; line-height: 1.55;
  letter-spacing: 0.04em;
  max-width: 32ch;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   ESG SECTION
============================================================ */
.esg { background: var(--bg); }
.esg-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) { .esg-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.esg-eyebrow .eyebrow-dot { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.esg-copy h2 { margin: 18px 0 22px; }
.esg-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; gap: 18px;
}
.esg-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
}
.esg-list li:first-child { border-top: 0; padding-top: 0; }
.esg-list li svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.esg-list li strong { display: inline; color: var(--ink); }
.esg-list li div { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

.esg-visual {
  filter: drop-shadow(0 30px 60px rgba(10,11,15,0.10));
}

/* ============================================================
   RESOURCES STRIP
============================================================ */
.resources { background: var(--bg-soft); }
.res-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .res-grid { grid-template-columns: repeat(4, 1fr); } }
.res-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.res-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -20px rgba(10,11,15,0.10);
}
.res-tag {
  font-size: 11px; font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}
.res-card h4 { margin-bottom: 10px; line-height: 1.25; }
.res-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.res-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
}
.res-card:hover .res-link { color: var(--pink); }

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  background:
    radial-gradient(circle 700px at 80% 0%, rgba(247,209,1,0.20), transparent 60%),
    radial-gradient(circle 600px at 10% 100%, rgba(237,28,141,0.10), transparent 60%),
    var(--bg-tint);
  padding: clamp(72px, 8vw, 120px) 0;
}
.cta-inner {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .cta-inner { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}
.cta-inner h2 { margin-bottom: 18px; }
.cta-inner .lead { max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
@media (min-width: 880px) { .cta-actions { justify-content: flex-end; } }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-dark);
  color: #B6B6C6;
  padding: 72px 0 36px;
  font-size: 14px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand .brand { color: #fff; font-size: 19px; }
.footer-brand .brand-text em { color: #B6B6C6; }
.footer-tag { margin-top: 14px; color: #B6B6C6; font-size: 14px; line-height: 1.55; max-width: 32ch; }
.footer-col h5 {
  color: #fff; margin-bottom: 18px;
  font-size: 12px; letter-spacing: 0.10em;
}
.footer-col a {
  display: block;
  color: #B6B6C6;
  padding: 6px 0;
  transition: color .15s;
  font-size: 14px;
}
.footer-col a:hover { color: #fff; }
.footer-base {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--muted-2);
}

/* ============================================================
   PAGE HEADERS (for non-home pages)
============================================================ */
.page-header {
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle 700px at 85% -10%, rgba(247,209,1,0.13), transparent 60%),
    radial-gradient(circle 600px at 12% 25%, rgba(237,28,141,0.07), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border-soft);
}
.page-header h1 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 22ch;
  margin: 22px 0;
}
.page-header .lead {
  font-size: clamp(18px, 1.4vw, 22px);
  max-width: 60ch;
}
.page-header .cta-row { margin-top: 32px; }

/* ============================================================
   ALTERNATING DEEP-DIVE ROWS
============================================================ */
.deep { background: var(--bg); padding-top: 0; }
.deep-row {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(40px, 4.5vw, 72px) 0;
  border-bottom: 1px solid var(--border-soft);
}
.deep .deep-row:first-child {
  padding-top: clamp(20px, 2.5vw, 40px);
}

/* ============================================================
   SCAM SHIELD live indicator + event pulse
============================================================ */
.shield-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3B9C68;
  box-shadow: 0 0 0 0 rgba(59, 156, 104, 0.55);
  animation: shieldPulse 2.2s ease-out infinite;
}
@keyframes shieldPulse {
  0%   { box-shadow: 0 0 0 0 rgba(59, 156, 104, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(59, 156, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 156, 104, 0); }
}
.shield-pulse-pink {
  box-shadow: 0 0 0 0 rgba(237, 28, 141, 0.55);
  animation: shieldPulsePink 2.2s ease-out infinite;
}
@keyframes shieldPulsePink {
  0%   { box-shadow: 0 0 0 0 rgba(237, 28, 141, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(237, 28, 141, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 28, 141, 0); }
}
.security-pulse-green {
  box-shadow: 0 0 0 0 rgba(94, 234, 176, 0.55);
  animation: securityPulseGreen 2.2s ease-out infinite;
}
@keyframes securityPulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(94, 234, 176, 0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(94, 234, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 176, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .shield-live-dot,
  .shield-pulse-pink,
  .security-pulse-green { animation: none; }
}

/* ============================================================
   BRAND PHONE DEMO — scroll + tap loop
============================================================ */
.phone-scroll {
  animation: phoneScrollLoop 6.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes phoneScrollLoop {
  0%, 16%    { transform: translateY(0); }
  30%, 70%   { transform: translateY(-130px); }
  86%, 100%  { transform: translateY(0); }
}

.phone-tap {
  opacity: 0;
  animation: phoneTapLoop 6.4s ease-in-out infinite;
}
@keyframes phoneTapLoop {
  0%, 50%   { opacity: 0; transform: scale(1.6); }
  55%       { opacity: 0.95; transform: scale(1.0); }
  62%       { opacity: 0.95; transform: scale(0.74); }
  68%       { opacity: 0.55; transform: scale(1.4); }
  74%, 100% { opacity: 0; transform: scale(1.8); }
}

.phone-cta {
  animation: phoneCtaPress 6.4s ease-in-out infinite;
}
@keyframes phoneCtaPress {
  0%, 56%   { transform: scale(1); box-shadow: 0 14px 28px -10px rgba(237,28,141,0.50); }
  62%       { transform: scale(0.96); box-shadow: 0 6px 12px -4px rgba(237,28,141,0.35); }
  70%       { transform: scale(1); box-shadow: 0 14px 28px -10px rgba(237,28,141,0.50); }
  100%      { transform: scale(1); box-shadow: 0 14px 28px -10px rgba(237,28,141,0.50); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-scroll,
  .phone-tap,
  .phone-cta { animation: none; }
  .phone-scroll { transform: translateY(-65px); }
}

/* ============================================================
   RECOVERY CHART — SVG on desktop, stacked cards on mobile
============================================================ */
.recovery-svg { display: block; }
.recovery-mobile { display: none; }

@media (max-width: 767px) {
  .recovery-chart { padding: 20px !important; }
  .recovery-svg { display: none; }
  .recovery-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .recovery-mobile-head {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .recovery-row {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 6px 16px -10px rgba(10,11,15,0.06);
  }
  .recovery-row--winner {
    border-color: rgba(237,28,141,0.32);
    background: linear-gradient(135deg, rgba(255,90,168,0.06), rgba(237,28,141,0.04));
  }
  .recovery-row-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
  }
  .recovery-row-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
  }
  .recovery-row--winner .recovery-row-label { color: var(--pink); }
  .recovery-row-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
  }
  .recovery-row-bar {
    display: block;
    height: 8px;
    background: var(--bg-soft);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
  }
  .recovery-row-fill {
    display: block;
    height: 100%;
    border-radius: 4px;
  }
  .recovery-row-meta {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.5;
  }
  .recovery-row-tag {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(237,28,141,0.10);
    color: var(--pink);
    border-radius: 999px;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-right: 6px;
  }
}

/* ============================================================
   ARCHITECTURE DIAGRAM — SVG on desktop, stacked tiers on mobile
============================================================ */
.arch-svg { display: block; }
.arch-mobile { display: none; }

@media (max-width: 767px) {
  .arch-chart { padding: 20px !important; }
  .arch-svg { display: none; }
  .arch-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .arch-tier {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 6px 16px -10px rgba(10,11,15,0.06);
  }
  .arch-tier--dark {
    background: #0A0B0F;
    border-color: #0A0B0F;
  }
  .arch-tier-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .arch-tier--dark .arch-tier-label { color: #F7D101; }
  .arch-tier-body {
    font-size: 13px;
    color: var(--ink);
    line-height: 1.55;
  }
  .arch-tier--dark .arch-tier-body { color: #fff; }
  .arch-tier-body code {
    background: rgba(237,28,141,0.10);
    color: var(--pink);
    padding: 1px 5px;
    border-radius: 3px;
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 11.5px;
  }
  .arch-tier--dark .arch-tier-body code {
    background: rgba(247,209,1,0.18);
    color: #F7D101;
  }
  .arch-services {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .arch-services li {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-2);
  }
  .arch-services li strong { color: var(--ink); font-weight: 700; }
  .arch-tier-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
  }
  .arch-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
  }
  .arch-pill--yellow { background: rgba(247,209,1,0.18); color: #F7D101; }
  .arch-pill--green  { background: rgba(94,234,176,0.16); color: #5EEAB0; }
  .arch-pill--pink   { background: rgba(237,28,141,0.18); color: #FF93C4; }
  .arch-pill--indigo { background: rgba(99,102,241,0.18); color: #A5A6F5; }
  .arch-pill--white  { background: rgba(255,255,255,0.10); color: #F4F4F8; }
}
.deep-row:last-child { border-bottom: 0; }
@media (min-width: 980px) {
  .deep-row { grid-template-columns: 1fr 1fr; gap: 96px; }
  .deep-row.reverse > :first-child { order: 2; }
  .deep-row.reverse > :last-child { order: 1; }
}
.deep-copy .eyebrow { margin-bottom: 18px; }
.deep-copy h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.deep-copy p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.deep-copy ul {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 14px;
}
.deep-copy li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.5;
}
.deep-copy li svg { color: var(--pink); flex-shrink: 0; margin-top: 3px; }
.deep-copy li strong { color: var(--ink); }
.deep-visual {
  filter: drop-shadow(0 30px 60px rgba(10,11,15,0.08));
  min-width: 0;
}
.deep-visual svg { max-width: 100%; height: auto; }
.deep-copy { min-width: 0; }

/* ============================================================
   FAQ
============================================================ */
.faq-list { display: grid; gap: 0; max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-size: 19px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 10px;
  display: flex; gap: 14px; align-items: flex-start;
}
.faq-q::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  margin-top: 9px;
}
.faq-a { color: var(--ink-2); font-size: 16px; line-height: 1.6; padding-left: 22px; }

/* ============================================================
   FEATURE GRID (3-up icon cards)
============================================================ */
.feat-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -20px rgba(10,11,15,0.10);
}
.feat-ico {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.feat-ico.yellow { background: var(--yellow-soft); color: #A37C00; }
.feat-ico.green { background: var(--green-soft); color: var(--green); }
.feat-ico.dark { background: var(--ink); color: var(--yellow); }
.feat h4 { margin-bottom: 10px; }
.feat p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* ============================================================
   FORM
============================================================ */
.form-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .form-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}
.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 30px 60px -30px rgba(10,11,15,0.12);
}
.form-row { display: grid; gap: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row.two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(237,28,141,0.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-submit { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   FORM — interest checkbox options (polished, branded selection state)
============================================================ */
.interest-grid {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.interest-option {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s, border-color .15s, box-shadow .15s;
  user-select: none;
}
.interest-option:hover {
  border-color: var(--border-strong);
  background: var(--bg-soft);
}
.interest-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 0;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: background .15s, border-color .15s;
}
.interest-option input[type="checkbox"]:hover {
  border-color: var(--ink-2);
}
.interest-option input[type="checkbox"]:checked {
  background: var(--pink);
  border-color: var(--pink);
}
.interest-option input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}
.interest-option input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
.interest-option:has(input:checked) {
  border-color: var(--pink);
  background: rgba(237, 28, 141, 0.04);
}
.interest-option span {
  line-height: 1.4;
}
.form-note { font-size: 12px; color: var(--muted); }

/* ============================================================
   UTILITIES
============================================================ */
.dark-section { background: var(--bg-dark); color: #fff; }
.dark-section h2, .dark-section h3, .dark-section h4 { color: #fff; }
.dark-section p, .dark-section .lead { color: #B6B6C6; }
.dark-section .eyebrow { color: #B6B6C6; }

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

.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: initial; } }
