/* ================================================================================
   Motions · home-v2.css — homepage-only refinement layer (Apple high-end tech)
   ================================================================================
   Loaded AFTER home.css. Overrides / redefines home-page selectors only.
   Docs / FAQ / Pricing pages are untouched (they still use plain home.css).

   Design principles (design pass 2026-08-26):
   - Palette preserved: deep bg, acid-lime accent, oxblood negative.
   - Subtractive: fewer borders, more air, one primary CTA, one accent semantic.
   - Depth via layered glass, not stacked box-shadows.
   - Type does the work: Inter display weights + Poppins-adjacent tracking.
   - Motion is quiet: 220ms, one easing, entrance-only.

   Assumptions the JS depends on (do NOT rename these):
   #connectWallet, .btn-primary (dynamic text), #walletPicker, #walletList,
   #paymentModal, .chain-option[data-chain], #toast, #modalPromoCode,
   #modalRedeemBtn.
================================================================================ */

/* --- Tokens (extended, palette preserved) ---------------------------------- */
:root {
  --ease: cubic-bezier(.32,.72,0,1);
  --dur: 220ms;

  --surface-0: #0a0b0d;
  --surface-1: rgba(255,255,255,0.02);
  --surface-2: rgba(255,255,255,0.04);
  --hairline:  rgba(255,255,255,0.06);
  --hairline-strong: rgba(255,255,255,0.10);
  --text-hi:   #f4f6fa;
  --text-mid:  #b8bec9;
  --text-lo:   #7a8090;

  --lime:      #6de0c9;
  --lime-soft: rgba(109,224,201,0.14);
  --lime-line: rgba(109,224,201,0.28);
  --oxblood:   #ff5e5e;

  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 40px -12px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 80px -20px rgba(109,224,201,0.35);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* --- Base overrides -------------------------------------------------------- */
body {
  background: var(--surface-0);
  color: var(--text-hi);
  font-family: var(--font-body);
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Kill the retro scanline — reads 90s terminal, not Apple pro-tool */
body::before { display: none !important; }

/* Ambient page glow — single warm radial from the top only. The old bottom-
   left teal (109,224,201) was leaking into card backgrounds and reading grey-
   blue. One accent glow, warm-toned, subtle. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(109,224,201,0.10), transparent 60%);
}

/* Everything real sits above the ambient glow */
.header, .hero, .features, .how-it-works, .footer, .modal, .toast, section {
  position: relative;
  z-index: 1;
}

/* --- Header (fixed glass, tighter, refined) ------------------------------- */
.header {
  background: rgba(10, 11, 13, 0.68);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo { flex: 0 0 auto; }
.logo-img {
  height: 64px;
  filter: drop-shadow(0 0 10px rgba(109,224,201,0.15));
  transition: filter var(--dur) var(--ease);
}
.logo:hover .logo-img { filter: drop-shadow(0 0 14px rgba(109,224,201,0.35)); }

.nav-menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.nav-link:hover {
  color: var(--text-hi);
  background: var(--surface-2);
}

.btn-connect {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-hi);
  background: var(--surface-2);
  border: 1px solid var(--hairline-strong);
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  letter-spacing: -0.005em;
}
.btn-connect:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
}
.btn-connect.connected {
  background: var(--lime-soft);
  border-color: var(--lime-line);
  color: var(--lime);
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero-content {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
/* WebGL canvas layer (glsl hills) sits behind the hero content */
#hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 90%);
}
#hero-canvas-wrap canvas { width: 100%; height: 100%; display: block; }

/* Neutralise legacy hero decorations from home.css v1 */
.hero-bg, .hero-gradient { display: none !important; }

/* Announcement pill (saas-template pattern) */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 32px;
  animation: fadeUp 700ms var(--ease) both;
  backdrop-filter: blur(12px);
}
.hero-pill-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-pill-arrow { font-size: 11px; opacity: 0.6; }
.hero-pill:hover { color: var(--text-hi); border-color: var(--hairline-strong); }

.hero h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 800ms var(--ease) 60ms both;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, #6de0c9 0%, #ffffff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.hero-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 42px;
  line-height: 1.65;
  animation: fadeUp 800ms var(--ease) 140ms both;
}

/* Primary CTA — gradient white-to-lime tint */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0a0b0d;
  background:
    linear-gradient(180deg, #ffffff 0%, #f0f1f4 60%, #d5daea 100%);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  animation: fadeUp 800ms var(--ease) 220ms both;
}
.btn-primary::after {
  content: '→';
  font-weight: 400;
  transition: transform var(--dur) var(--ease);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 20px 40px -12px rgba(0,0,0,0.7), var(--shadow-glow);
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }

/* Hero trust strip — live chains */
.hero-chains {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
  flex-wrap: wrap;
  animation: fadeUp 800ms var(--ease) 320ms both;
}
.hero-chains-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.hero-chains-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 500;
}
.hero-chains-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-chains-list span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(109,224,201,0.5);
}

/* --- Section shells -------------------------------------------------------- */
.features, .how-it-works {
  padding: 120px 24px;
}
.features-inner, .how-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.features h2, .how-it-works h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.features h2 .highlight, .how-it-works h2 .highlight,
h2 .highlight {
  background: linear-gradient(90deg, #6de0c9 0%, #ffffff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.section-lede {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 64px;
  text-align: center;
  line-height: 1.65;
}

/* --- Feature grid (glass cards, refined) ---------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
/* Feature card — solid dark surface so ambient page glow doesn't leak through
   and make the card read greyblue. Layered: base surface, subtle accent
   radial from top-right, hairline border gradient on top edge, and a
   hover-only accent glow inside. Adds a real drop shadow so cards feel
   lifted off the page, not painted on. */
.feature-card {
  position: relative;
  padding: 34px 28px 30px;
  background:
    radial-gradient(620px 240px at 100% 0%, rgba(109,224,201,0.055), transparent 55%),
    linear-gradient(180deg, #141820 0%, #0d0f15 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 24px 48px -24px rgba(0,0,0,0.55);
}
.feature-card::before {
  /* Accent hairline at the very top of the card — reads as a subtle rim light. */
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,224,201,0.38), transparent);
  pointer-events: none;
}
.feature-card::after {
  /* Hover-only accent bloom in the top-middle. Zero cost when idle. */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 50% -10%, rgba(109,224,201,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 320ms var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109,224,201,0.28);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 60px -20px rgba(0,0,0,0.65),
    0 0 40px -6px rgba(109,224,201,0.14);
}
.feature-card:hover::after { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(109,224,201,0.16) 0%, rgba(109,224,201,0.04) 100%);
  border: 1px solid rgba(109,224,201,0.30);
  margin-bottom: 22px;
  color: var(--lime);
  box-shadow: 0 0 22px -8px rgba(109,224,201,0.35);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--text-hi);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* --- How-it-works (numbered steps, refined) ------------------------------- */
