/* =================================================================
   PAI Wallet — Landing (Semrush-grade, PAI Wallet palette)
   Brand colors / fonts / pill buttons preserved.
   ================================================================= */

:root {
  /* PAI Wallet — periwinkle (dark theme: full saturation, no darkening needed) */
  --brand:        #7d74ea;
  --brand-hover:  #8c84ef;
  --brand-soft:   rgba(125, 116, 234, 0.14);
  --accent:       #c8c1ff;
  --positive:     #4ade80;
  --negative:     #f87171;
  --warning:      #fbbf24;

  /* Dark backgrounds (matches PAI master Ethereal Glass) */
  --bg:           #0a0a0e;
  --bg-layer:     #0f0f14;
  --bg-base:      #18181b;
  --bg-soft:      #1f1f22;
  /* Text (light) */
  --ink:          #fafafa;
  --ink-strong:   #ffffff;
  --content-1:    #e5e5e5;
  --content-2:    #a3a3a3;
  --content-3:    #71717a;
  /* Borders (dark) */
  --border:       #27272a;
  --border-soft:  #1f1f22;
  --border-strong:#3f3f47;

  /* Card tints — dark periwinkle washes */
  --tint-blue:    rgba(125, 116, 234, 0.10);
  --tint-sky:     rgba(125, 116, 234, 0.07);
  --tint-mint:    rgba(125, 116, 234, 0.05);

  --grad-text:    linear-gradient(115deg, #c8c1ff 0%, #7d74ea 100%);
  --grad-loyalty: linear-gradient(135deg, #5849d6 0%, #7d74ea 50%, #c8c1ff 100%);

  --font-display: 'Geist', system-ui, sans-serif;
  --font-body:    'Geist', system-ui, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, Menlo, monospace;

  --r-pill: 9999px;
  --r-xl:   28px;
  --r-lg:   20px;
  --r-md:   14px;
  --r-sm:   10px;

  /* Subtle dark-theme shadows (with periwinkle glow accent) */
  --sh-card:  0 1px 0 rgba(255,255,255,.04) inset, 0 12px 28px rgba(0,0,0,.45);
  --sh-pop:   0 16px 36px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
  --sh-shot:  0 28px 64px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);

  --container:  1240px;
  --gutter:     clamp(16px, 4vw, 40px);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--content-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.italic { font-style: italic; font-weight: 400; }
.dim { color: var(--content-3); font-weight: 500; }
.dim-light { color: rgba(255,255,255,.55); font-weight: 500; }
.dotsep { color: var(--content-3); }
.muted { color: var(--content-3); }
.mono { font-family: var(--font-mono); }
.up { color: var(--positive); font-weight: 700; }

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

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  display: inline-block;
}

/* ---------- buttons (pill kept) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px; line-height: 1;
  height: 48px; padding: 0 22px;
  border-radius: var(--r-pill);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap; will-change: transform;
}
.btn--xl { height: 60px; padding: 0 34px; font-size: 16px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(125, 116, 234,.22); }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(125, 116, 234,.28); }
.btn--outline { background: var(--bg-layer); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-1px); }
.btn--ghost { color: var(--content-1); }
.btn--ghost:hover { background: var(--bg-base); }
.btn--white { background: #fff; color: #0b1020; }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.18); }

/* ---------- SHOUT — Semrush uppercase heavy header ---------- */
.shout {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 14px 0 0;
}
.shout--sm {
  font-size: clamp(34px, 5vw, 64px);
}


/* ---------- nav — Floating glass pill (logo · centered links · CTAs) ---------- */
.nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  max-width: calc(100% - 32px);
  width: min(1180px, calc(100% - 32px));
  background: rgba(10, 10, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 58px;
  padding: 0 8px 0 22px;
  gap: 12px;
}
.nav.is-scrolled {
  background: rgba(10, 10, 14, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
}
.nav__inner > .nav__left  { justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.nav__inner > .nav__links { justify-self: center; margin: 0; }
.nav__inner > .nav__cta   { justify-self: end; margin: 0; }

/* ============== PRODUCT SWITCHER ============== */
.pai-switcher { position: relative; }
.pai-switcher-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.70);
  cursor: pointer;
  font: inherit;
  transition: background 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              border-color 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              color 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-switcher-btn svg { width: 18px; height: 18px; display: block; }
.pai-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.pai-switcher-btn[aria-expanded="true"] {
  background: rgba(125, 116, 234, 0.16);
  border-color: rgba(125, 116, 234, 0.40);
  color: var(--accent);
}
.pai-switcher-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  width: 340px;
  padding: 8px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 32px 80px -28px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 51;
}
.pai-switcher.is-open .pai-switcher-menu {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.psm-head {
  padding: 10px 12px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--content-3);
}
.psm-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.25s cubic-bezier(0.32, 0.72, 0, 1), color 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}
.psm-item:hover { background: rgba(255, 255, 255, 0.05); color: #ffffff; }
.psm-item-current {
  background: rgba(125, 116, 234, 0.14);
  border: 1px solid rgba(125, 116, 234, 0.40);
}
.psm-item-current:hover { background: rgba(125, 116, 234, 0.20); }
.psm-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.psm-mark svg { width: 22px; height: 22px; display: block; }
.psm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.psm-name { font-size: 14px; font-weight: 600; color: #ffffff; letter-spacing: -0.01em; font-family: var(--font-body); }
.psm-tag { font-size: 12px; color: rgba(255, 255, 255, 0.55); line-height: 1.35; font-family: var(--font-body); }
.psm-chev {
  color: rgba(255, 255, 255, 0.40);
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), color 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.psm-chev svg { width: 16px; height: 16px; }
.psm-item:hover .psm-chev { color: rgba(255, 255, 255, 0.70); transform: translateX(2px); }
@media (max-width: 540px) {
  .pai-switcher-menu { width: calc(100vw - 32px); left: 0; }
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em; color: var(--ink);
  white-space: nowrap; flex-shrink: 0;
}
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
}
.brand--light { color: #fff; }
.brand--light .brand__mark { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.brand__logo { height: 22px; width: auto; display: block; color: var(--ink-strong); }
.footer .brand__logo { height: 20px; color: var(--ink-strong); }
.brand--light .brand__logo { color: #ffffff; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm);
  color: var(--content-2); transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--bg-base); }
.nav__cta { display: flex; gap: 8px; }
@media (max-width: 880px) {
  .nav { top: 14px; }
  .nav__inner { grid-template-columns: 1fr auto; padding: 0 8px 0 16px; height: 52px; }
  .nav__links { display: none; }
}
@media (max-width: 600px) {
  .nav__cta { gap: 6px; }
  .nav__cta .btn--ghost { display: none; }
}

/* ---------- section helpers ---------- */
.section-tag {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
}
.section-tag::before {
  content: ""; display: inline-block;
  width: 24px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .85;
}
.section-tag--light { color: #c8c1ff; }
.section-tag-row { margin-bottom: 22px; }
.section-lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--content-2);
  margin: 22px 0 36px;
  max-width: 56ch; line-height: 1.55;
}

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(60px, 9vw, 110px) 0 0; background: var(--bg); overflow: hidden; isolation: isolate; }
/* Cinematic backplate image (user-supplied) — faint, faded mask */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('hero-bg.png?v=1') center / cover no-repeat;
  opacity: 0.24;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 68%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero__inner { text-align: center; max-width: 980px; padding-bottom: clamp(44px, 6vw, 84px); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}
