/* ============================================
   WALLEFY v10 page components — light mode
   Nav, promo bar, footer, marquee, comparison table, industry tiles,
   product showcase, testimonials, FAQ, CTA blocks.
   No glow. No chromatic shadows. No magenta. No aurora.
   ============================================ */

/* ============================================
   Wallet-pass mini — Apple Wallet-quality reproduction
   Structure mirrors a real Apple Wallet pass: top strip (logo + tier),
   primary field, optional secondary, barcode footer with serial.
   Top sheen, ambient highlight, hover lift, gentle float.
   ============================================ */
.wp-mini {
  position: relative;
  width: 100%;
  max-width: 280px;
  border-radius: 22px;
  padding: 0;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  /* Move 28.6 — Deepened, more directional shadow stack so the cards feel
     like real physical wallet passes resting on the surface. Three layers:
     tight near-shadow + medium ambient + soft long. */
  box-shadow:
    0 1px 0 rgba(255,255,255,0.20) inset,
    0 -1px 0 rgba(0,0,0,0.22) inset,
    0 1px 2px rgba(15, 23, 42, 0.12),
    0 8px 16px -4px rgba(15, 23, 42, 0.18),
    0 24px 48px -16px rgba(15, 23, 42, 0.32);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wp-mini::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 70%, transparent);
  pointer-events: none;
  z-index: 0;
}
.wp-mini::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255,255,255,0.20), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(0,0,0,0.22), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.wp-mini > * { position: relative; z-index: 1; }
.wp-mini--navy   { background: linear-gradient(160deg, #0F172A 0%, #1E293B 50%, #1E40AF 100%); }
.wp-mini--cobalt { background: linear-gradient(160deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%); }
.wp-mini--rose   { background: linear-gradient(160deg, #831843 0%, #9F1239 50%, #BE123C 100%); }
.wp-mini--forest { background: linear-gradient(160deg, #064E3B 0%, #065F46 50%, #047857 100%); }
.wp-mini--slate  { background: linear-gradient(160deg, #1F2937 0%, #374151 50%, #4B5563 100%); }
.wp-mini--amber  { background: linear-gradient(160deg, #78350F 0%, #92400E 50%, #B45309 100%); }
.wp-mini--plum   { background: linear-gradient(160deg, #3B0764 0%, #5B21B6 50%, #6D28D9 100%); }

/* Top strip — flex row with logo (left), NFC contactless arc (between),
   tier badge (right). The NFC arc is a CSS-only SVG-style mark drawn with
   border-radius arcs — gives the real Apple Wallet pass signal without
   needing inline markup on every card. */
.wp-mini .wp-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  gap: 10px;
}
.wp-mini .wp-strip::after {
  /* Three concentric arcs forming the Apple Wallet "contactless" mark */
  content: '';
  position: absolute;
  top: 22px;
  right: 64px;
  width: 14px;
  height: 14px;
  background:
    radial-gradient(circle at 0% 100%, transparent 0, transparent 3px, rgba(255,255,255,0.5) 3px, rgba(255,255,255,0.5) 4px, transparent 4px),
    radial-gradient(circle at 0% 100%, transparent 0, transparent 6px, rgba(255,255,255,0.5) 6px, rgba(255,255,255,0.5) 7px, transparent 7px),
    radial-gradient(circle at 0% 100%, transparent 0, transparent 9px, rgba(255,255,255,0.5) 9px, rgba(255,255,255,0.5) 10px, transparent 10px);
  transform: rotate(-45deg);
  pointer-events: none;
}
.wp-mini .wp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.wp-mini .wp-logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(255,255,255,0.94);
  color: rgba(15,23,42,0.92);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  flex: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.wp-mini .wp-logo-name {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-mini .wp-logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  line-height: 1.1;
  margin-top: 2px;
}
.wp-mini .wp-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.20);
  font-weight: 600;
  flex: none;
}

/* Primary / secondary fields */
.wp-mini .wp-field {
  padding: 12px 18px 6px;
}
.wp-mini .wp-field--lg { padding-top: 16px; padding-bottom: 8px; }
.wp-mini .wp-field-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.64);
  margin-bottom: 4px;
}
.wp-mini .wp-field-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.012em;
  line-height: 1.15;
}
.wp-mini .wp-field-value--lg { font-size: 26px; }

/* Two-column field row */
.wp-mini .wp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px 18px 8px;
}

/* Stamps row */
.wp-mini .wp-stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 4px 18px 12px;
}
.wp-mini .wp-stamp {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1.4px solid rgba(255,255,255,0.32);
  display: grid; place-items: center;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
}
.wp-mini .wp-stamp.is-on {
  background: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.98);
  color: rgba(15,23,42,0.85);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

/* Footer with barcode */
.wp-mini .wp-foot {
  margin-top: auto;
  padding: 12px 14px 14px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.wp-mini .wp-barcode {
  background: rgba(255,255,255,0.96);
  border-radius: 6px;
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.wp-mini .wp-bars {
  display: flex;
  align-items: stretch;
  gap: 1px;
  height: 32px;
  width: 100%;
  overflow: hidden;
}
.wp-mini .wp-bars .b { background: #0F172A; height: 100%; flex: none; }
.wp-mini .wp-serial {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(15,23,42,0.72);
}

/* Static row of 4 wallet passes, responsive */
.wp-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.wp-row .wp-mini {
  width: 100%;
  max-width: none;
}
.wp-row .wp-mini:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 -1px 0 rgba(0,0,0,0.18) inset,
    0 28px 56px -16px rgba(15,23,42,0.40),
    0 8px 16px -4px rgba(15,23,42,0.16);
}
@keyframes wpFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.wp-row .wp-mini { animation: wpFloat 6s ease-in-out infinite; }
.wp-row .wp-mini:nth-child(1) { animation-delay: 0s;    }
.wp-row .wp-mini:nth-child(2) { animation-delay: -1.5s; }
.wp-row .wp-mini:nth-child(3) { animation-delay: -3s;   }
.wp-row .wp-mini:nth-child(4) { animation-delay: -4.5s; }
.wp-row .wp-mini:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .wp-row .wp-mini { animation: none; }
  .wp-row .wp-mini:hover { transform: none; }
}
@media (max-width: 1080px) {
  .wp-row { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 600px; }
}
@media (max-width: 540px) {
  .wp-row { grid-template-columns: 1fr; max-width: 320px; }
}

/* Static brand row (centered, no animation) */
.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 36px;
  padding: 8px 0;
}
.brand-row span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  transition: color var(--duration-base) var(--ease-out);
}
.brand-row span:hover { color: var(--ink-1); }
@media (max-width: 768px) {
  .brand-row { gap: 10px 24px; }
  .brand-row span { font-size: 14px; }
}

/* ============================================
   Operators grid — monogrammed customer tiles
   Used near social proof to make the customer list feel real.
   ============================================ */
.operators {
  text-align: center;
}
.operators .op-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.operators .op-eyebrow::before,
.operators .op-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--border-hi);
}
.operators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.operator-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.operator-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-card);
}
.operator-card .op-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--brand-soft), #DBEAFE);
  color: var(--brand-deep);
  border: 1px solid var(--brand-line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  flex: none;
}
.operator-card .op-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-0);
  letter-spacing: -0.005em;
  line-height: 1.2;
  min-width: 0;
}
.operator-card .op-vert {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}
@media (max-width: 960px) {
  .operators-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .operators-grid { grid-template-columns: 1fr; }
  .operators .op-eyebrow::before, .operators .op-eyebrow::after { width: 16px; }
}