.how-it-works { padding-top: 40px; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  position: relative;
}
.step {
  position: relative;
  padding: 30px 26px 26px;
  background:
    radial-gradient(560px 200px at 100% 0%, rgba(109,224,201,0.05), transparent 55%),
    linear-gradient(180deg, #141820 0%, #0d0f15 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 20px 40px -22px rgba(0,0,0,0.5);
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,224,201,0.32), transparent);
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(109,224,201,0.26);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 28px 56px -20px rgba(0,0,0,0.62),
    0 0 32px -8px rgba(109,224,201,0.12);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--lime-soft);
  border: 1px solid var(--lime-line);
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 16px;
  letter-spacing: 0;
}
.step h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.step p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
}

/* --- Dashboard preview (like saas-template hero image) -------------------- */
.dashboard-preview {
  padding: 40px 24px 120px;
  position: relative;
}
.dashboard-preview-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}
.dashboard-preview-inner::before {
  content: '';
  position: absolute;
  inset: -80px 0 -40px 0;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(109,224,201,0.20), transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}
.dashboard-preview-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background: var(--surface-1);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.dashboard-preview-frame img,
.dashboard-preview-frame .placeholder {
  display: block;
  width: 100%;
  height: auto;
}
.dashboard-preview-frame .placeholder {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, #12141a 0%, #0d0f14 100%);
  color: var(--text-lo);
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Safari-style browser chrome ---------------------------------------- */
.safari-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #1c1e24;
  border: 1px solid var(--hairline-strong);
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.03) inset;
}
.safari-chrome {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #2a2c33 0%, #1f2128 100%);
  border-bottom: 1px solid rgba(0,0,0,0.35);
}
.safari-traffic {
  display: flex;
  gap: 8px;
  align-items: center;
}
.safari-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.35) inset;
}
.safari-dot.red    { background: #ff5f57; }
.safari-dot.yellow { background: #febc2e; }
.safari-dot.green  { background: #28c840; }
.safari-url {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  min-width: 220px;
  max-width: 420px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  color: #d3d6dc;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  border: 1px solid rgba(255,255,255,0.05);
}
.safari-url svg {
  width: 11px;
  height: 11px;
  opacity: 0.75;
  flex-shrink: 0;
}
.safari-path { color: rgba(211,214,220,0.55); }
.safari-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.safari-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,0.14);
}
.safari-frame img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .safari-chrome { grid-template-columns: 60px 1fr; padding: 8px 10px; gap: 8px; }
  .safari-actions { display: none; }
  .safari-url { font-size: 11px; min-width: 0; padding: 4px 10px; }
  .safari-dot { width: 10px; height: 10px; }
}

/* --- Footer --------------------------------------------------------------- */
.footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--hairline);
  background: rgba(10,11,13,0.6);
  backdrop-filter: blur(20px);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer-email {
  color: var(--text-mid);
  font-size: 13px;
  letter-spacing: 0;
}
.footer-logo { justify-self: center; }
.footer-logo-img { height: 32px; opacity: 0.9; }
.footer-social {
  display: flex;
  gap: 8px;
  justify-self: end;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: all var(--dur) var(--ease);
}
.social-link svg { width: 15px; height: 15px; }
.social-link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-hi);
  border-color: var(--hairline-strong);
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social { justify-self: center; }
}

/* --- Modal (wallet picker + payment) - refined but ID-compatible --------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6,7,9,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 200ms var(--ease);
}
.modal.show { display: flex; }
.modal-content {
  background: linear-gradient(180deg, #14171d 0%, #0e1015 100%);
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  padding: 28px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8);
  animation: modalIn 260ms var(--ease);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 0;
  background: var(--surface-2);
  color: var(--text-mid);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: all var(--dur) var(--ease);
}
.modal-close:hover { background: rgba(255,255,255,0.08); color: var(--text-hi); }
.modal-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--text-hi);
}
.modal-desc {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 18px;
}
.modal-note {
  font-size: 12px;
  color: var(--text-lo);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}

/* Chain / wallet option cards (used in both modals) */
.chain-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.chain-option {
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--text-hi);
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chain-option:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--lime-line);
}
.chain-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-hi);
}
.chain-amount {
  font-size: 12px;
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}

/* Promo input (inside payment modal) */
.promo-input {
  display: flex;
  gap: 8px;
}
.promo-input input {
  flex: 1;
  padding: 11px 14px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 13px;
  transition: border-color var(--dur) var(--ease);
}
.promo-input input:focus {
  outline: none;
  border-color: var(--lime-line);
  background: rgba(109,224,201,0.05);
}
.btn-secondary {
  padding: 11px 18px;
  background: var(--lime-soft);
  border: 1px solid var(--lime-line);
  border-radius: 10px;
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(109,224,201,0.20);
  border-color: rgba(109,224,201,0.4);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 22px;
  background: linear-gradient(180deg, #14171d 0%, #0e1015 100%);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  color: var(--text-hi);
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 260ms var(--ease);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast.success { border-color: var(--lime-line); color: var(--lime); }
.toast.error { border-color: rgba(255,94,94,0.4); color: var(--oxblood); }
.toast.info { border-color: var(--hairline-strong); }

/* --- Motion primitives ----------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Section entrance — observer-driven .in class */
.reveal { opacity: 0; transform: translateY(16px); transition: all 700ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 720px) {
  .hero { padding: 100px 20px 60px; }
  .features, .how-it-works { padding: 80px 20px; }
  .header-inner { padding: 10px 16px; height: 60px; gap: 12px; }
  .nav-menu { display: none; }
  .chain-options { grid-template-columns: 1fr; }
}

/* --- Pro desks (modes + chart mgmt) --------------------------------------- */
.pro-desks {
  padding: 80px 24px 120px;
}
.pro-desks h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pro-desks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 1180px) {
  .pro-desks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pro-desks-grid { grid-template-columns: 1fr; }
}
.pro-card {
  position: relative;
  background:
    radial-gradient(560px 220px at 100% 0%, rgba(109,224,201,0.055), transparent 55%),
    linear-gradient(180deg, #141820 0%, #0d0f15 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 26px 24px 24px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 22px 44px -22px rgba(0,0,0,0.55);
}
.pro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,224,201,0.35), transparent);
}
.pro-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109,224,201,0.28);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 60px -20px rgba(0,0,0,0.65),
    0 0 40px -8px rgba(109,224,201,0.14);
}
.pro-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.pro-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pro-card-list li {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}
.pro-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--lime);
  opacity: 0.7;
}
.pro-card-list li b {
  color: var(--text-hi);
  font-weight: 600;
}