.hero__display {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 7vw, 96px); line-height: 1.02;
  letter-spacing: -0.02em; margin: 0 0 22px; color: var(--ink);
  text-transform: uppercase; text-wrap: balance;
}
.hero__display .italic { font-style: normal; font-weight: 300; color: var(--ink); }
.hero__lede {
  font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5;
  color: var(--content-2); margin: 0 auto 34px; max-width: 62ch;
}
.hero__cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* logo marquee */
.logos { position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; }
.logos__viewport { overflow: hidden; padding: 22px 0; }
.logos__track { display: inline-flex; align-items: center; gap: clamp(32px,4vw,56px); white-space: nowrap; animation: scroll-x 38s linear infinite; will-change: transform; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(15px,1.3vw,18px); letter-spacing: -0.015em;
  color: var(--content-2); transition: color .2s ease;
}
.logo:hover { color: var(--ink); }
.logo__ic { width: 22px; height: 22px; flex-shrink: 0; display: inline-flex; }
.logo__ic svg, .logo__ic img { width: 100%; height: 100%; display: block; object-fit: contain; }
.logo__ic--mono { color: var(--content-3); transition: color .2s ease; }
.logo:hover .logo__ic--mono { color: var(--brand); }
.logo--dot { display: inline-block; width: 1px; height: 18px; background: var(--border-strong); opacity: .6; }
.logos__fade { position: absolute; top: 0; bottom: 0; width: clamp(48px,8vw,120px); z-index: 2; pointer-events: none; }
.logos__fade--l { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.logos__fade--r { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } }

/* ---------- HOOK ---------- */
.hook { padding: clamp(76px,9vw,116px) 0; background: var(--bg-base); text-align: center; }
.hook--dark { background: #060810; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hook--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 18% 20%, rgba(125, 116, 234,.32), transparent 60%),
    radial-gradient(55% 55% at 88% 90%, rgba(124,58,237,.22), transparent 60%);
}
.hook__inner { max-width: 820px; margin: 0 auto; }
.hook__h {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px,5vw,64px); line-height: 1.04;
  letter-spacing: -0.02em; margin: 18px 0; color: var(--ink);
  text-transform: uppercase; text-wrap: balance;
}
.hook__h--light { color: #fff; }
.hook__h .dim { color: var(--ink); font-weight: 300; }
.hook__h--light .dim-light { color: rgba(255,255,255,.92); font-weight: 300; }
.hook__sub { font-size: clamp(16px,1.25vw,19px); color: var(--content-2); margin: 0 auto 32px; max-width: 56ch; line-height: 1.5; }
.hook__sub--light { color: rgba(255,255,255,.7); }

/* =================================================================
   FEATURES — horizontal carousel
   ================================================================= */
.features {
  padding: clamp(80px,10vw,130px) 0 clamp(56px,7vw,90px);
  background: var(--bg);
}
.features__pin { position: relative; }
.features__stage { display: flow-root; }

/* Pinned horizontal-scroll mode (desktop, motion ok) — toggled by JS */
.features.is-pinned { padding: 0; }
.features.is-pinned .features__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(22px,3.5vw,42px);
  overflow: hidden;
  padding: clamp(30px,5vw,60px) 0;
}
.features.is-pinned .features__head { margin-bottom: 0; }
.features.is-pinned .car { overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.features.is-pinned .car__track { width: max-content; will-change: transform; }
.features__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px,5vw,60px);
}
@media (max-width: 860px) { .features__head { grid-template-columns: 1fr; gap: 24px; align-items: start; } }
.features__head-r { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
@media (max-width: 860px) { .features__head-r { align-items: flex-start; } }
.features__lede {
  font-size: clamp(15px,1.2vw,18px);
  color: var(--content-2);
  max-width: 44ch; text-align: right; margin: 0;
  line-height: 1.55;
}
@media (max-width: 860px) { .features__lede { text-align: left; } }

.car-nav { display: flex; gap: 10px; }
.car-nav__btn {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.car-nav__btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.car-nav__btn:active { transform: scale(.94); }
.car-nav__btn:disabled { opacity: .3; cursor: not-allowed; }
.car-nav__btn:disabled:hover { background: none; color: var(--ink); border-color: var(--border-strong); }

.car {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.car::-webkit-scrollbar { display: none; }
.car__track {
  display: flex;
  gap: 22px;
  padding: 4px var(--gutter);
  width: max-content;
}

.fcard {
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  width: clamp(300px, 38vw, 460px);
  min-height: 560px;
  border-radius: var(--r-xl);
  padding: 34px 34px 0;
  display: flex; flex-direction: column;
  isolation: isolate;
}
.fcard--blue { background: var(--tint-blue); }
.fcard--sky  { background: var(--tint-sky); }
.fcard--mint { background: var(--tint-mint); }
.fcard--dark { background: #0c1530; }

.fcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.fcard__cat {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--content-2);
}
.fcard__cat--light { color: rgba(255,255,255,.6); }

.fcard__h {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08;
  letter-spacing: 0.01em; color: var(--ink); margin: 0 0 10px;
}
.fcard__h--light { color: #fff; }
.fcard__sub { font-size: 14px; color: var(--content-2); margin: 0 0 26px; max-width: 32ch; line-height: 1.5; }
.fcard__sub--light { color: rgba(255,255,255,.62); }

.fcard__shot {
  margin-top: auto;
  align-self: center;
  position: relative;
  width: clamp(188px, 52%, 230px);
  aspect-ratio: 100 / 168;
  padding: 8px 8px 0;
  background: #0b1020;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 26px 56px rgba(11,16,32,.26), inset 0 0 0 1.5px rgba(255,255,255,.07);
  overflow: hidden;
}
.fcard__shot::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 82px; height: 21px;
  background: #060814;
  border-radius: 12px;
  z-index: 4;
}
.fcard__shotimg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px 32px 0 0;
}
.fcard__stripes {
  position: absolute; right: -40px; bottom: -40px;
  width: 280px; height: 280px; z-index: -1;
  background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(11,16,32,.05) 9px 10px);
  mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%);
}
.fcard__stripes--light { background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(255,255,255,.06) 9px 10px); }