/* Pass fan: 3 passes overlapping like a hand of cards */
.wp-fan {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 280px;
  margin: 0 auto;
}
.wp-fan .wp-mini {
  position: absolute;
  top: 0; left: 50%;
  width: 240px;
  max-width: 240px;
  transform-origin: bottom center;
  transition: transform var(--duration-slow) var(--ease-out);
}
.wp-fan .wp-mini:nth-child(1) { transform: translateX(-50%) rotate(-8deg) translate(-72px, 16px); z-index: 1; }
.wp-fan .wp-mini:nth-child(2) { transform: translateX(-50%) rotate(0deg)  translate(0, -4px);     z-index: 2; }
.wp-fan .wp-mini:nth-child(3) { transform: translateX(-50%) rotate(8deg)  translate(72px, 16px);  z-index: 1; }
.wp-fan:hover .wp-mini:nth-child(1) { transform: translateX(-50%) rotate(-10deg) translate(-86px, 12px); }
.wp-fan:hover .wp-mini:nth-child(3) { transform: translateX(-50%) rotate(10deg)  translate(86px, 12px); }
@media (prefers-reduced-motion: reduce) {
  .wp-fan:hover .wp-mini { transform: none; }
}

/* Phone frame mini (for step visuals, vertical pages) */
.phone-mini {
  position: relative;
  width: 240px;
  height: 430px;
  border-radius: 36px;
  background: linear-gradient(180deg, #1F1F2A, #0F172A);
  padding: 10px;
  box-shadow: 0 20px 48px -16px rgba(15,23,42,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
  margin: 0 auto;
}
.phone-mini .pm-screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 100%);
  overflow: hidden;
  position: relative;
}
.phone-mini .pm-notch {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px; background: #0F172A; border-radius: 999px;
}
.phone-mini .pm-time {
  position: absolute; top: 11px; left: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-weight: 600; font-size: 14px; color: var(--ink-0);
}
.phone-mini .pm-pass {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
}
.phone-mini .pm-push {
  position: absolute; top: 52px; left: 12px; right: 12px;
  padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.92); border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 6px 16px -8px rgba(15,23,42,0.18);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
.phone-mini .pm-push .pm-app { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin-bottom: 2px; }
.phone-mini .pm-push .pm-title { font-size: 12px; font-weight: 600; color: var(--ink-0); line-height: 1.3; }

/* Feature paired sections (mockup + copy alternating) */
.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}
.feature-pair.is-reverse > .fp-copy { order: 2; }
.feature-pair.is-reverse > .fp-visual { order: 1; }
.feature-pair .fp-copy h2 { font-size: clamp(26px, 2.8vw, 32px); margin-bottom: 14px; }
.feature-pair .fp-copy p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; }
.feature-pair .fp-copy .eyebrow { margin-bottom: 14px; }
.feature-pair .fp-visual {
  background: var(--bg-1);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.feature-pair .fp-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,0.06), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(37,99,235,0.04), transparent 55%);
  pointer-events: none;
}
.feature-pair .fp-visual > * { position: relative; z-index: 1; }
@media (max-width: 960px) {
  .feature-pair { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .feature-pair.is-reverse > .fp-copy, .feature-pair.is-reverse > .fp-visual { order: unset; }
  .feature-pair .fp-visual { min-height: 320px; padding: 28px; }
  .phone-mini { width: 220px; height: 400px; }
  .wp-fan { height: 240px; max-width: 320px; }
}

/* Subtle marquee for logo strips (Safari-safe transform animation) */
@keyframes logoMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes logoMarqueeReverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================
   Wallet-pass marquee (2 rows, counter-scrolling)
   The signature "moving wallet" effect inspired by passkit / boomerangme.
   ============================================ */
.wp-marquee {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}
.wp-marquee::before, .wp-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
.wp-marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-1), transparent); }
.wp-marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-1), transparent); }
.wp-marquee.is-bg-0::before { background: linear-gradient(90deg, var(--bg-0), transparent); }
.wp-marquee.is-bg-0::after  { background: linear-gradient(270deg, var(--bg-0), transparent); }
.wp-marquee .wpm-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: logoMarquee 90s linear infinite;
  will-change: transform;
}
.wp-marquee.wp-marquee--reverse .wpm-track {
  animation-name: logoMarqueeReverse;
}
.wp-marquee .wpm-track:hover { animation-play-state: paused; }
.wp-marquee .wp-mini {
  width: 260px;
  flex: none;
  max-width: 260px;
}
@media (prefers-reduced-motion: reduce) {
  .wp-marquee .wpm-track { animation: none; }
}
@media (max-width: 768px) {
  .wp-marquee .wp-mini { width: 220px; }
}

.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: 12px 0;
}
.logo-marquee::before, .logo-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.logo-marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-1), transparent); }
.logo-marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-1), transparent); }
.logo-marquee .lm-track {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: logoMarquee 50s linear infinite;
  width: max-content;
}
.logo-marquee .lm-track:hover { animation-play-state: paused; }
/* Move 25: real SVG brand logos via Simple Icons CDN. Default subtle/muted;
   pop to full color on hover. */
.logo-marquee .lm-track img {
  height: 28px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(20%);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.logo-marquee .lm-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.06);
}
/* Legacy span fallback kept in case any old templates still render text wordmarks */
.logo-marquee .lm-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  transition: color var(--duration-base) var(--ease-out);
}
.logo-marquee .lm-track span:hover { color: var(--ink-1); }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee .lm-track { animation: none; }
}

/* ============================================
   Move 27 — Customer brand marquee (fictional businesses on Wallefy)
   Slider motion restored, populated with believable customer business names
   rather than integration tool logos.
   ============================================ */