/* --- SEO footer (keyword columns + human paragraph) ---------------------- */
.seo-footer {
  padding: 80px 24px 60px;
  border-top: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0) 60%),
    var(--surface-0);
}
.seo-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.seo-lede {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.seo-lede h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.65) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.seo-lede p {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.7;
}
.seo-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px 24px;
}
.seo-col h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lo);
  margin: 0 0 12px;
}
.seo-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seo-col a {
  font-size: 13px;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.seo-col a:hover { color: var(--lime); }

@media (max-width: 720px) {
  .pro-desks { padding: 60px 20px 80px; }
  .seo-footer { padding: 60px 20px 40px; }
  .seo-columns { gap: 24px 16px; }
}

/* --- Final CTA band ------------------------------------------------------ */
.cta-band {
  padding: 100px 24px 40px;
  position: relative;
}
.cta-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(109,224,201,0.14), transparent 65%),
    linear-gradient(180deg, #141820 0%, #0d0f15 100%);
  border: 1px solid rgba(109,224,201,0.24);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 100px -30px rgba(0,0,0,0.6),
    0 0 80px -20px rgba(109,224,201,0.14);
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,224,201,0.6), transparent);
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-inner p {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0a0b0d;
  background: linear-gradient(180deg, #ffffff 0%, #f0f1f4 60%, #d5daea 100%);
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 12px 40px -12px rgba(0,0,0,0.6);
}
.cta-primary::after {
  content: '→';
  transition: transform var(--dur) var(--ease);
}
.cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 20px 40px -12px rgba(0,0,0,0.7), 0 0 80px -20px rgba(109,224,201,0.4);
}
.cta-primary:hover::after { transform: translateX(3px); }

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--lime);
  background: rgba(109,224,201,0.08);
  border: 1px solid var(--lime-line);
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cta-secondary:hover {
  background: rgba(109,224,201,0.15);
  border-color: rgba(109,224,201,0.5);
}
.cta-trial-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: #0a0b0d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

@media (max-width: 640px) {
  .cta-band { padding: 60px 20px 20px; }
  .cta-inner { padding: 40px 24px; border-radius: 20px; }
  .cta-primary, .cta-secondary { width: 100%; justify-content: center; }
}

/* ============================================================================
   TWO-MODE PREVIEW — Program Trading + Manual Trading, stacked with headings
   ============================================================================ */
.dashboard-preview.two-mode .dashboard-preview-inner {
  display: grid;
  gap: 60px;
  padding: 40px 20px 80px;
  max-width: 1240px;
  margin: 0 auto;
}
.dashboard-preview.two-mode .mode-card {
  display: grid;
  gap: 24px;
}
.dashboard-preview.two-mode .mode-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.dashboard-preview.two-mode .mode-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6de0c9;
  background: rgba(109,224,201,0.10);
  border: 1px solid rgba(109,224,201,0.32);
  margin-bottom: 12px;
}
.dashboard-preview.two-mode .mode-tag.manual {
  color: #ffb547;
  background: rgba(255,181,71,0.10);
  border-color: rgba(255,181,71,0.32);
}
.dashboard-preview.two-mode .mode-head h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #f2f5f9;
}
.dashboard-preview.two-mode .mode-head p {
  font-size: 15.5px;
  line-height: 1.6;
  color: #a8afba;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================================
   V2 refresh — cleaner cards (Aceternity-style), non-custodial section,
   headings that never clip.
   ============================================================================ */

/* Safety pass — no heading should ever visually clip anywhere on the page. */
.features h2, .features h3,
.pro-desks h2, .pro-desks h3,
.how-it-works h2, .how-it-works h3,
.custody h2, .custody h3,
.dashboard-preview h3 {
  overflow: visible !important;
  padding-bottom: 4px;
  line-height: 1.2;
}

/* --- Feature cards: minimal — no heavy background, just border + hover glow */
.feature-card {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  padding: 28px 26px 26px !important;
  box-shadow: none !important;
  transition: border-color 200ms cubic-bezier(.32,.72,0,1),
              background 240ms cubic-bezier(.32,.72,0,1),
              transform 200ms cubic-bezier(.32,.72,0,1) !important;
}
.feature-card::before {
  /* Keep the subtle top hairline as accent */
  opacity: 0.9;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(109,224,201,0.28) !important;
  background: radial-gradient(600px 240px at 50% 0%, rgba(109,224,201,0.06), transparent 60%) !important;
  box-shadow: 0 0 40px -14px rgba(109,224,201,0.18) !important;
}
.feature-card:hover::after { opacity: 0; }
.feature-icon {
  width: 40px !important;
  height: 40px !important;
  background: rgba(109,224,201,0.10) !important;
  border: 1px solid rgba(109,224,201,0.24) !important;
  color: #6de0c9;
}

/* --- Step cards: same minimal treatment + fix the number overlap ---------- */
.step {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  padding: 34px 26px 28px !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.step:hover {
  border-color: rgba(109,224,201,0.28) !important;
  background: radial-gradient(560px 220px at 50% 0%, rgba(109,224,201,0.06), transparent 60%) !important;
  box-shadow: 0 0 36px -10px rgba(109,224,201,0.14) !important;
}
.step-number {
  display: flex !important;                  /* was inline-flex, caused stacking issues */
  width: 40px !important;
  height: 40px !important;
  margin-bottom: 20px !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  border-radius: 10px !important;
  background: rgba(109,224,201,0.10) !important;
  border: 1px solid rgba(109,224,201,0.28) !important;
  color: #6de0c9 !important;
}
.step h3 {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

/* --- Pro-desk cards: match same minimal treatment ------------------------- */
.pro-card {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  padding: 26px 24px 24px !important;
  box-shadow: none !important;
}
.pro-card:hover {
  border-color: rgba(109,224,201,0.28) !important;
  background: radial-gradient(560px 220px at 50% 0%, rgba(109,224,201,0.06), transparent 60%) !important;
  box-shadow: 0 0 36px -12px rgba(109,224,201,0.14) !important;
}

/* ============================================================================
   NON-CUSTODIAL section
   ============================================================================ */
.custody {
  padding: 100px 20px 80px;
}
.custody-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.custody-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(109,224,201,0.10);
  border: 1px solid rgba(109,224,201,0.28);
  color: #6de0c9;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.custody-eyebrow svg { width: 14px; height: 14px; }
.custody-headline {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f2f5f9;
  margin: 0 0 22px;
  padding-bottom: 6px;
}
.custody-headline em {
  font-style: normal;
  color: #6de0c9;
  font-weight: 500;
  background: linear-gradient(180deg, #8feddb, #6de0c9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.custody-lede {
  font-size: 16.5px;
  line-height: 1.65;
  color: #a8afba;
  max-width: 720px;
  margin: 0 auto 56px;
}

.custody-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 44px;
}
@media (max-width: 900px) {
  .custody-grid { grid-template-columns: 1fr; }
}
.custody-point {
  padding: 28px 24px 26px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  position: relative;
  transition: border-color 200ms cubic-bezier(.32,.72,0,1),
              background 240ms cubic-bezier(.32,.72,0,1);
}
.custody-point:hover {
  border-color: rgba(109,224,201,0.28);
  background: radial-gradient(500px 220px at 50% 0%, rgba(109,224,201,0.06), transparent 60%);
}
.custody-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #6de0c9;
  margin-bottom: 14px;
}
.custody-point h3 {
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: #f2f5f9;
  margin: 0 0 10px;
  line-height: 1.3;
}
.custody-point p {
  font-size: 14px;
  color: #a8afba;
  line-height: 1.62;
  margin: 0;
}

/* --- Compare bar: us vs them ---------------------------------------------- */
.custody-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 700px) {
  .custody-compare { grid-template-columns: 1fr; }
}
.cc-us, .cc-them {
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cc-us { border-color: rgba(109,224,201,0.32); }
.cc-them { border-color: rgba(255,181,71,0.22); }
.cc-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}
.cc-status {
  font-size: 14.5px;
  font-weight: 500;
  color: #f2f5f9;
  letter-spacing: -0.005em;
}
.cc-status.ok::before {
  content: '✓ ';
  color: #6de0c9;
  font-weight: 700;
  margin-right: 4px;
}
.cc-status.warn::before {
  content: '⚠ ';
  color: #ffb547;
  font-weight: 700;
  margin-right: 4px;
}
.cc-status.warn { color: #a8afba; }

/* ============================================================================
   Card refinement — match the CTA "Start running programs today" look:
   subtle dark gradient background, cyan-tinted border, soft radial top glow.
   Overrides the earlier fully-transparent "no background" attempt.
   ============================================================================ */
.feature-card,
.step,
.pro-card,
.custody-point {
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(109,224,201,0.10), transparent 60%),
    linear-gradient(180deg, #141820 0%, #0d0f15 100%) !important;
  border: 1px solid rgba(109,224,201,0.20) !important;
  border-radius: 18px !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 20px 40px -22px rgba(0,0,0,0.5),
    0 0 40px -18px rgba(109,224,201,0.10) !important;
  position: relative;
  overflow: hidden;
}
.feature-card::before,
.step::before,
.pro-card::before,
.custody-point::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,224,201,0.55), transparent);
  pointer-events: none;
}
.feature-card:hover,
.step:hover,
.pro-card:hover,
.custody-point:hover {
  transform: translateY(-2px);
  border-color: rgba(109,224,201,0.36) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 28px 60px -22px rgba(0,0,0,0.6),
    0 0 60px -18px rgba(109,224,201,0.20) !important;
}