/* ----- mini "shot" mockups inside cards ----- */
.shot {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--sh-shot);
  padding: 20px 20px 26px;
  margin-bottom: -2px;
  /* The shot is a stylised in-app screen mock — keep its internal
     palette light regardless of page dark theme. */
  --ink:        #0b1020;
  --ink-strong: #060814;
  --content-1:  #22262d;
  --content-2:  #5e636e;
  --content-3:  #8b919c;
  --border:     #e6e8ee;
  --border-soft:#eef0f5;
  --bg-base:    #f6f8fc;
  --bg-soft:    #eef1f7;
}
.shot--dark { background: #0c1530; color: #fff; }
.shot--center { display: flex; flex-direction: column; gap: 16px; }

.shot__tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 10px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.shot__tag--violet { color: #c4b1ff; background: rgba(124,58,237,.22); }
.shot__big {
  font-family: var(--font-display); font-weight: 700;
  font-size: 38px; letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.shot--dark .shot__big { color: #fff; }
.shot__big small { font-size: 20px; font-weight: 600; opacity: .6; }
.shot__big--green { color: var(--positive); }
.shot__big--light { color: #fff; }
.shot__pnl { display: flex; gap: 10px; align-items: center; font-size: 13px; margin: 8px 0 14px; }
.shot--dark .shot__pnl .up { color: #5cd1a3; }
.shot--dark .muted { color: rgba(255,255,255,.55); }
.shot__spark { width: 100%; height: 64px; margin-bottom: 14px; }
.shot__rows { display: flex; flex-direction: column; gap: 6px; }
.shot__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.05); font-size: 12px;
}
.shot--dark .shot__row .mono { color: #fff; }
.shot--dark .shot__row .up { color: #5cd1a3; }
.shot__line { font-size: 12px; color: var(--content-2); margin: 8px 0 14px; }

.shot__stats3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 14px; }
.shot__stats3 > div { background: var(--bg-base); border-radius: var(--r-sm); padding: 9px 8px; display: flex; flex-direction: column; gap: 2px; }
.shot__stats3 i { font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: var(--content-3); }
.shot__stats3 b { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.shot__stats3--bare > div { background: transparent; padding: 6px 0; }

.shot__pointshero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-loyalty); color: #fff;
  border-radius: var(--r-md); padding: 16px 16px 18px;
}
.shot__pointshero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 80% at 20% 20%, rgba(255,255,255,.18), transparent 50%);
}
.shot__eyebrow { display: block; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.78); margin-bottom: 6px; }
.shot__usd { font-size: 11px; opacity: .8; margin-top: 4px; }
.shot__remote { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(12deg); }
.shot__floatpill {
  position: absolute; padding: 3px 8px; background: #fff; color: var(--brand);
  border-radius: var(--r-pill); font-size: 10px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.15); animation: bob 4s ease-in-out infinite;
}
.shot__floatpill--a { top: 12%; right: 30%; animation-delay: -1.2s; }
.shot__floatpill--b { bottom: 16%; right: 18%; animation-delay: -2.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.ccmini {
  width: 100%; aspect-ratio: 1.7/1; border-radius: var(--r-md);
  padding: 18px;
  background:
    radial-gradient(80% 80% at 20% 20%, rgba(124,58,237,.32), transparent 50%),
    radial-gradient(60% 60% at 90% 90%, rgba(125, 116, 234,.32), transparent 60%),
    linear-gradient(135deg, #0c1530 0%, #1a2050 100%);
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ccmini__top { display: flex; justify-content: space-between; align-items: center; }
.ccmini__brand { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.ccmini__chip { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg,#d4af7a,#b8893a); }
.ccmini__num { font-family: var(--font-mono); font-size: 15px; letter-spacing: .05em; }
.ccmini__bot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.ccmini__acc { color: #c8c1ff; font-weight: 700; }
.shot__cashbar-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--content-2); margin-bottom: 8px; }
.shot__cashbar-head b { font-family: var(--font-display); font-size: 15px; }
.shot__bar { height: 10px; border-radius: 5px; overflow: hidden; display: flex; background: var(--bg-base); }
.shot__bar i { display: block; height: 100%; }

.shot__tabs { display: flex; gap: 6px; background: var(--bg-base); padding: 4px; border-radius: var(--r-pill); margin-bottom: 14px; }
.shot__tabs span { flex: 1; text-align: center; padding: 7px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; color: var(--content-2); }
.shot__tabs .is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11,16,32,.08); }
.shot__io { background: var(--bg-base); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; }
.shot__io--out { background: var(--brand-soft); }
.shot__io i { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--content-3); }
.shot__io b { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.shot__io b small { font-size: 13px; font-weight: 600; color: var(--content-2); }
.shot__io em { font-style: normal; font-size: 11px; color: var(--content-3); }
.shot__ioarrow { text-align: center; font-size: 13px; color: var(--content-3); margin: -2px 0; }
.shot__btn { margin-top: 14px; height: 42px; border-radius: var(--r-pill); background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }

/* progress bar under carousel */
.car-bar { margin-top: 28px; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.car-bar__fill { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 3px; transition: width .2s ease, margin-left .2s ease; }

/* =================================================================
   NUMBERS — vertical big-number stack with active highlight
   ================================================================= */
.numbers { padding: clamp(80px,10vw,130px) 0; background: var(--bg); }
.numbers__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: clamp(40px,5vw,64px);
}
@media (max-width: 760px) { .numbers__head { flex-direction: column; align-items: flex-start; gap: 24px; } }
.numbers__cta { flex-shrink: 0; }

.numbers__rows { border-top: 1px solid var(--border); }
.nrow {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px,5vw,80px);
  align-items: center;
  padding: clamp(18px,2.4vw,30px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding .35s ease;
}
.nrow__num { display: flex; align-items: center; gap: clamp(14px,2vw,26px); }
.nrow__arrow {
  flex-shrink: 0;
  width: clamp(54px,6vw,84px); height: clamp(54px,6vw,84px);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  color: var(--content-3);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .35s ease, color .35s ease;
}
.nrow__fig {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(56px, 11vw, 140px);
  line-height: 0.85; letter-spacing: -0.05em;
  color: var(--bg-soft);
  -webkit-text-stroke: 1px var(--border-strong);
  transition: color .35s ease, -webkit-text-stroke .35s ease;
}
.nrow__fig small { font-size: 0.42em; font-weight: 700; -webkit-text-stroke: 0; }
.nrow__unit {
  font-style: normal;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--content-3);
  align-self: flex-start; margin-top: 10px;
  opacity: 0; transition: opacity .35s ease;
}
.nrow__txt {
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.5; color: var(--content-3);
  max-width: 40ch;
  transition: color .35s ease;
}

/* active state — Semrush coloured-box treatment */
.nrow.is-active { padding: clamp(26px,3.4vw,44px) 0; }
.nrow.is-active .nrow__arrow {
  background: var(--brand);
  color: #fff;
}
.nrow.is-active .nrow__fig {
  color: var(--ink);
  -webkit-text-stroke: 0;
}
.nrow.is-active .nrow__unit { opacity: 1; color: var(--brand); }
.nrow.is-active .nrow__txt { color: var(--content-1); font-weight: 500; }

@media (hover: hover) {
  .nrow:hover .nrow__fig { color: var(--border-strong); }
  .nrow.is-active:hover .nrow__fig { color: var(--ink); }
}

@media (max-width: 760px) {
  .nrow { grid-template-columns: 1fr; gap: 14px; }
  .nrow__txt { max-width: none; }
  .nrow__fig { font-size: clamp(64px,20vw,110px); }
}

/* =================================================================
   LIVE DATA TABLE
   ================================================================= */
.datatable { padding: clamp(80px,10vw,120px) 0; background: var(--bg-base); }
.datatable .shout { margin-bottom: 6px; }
.rank { background: var(--bg-layer); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: clamp(18px,3vw,26px); }
.rank__head, .rank__row {
  display: grid; grid-template-columns: 44px 1.7fr 1fr 0.9fr;
  align-items: center; padding: 16px 22px; gap: 12px; font-size: 14px;
}
.rank__head {
  background: var(--bg-base);
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--content-3);
  border-bottom: 1px solid var(--border);
}
.rank__row { border-top: 1px solid var(--border-soft); transition: background .15s ease; }
.rank__row:first-of-type { border-top: 0; }
.rank__row:hover { background: var(--bg-base); }
.rank__hash { font-family: var(--font-mono); color: var(--content-3); font-weight: 500; font-size: 13px; }
.rank__name { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.rank__val { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--content-1); }
.rank__val.up { color: var(--positive); }
.rank__tag { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--r-pill); }
.rank__tag--low  { background: rgba(26,169,112,.12); color: var(--positive); }
.rank__tag--med  { background: rgba(245,165,36,.14); color: var(--warning); }
.rank__tag--high { background: rgba(235,69,69,.10); color: var(--negative); }
.rank__tag--soon { background: var(--brand-soft); color: var(--brand); }
.rank__pillar { font-family: var(--font-mono); font-size: 12px; color: var(--content-2); }
@media (max-width: 700px) {
  .rank__hide-sm { display: none; }
  .rank__head, .rank__row { grid-template-columns: 34px 1.6fr 0.8fr; padding: 13px 16px; }
}