.brand-marquee {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  margin: 16px 0;
}
.brand-marquee::before, .brand-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
.brand-marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-1), transparent); }
.brand-marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-1), transparent); }
.brand-marquee.is-bg-0::before { background: linear-gradient(90deg, var(--bg-0), transparent); }
.brand-marquee.is-bg-0::after  { background: linear-gradient(270deg, var(--bg-0), transparent); }

.brand-marquee .bm-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: logoMarquee 60s linear infinite;
  will-change: transform;
}
.brand-marquee .bm-track:hover { animation-play-state: paused; }

.brand-marquee .bm-card {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  background: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border, #EDE7DC);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 6px 16px rgba(28,27,26,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-width: 220px;
}
.brand-marquee .bm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 10px 22px rgba(28,27,26,0.08);
  border-color: var(--border-hi, #DED5C5);
}

.brand-marquee .bm-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-family: var(--font-display, 'Bricolage Grotesque', sans-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 2px 6px rgba(0,0,0,0.12);
}

/* Move 27.2 — Business-archetype photos on each brand card. Rounded-square
   tile (not circle) gives more visible photo area so industry context reads
   at marquee scale. Subtle inset ring + soft outer shadow for premium feel. */
.brand-marquee .bm-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
  background: var(--bg-1, #F5F1EA);
  box-shadow:
    0 0 0 1px rgba(28, 27, 26, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    0 2px 8px rgba(28, 27, 26, 0.10);
  display: block;
}

.brand-marquee .bm-name {
  font-family: var(--font-display, 'Bricolage Grotesque', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-0, #1C1B1A);
  line-height: 1.2;
  white-space: nowrap;
}
.brand-marquee .bm-vert {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  color: var(--ink-3, #6b7280);
  margin-top: 3px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee .bm-track { animation: none; }
}
@media (max-width: 640px) {
  .brand-marquee .bm-card { min-width: 200px; padding: 8px 14px 8px 10px; }
  .brand-marquee .bm-mark { width: 36px; height: 36px; font-size: 13px; }
  .brand-marquee .bm-avatar { width: 42px; height: 42px; border-radius: 10px; }
  .brand-marquee .bm-name { font-size: 13px; }
  .brand-marquee .bm-vert { font-size: 10px; }
}

/* Feature matrix (used on pricing) */
.feature-matrix {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 56px;
}
.feature-matrix table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.feature-matrix th, .feature-matrix td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.feature-matrix thead th { background: var(--bg-1); font-weight: 600; color: var(--ink-1); font-size: 13px; }
.feature-matrix thead th.is-popular { background: var(--brand-soft); color: var(--brand-deep); }
.feature-matrix tbody tr:last-child td { border-bottom: 0; }
.feature-matrix tbody td { color: var(--ink-2); }
.feature-matrix tbody td.is-popular { background: rgba(37,99,235,0.04); }
.feature-matrix tbody td.row-label { color: var(--ink-0); font-weight: 600; width: 36%; }
.feature-matrix tbody td .yes { color: var(--accent-emerald); font-weight: 700; }
.feature-matrix tbody td .no { color: var(--ink-4); }
.feature-matrix tbody .cat-row td { background: var(--bg-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; padding: 12px 20px; }
@media (max-width: 768px) {
  .feature-matrix { overflow-x: auto; }
  .feature-matrix table { min-width: 600px; }
}

/* ============================================
   Subpage hero (shared shell for sub-pages)
   Inspired by passkit.com / boomerangme.biz — light, calm, restrained motion.
   ============================================ */
.subpage-hero {
  position: relative;
  padding: 96px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(37,99,235,0.04), transparent 70%),
    var(--bg-0);
  overflow: hidden;
}
.subpage-hero .eyebrow { margin-bottom: 20px; }
.subpage-hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  margin: 0 auto 18px;
  max-width: 22ch;
  text-wrap: balance;
}
.subpage-hero h1 .accent { color: var(--brand); }
.subpage-hero .lead {
  margin: 0 auto 28px;
  max-width: 60ch;
  font-size: 18px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.subpage-hero .hero-ctas {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.subpage-hero--with-stats {
  padding-bottom: 32px;
}
.subpage-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 40px auto 0;
}
.subpage-stats .pn {
  text-align: left;
  padding: 18px 20px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.subpage-stats .pn strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-0);
  letter-spacing: -0.018em;
  margin-bottom: 4px;
}
.subpage-stats .pn span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 768px) {
  .subpage-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Subtle motion utilities (inspired by passkit/boomerangme)
   These are GPU-cheap and Safari-safe.
   ============================================ */
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out),
              transform 600ms var(--ease-out);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 80ms; }
.fade-up.delay-2 { transition-delay: 160ms; }
.fade-up.delay-3 { transition-delay: 240ms; }
.fade-up.delay-4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-up.in { opacity: 1; transform: none; transition: none; }
}

/* Hover-lift on tiles. Subtle. Doesn't move more than 2px. */
.lift {
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* ============================================
   Step blocks (used in how-it-works + sub-pages)
   ============================================ */
.steps {
  display: grid;
  gap: 80px;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.step.is-reverse { direction: rtl; }
.step.is-reverse > * { direction: ltr; }
.step .step-copy { padding: 0 8px; }
.step .step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.step .step-tag .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 11px;
  font-weight: 700;
}
.step h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 14px; }
.step p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; }
.step .step-visual {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 960px) {
  .step, .step.is-reverse { grid-template-columns: 1fr; direction: ltr; gap: 28px; }
  .steps { gap: 56px; }
}

/* ============================================
   Vertical/industry page sections
   ============================================ */
.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.use-case {
  display: block;
  padding: 24px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--ink-1);
}
.use-case .uc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.use-case h4 { font-size: 17px; margin-bottom: 6px; }
.use-case p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.use-case .uc-stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.02em;
}
@media (max-width: 768px) { .use-cases { grid-template-columns: 1fr; } }

/* ============================================
   RFM matrix (used on why-wallefy.html)
   ============================================ */
.rfm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}
.rfm-cell {
  padding: 18px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--duration-base) var(--ease-out);
}
.rfm-cell.is-strong { background: var(--brand-soft); border-color: var(--brand-line); }
.rfm-cell h4 { font-size: 15px; margin-bottom: 4px; }
.rfm-cell .rfm-profile {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.rfm-cell .rfm-action { font-size: 13px; color: var(--ink-2); }
@media (max-width: 768px) { .rfm-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAQ grouped by category (faq.html)
   ============================================ */
.faq-cat {
  margin-bottom: 56px;
}
.faq-cat h3 {
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 16px;
}

/* ============================================
   Promo bar
   ============================================ */
/* Move 25: tuned from loud blue-on-blue gimmicky bar to subtle warm-cream
   notice with coral pulse dot. Reads "premium product note" not "Webflow promo." */
.promo-bar {
  background: var(--bg-1);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--border);
}
.promo-bar strong { color: var(--ink-0); font-weight: 600; }
.promo-bar a { color: var(--brand); font-weight: 600; text-decoration: none; }
.promo-bar a:hover { color: var(--brand-hover); text-decoration: underline; }
.promo-bar .pulse-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-warm);
  margin-right: 10px;
  vertical-align: 1px;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.18);
}