/* Cards — final: outline only, no interior fill. Matches the pro-desks look. */
.feature-card,
.step,
.pro-card,
.custody-point {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}
.feature-card::before,
.step::before,
.pro-card::before,
.custody-point::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,224,201,0.32), transparent);
  pointer-events: none;
  opacity: 0.7;
}
.feature-card:hover,
.step:hover,
.pro-card:hover,
.custody-point:hover {
  transform: translateY(-2px);
  border-color: rgba(109,224,201,0.32) !important;
  background: transparent !important;
  box-shadow: 0 0 40px -18px rgba(109,224,201,0.18) !important;
}

/* Global heading safety — descenders (g, y, p, q, j) were clipping on
   gradient-text titles. Give them room and a matching padding at the bottom. */
h1, h2, h3, h4 {
  line-height: 1.25 !important;
  padding-bottom: 0.12em !important;
  overflow: visible !important;
}
h1 { line-height: 1.1 !important; }
/* Gradient-fill titles: extend the clip box so descenders render fully */
.mode-head h3,
.features h2, .features h3,
.pro-desks h2, .pro-desks h3,
.how-it-works h2, .how-it-works h3,
.custody h2, .custody h3,
.cta-inner h2 {
  padding-bottom: 0.18em !important;
  overflow: visible !important;
}

/* Kill the body-fixed ambient page glow — it was staying visible while scrolling
   and rendering as a soft gradient behind the card sections. */
body::after { display: none !important; }

/* Cards — final v2: bring back the CTA-style gradient interior. Match the
   "Start running programs today." box that the user liked. */
.feature-card,
.step,
.pro-card,
.custody-point {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(109,224,201,0.12), transparent 65%),
    linear-gradient(180deg, #141820 0%, #0d0f15 100%) !important;
  border: 1px solid rgba(109,224,201,0.22) !important;
  border-radius: 18px !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 20px 40px -22px rgba(0,0,0,0.5),
    0 0 40px -18px rgba(109,224,201,0.12) !important;
  position: relative;
  overflow: hidden;
}
.feature-card::before,
.step::before,
.pro-card::before,
.custody-point::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,224,201,0.55), transparent);
  pointer-events: none;
  opacity: 1;
}
.feature-card:hover,
.step:hover,
.pro-card:hover,
.custody-point:hover {
  transform: translateY(-2px);
  border-color: rgba(109,224,201,0.36) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 28px 60px -22px rgba(0,0,0,0.6),
    0 0 60px -18px rgba(109,224,201,0.20) !important;
}

/* Kill ANY section-level backgrounds so nothing sits behind the cards */
.features, .features-inner, .features-grid,
.how-it-works, .how-inner, .steps,
.pro-desks, .pro-desks-grid,
.custody, .custody-inner, .custody-grid {
  background: transparent !important;
  border: 0 !important;
}
/* Same for the outer section wrappers — home.css puts top/bottom borders on
   .features that read as faint horizontal lines running past the cards. */