/* Sentiment chips inside the intelligence shot */
.shot__row .pos { color: var(--positive); font-weight: 700; }
.shot__row .neg { color: var(--negative); font-weight: 700; }
.shot__row .neu { color: var(--content-3); font-weight: 700; }
.shot__rows--news .shot__row { font-size: 11.5px; }
.datatable__disclaimer { margin-top: 18px; font-size: 12px; color: var(--content-3); }

/* ---- Capabilities: clean 9-up icon grid ---- */
.feat9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 56px) clamp(32px, 5vw, 88px);
  margin-top: clamp(30px, 4vw, 52px);
}
@media (max-width: 920px) { .feat9 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat9 { grid-template-columns: 1fr; } }

.feat { max-width: 36ch; }
.feat__ic {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover .feat__ic {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(125, 116, 234,.28);
}
.feat__h {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: -0.02em; line-height: 1.2;
  color: var(--ink);
  margin: 0 0 9px;
}
.feat__d {
  font-size: 14px; line-height: 1.6;
  color: var(--content-2);
  margin: 0;
}

/* =================================================================
   TESTIMONIAL
   ================================================================= */
.quote { padding: clamp(80px,10vw,130px) 0; background: #060810; color: #fff; }
.quote__inner { max-width: 1000px; }
.quote .section-tag { margin-bottom: 24px; }
.quote__text {
  font-family: var(--font-body); font-weight: 300; font-style: italic;
  font-size: clamp(24px,3.4vw,40px); line-height: 1.25; letter-spacing: -0.01em;
  color: #fff; margin: 0 0 36px; max-width: 28ch;
}
.quote__text em { font-style: italic; color: #b8c4e8; }
.quote__attr { display: flex; align-items: center; gap: clamp(16px,3vw,32px); flex-wrap: wrap; }
.quote__photo {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; display: block; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
}
.quote__name strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; }
.quote__name span { font-size: 13px; color: rgba(255,255,255,.6); }
.quote__sep { width: 1px; height: 36px; background: rgba(255,255,255,.16); }
.quote__metric strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,2.4vw,32px); letter-spacing: -0.025em; color: #5cd1a3; line-height: 1; }
.quote__metric span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.55); }