/* ============================================
   Move 28.2 — Header / nav (canonical, migrated into page.v11.css)
   Floating glass pill, sticky-aware, warm palette. This is the file every
   page actually links to (styles.css is unused). Earlier I had this block
   in styles.css thinking that file was loaded too — it isn't, so the pill
   never rendered. Block now lives where it actually takes effect.
   ============================================ */

/* CRITICAL: #header-slot wrapper must not bound the sticky. Without
   display:contents, the sticky header is constrained to the wrapper div's
   height (= header height), so it scrolls out instead of sticking. */
#header-slot { display: contents; }

/* Move 28.3 — Widened pill + PassEntry-tier nav breathing room.
   Pill max-width 1240 → 1480px, 32px side padding so it fills modern desktop
   real estate (1440-1920px viewports). Top offset 16 → 18px for slightly
   more visual presence. Position sticky with explicit -webkit prefix for
   older Safari. */
header.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 18px;
  z-index: 50;
  padding: 0 24px;
  background: transparent;
  border-bottom: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: top 0.25s ease, opacity 0.32s ease-out, transform 0.32s ease-out;
}
header.site-header.is-mounted {
  opacity: 1;
  transform: translateY(0);
}
header.site-header > .container {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 12px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(28, 27, 26, 0.05);
  border-radius: 100px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 4px 12px rgba(28, 27, 26, 0.04),
    0 1px 2px rgba(28, 27, 26, 0.03);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
header.site-header.is-scrolled > .container {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(28, 27, 26, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 14px 36px rgba(28, 27, 26, 0.10),
    0 4px 8px rgba(28, 27, 26, 0.05);
}

.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  display: grid; place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 14px -2px rgba(37, 99, 235, 0.48);
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.brand:hover .mark { transform: scale(1.06) rotate(-3deg); }
.brand .mark svg { width: 18px; height: 18px; color: white; display: block; }
.brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink-0, #1C1B1A);
}
.brand .wordmark .fy {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Move 28.3 — Nav-list with PassEntry-grade breathing room. Gap 4 → 6,
   nav-link padding 10/16 → 11/20. At the 1480px max-width, 7 nav items
   land at ~36-44px between each visual center, matching the calm desktop
   nav pacing of Stripe, Linear, PassEntry. */
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 20px; border-radius: 100px;
  color: var(--ink-1, #2A2826);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease-out, background 0.18s ease-out;
}
.nav-link:hover {
  color: var(--ink-0, #1C1B1A);
  background: rgba(37, 99, 235, 0.06);
}
.nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.nav-link .chev { width: 10px; height: 10px; opacity: 0.45; transition: transform 0.2s ease, opacity 0.18s ease; }
.nav-link:hover .chev { opacity: 1; }
.nav-item:hover .chev { transform: rotate(180deg); }

.nav-link.is-active { color: var(--ink-0, #1C1B1A); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand, #2563EB);
  transform: translateX(-50%);
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(28, 27, 26, 0.10);
  margin: 0 6px;
  flex: none;
}

.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(28, 27, 26, 0.08);
  border-radius: 18px; padding: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 50px rgba(28, 27, 26, 0.12),
    0 8px 16px rgba(28, 27, 26, 0.06);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 12px; border-radius: 12px;
  transition: background .15s;
  text-decoration: none;
}
.dropdown-link:hover { background: rgba(37, 99, 235, 0.06); }
.dropdown-link .ic {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(37, 99, 235, 0.10);
  display: grid; place-items: center;
  color: var(--brand, #2563EB);
}
.dropdown-link .ic svg { width: 18px; height: 18px; }
.dropdown-link .ti { font-weight: 600; color: var(--ink-0, #1C1B1A); font-size: 14px; line-height: 1.3; display: block; }
.dropdown-link .de { font-size: 12px; color: var(--ink-3, #6B7280); margin-top: 2px; display: block; }

/* Move 28.3 — Right cluster with PassEntry-grade weight. Larger tap targets
   so the "Start free →" CTA reads as the primary destination of the entire
   header at a glance. */
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 100px;
  font-weight: 600; font-size: 14.5px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s, background .15s, opacity .2s;
  position: relative;
  white-space: nowrap;
}
.nav-cta .btn:hover { transform: translateY(-1px); }
.nav-cta .btn:active { transform: translateY(0); }

.nav-cta .btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 14px rgba(37, 99, 235, 0.28),
    0 1px 2px rgba(28, 27, 26, 0.06);
}
.nav-cta .btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 10px 26px rgba(37, 99, 235, 0.40),
    0 2px 4px rgba(28, 27, 26, 0.08);
}
.nav-cta .btn-primary:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 14px rgba(37, 99, 235, 0.28),
    0 0 0 3px rgba(37, 99, 235, 0.32);
}
.nav-cta .btn-primary .arr {
  width: 14px; height: 14px;
  transition: transform 0.2s ease;
}
.nav-cta .btn-primary:hover .arr { transform: translateX(3px); }

.nav-cta .btn-ghost {
  color: var(--ink-1, #2A2826);
  background: transparent;
  text-decoration: none;
}
.nav-cta .btn-ghost:hover {
  background: rgba(28, 27, 26, 0.04);
  color: var(--ink-0, #1C1B1A);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(37, 99, 235, 0.5);
}
.nav-cta .btn-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(28, 27, 26, 0.10);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-0, #1C1B1A);
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.hamburger:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.20);
}
.hamburger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.hamburger svg {
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
  width: 18px; height: 18px;
}
.hamburger.is-open svg { transform: rotate(90deg); }

/* Tablet/wide-tablet: pill narrows but stays generous. */
@media (max-width: 1280px) {
  header.site-header { padding: 0 20px; }
  header.site-header > .container { padding-left: 28px; padding-right: 10px; }
  .nav-list { gap: 4px; }
  .nav-link { padding: 10px 16px; font-size: 14px; }
  .nav-cta .btn { padding: 10px 18px; font-size: 14px; }
  .nav-row { height: 64px; gap: 24px; }
}

@media (max-width: 1024px) {
  .nav-list, .nav-cta { display: none; }
  .hamburger { display: inline-flex; align-items: center; }
  header.site-header { top: 12px; padding: 0 14px; }
  header.site-header > .container { padding-left: 20px; padding-right: 8px; }
  .nav-row { height: 58px; }
  .brand .wordmark { font-size: 20px; }
  .brand .mark { width: 30px; height: 30px; }
  .nav-divider { display: none; }
}

/* Mobile menu — matches the pill's glass aesthetic. Primary CTA at TOP so
   it's visible without scrolling on small phones. */
.mobile-menu {
  display: none;
  margin: 12px 16px 0;
  max-width: 1240px;
  padding: 20px 22px 24px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(28, 27, 26, 0.08);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 14px 36px rgba(28, 27, 26, 0.10),
    0 4px 8px rgba(28, 27, 26, 0.05);
  animation: mobMenuIn 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (min-width: 600px) {
  .mobile-menu { margin: 12px auto 0; }
}
.mobile-menu.open { display: block; }
@keyframes mobMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu .mob-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(28, 27, 26, 0.06);
}
.mobile-menu .mob-cta .btn {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 100px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
}
.mobile-menu .mob-cta .btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 14px rgba(37, 99, 235, 0.28);
}
.mobile-menu .mob-cta .btn-outline {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(28, 27, 26, 0.14);
  color: var(--ink-0, #1C1B1A);
}

.mobile-menu .mob-group {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(28, 27, 26, 0.06);
}
.mobile-menu .mob-group:last-of-type { border-bottom: 0; padding-bottom: 0; }
.mobile-menu .mob-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-0, #1C1B1A);
  padding: 4px 0 10px;
  font-family: var(--font-display, var(--font-body));
  text-transform: none;
}
.mobile-menu a.mob-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  color: var(--ink-1, #2A2826);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 0;
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.mobile-menu a.mob-link::after {
  content: '→';
  color: var(--brand, #2563EB);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mobile-menu a.mob-link:hover {
  color: var(--brand, #2563EB);
  padding-left: 4px;
}
.mobile-menu a.mob-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu a.mob-link.is-active {
  color: var(--brand, #2563EB);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  header.site-header {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hamburger svg,
  .hamburger.is-open svg { transition: none; transform: none; }
  .mobile-menu { animation: none; }
  .brand:hover .mark { transform: none; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.foot-brand p {
  margin: 16px 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 38ch;
}
.foot-contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; font-size: 13px; color: var(--ink-2); }
.foot-contact a:hover { color: var(--ink-0); }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  color: var(--ink-2);
  transition: color var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.foot-social a:hover { color: var(--brand); border-color: var(--brand-line); }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--ink-0); margin-bottom: 16px; letter-spacing: 0.01em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink-0); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--ink-3);
}
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal a { color: var(--ink-3); }
.foot-legal a:hover { color: var(--ink-1); }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Logo bar (Section 2)
   ============================================ */
.logo-bar {
  padding: 56px 0 64px;
  text-align: center;
}
.logo-bar .lb-label {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.logo-bar .lb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px 56px;
}
.logo-bar .lb-row span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  transition: color var(--duration-base) var(--ease-out);
}
.logo-bar .lb-row span:hover { color: var(--ink-1); }

/* ============================================
   Problem section (Section 3)
   ============================================ */
.problem-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.problem-row .prob-stat {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-0);
}
.problem-row .prob-stat strong { color: var(--brand); font-weight: 600; }
.problem-row .prob-stat .sub { display: block; margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--ink-2); font-weight: 400; letter-spacing: 0; }
.problem-close {
  text-align: center;
  margin-top: 56px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  color: var(--ink-0);
  letter-spacing: -0.012em;
}
.problem-close .accent { color: var(--brand); }

@media (max-width: 768px) {
  .problem-row { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Outcome pillars (Section 4)
   ============================================ */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}
.outcome {
  padding: 0;
}
.outcome .o-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 5vw, 64px);
  letter-spacing: -0.024em;
  line-height: 1;
  color: var(--ink-0);
  display: block;
  margin-bottom: 14px;
}
.outcome .o-num.is-brand { color: var(--brand); }
.outcome .o-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-0);
  margin-bottom: 8px;
}
.outcome p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}
@media (max-width: 960px) {
  .outcome-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================
   Product showcase (Section 5)
   ============================================ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase .show-copy h2 { margin-bottom: 18px; }
.showcase .show-copy .lead { margin-bottom: 28px; }
.show-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 18px;
}
.show-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}
.show-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.show-step h4 { margin-bottom: 4px; }
.show-step p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* Dashboard mockup (calm, not techy) */
.show-mock {
  position: relative;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.show-mock .mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.show-mock .mock-head .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-0);
}
.show-mock .mock-head .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.segment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-1);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.segment-row:last-child { margin-bottom: 0; }
.segment-row .seg-l { display: flex; align-items: center; gap: 14px; }
.segment-row .seg-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
}
.segment-row .seg-icon svg { width: 18px; height: 18px; }
.segment-row .seg-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-0);
}
.segment-row .seg-count {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}
.segment-row .seg-r {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 13px;
  font-weight: 600;
}
.segment-row .seg-r:hover { background: var(--brand-hover); }
.mock-note {
  margin-top: 16px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   Comparison table (Section 6 — Why Wallefy)
   ============================================ */
.compare {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th, .compare td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare thead th {
  background: var(--bg-1);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-1);
  letter-spacing: 0;
  border-bottom: 1px solid var(--border-hi);
}
.compare thead th.is-brand {
  background: rgba(37,99,235,0.05);
  color: var(--brand-deep);
}
.compare thead th .col-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.compare thead th.is-brand .col-meta { color: var(--brand); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.row-label { font-weight: 600; color: var(--ink-0); width: 26%; }
.compare td.cell { color: var(--ink-2); }
.compare td.cell.is-brand { color: var(--ink-0); font-weight: 600; background: rgba(37,99,235,0.04); }
.compare .yes, .compare .no, .compare .partial { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.compare .yes { color: var(--accent-emerald); }
.compare .partial { color: var(--ink-2); }
.compare .no { color: var(--ink-3); }
.compare .yes::before { content: '✓'; font-size: 14px; }
.compare .partial::before { content: '∼'; font-size: 14px; }
.compare .no::before { content: '–'; font-size: 14px; }
.compare-footer {
  text-align: center;
  margin-top: 32px;
  color: var(--ink-2);
  font-size: 15px;
}
.compare-footer strong { color: var(--ink-0); }

@media (max-width: 768px) {
  .compare { overflow-x: auto; }
  .compare table { min-width: 640px; }
}

/* ============================================
   Industry tiles (Section 7)
   ============================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-tile {
  display: block;
  padding: 24px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  color: var(--ink-0);
}
.industry-tile:hover {
  transform: translateY(-2px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-card);
}
.industry-tile .it-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.industry-tile .it-icon svg { width: 20px; height: 20px; }
.industry-tile h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-0);
  margin-bottom: 4px;
}
.industry-tile .it-stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.02em;
}

@media (max-width: 960px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industry-grid { grid-template-columns: 1fr; } }

/* ============================================
   Testimonials (Section 8)
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.testimonial {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial .quote {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-0);
  margin-bottom: 24px;
  text-wrap: pretty;
}
.testimonial .stars {
  display: inline-flex;
  gap: 2px;
  color: #F59E0B;
  margin-bottom: 12px;
}
.testimonial .stars svg { width: 14px; height: 14px; }
.testimonial .who {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial .who-l { display: flex; align-items: center; gap: 12px; }
/* Move 25: avatars handle both img (real face photos) + legacy text-monogram */
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  object-fit: cover;
  border: 2px solid var(--bg-card);
  box-shadow: 0 1px 3px rgba(48,38,24,0.10);
}
img.avatar { display: block; }
.testimonial .name { font-weight: 600; color: var(--ink-0); font-size: 14px; }
.testimonial .biz  { font-size: 12px; color: var(--ink-3); }
.testimonial .lift {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-emerald);
  background: var(--accent-emerald-soft);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.proof-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.proof-numbers .pn {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink-2);
  font-size: 15px;
}
.proof-numbers .pn strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-0);
  letter-spacing: -0.012em;
}