.features { border-top: 0 !important; border-bottom: 0 !important; }
.features::before, .footer::before { display: none !important; }

/* Remove the leftover top-hairline strokes on cards */
.feature-card::before,
.step::before,
.pro-card::before,
.custody-point::before {
  display: none !important;
}

/* Kill leftover corner-tick marks around .step-number. home.css draws 4 cyan
   ticks via box-shadow sized for the OLD 52x52 step number; the pill is now
   ~small, so the ticks float 44/56px away and line up across the 3 step cards,
   reading as faint horizontal lines "connecting" the cards. */
.step-number::before,
.step-number::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Numbered step "01 02 03" — large, quiet numeral. No pill, no box, no ticks. */
.step-number {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  color: rgba(109,224,201,0.85) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

/* Match the same treatment for the custody-num */
.custody-num {
  display: inline-block !important;
  padding: 3px 10px !important;
  border: 1px solid rgba(109,224,201,0.32) !important;
  background: rgba(109,224,201,0.10) !important;
  border-radius: 999px !important;
  margin-bottom: 14px !important;
  line-height: 1.4 !important;
}

/* Final — kill EVERY decorative pseudo-element on cards.
   Multiple ::before / ::after rules stack up in the file; this beats them all. */
.feature-card::before,
.feature-card::after,
.step::before,
.step::after,
.pro-card::before,
.pro-card::after,
.custody-point::before,
.custody-point::after,
.mode-card::before,
.mode-card::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
  opacity: 0 !important;
}

/* ============================================================
   MARKET MAKER BAND — clarifying header above the two-mode section.
   ============================================================ */

.section-band {
  padding: 80px 24px 40px;
  background: var(--bg-0);
  position: relative;
  text-align: center;
}
/* blue divider removed per feedback */
.section-band-inner {
  max-width: 900px;
  margin: 0 auto;
}
.section-band-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: rgba(109, 224, 201, 0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.section-band h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-band-lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 28px;
}
.section-band-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-2);
  padding: 14px 32px;
  border-radius: 0;
  font-family: var(--ui, inherit);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 140ms ease;
}
.btn-secondary:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ============================================================
   BOTS SHOWCASE — mint-accented, terminal-framed, side-by-side.
   Distinct visual language from the Market Maker section above.
   ============================================================ */

.bots-showcase {
  padding: 120px 24px;
  background:
    linear-gradient(180deg, rgba(109, 224, 201, 0.03) 0%, transparent 60%),
    var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
/* mint divider removed per feedback */
.bots-showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bots-showcase-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.bots-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #6de0c9;
  color: #6de0c9;
  background: rgba(109, 224, 201, 0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.bots-eyebrow-dot {
  width: 7px; height: 7px;
  background: #6de0c9;
  box-shadow: 0 0 8px #6de0c9;
  border-radius: 50%;
}
.bots-showcase-header h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 18px;
  text-wrap: balance;
}
.bots-highlight {
  background: linear-gradient(90deg, var(--cyan), #6de0c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bots-lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Split cards --- */
.bots-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .bots-showcase-grid { grid-template-columns: 1fr; }
}

.bots-showcase-card {
  background: var(--bg-0);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 140ms ease, transform 140ms ease;
}
.bots-showcase-card:hover {
  border-color: #6de0c9;
}
.bots-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  background: rgba(109, 224, 201, 0.10);
  border: 1px solid #6de0c9;
  color: #6de0c9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 5;
}

/* --- Terminal-style frame for the screenshot --- */
.bots-card-frame {
  background: #050810;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.bots-frame-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: #0c1119;
  border-bottom: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: var(--text-dim);
}
.bots-frame-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-2);
}
.bots-frame-path {
  margin-left: 14px;
  color: var(--text-mid);
}
.bots-frame-path b {
  color: #6de0c9;
  font-weight: 600;
}
.bots-card-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  object-position: top;
}
.bots-frame-placeholder {
  padding: 90px 20px;
  text-align: center;
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  background:
    linear-gradient(135deg, rgba(109,224,201,0.06), rgba(109,224,201,0.03)),
    #050810;
  border-top: 1px dashed rgba(109,224,201,0.20);
  border-bottom: 1px dashed rgba(109,224,201,0.20);
}

.bots-card-body {
  padding: 28px 28px 32px;
}
.bots-card-body h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.bots-card-body > p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.bots-card-body b { color: var(--text); font-weight: 600; }

.bots-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.bots-card-bullets li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.5;
}
.bots-card-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  background: #6de0c9;
  box-shadow: 0 0 6px rgba(109, 224, 201, 0.6);
}