/* =================================================================
   RESOURCES
   ================================================================= */
.resources { padding: clamp(80px,10vw,130px) 0; background: var(--bg); }
.resources .shout { margin-bottom: clamp(24px,4vw,40px); }
.resources__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 1000px) { .resources__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .resources__grid { grid-template-columns: 1fr; } }
.rcard {
  display: flex; flex-direction: column;
  background: var(--bg-layer); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rcard:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: var(--border-strong); }
.rcard__img { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--bg-soft); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcard__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--content-2); padding: 18px 22px 0; }
.rcard__h { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.018em; color: var(--ink); margin: 8px 22px 18px; }
.rcard__meta { margin-top: auto; font-size: 12px; color: var(--content-3); padding: 0 22px 20px; }

/* =================================================================
   FINAL CTA
   ================================================================= */
.finalcta { padding: clamp(90px,11vw,150px) 0; background: #060810; color: #fff; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.finalcta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(125, 116, 234,.4), transparent 60%),
    radial-gradient(45% 45% at 80% 100%, rgba(124,58,237,.26), transparent 65%);
}
.finalcta__inner { max-width: 900px; }
.finalcta__h { color: #fff; margin: 0 0 22px; }
.finalcta__accent {
  background: linear-gradient(115deg,#c8c1ff 0%,#b8a4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.finalcta__sub { font-size: clamp(16px,1.3vw,19px); color: rgba(255,255,255,.66); margin: 0 auto 36px; max-width: 52ch; line-height: 1.5; }
.finalcta__row { margin-bottom: 22px; }
.finalcta__meta { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: rgba(255,255,255,.6); font-family: var(--font-mono); }
.finalcta__meta .dotsep { color: rgba(255,255,255,.3); }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { padding: 72px 0 32px; background: #050507; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,0.05); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 2fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1 / -1; }
}

/* Horizontal brand-mark pill row — Across Perception AI */
.footer__marks { display: flex; flex-wrap: wrap; gap: 8px; }
.xfm {
  display: inline-flex !important; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.4s cubic-bezier(0.32, 0.72, 0, 1),
              border-color 0.4s cubic-bezier(0.32, 0.72, 0, 1),
              color 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.xfm:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}
.xfm svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
/* Current-page indicator — PAI Wallet periwinkle */
.xfm--current {
  background: rgba(125, 116, 234, 0.14);
  border-color: rgba(125, 116, 234, 0.40);
  color: var(--accent);
}
.xfm--current:hover {
  background: rgba(125, 116, 234, 0.20);
  border-color: rgba(125, 116, 234, 0.55);
  color: var(--accent);
}
.footer__tag { margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.55); max-width: 32ch; }

.footer__social { display: flex; gap: 4px; margin-top: 22px; }
/* scoped with .footer__col to beat `.footer__col a { display:block; padding:5px 0 }` */
.footer__col a.footer__soc {
  width: 32px; height: 32px; padding: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .15s ease, color .15s ease;
}
.footer__col a.footer__soc:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer__col a.footer__soc svg { width: 16px; height: 16px; display: block; }
.footer__h { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14px; color: rgba(255,255,255,.62); padding: 5px 0; transition: color .18s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.45); }
.footer__risk { max-width: 60ch; text-align: right; }
@media (max-width: 800px) { .footer__bottom { flex-direction: column; } .footer__risk { text-align: left; } }

/* Post-footer logo band — fixed behind the page, revealed from under the
   footer only when scrolled to the very bottom. */
.postfooter {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.postfooter__logo {
  width: min(720px, 64vw);
  height: auto;
  display: block;
  opacity: .92;
  color: #ffffff;
}

/* =================================================================
   FLOATING WALLET PHONE — visible in hero, fades before features
   ================================================================= */
.floatphone {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  transition: opacity .15s linear;
  display: none;            /* desktop-only; enabled below */
  pointer-events: none;     /* purely decorative */
  will-change: transform, opacity;
}
@media (min-width: 1000px) {
  .floatphone { display: block; }
  .floatphone .fp { width: 280px; height: 552px; }
}

.fp {
  position: relative;
  width: 236px;
  height: 480px;
  background: #0b1020;
  border-radius: 42px;
  padding: 9px;
  box-shadow: 0 40px 90px rgba(11,16,32,.30), 0 10px 26px rgba(11,16,32,.18), inset 0 0 0 1.5px rgba(255,255,255,.06);
}
.fp__notch {
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 24px;
  background: #060814;
  border-radius: 13px;
  z-index: 4;
}
.fp__screen {
  position: relative;
  width: 100%; height: 100%;
  background: #f6f8fc;
  border-radius: 34px;
  overflow: hidden;
}

/* Wallet home-screen image inside the floating phone (from Figma 1557:4476). */
.fp__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
  object-position: top center;
  background: var(--bg);
}

/* Side wrappers: invisible on mobile (children flow & stay centred),
   become grid columns flanking the phone on desktop. */
.side { display: contents; }

/* ---- Desktop: text on BOTH sides of the centred wallet phone ---- */
@media (min-width: 1000px) {
  .hero, .hook {
    position: relative;
    min-height: 100vh;
    display: block;
    padding-top: 0; padding-bottom: 0;
  }
  .hero__inner, .hook__inner {
    max-width: 1240px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 360px 1fr;
    align-items: center;
    column-gap: 0;
    text-align: left;
  }

  .side { display: flex; flex-direction: column; }
  .side--l {
    grid-column: 1;
    align-items: flex-end;
    text-align: right;
    max-width: 480px;
    justify-self: end;
    padding-right: clamp(20px, 3vw, 56px);
  }
  .side--r {
    grid-column: 3;
    align-items: flex-start;
    text-align: left;
    max-width: 480px;
    justify-self: start;
    padding-left: clamp(20px, 3vw, 56px);
  }

  .hero__display { font-size: clamp(34px, 3.6vw, 56px); margin: 0; }
  .hero__eyebrow { margin: 0 0 18px; }
  .hero__lede { font-size: 17px; margin: 0 0 26px; max-width: none; }
  .hero__cta { justify-content: flex-start; }

  .hook__h { font-size: clamp(30px, 3.4vw, 50px); margin: 14px 0 0; }
  .hook__sub { margin: 0 0 26px; max-width: none; }

  /* Hero marquee pinned to the very bottom of the tall hero */
  .hero .logos {
    position: absolute; left: 0; right: 0; bottom: 0;
    margin: 0;
  }
  .hero .logos__viewport { padding: 14px 0; }
}

/* =================================================================
   Reveal-on-scroll
   ================================================================= */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease var(--reveal-delay,0ms), transform .55s cubic-bezier(.22,.61,.36,1) var(--reveal-delay,0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================
   Phone polish — calmer vertical rhythm (placed last so it wins over
   the desktop-sized clamp() minimums on the base section rules).
   ================================================================= */
@media (max-width: 600px) {
  .hook { padding: 50px 0; }
  .features { padding: 52px 0 36px; }
  .numbers { padding: 52px 0; }
  .finalcta { padding: 64px 0; }
}

/* =================================================================
   Legal documents (Privacy Policy / Terms of Service)
   ================================================================= */
.legal-hero { position: relative; padding: clamp(120px, 15vw, 168px) 0 36px; background: var(--bg); }
.legal-hero__wrap { max-width: 760px; margin: 0 auto; }
.legal-hero__meta { margin-top: 18px; color: var(--content-2); font-size: 14px; }
.legal-hero__meta strong { color: var(--content-1); font-weight: 600; }
.legal-hero__lede { max-width: 62ch; margin: 18px 0 0; color: var(--content-2); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; }

.legal-doc { padding: 8px 0 110px; background: var(--bg); }
.legal-doc__wrap { max-width: 760px; margin: 0 auto; }
.legal-doc h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.01em; color: var(--ink); margin: 52px 0 14px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); margin: 26px 0 10px; }
.legal-doc p { color: var(--content-1); margin: 0 0 16px; line-height: 1.7; }
.legal-doc ul { margin: 0 0 18px; }
.legal-doc li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--content-1); line-height: 1.6; }
.legal-doc li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.legal-doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--ink); }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc__addendum { margin-top: 60px; padding-top: 44px; border-top: 1px solid var(--border); }
.legal-doc__intro { font-size: clamp(15px, 1.2vw, 17px); color: var(--content-2); }

.footer__legal-links { display: flex; gap: 18px; }
.footer__legal-links a { padding: 0; font-size: 12px; color: rgba(255,255,255,.45); }
.footer__legal-links a:hover { color: #fff; }
@media (max-width: 800px) { .footer__legal-links { order: -1; } }