@media (max-width: 960px) {
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .proof-numbers { gap: 12px 28px; }
}

/* ============================================
   FAQ accordion (Section 9)
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-0);
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-1);
  color: var(--ink-2);
  font-weight: 400;
  font-size: 16px;
  transition: transform var(--duration-base) var(--ease-out),
              background-color var(--duration-base) var(--ease-out);
  flex: none;
}
.faq-item[open] summary::after { content: '−'; background: var(--brand); color: white; }
.faq-item .faq-body {
  padding: 0 0 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 64ch;
}

/* ============================================
   Final CTA card (Section 9)
   ============================================ */
.cta-card {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-card);
  max-width: 880px;
  margin: 0 auto 64px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,0.06), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(37,99,235,0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 12px; }
.cta-card p { font-size: 17px; color: var(--ink-2); max-width: 56ch; margin: 0 auto 28px; }
.cta-card .cta-btns {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}
.cta-card .trust-line {
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 640px) {
  .cta-card { padding: 48px 24px; }
}

/* ============================================
   Move 26 — Scroll-motion patterns
   Triggered by scroll-motion.js setting .is-visible
   ============================================ */

[data-animate] { will-change: opacity, transform; }

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
[data-animate="fade-in"].is-visible {
  opacity: 1;
}

/* Stagger-children: parent stays opacity 1, but each child fades up with
   a progressive delay set by JS. */