.bots-card-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --- Footer + big CTA --- */
.bots-showcase-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.bots-footer-line {
  color: var(--text-mid);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bots-footer-mint { color: #6de0c9; }
.btn-lg { padding: 16px 40px; font-size: 14px; }

/* ============================================================
   PATCHES — cleanup for anchor-as-button, hero CTA row, and
   softer hover transitions on the new sections.
   ============================================================ */

/* Anchor-based .btn-connect / .btn-primary / .btn-secondary must not
   inherit the browser default underline. */
a.btn-connect,
a.btn-primary,
a.btn-secondary { text-decoration: none; }

/* Hero CTA row — Enter Dashboard + See Pricing side-by-side, centred */
.hero-ctas {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-ctas .btn-primary,
.hero-ctas .btn-secondary { min-width: 200px; justify-content: center; }

/* Softer transitions on the new bots-showcase card + button hovers */
.bots-showcase-card { transition: border-color 200ms ease, box-shadow 200ms ease; }
.bots-showcase-card:hover {
  border-color: #6de0c9;
  box-shadow: 0 0 40px -12px rgba(109, 224, 201, 0.35);
}
.bots-showcase-card .btn-primary,
.bots-showcase-card .btn-secondary,
.section-band .btn-primary,
.section-band .btn-secondary {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 240ms ease;
}

/* Consistent radius scale (matches Motions = 0 sharp corners) */
.bots-showcase-card,
.bots-card-frame,
.bots-card-tag,
.bots-eyebrow,
.bots-frame-chrome,
.section-band-eyebrow { border-radius: 0; }

/* Btn-primary is Get-started style — but on the hero it can look loud.
   Softer active state, no bouncing arrow (it lands on / now, not a pricing link). */
.hero-ctas .btn-primary::after,
.section-band .btn-primary::after,
.bots-showcase .btn-primary::after,
.bots-showcase-footer .btn-primary::after { content: none; }

/* Buttons stay simple — no scale, no wobble, just a colour + soft glow shift */
.btn-primary:hover,
.btn-secondary:hover,
.btn-connect:hover {
  transform: none;
}

/* Ensure Enter Dashboard header + hero CTAs keep readable text across every state */
a.btn-connect,
a.btn-connect:link,
a.btn-connect:visited { color: var(--cyan); text-decoration: none; }
a.btn-connect:hover,
a.btn-connect:focus,
a.btn-connect:active { color: var(--bg-0); background: var(--cyan); text-decoration: none; outline: none; }
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited { color: var(--cyan); text-decoration: none; }
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active { color: var(--bg-0); background: var(--cyan); text-decoration: none; outline: none; }
a.btn-secondary,
a.btn-secondary:link,
a.btn-secondary:visited { color: var(--text-mid); text-decoration: none; }
a.btn-secondary:hover,
a.btn-secondary:focus,
a.btn-secondary:active { color: var(--cyan); border-color: var(--cyan); text-decoration: none; outline: none; }

/* ============================================================================
   MOTIONS HIGH-END POLISH — bigger headlines, rounder cards, more air.
   Apple iPhone-page pass. Applied over top of existing home-v2 styles.
   ============================================================================ */

/* Deep pure-black canvas + subtle mint aurora */
body {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(109,224,201,0.10), transparent 55%),
    radial-gradient(ellipse 70% 40% at 80% 110%, rgba(109,224,201,0.05), transparent 55%),
    #06070a !important;
}

/* Mega typography — hero mega, section headers smaller & consistent */
.hero h1, .hero-title {
  font-size: clamp(52px, 9vw, 120px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
}
.hero-desc  { font-size: clamp(15px, 1.4vw, 18px) !important; line-height: 1.55 !important; color: rgba(255,255,255,0.65) !important; max-width: 640px; }
.hero-eyebrow, .bots-eyebrow, .section-band-eyebrow, .trading-band-eyebrow {
  font-size: 12px !important; letter-spacing: 0.20em !important; text-transform: uppercase !important;
  color: #6de0c9 !important; font-weight: 600 !important; margin-bottom: 22px !important;
}
/* Section headers — meaningful step-down from the hero mega */
.section-band h2, .bots-showcase-header h2, .trading-band-title {
  font-size: clamp(36px, 4.8vw, 64px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
  font-weight: 700 !important;
}

/* Hide legacy pills — "NEW ·", "AUTOMATED", "HANDS ON", bots/custody/mm eyebrows */
.hero-pill,
.mode-tag,
.bots-eyebrow,
.custody-eyebrow,
.section-band-eyebrow { display: none !important; }

/* Universal mint→white gradient on accent words (Built for TRADERS style) */
.hero h1 .highlight,
.bots-highlight,
.tb-highlight,
.section-band h2 .highlight,
.bots-showcase-header h2 .highlight,
.hero-highlight {
  background: linear-gradient(90deg, #6de0c9 0%, #ffffff 90%) !important;
  -webkit-background-clip: text !important;
          background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
.section-band-lede, .bots-lede {
  font-size: clamp(15px, 1.35vw, 17.5px) !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.65) !important;
  max-width: 640px;
  margin: 20px auto 32px;
}

/* Rounded soft glass cards site-wide */
.mode-card,
.bots-showcase-card,
.hero-visual,
.custody-card,
.pricing-card,
.section-band-inner,
.dashboard-preview-frame,
.bots-card-frame,
.safari-frame {
  border-radius: 22px !important;
  overflow: hidden;
}

/* Obsidian card — near-pure-black with a soft vertical sheen from top.
   Matches the ref: brighter center-top, deeper corners, subtle edge.
   Applied to EVERY visible card container. */
.bots-showcase-card,
.custody-card,
.pricing-card,
.pro-card,
.feature-card,
.step,
.upgrade-feat,
.custody-point,
.seo-col {
  position: relative;
  background:
    radial-gradient(ellipse 55% 90% at 50% 0%, rgba(255,255,255,0.055), transparent 60%),
    radial-gradient(ellipse 90% 90% at 50% 60%, transparent 55%, rgba(0,0,0,0.55) 100%),
    #0a0a0b !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 22px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 40px 100px -40px rgba(0,0,0,1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.bots-showcase-card::before,
.custody-card::before,
.pricing-card::before,
.pro-card::before,
.feature-card::before,
.step::before,
.upgrade-feat::before,
.custody-point::before,
.seo-col::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
  pointer-events: none;
}

/* Mode cards — no outer wrapper background; the safari-frame IS the card */
.mode-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.mode-card::before { content: none !important; }
.mode-card .mode-head { padding: 0 8px 20px; text-align: center; }
.mode-card .mode-head h3 {
  font-size: clamp(36px, 5.5vw, 72px) !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #f7f8fa;
}
.mode-card .mode-head p {
  font-size: clamp(14px, 1.3vw, 17px);
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  max-width: 640px;
  margin: 14px auto 0;
}
.mode-card .safari-frame,
.mode-card .dashboard-preview-frame {
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.9);
}

/* ---------- Program-only preview (single Safari + pattern strip) ---------- */
.dashboard-preview.program-only .dashboard-preview-inner {
  display: block !important;
  grid-template-columns: none !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.dashboard-preview.program-only .safari-frame {
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.9);
  margin-bottom: 40px;
}

/* ---------- Program feature chip grid ---------- */
.prog-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 40px;
}
@media (max-width: 900px) { .prog-chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .prog-chips { grid-template-columns: 1fr; } }

.prog-chip {
  position: relative;
  padding: 18px 18px 16px;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(255,255,255,0.05), transparent 60%),
    #0a0a0b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: border-color 200ms ease, transform 200ms ease;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prog-chip::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.prog-chip:hover { border-color: rgba(109,224,201,0.30); transform: translateY(-2px); }
.prog-chip--pattern .chip-svg {
  width: 100%;
  height: 42px;
  color: rgba(255,255,255,0.7);
}
.chip-name {
  font-size: 13px;
  font-weight: 500;
  color: #f7f8fa;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.chip-stat {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #b8bcc2 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.chip-icon {
  font-size: 22px;
  color: #6de0c9;
  font-family: ui-monospace, Menlo, monospace;
  line-height: 1;
  font-weight: 700;
}

/* Pattern preview strip — 4 across on desktop, 2 on tablet, 1 on mobile */
.pattern-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
@media (max-width: 900px) { .pattern-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pattern-strip { grid-template-columns: 1fr; } }

.pattern-tile {
  position: relative;
  padding: 20px 22px;
  background:
    radial-gradient(ellipse 55% 90% at 50% 0%, rgba(255,255,255,0.055), transparent 60%),
    radial-gradient(ellipse 90% 90% at 50% 60%, transparent 55%, rgba(0,0,0,0.55) 100%),
    #0a0a0b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 20px 40px -20px rgba(0,0,0,0.6);
  overflow: hidden;
}
.pattern-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.pattern-num {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: #6de0c9;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.pattern-svg {
  width: 100%;
  height: 56px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.pattern-name {
  font-size: 15px;
  font-weight: 600;
  color: #f7f8fa;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.pattern-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}

/* Extra breathing room between sections (Apple-tier air) */
.section-band, .bots-showcase, .trading-band, .dashboard-preview, .custody { padding: 120px 0 !important; }

/* ---------- Motion-break video divider ---------- */
.motion-break {
  position: relative;
  width: 100%;
  height: clamp(320px, 42vw, 560px);
  overflow: hidden;
  background: #000;
  margin: 0;
}
.motion-break-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* 10% saturation drop + slight contrast so overlay reads calmer */
  filter: contrast(1.05) saturate(0.9);
}
.motion-break-vignette {
  position: absolute; inset: 0;
  /* 45% black darkening layer + soft edge vignette */
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    radial-gradient(ellipse 80% 55% at 50% 50%, transparent 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(6,7,10,0.35) 0%, transparent 40%, transparent 60%, rgba(6,7,10,0.55) 100%);
  pointer-events: none;
}
.motion-break-caption {
  position: absolute;
  left: 6%;
  bottom: 42px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
  max-width: 500px;
}
.mb-eyebrow {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: #6de0c9; font-weight: 600;
}
.mb-line {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #f7f8fa;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
@media (max-width: 900px) {
  .section-band, .bots-showcase, .trading-band, .dashboard-preview, .custody { padding: 72px 0 !important; }
}

/* ---------- Chain marquee ---------- */
.chain-marquee {
  position: relative;
  padding: 28px 0 0;
  overflow: hidden;
  background: transparent;
  border: none;
}
/* Embedded in hero — full-width, pinned to bottom, fully transparent */
.chain-marquee--inhero {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 90px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  z-index: 3;
}
.chain-marquee--inhero .chain-marquee-fade--l { background: linear-gradient(90deg, #06070a, transparent 90%) !important; }
.chain-marquee--inhero .chain-marquee-fade--r { background: linear-gradient(270deg, #06070a, transparent 90%) !important; }

/* Make the hero fill the viewport so absolute-positioned marquee pins to it.
   svh = small viewport height (address bar visible) — prevents overflow on
   iOS Safari where 100vh includes the collapsible address bar. dvh is the
   modern dynamic unit (Safari 16+/Chrome 108+). */
.hero {
  position: relative !important;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 140px !important;
}
.hero-content { position: relative; z-index: 2; }
@media (max-width: 640px) {
  .chain-marquee--inhero { bottom: 24px !important; }
  .cm-item { height: 44px !important; }
}
/* Seamless marquee — two IDENTICAL lanes, each with padding-right = gap.
   Loops via translateX(-50%) which is exactly one lane's width including
   its own padding-right. No calc(), no track gap. */
.chain-marquee-track {
  display: flex;
  width: max-content;
  animation: cm-scroll 40s linear infinite;
  will-change: transform;
}
.chain-marquee-lane {
  display: flex;
  gap: 60px;
  align-items: center;
  padding-right: 60px;              /* MUST match gap — makes seam invisible */
  flex-shrink: 0;
}
.cm-item { flex: 0 0 200px !important; }
@keyframes cm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.chain-marquee:hover .chain-marquee-track { animation-play-state: paused; }
.cm-item {
  display: inline-flex; align-items: center; justify-content: center;
  height: 68px;
  width: 200px;                 /* fixed width prevents layout shift */
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 200ms ease, transform 200ms ease;
}
.cm-item:hover { opacity: 1; transform: scale(1.03); }
.cm-item img { max-height: 100%; max-width: 100%; width: auto; height: auto; display: block; }
.cm-item--text {
  font-family: 'Inter', ui-sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #b8bcc2 45%, #6a6d75 55%, #ffffff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-transform: capitalize;
}
.cm-fallback {
  font-family: 'Inter', ui-sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.chain-marquee-fade {
  position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.chain-marquee-fade--l { left: 0;  background: linear-gradient(90deg, #06070a, transparent); }
.chain-marquee-fade--r { right: 0; background: linear-gradient(270deg, #06070a, transparent); }

/* ---------- Trading band ---------- */
.trading-band {
  position: relative;
  text-align: center;
  padding: 140px 24px 120px !important;
}
.trading-band-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.trading-band-title {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 12px 0 20px;
  color: #f7f8fa;
}
.tb-highlight {
  background: linear-gradient(90deg, #6de0c9, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trading-band-lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 680px;
  margin: 0 auto 60px;
}
.trading-band-macbook {
  margin: 60px auto 44px;
  max-width: 920px;
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.55)) drop-shadow(0 0 40px rgba(109,224,201,0.08));
}
.trading-band-macbook .mbp-svg { width: 100%; height: auto; display: block; }
.trading-band-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================================
   HOME PRICING — 4 side-by-side cards, one per product with its fee model
   ============================================================================ */
.home-pricing { padding: 140px 24px 100px !important; }
.home-pricing-inner { max-width: 1400px; margin: 0 auto; }
.hp-header { text-align: center; margin-bottom: 56px; }
.hp-eyebrow {
  font-size: 12px; letter-spacing: 0.20em; text-transform: uppercase;
  color: #6de0c9; font-weight: 600; margin-bottom: 16px;
}
.hp-header h2 {
  font-size: clamp(36px, 4.8vw, 64px) !important;
  line-height: 1.15 !important;         /* prevent descender clip on gradient text */
  letter-spacing: -0.025em;
  font-weight: 700;
  padding: 0.15em 0 0.25em;             /* extra breathing so mint-fade span isn't clipped */
  overflow: visible;
}
.hp-header h2 .highlight { line-height: 1.15; padding-bottom: 0.05em; display: inline-block; }

.hp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
@media (max-width: 1100px) { .hp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .hp-grid { grid-template-columns: 1fr; } }

.hp-card {
  position: relative;
  padding: 28px 26px;
  background:
    radial-gradient(ellipse 55% 90% at 50% 0%, rgba(255,255,255,0.055), transparent 60%),
    radial-gradient(ellipse 90% 90% at 50% 60%, transparent 55%, rgba(0,0,0,0.55) 100%),
    #0a0a0b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 40px 100px -40px rgba(0,0,0,1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 480px;
}
.hp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
}
/* Featured cards — no mint on borders / glow / dividers. Mint only on text. */
.hp-card--featured {
  border-color: rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 40px 100px -40px rgba(0,0,0,1);
}
.hp-card--featured::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
}

.hp-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.hp-card--featured .hp-tag { color: #6de0c9; }

.hp-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 6px;
}
.hp-price-lg {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #f7f8fa;
}
.hp-price-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.hp-model {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 8px;
}
.hp-zero {
  color: #6de0c9;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hp-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-bullets li {
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}
.hp-bullets li::before {
  content: "";
  position: absolute;
  left: 2px; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(109,224,201,0.55);
  box-shadow: 0 0 6px rgba(109,224,201,0.4);
}

.hp-cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center !important;
}

/* ============================================================================
   TRADER vs MARKET-MAKER PERSONA SECTION — replaces the old MM-only pitch
   ============================================================================ */
.personas { padding: 120px 24px !important; }
.personas-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.personas h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  padding: 0.15em 0 0.25em;
  margin-bottom: 12px;
}
.personas .section-lede { margin-bottom: 56px; }

.personas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .personas-grid { grid-template-columns: 1fr; } }

.persona-card {
  position: relative;
  padding: 36px 34px 32px;
  background:
    radial-gradient(ellipse 55% 90% at 50% 0%, rgba(255,255,255,0.055), transparent 60%),
    radial-gradient(ellipse 90% 90% at 50% 60%, transparent 55%, rgba(0,0,0,0.55) 100%),
    #0a0a0b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 40px 100px -40px rgba(0,0,0,1);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.persona-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
}
.persona-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6de0c9;
  font-weight: 600;
}
.persona-title {
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f7f8fa;
  margin: 0;
}
.persona-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.persona-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.persona-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(109,224,201,0.6);
}
.persona-list li b { color: #f7f8fa; font-weight: 600; }
.persona-cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* ---------- Compact bots section (at bottom) ---------- */
.bots-showcase--compact .bots-showcase-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .bots-showcase--compact .bots-showcase-grid { grid-template-columns: 1fr; } }
.bots-showcase--compact .bots-showcase-card { padding: 30px 32px; }
.bots-showcase--compact .bots-showcase-header { margin-bottom: 48px; }

/* ---------- Single-band footer intro ---------- */
.footer-band { padding: 80px 24px 40px !important; background: transparent; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-band-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.footer-band-inner p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0 0 24px;
}
.footer-band-links {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}
.footer-band-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 160ms ease;
}
.footer-band-links a:hover { color: #6de0c9; }
.footer-band-links span { color: rgba(255,255,255,0.20); }

/* ============================================================================
   HOMEPAGE MOBILE — tighter type, single-column, smaller video break
   ============================================================================ */
@media (max-width: 900px) {
  /* Header logo smaller on mobile */
  .header { padding: 8px 12px; }
  .logo-img { height: 44px !important; }
  .nav-menu { gap: 12px; }
  .nav-link { font-size: 11.5px; }

  /* Hero — use dvh so iOS Safari's address bar doesn't push content off-screen. */
  .hero { min-height: 100dvh; padding: 60px 20px 140px !important; }
  .hero-content { padding: 0; }
  .hero h1, .hero-title {
    font-size: clamp(38px, 10vw, 64px) !important;
    line-height: 1.05 !important;
  }
  .hero-desc { font-size: 14px !important; margin-top: 20px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas a { justify-content: center !important; width: 100%; }

  /* Chain marquee — smaller items on mobile */
  .chain-marquee--inhero { bottom: 24px !important; }
  .cm-item { width: 140px !important; height: 44px !important; flex: 0 0 140px !important; }
  .chain-marquee-lane { gap: 40px; padding-right: 40px; }

  /* Trading band + section headers */
  .trading-band { padding: 80px 20px !important; }
  .trading-band-title,
  .section-band h2,
  .bots-showcase-header h2,
  .personas h2,
  .hp-header h2 {
    font-size: clamp(32px, 8vw, 44px) !important;
  }
  .trading-band-lede,
  .section-band-lede,
  .bots-lede,
  .personas .section-lede {
    font-size: 14px !important;
  }
  .trading-band-macbook { margin: 32px auto 24px; }
  .trading-band-cta,
  .section-band-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .trading-band-cta a,
  .section-band-cta a { width: 100%; justify-content: center !important; }

  /* Motion break — shorter on mobile */
  .motion-break { height: 260px !important; }
  .mb-line { font-size: clamp(20px, 6vw, 32px) !important; }
  .motion-break-caption { left: 6%; bottom: 24px; }

  /* Section padding */
  .section-band, .bots-showcase, .personas, .dashboard-preview, .custody, .home-pricing {
    padding: 70px 20px !important;
  }

  /* Program preview (Safari frame + chip grid) */
  .dashboard-preview.program-only .dashboard-preview-inner { padding: 0; }
  .prog-chips { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .prog-chip { padding: 14px; min-height: 84px; }
  .chip-stat { font-size: 24px; }

  /* Personas */
  .personas-grid { grid-template-columns: 1fr !important; }
  .persona-card { padding: 24px 20px !important; }
  .persona-title { font-size: 22px !important; }

  /* Pricing */
  .hp-grid { grid-template-columns: 1fr !important; }
  .hp-card { padding: 24px 22px !important; min-height: auto !important; }

  /* Bots showcase */
  .bots-showcase--compact .bots-showcase-grid { grid-template-columns: 1fr !important; }
  .bots-showcase-card { padding: 22px !important; }
  .bots-card-cta { flex-direction: column; }
  .bots-card-cta a { width: 100%; justify-content: center !important; }

  /* Custody */
  .custody-grid { grid-template-columns: 1fr !important; }

  /* Footer band */
  .footer-band { padding: 60px 20px 30px !important; }
  .footer-band-inner p { font-size: 13px; }
  .footer-band-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 16px 130px !important; }
  .hero h1, .hero-title { font-size: 44px !important; }
  .cm-item { width: 110px !important; height: 36px !important; flex: 0 0 110px !important; }
  .prog-chips { grid-template-columns: 1fr; }
}