[data-animate="stagger-children"] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-animate="stagger-children"] > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Count-up: the number is just text — JS swaps the content. Style stays. */

/* Draw-lines: SVG paths have stroke-dasharray + offset set by JS to reveal. */

/* Reduced motion: respect user preference, snap to final state */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  [data-animate="stagger-children"] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   Move 26 — Card hover micro-interactions
   Subtle 4px lift + warm shadow on the cards visitors interact with.
   Reads premium, never jarring.
   ============================================ */

.testimonial,
.outcome,
.it-card,
.operator-card,
.industry-card,
.feature-card,
.bp-card,
.wallet-card,
.pricing-card,
.price-card {
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.28s ease;
}

.testimonial:hover,
.outcome:hover,
.it-card:hover,
.operator-card:hover,
.feature-card:hover,
.bp-card:hover,
.wallet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-hi);
}

.industry-card:hover,
.pricing-card:hover,
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pop);
  border-color: var(--border-brand);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial:hover,
  .outcome:hover,
  .it-card:hover,
  .operator-card:hover,
  .feature-card:hover,
  .bp-card:hover,
  .wallet-card:hover,
  .industry-card:hover,
  .pricing-card:hover,
  .price-card:hover {
    transform: none;
  }
}

/* ============================================
   Move 26 — Branching integration tree (replaces marquee logo strip)
   ============================================ */

.integ-tree {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 24px 8px;
}

.integ-tree-hub {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}
.integ-tree-hub-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--bg-card);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.integ-tree-hub-mark svg {
  width: 36px;
  height: 36px;
}

.integ-tree-svg {
  width: 100%;
  height: 140px;
  display: block;
  margin-top: -8px;
}
.integ-tree-svg path {
  fill: none;
  stroke: var(--ink-5);
  stroke-width: 1.3;
  stroke-linecap: round;
}

.integ-tree-leaves {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: -10px;
}
.integ-tree-leaf {
  height: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.integ-tree-leaf img {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(15%);
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.integ-tree-leaf:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-hi);
}
.integ-tree-leaf:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 720px) {
  .integ-tree-leaves { grid-template-columns: repeat(3, 1fr); }
  .integ-tree-svg { height: 100px; }
}
@media (max-width: 480px) {
  .integ-tree-leaves { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Move 27 — RADIAL integration orbit (electrifying perpetual motion)
   Differentiated from PassEntry: sunburst layout instead of vertical tree.
   Each spoke carries a traveling energy pulse, staggered around the hub,
   so the whole orbit shimmers continuously.
   ============================================ */
.integ-orbit {
  position: relative;
  width: min(720px, 92vw);
  aspect-ratio: 1 / 1;
  margin: 40px auto 24px;
  /* CSS custom prop drives spoke length + tile placement together */
  --orbit-radius: 38%;
  --tile-radius: 42%;
}

/* Hub — Wallefy mark with three concentric ambient rings pulsing outward */
.orbit-hub {
  position: absolute;
  top: 50%; left: 50%;
  width: 88px; height: 88px;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.orbit-hub-mark {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FBF9F5 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px var(--border, #EDE7DC),
    0 12px 32px rgba(37, 99, 235, 0.18),
    0 4px 12px rgba(28, 27, 26, 0.08);
  position: relative;
  z-index: 2;
}
.orbit-hub-mark img {
  width: 44px;
  height: 44px;
  display: block;
}
.orbit-hub-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 99, 235, 0.42);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: orbit-hub-ring-expand 3.2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  pointer-events: none;
  z-index: 1;
}
.orbit-hub-ring--1 { animation-delay: 0s; }
.orbit-hub-ring--2 { animation-delay: 1.05s; }
.orbit-hub-ring--3 { animation-delay: 2.1s; }
@keyframes orbit-hub-ring-expand {
  0%   { width: 88px;  height: 88px;  opacity: 0.6; border-width: 1.5px; }
  100% { width: 280px; height: 280px; opacity: 0;   border-width: 0.5px; }
}

/* Spokes — thin static base wire with a bright traveling pulse on top */
.orbit-spoke {
  position: absolute;
  top: 50%; left: 50%;
  width: var(--orbit-radius);
  height: 2px;
  transform-origin: 0 50%;
  transform: rotate(var(--angle)) translateY(-1px);
  background: linear-gradient(90deg,
    rgba(28, 27, 26, 0.04) 0%,
    rgba(28, 27, 26, 0.10) 40%,
    rgba(28, 27, 26, 0.06) 100%);
  border-radius: 999px;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}
/* Traveling energy pulse */
.orbit-spoke::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  height: 6px;
  width: 28%;
  border-radius: 999px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.0) 20%,
    rgba(37, 99, 235, 0.85) 55%,
    rgba(249, 115, 22, 0.7) 80%,
    transparent 100%);
  box-shadow:
    0 0 8px rgba(37, 99, 235, 0.55),
    0 0 14px rgba(249, 115, 22, 0.35);
  filter: blur(0.4px);
  transform: translateX(0);
  opacity: 0;
  animation: orbit-pulse-flow 2.8s linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes orbit-pulse-flow {
  0%   { transform: translateX(0);    opacity: 0;   }
  10%  { opacity: 1;                                }
  85%  { opacity: 1;                                }
  100% { transform: translateX(260%); opacity: 0;   }
}

/* Tiles — orbital integration logos placed at compass points.
   Polar positioning via top/left + sin/cos so percentages resolve against
   the SQUARE .integ-orbit container (aspect-ratio: 1/1), not the tile itself. */
.orbit-tile {
  position: absolute;
  /* Center at (50% + cos(θ)·r, 50% + sin(θ)·r), then re-center on that point */
  top:  calc(50% + sin(var(--angle)) * var(--tile-radius));
  left: calc(50% + cos(var(--angle)) * var(--tile-radius));
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border, #EDE7DC);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 10px 24px rgba(28, 27, 26, 0.06);
  display: grid;
  place-items: center;
  padding: 14px;
  transform: translate(-50%, -50%);
  transition:
    top 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    left 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  z-index: 3;
}
.orbit-tile img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Toast's source asset is 3:2 (192×128) with internal padding, so it renders
   smaller than the square POS icons under object-fit: contain. Crop the source
   to its centered logo content + scale up so it reads at the same weight as
   Square, Clover, etc. */
.orbit-tile[title="Toast"] img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}
.orbit-tile[title="Toast"]:hover img {
  transform: scale(1.04);
}
.orbit-tile:hover {
  border-color: var(--border-hi, #DED5C5);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 16px 36px rgba(28, 27, 26, 0.12),
    0 0 0 4px rgba(37, 99, 235, 0.08);
  /* Pop outward along the spoke axis by bumping the polar radius */
  top:  calc(50% + sin(var(--angle)) * (var(--tile-radius) + 1.4%));
  left: calc(50% + cos(var(--angle)) * (var(--tile-radius) + 1.4%));
  transform: translate(-50%, -50%) scale(1.06);
}
.orbit-tile:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.orbit-footer {
  text-align: center;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  color: var(--ink-3, #6b7280);
  letter-spacing: 0.04em;
  margin: 8px 0 0;
}
.orbit-footer a {
  color: var(--brand, #2563EB);
  text-decoration: none;
  font-weight: 600;
}
.orbit-footer a:hover { text-decoration: underline; }

/* Reduce motion: turn off pulses + ring expansion, keep static layout */
@media (prefers-reduced-motion: reduce) {
  .orbit-spoke::after,
  .orbit-hub-ring { animation: none; opacity: 0.4; }
}

/* Tablet: shrink hub + tiles, tighten radius */
@media (max-width: 720px) {
  .integ-orbit {
    --orbit-radius: 34%;
    --tile-radius: 38%;
  }
  .orbit-hub,
  .orbit-hub-mark { width: 72px; height: 72px; }
  .orbit-hub-mark img { width: 36px; height: 36px; }
  .orbit-hub-ring { width: 72px; height: 72px; }
  @keyframes orbit-hub-ring-expand {
    0%   { width: 72px;  height: 72px;  opacity: 0.55; }
    100% { width: 220px; height: 220px; opacity: 0;    }
  }
  .orbit-tile { width: 62px; height: 62px; padding: 11px; border-radius: 14px; }
  .orbit-tile img { width: 28px; height: 28px; }
}

/* Phone: only show 6 of the 8 tiles (cardinal + 4 corners), tighter ring */
@media (max-width: 480px) {
  .integ-orbit {
    --orbit-radius: 32%;
    --tile-radius: 36%;
  }
  .orbit-tile { width: 54px; height: 54px; padding: 9px; border-radius: 12px; }
  .orbit-tile img { width: 24px; height: 24px; }
}

/* ============================================
   Move 26 — Oversize stats (counted-up on scroll)
   ============================================ */

.outcome-grid .outcome .o-num {
  /* Triple-bumped from default. Lands at ~96-128px range. */
  font-size: clamp(72px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.outcome-grid .outcome .o-num.is-brand {
  /* Move 26: shift the "+38%" hero stat to the warm coral accent — this
     becomes the one energetic moment in the otherwise-cool stats row. */
  color: var(--accent-warm);
}
.outcome-grid .outcome .o-title {
  font-size: 22px;
  margin-top: 16px;
}

/* ============================================
   Move 26 — Hero fanned cards (peeking beside iPhone)
   ============================================ */

/* Move 28.5 — Wallet Theater: 5 industry wallet passes fanning around the
   phone in a horizontal arc. CSS perspective on the parent gives 3D depth;
   each card has its own continuous breath animation on a staggered cycle;
   scroll-into-view triggers a stagger reveal. */

/* Spotlight halo behind the phone — radial blue glow signals "stage center" */
.hero-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    rgba(37, 99, 235, 0.10) 0%,
    rgba(37, 99, 235, 0.05) 30%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
  animation: hero-spotlight-pulse 6s ease-in-out infinite;
}
@keyframes hero-spotlight-pulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

.hero-fan-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  z-index: 1;
}
.hero-fan-card {
  position: absolute;
  /* Move 28.7 — Widened 200 → 230px to eliminate brand-name truncation
     ("CRESCENT BAK..." / "LUXE AESTHE..."). Slight height bump for
     proportional breathing room. */
  width: 230px;
  height: 132px;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow:
    0 20px 48px -20px rgba(28, 27, 26, 0.42),
    0 8px 18px -8px rgba(28, 27, 26, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* Glossy top sheen on each fan card — matches Apple Wallet pass treatment */
.hero-fan-card::before {
  content: '';
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 70%, transparent);
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}
.hero-fan-card > * { position: relative; z-index: 1; }

/* Hover: card lifts slightly out of the deck. */
.hero-fan-card:hover {
  transform: var(--hfc-rest-tx) translateY(-6px) scale(1.04) !important;
  z-index: 5;
}

/* Move 28.8 — Spotlighted state: outer card matching the currently-showing
   phone scene gets a brand-blue glow halo. Uses filter:drop-shadow so it
   doesn't conflict with the running float keyframes' transform animation. */
.hero-fan-card.is-spotlighted {
  z-index: 4;
  filter:
    drop-shadow(0 0 12px rgba(37, 99, 235, 0.45))
    drop-shadow(0 0 24px rgba(37, 99, 235, 0.22));
  transition: filter 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-fan-card { transition: filter 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); }

/* Move 28.6 — Per-card positioning. ALL OFFSETS POSITIVE so cards stay
   strictly within the visual column (no overflow into the copy column on
   the left). The fan still spreads asymmetrically — left-side cards tuck
   close to the phone, right-side cards spread further out into the
   right-margin empty space.
   Phone is centered in the ~745px visual column. Cards are 200px wide.
   Available space: ~212px each side of the phone. */
/* Move 28.7 — Cleaner 3-2-1 arc rhythm:
     Row 1 (top, 3 elements): Bakery · [phone] · Dental — symmetric flanks
     Row 2 (mid, 2 cards):    Medspa · [phone] · HVAC — closer in, mirrored tilt
     Row 3 (bottom, 1 card):  Gym (extends to right edge, fully off phone)
   Gym uses a tiny negative right offset so it CLEARS the phone barcode
   entirely — extends into the empty right-margin area, never overlapping. */
.hero-fan-card.hfc--bakery {
  --hfc-rest-tx: rotate(-10deg) translateZ(-15px);
  top: 5%;
  left: 3%;
  transform: var(--hfc-rest-tx);
  animation: hfc-float-a 5.2s ease-in-out infinite, hfc-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both;
}
.hero-fan-card.hfc--medspa {
  --hfc-rest-tx: rotate(-7deg) translateZ(0);
  top: 47%;
  left: 0;
  transform: var(--hfc-rest-tx);
  animation: hfc-float-b 6.4s ease-in-out infinite, hfc-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.30s both;
}
.hero-fan-card.hfc--hvac {
  --hfc-rest-tx: rotate(7deg) translateZ(0);
  top: 47%;
  right: 0;
  transform: var(--hfc-rest-tx);
  animation: hfc-float-c 5.8s ease-in-out infinite, hfc-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.45s both;
}
.hero-fan-card.hfc--dental {
  --hfc-rest-tx: rotate(10deg) translateZ(-15px);
  top: 5%;
  right: 3%;
  transform: var(--hfc-rest-tx);
  animation: hfc-float-d 5.6s ease-in-out infinite, hfc-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.60s both;
}
.hero-fan-card.hfc--gym {
  --hfc-rest-tx: rotate(8deg) translateZ(-30px);
  bottom: 6%;
  /* Negative right offset — extends into the empty container-padding margin
     to the right of the visual column. CLEARS the phone barcode entirely
     (was overlapping the WALLEFY · 8412... line in the screenshot). */
  right: -5%;
  transform: var(--hfc-rest-tx);
  animation: hfc-float-e 7.2s ease-in-out infinite, hfc-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.75s both;
}

/* Five different float keyframes so the cards never sync — feels alive,
   not like a uniform marquee. Each oscillates Y by 5-8px on a slightly
   different cycle. */
@keyframes hfc-float-a {
  0%, 100% { transform: var(--hfc-rest-tx) translateY(0); }
  50%      { transform: var(--hfc-rest-tx) translateY(-7px); }
}
@keyframes hfc-float-b {
  0%, 100% { transform: var(--hfc-rest-tx) translateY(-3px); }
  50%      { transform: var(--hfc-rest-tx) translateY(5px); }
}
@keyframes hfc-float-c {
  0%, 100% { transform: var(--hfc-rest-tx) translateY(2px); }
  50%      { transform: var(--hfc-rest-tx) translateY(-6px); }
}
@keyframes hfc-float-d {
  0%, 100% { transform: var(--hfc-rest-tx) translateY(-2px); }
  50%      { transform: var(--hfc-rest-tx) translateY(7px); }
}
@keyframes hfc-float-e {
  0%, 100% { transform: var(--hfc-rest-tx) translateY(4px); }
  50%      { transform: var(--hfc-rest-tx) translateY(-4px); }
}

/* Entry: card flies in from an offset position on first paint */
@keyframes hfc-enter {
  from {
    opacity: 0;
    transform: var(--hfc-rest-tx) translateY(24px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: var(--hfc-rest-tx);
  }
}

.hero-fan-card .hfc-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-fan-card .hfc-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: rgba(15, 23, 42, 0.88);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display, system-ui);
  letter-spacing: -0.02em;
  flex: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.hero-fan-card .hfc-brand {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  /* Move 28.7 — flex: 1 lets the brand label claim all the row's remaining
     space after mark + tier badge are placed. Stops the truncation. */
  flex: 1 1 0;
}
.hero-fan-card .hfc-tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: auto;
  flex: none;
}
.hero-fan-card .hfc-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.1;
}
.hero-fan-card .hfc-sub {
  font-family: var(--font-mono, system-ui);
  font-size: 8.5px;
  font-weight: 500;
  opacity: 0.72;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

/* "Live" pulse dot on the gym card — signals real-time customer activity */
.hero-fan-card .hfc-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: hfc-live-pulse 1.8s ease-in-out infinite;
  flex: none;
}
@keyframes hfc-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-fan-card { animation: none !important; opacity: 1 !important; }
  .hero-fan-card .hfc-live { animation: none; }
  .hero-spotlight { animation: none; }
}

/* Tablet: hide outer cards (bakery + dental + gym), keep medspa + HVAC.
   The composition reads as "phone + 2 pass cards" — still richer than the
   original 2-col layout but doesn't crowd. */
@media (max-width: 1100px) {
  .hero-fan-card.hfc--bakery,
  .hero-fan-card.hfc--dental,
  .hero-fan-card.hfc--gym { display: none; }
  .hero-spotlight { width: 460px; height: 460px; }
}

/* Mobile: hide all theater elements — single phone visual reads best on a
   narrow viewport. */
@media (max-width: 900px) {
  .hero-fan-cards,
  .hero-spotlight { display: none; }
}

/* ============================================
   Move 26 — Subtle 3D tilt on wallet pass display (showcase section)
   ============================================ */

.wallet-card,
.hp-pass {
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wallet-card:hover {
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .wallet-card:hover { transform: none; }
}

