/* =====================================================================
   COINPAY · 2030 REDESIGN · DESIGN SYSTEM
   ---------------------------------------------------------------------
   Visual language for sub-page rollout. Same soul, future body.

   PALETTE          original brand variables — DO NOT introduce new hues
                    derived shades expressed via color-mix() / oklch()

   TYPE             Alan Sans only · 200–900
                    Display: clamp(56px, 9vw, 140px) · -0.04em
                    H2     : clamp(36px, 5vw, 72px)  · -0.02em
                    Eyebrow: 12px / 0.18em / uppercase
                    Body L : 18 / 1.55 ; Body : 15 / 1.6 ; Mono : 13

   SPACING          4 · 8 · 12 · 16 · 24 · 32 · 48 · 80 · 120 · 200
                    Section rhythm 200 desktop · 120 tablet · 80 mobile

   RADII            8 · 14 · 22 · 32 · pill (999)

   ELEVATION        Glass: bg .04 white · 1px border .08 · blur 20
                    + inset hairline .12 (top edge highlight)
                    Glow : 0 0 40px -10px hilight @ .55
                         + 0 0 90px -30px hilight-light @ .35

   MOTION           Spring : cubic-bezier(.2,.9,.25,1.05)   450ms
                    EaseOut: cubic-bezier(.16,1,.3,1)        900ms
                    Snap   : cubic-bezier(.4,0,.2,1)         200ms
                    All animation gated by prefers-reduced-motion.

   GRID             Container 1280, gutter 24, 12-col flex.
   ===================================================================== */

:root {
  /* Brand palette — KEEP */
  --accent:        rgba(40, 40, 40, 1);
  --hilight-light: rgba(10, 180, 250, 1);
  --hilight:       rgba(20, 120, 220, 1);
  --hilight-dark:  rgba(10, 60, 110, 1);
  --positive:      rgba(30, 240, 120, 1);
  --negative:      rgba(240, 20, 70, 1);
  --white:         rgba(255, 255, 255, 1);
  --black:         rgba(0, 0, 0, 1);

  /* Brand gold gradient — KEEP */
  --grad-gold: linear-gradient(180deg, #fa6400 0%, #fac800 100%);

  /* DARK THEME (default) — surface tokens swappable per theme */
  --ink-0: #05080F;     /* page bg */
  --ink-1: #0A0F1C;     /* card bg */
  --ink-2: #111A2E;     /* elevated */
  --ink-3: #182542;     /* hover */
  --line:  rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text:    rgba(255,255,255,0.95);
  --text-2:  rgba(255,255,255,0.62);
  --text-3:  rgba(255,255,255,0.42);

  /* Brand gradients */
  --grad-blue: linear-gradient(135deg, var(--hilight-dark) 0%, var(--hilight) 55%, var(--hilight-light) 100%);
  --grad-aurora: radial-gradient(900px 600px at 18% 0%, rgba(10,180,250,0.28), transparent 60%),
                 radial-gradient(700px 500px at 82% 12%, rgba(20,120,220,0.30), transparent 55%),
                 radial-gradient(900px 700px at 50% 100%, rgba(10,60,110,0.55), transparent 60%);

  /* Elevation */
  --glass-bg:    rgba(255,255,255,0.035);
  --glass-bg-2:  rgba(255,255,255,0.06);
  --glass-line:  rgba(255,255,255,0.10);
  --glass-edge:  inset 0 1px 0 rgba(255,255,255,0.14);
  --glow-sm: 0 0 24px -8px rgba(20,120,220,0.55);
  --glow-md: 0 0 40px -8px rgba(20,120,220,0.65), 0 0 90px -30px rgba(10,180,250,0.45);
  --glow-lg: 0 0 60px -10px rgba(20,120,220,0.75), 0 0 140px -40px rgba(10,180,250,0.55);

  /* card surface used by step / bento / way / footer panels */
  --surface-card: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  --surface-card-2: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  --surface-step-img: radial-gradient(120% 100% at 50% 0%, rgba(20,120,220,0.25), transparent 60%), var(--ink-2);
  --nav-bg: rgba(8,12,22,0.6);
  --nav-bg-shrunk: rgba(8,12,22,0.78);
  --menu-bg: rgba(5,8,15,0.85);
  --grid-line: rgba(255,255,255,0.025);
  --grain-blend: overlay;
  --grain-opacity: 0.05;
  --footer-mark-grad: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  --hero-h1-grad: linear-gradient(180deg, #ffffff 0%, #b6d8ff 60%, #6aa9ee 100%);
  --shimmer-grad: linear-gradient(110deg, #ffffff 0%, #ffffff 35%, #6aa9ee 50%, #ffffff 65%, #ffffff 100%);
  --ticker-grad: linear-gradient(180deg, #ffffff, #6aa9ee);
  --icon-svg-filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(10,180,250,0.6));
  --rail-chip-bg: rgba(255,255,255,0.025);
  --eyebrow-bg: rgba(255,255,255,0.025);
  --switch-bg: rgba(0,0,0,0.25);
  --logo-filter: none;

  /* Motion */
  --spring:  cubic-bezier(.2,.9,.25,1.05);
  --easeout: cubic-bezier(.16,1,.3,1);
  --snap:    cubic-bezier(.4,0,.2,1);

  /* Layout */
  --container: 1280px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

/* ---------- LIGHT THEME ---------- */
[data-theme="light"] {
  --ink-0: #F4F6FB;
  --ink-1: #FFFFFF;
  --ink-2: #EEF2F8;
  --ink-3: #E3EAF4;
  --line:  rgba(10, 30, 60, 0.10);
  --line-strong: rgba(10, 30, 60, 0.18);
  --text:    rgba(20, 28, 48, 1);
  --text-2:  rgba(40, 56, 84, 0.74);
  --text-3:  rgba(40, 56, 84, 0.50);

  --grad-aurora: radial-gradient(900px 600px at 18% 0%, rgba(10,180,250,0.18), transparent 60%),
                 radial-gradient(700px 500px at 82% 12%, rgba(20,120,220,0.16), transparent 55%),
                 radial-gradient(900px 700px at 50% 100%, rgba(10,60,110,0.10), transparent 60%);

  --glass-bg:    rgba(255,255,255,0.6);
  --glass-bg-2:  rgba(255,255,255,0.8);
  --glass-line:  rgba(10,30,60,0.10);
  --glass-edge:  inset 0 1px 0 rgba(255,255,255,0.9);
  --glow-sm: 0 0 24px -8px rgba(20,120,220,0.30);
  --glow-md: 0 0 40px -10px rgba(20,120,220,0.35), 0 0 90px -30px rgba(10,180,250,0.18);
  --glow-lg: 0 0 60px -12px rgba(20,120,220,0.40), 0 0 140px -40px rgba(10,180,250,0.22);

  --surface-card: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  --surface-card-2: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  --surface-step-img: radial-gradient(120% 100% at 50% 0%, rgba(20,120,220,0.10), transparent 60%), #F0F4FA;
  --nav-bg: rgba(255,255,255,0.65);
  --nav-bg-shrunk: rgba(255,255,255,0.85);
  --menu-bg: rgba(244,246,251,0.92);
  --grid-line: rgba(10,30,60,0.05);
  --grain-blend: multiply;
  --grain-opacity: 0.025;
  --footer-mark-grad: linear-gradient(180deg, rgba(10,30,60,0.07) 0%, transparent 100%);
  --hero-h1-grad: linear-gradient(180deg, #0a1c3a 0%, #1478dc 70%, #0ab4fa 100%);
  --shimmer-grad: linear-gradient(110deg, #0a1c3a 0%, #0a1c3a 35%, #1478dc 50%, #0a1c3a 65%, #0a1c3a 100%);
  --ticker-grad: linear-gradient(180deg, #0a1c3a, #1478dc);
  --icon-svg-filter: brightness(0) saturate(100%) invert(28%) sepia(94%) saturate(1888%) hue-rotate(196deg) brightness(95%) contrast(95%);
  --rail-chip-bg: rgba(255,255,255,0.7);
  --eyebrow-bg: rgba(255,255,255,0.7);
  --switch-bg: rgba(10,30,60,0.06);
  --logo-filter: none;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: "Alan Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.5s var(--easeout), color 0.4s var(--easeout);
}
html { scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--hilight); color: white; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 999px; border: 2px solid var(--ink-0); }
::-webkit-scrollbar-thumb:hover { background: var(--hilight); }

/* a11y focus */
:focus-visible {
  outline: 2px solid var(--hilight-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- global page chrome ---------- */
.page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}
.page::before {       /* fine grid texture */
  content:'';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.page::after {        /* film grain */
  content:'';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  pointer-events: none;
  z-index: 1;
}

.container {
  width: min(var(--container), 100% - var(--gutter)*2);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--eyebrow-bg);
  backdrop-filter: blur(10px);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hilight-light);
  box-shadow: 0 0 10px var(--hilight-light);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.txt-grad {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.txt-blue {
  background: linear-gradient(180deg, var(--hilight-light) 0%, var(--hilight) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --pad-x: 22px;
  --pad-y: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  position: relative;
  transition: transform .35s var(--spring), box-shadow .35s var(--easeout), background .25s ease;
  white-space: nowrap;
  user-select: none;
  border: 1px solid transparent;
  will-change: transform;
}
.btn .arrow { width: 14px; height: 14px; transition: transform .4s var(--spring); }
.btn:hover .arrow { transform: translateX(3px); }

/* Inline text link with arrow — used by inner pages */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--hilight-light);
  letter-spacing: -0.005em;
  transition: gap .25s var(--spring);
}
.cta-link:hover { gap: 12px; }
.cta-link .arrow { width: 14px; height: 14px; }

.btn--primary {
  color: white;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%),
    linear-gradient(135deg, var(--hilight-light), var(--hilight) 60%, var(--hilight-dark));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 0 0 1px rgba(10,180,250,0.35),
    var(--glow-md);
}
.btn--primary:hover { box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 0 0 1px rgba(10,180,250,0.55),
    var(--glow-lg);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }

.btn--white {
  color: var(--ink-0);
  background: white;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.6), 0 12px 40px -12px rgba(255,255,255,0.45);
}
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.9), 0 22px 60px -20px rgba(255,255,255,0.65); }

.btn--lg { --pad-x: 28px; --pad-y: 18px; font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
  transition: top .45s var(--easeout);
}
.nav__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 12px 10px 18px;
  width: min(1180px, calc(100% - 32px));
  border-radius: 999px;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  box-shadow: var(--glass-edge), 0 20px 60px -20px rgba(0,0,0,0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: padding .45s var(--easeout), width .45s var(--easeout), background .35s ease;
}
.nav.is-shrunk .nav__inner {
  padding: 8px 10px 8px 14px;
  width: min(900px, calc(100% - 32px));
  background: var(--nav-bg-shrunk);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 16px;
}
.nav__brand img { width: 22px; height: 22px; }
.nav__links {
  display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center;
  position: relative;
}
.nav__links a {
  position: relative;
  padding: 8px 12px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  border-radius: 999px;
  transition: color .25s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__indicator {
  position: absolute;
  height: 32px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: left .5s var(--spring), width .5s var(--spring), opacity .3s ease;
  pointer-events: none;
  opacity: 0;
}
.nav.has-indicator .nav__indicator { opacity: 1; }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__menu {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
}
.nav__menu i {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .4s var(--spring), opacity .25s;
}
.nav__menu i:nth-child(1) { top: 14px; }
.nav__menu i:nth-child(2) { top: 19px; }
.nav__menu i:nth-child(3) { top: 24px; }
.is-menu-open .nav__menu i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.is-menu-open .nav__menu i:nth-child(2) { opacity: 0; }
.is-menu-open .nav__menu i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile nav overlay */
.menu {
  position: fixed; inset: 0;
  background: var(--menu-bg);
  backdrop-filter: blur(24px) saturate(140%);
  z-index: 90;
  display: flex; flex-direction: column;
  padding: 100px 32px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity .45s var(--easeout);
}
.is-menu-open .menu { opacity: 1; pointer-events: auto; }
.menu a {
  font-size: 36px; font-weight: 600; letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--easeout), transform .5s var(--easeout);
}
.is-menu-open .menu a { opacity: 1; transform: translateY(0); }
.is-menu-open .menu a:nth-child(1){ transition-delay: .08s; }
.is-menu-open .menu a:nth-child(2){ transition-delay: .14s; }
.is-menu-open .menu a:nth-child(3){ transition-delay: .20s; }
.is-menu-open .menu a:nth-child(4){ transition-delay: .26s; }
.is-menu-open .menu a:nth-child(5){ transition-delay: .32s; }
.is-menu-open .menu a:nth-child(6){ transition-delay: .38s; }
.is-menu-open .menu a:nth-child(7){ transition-delay: .44s; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}
.hero__aurora {
  position: absolute; inset: -10%;
  background: var(--grad-aurora);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-2%, -3%) scale(1.05); }
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .eyebrow { margin-bottom: 28px; }

.hero h1 {
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 28px;
  background: var(--hero-h1-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero h1 .shimmer {
  background: var(--shimmer-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { 0% { background-position: 220% 0 } 100% { background-position: -220% 0 } }

.hero h2 {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
  margin-top: 42px;
  display: flex; gap: 32px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-3);
}
.hero__meta b { color: var(--text); font-weight: 600; display: block; font-size: 22px; letter-spacing: -0.02em; }

/* hero visual — floating QR card */
.hero__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  perspective: 1600px;
  z-index: 2;
}
.hero__phone {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transform-style: preserve-3d;
  animation: float 8s ease-in-out infinite alternate;
}
@keyframes float {
  0%   { transform: rotateX(8deg) rotateY(-12deg) translateY(0); }
  100% { transform: rotateX(2deg) rotateY(-6deg) translateY(-12px); }
}
.hero__phone-frame {
  width: 78%; aspect-ratio: 9 / 15.9;
  /* Make the phone a CSS container so the embedded widget can size itself
     in cqw units — proportional to phone width — instead of fixed pixels.
     With a 360px reference width: 1cqw ≈ 3.6px. Result: at any viewport
     the widget always fills the phone with no clipping or empty space. */
  container-type: inline-size;
  container-name: phone;
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--line-strong);
  padding: 14px;
  box-shadow:
    var(--glass-edge),
    0 60px 120px -40px rgba(10,60,110,0.9),
    0 0 0 1px rgba(255,255,255,0.04),
    var(--glow-lg);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.hero__phone-frame::before {
  /* conic gradient border accent */
  content:''; position: absolute; inset: -1px; border-radius: 45px;
  background: conic-gradient(from 200deg at 50% 50%, transparent 0deg, var(--hilight-light) 45deg, transparent 120deg, transparent 240deg, var(--hilight) 300deg, transparent 360deg);
  z-index: -1;
  filter: blur(2px);
  opacity: 0.55;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__phone-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 32px;
  background: var(--ink-2);
}

/* ---- pay widget embedded inside the hero phone ----
   The wrapper is a <div> (not <a>) because the widget contains decorative
   <button>/<input>-like elements and HTML5 forbids interactive content
   inside <a>. Click-through is provided by an absolutely-positioned
   .hero-pay__link overlay. */
.hero-pay {
  display: block;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: var(--ink-1);
  cursor: pointer;
}
.hero-pay__link {
  position: absolute;
  inset: 0;
  z-index: 5;
  text-decoration: none;
  color: inherit;
}
[data-theme="light"] .hero-pay { background: #FFFFFF; }

/* The mini widget is a static, decorative mirror of the live React widget.
   It's used in two contexts on the homepage: the hero phone, and the side-by-side
   screens in the "Two screens. One settlement" section. All sizes below are in
   cqw, anchored to the closest container with `container-type: inline-size`. */
.pf-widget--mini {
  width: 100%; height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Prevent the flex column from shrinking critical sections — when the
   widget's natural content height exceeds the phone, flex collapses items
   with `overflow: hidden` (like .pf-amount), eating their inner text. */
.pf-widget--mini > .pf-head,
.pf-widget--mini > .pf-amount,
.pf-widget--mini > .pf-asset-card,
.pf-widget--mini > .pf-qr-wrap,
.pf-widget--mini > .pf-row,
.pf-widget--mini > .pf-status,
.pf-widget--mini > .pf-foot,
.pf-widget--mini > .pf-session { flex-shrink: 0; }
.pf-widget--mini::before { display: none; }   /* suppress aurora wash — outer frame already has one */

/* All sizes below in cqw (% of phone width). Reference: 360px phone → 1cqw = 3.6px.
   Anchor for hand-conversion: 14px = 3.9cqw, 12px = 3.3cqw, 10px = 2.8cqw, 8px = 2.2cqw. */
.pf-widget--mini .pf-head { padding: 3.9cqw 4.4cqw; }
.pf-widget--mini .pf-back { padding: 1.7cqw 2.8cqw 1.7cqw 2.2cqw; font-size: 3.1cqw; }
.pf-widget--mini .pf-back svg { width: 3.1cqw; height: 3.1cqw; }
.pf-widget--mini .pf-brand { font-size: 3.3cqw; }
.pf-widget--mini .pf-brand img { width: 4.4cqw; height: 4.4cqw; }
.pf-widget--mini .pf-head__right { font-size: 2.8cqw; }
.pf-widget--mini .pf-amount { margin: 3.9cqw; padding: 4.4cqw 5cqw; }
/* Custom amount markup (label + value as <p> tags) — bypasses .pf-amount__val
   which uses background-clip:text + transparent fill, a combo that doesn't
   render reliably inside a CQ-scaled container. */
.hero-pay__amount-lbl {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 2.8cqw;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: center;
}
.hero-pay__amount-val {
  position: relative;
  z-index: 2;
  margin: 1.7cqw 0 0;
  font-size: 9cqw;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.hero-pay__amount-sym { font-size: 0.7em; font-weight: 500; color: var(--text-2); margin-right: 0.06em; }
.hero-pay__amount-cur { font-size: 0.36em; font-weight: 500; color: var(--text-3); margin-left: 0.16em; letter-spacing: 0.04em; }
.pf-widget--mini .pf-body { margin: 0 3.9cqw 3.9cqw; padding: 3.9cqw; }
.pf-widget--mini .pf-body__head { margin-bottom: 3.3cqw; }
.pf-widget--mini .pf-body__head h3 { font-size: 3.9cqw; }
.pf-widget--mini .pf-multi { font-size: 2.8cqw; gap: 1.7cqw; }
.pf-widget--mini .pf-multi__track { width: 7.8cqw; height: 4.4cqw; }
.pf-widget--mini .pf-multi__track::before { width: 2.8cqw; height: 2.8cqw; }
.pf-widget--mini .pf-asset { padding: 1.4cqw 2cqw; gap: 2.5cqw; grid-template-columns: 7.5cqw 1fr auto; }
.pf-widget--mini .pf-asset__icon { width: 7cqw; height: 7cqw; }
.pf-widget--mini .pf-asset__name b { font-size: 3cqw; }
.pf-widget--mini .pf-asset__name span { font-size: 2.5cqw; }
.pf-widget--mini .pf-chain { padding: 0.8cqw 1.9cqw; font-size: 2.5cqw; gap: 1.1cqw; }
.pf-widget--mini .pf-chain b { font-size: 2.2cqw; }
.pf-widget--mini .pf-search { margin-top: 2.8cqw; }
/* Fake input — <div> instead of <input>; <input> is forbidden inside <a>. */
.pf-widget--mini .pf-search__placeholder {
  padding: 2.5cqw 3.3cqw 2.5cqw 8.9cqw;
  font-size: 3.3cqw;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text-3);
}
[data-theme="light"] .pf-widget--mini .pf-search__placeholder { background: rgba(255,255,255,0.7); }
.pf-widget--mini .pf-search svg { left: 3.1cqw; width: 3.6cqw; height: 3.6cqw; }

/* Screen 2 specific overrides — pf-asset-card, QR, address rows, status. */
.pf-widget--mini .pf-asset-card { margin: 3.9cqw; padding: 2.5cqw 3cqw; gap: 2.8cqw; }
.pf-widget--mini .pf-asset-card__icon { width: 8.3cqw; height: 8.3cqw; }
.pf-widget--mini .pf-asset-card__name b { font-size: 3.3cqw; }
.pf-widget--mini .pf-asset-card__name span { font-size: 2.5cqw; }
.pf-widget--mini .pf-chain--lg { padding: 1.1cqw 2.2cqw; font-size: 2.8cqw; }
.pf-widget--mini .pf-qr-wrap { margin: 0 3.9cqw 3.3cqw; padding: 3.3cqw; }
.pf-widget--mini .pf-qr { width: 32cqw; height: 32cqw; padding: 1.7cqw; border-radius: 3cqw; }
.pf-widget--mini .pf-qr__brand { width: 6.7cqw; height: 6.7cqw; }
.pf-widget--mini .pf-qr__brand div { width: 5cqw; height: 5cqw; }
.pf-widget--mini .pf-qr__brand img { width: 3.6cqw; height: 3.6cqw; }
.pf-widget--mini .pf-row { margin: 0 3.9cqw 2.2cqw; padding: 2.2cqw 3cqw; gap: 2.2cqw; }
.pf-widget--mini .pf-row__lbl { font-size: 2.5cqw; margin-bottom: 0.6cqw; }
.pf-widget--mini .pf-row__val { font-size: 2.8cqw; }
.pf-widget--mini .pf-row__val--big { font-size: 4.4cqw; }
.pf-widget--mini .pf-copy { width: 7cqw; height: 7cqw; }
.pf-widget--mini .pf-copy svg { width: 3.6cqw; height: 3.6cqw; }
.pf-widget--mini .pf-status { margin: 0 3.9cqw 2.8cqw; padding: 2.2cqw 3cqw; font-size: 2.8cqw; gap: 1.7cqw; }
.pf-widget--mini .pf-status .ring { width: 2.8cqw; height: 2.8cqw; }

/* footer CTA + session bar inside the mini widget */
.pf-widget--mini .pf-foot {
  margin: 0 3.9cqw 2.8cqw;
}
.pf-widget--mini .pf-foot .btn {
  padding: 3.1cqw 4.4cqw;
  font-size: 3.5cqw;
  pointer-events: none;
  letter-spacing: -0.005em;
}
.pf-widget--mini .pf-foot .btn svg {
  width: 3.6cqw; height: 3.6cqw; flex: 0 0 3.6cqw;
}
.pf-widget--mini .pf-session {
  margin: 0 3.9cqw;
  padding: 2.2cqw 1.1cqw 3.9cqw;
}
.pf-widget--mini .pf-session__row {
  font-size: 2.9cqw;
  margin-bottom: 1.9cqw;
}
.pf-widget--mini .pf-session__row .timer .dot {
  width: 1.4cqw; height: 1.4cqw;
}
.pf-widget--mini .pf-session__bar { height: 0.6cqw; }

/* Screen 3 (success) overrides — cqw-scaled versions of pay.css success styles. */
.pf-widget--mini .pf-head--success { padding: 3.9cqw 4.4cqw; }
.pf-widget--mini .pf-head__right--ok svg { width: 3cqw; height: 3cqw; padding: 0.4cqw; }
.pf-widget--mini .pf-success { margin: 3.9cqw; padding: 5cqw 4cqw 4cqw; }
.pf-widget--mini .pf-success__ring { width: 12cqw; height: 12cqw; margin: 0 auto 2.5cqw; box-shadow: 0 0 0 1.5cqw rgba(60,200,140,0.18), 0 0 0 3cqw rgba(60,200,140,0.10), 0 4cqw 11cqw -2cqw rgba(60,200,140,0.55); }
.pf-widget--mini .pf-success__ring svg { width: 6cqw; height: 6cqw; stroke-width: 3; }
.pf-widget--mini .pf-success__ring-inner { inset: -1.7cqw; border-width: 1px; }
.pf-widget--mini .pf-success__title { font-size: 4cqw; margin: 0 0 1cqw; }
.pf-widget--mini .pf-success__sub { font-size: 2.6cqw; margin: 0 0 2.2cqw; }
.pf-widget--mini .pf-success__amount { font-size: 7.8cqw; gap: 0.6cqw; }
.pf-widget--mini .pf-success__amount small { font-size: 0.34em; margin-left: 1.1cqw; }
.pf-widget--mini .pf-confirms { margin: 0 3.9cqw 2.5cqw; padding: 2.2cqw 3cqw; border-radius: 2.2cqw; }
.pf-widget--mini .pf-confirms__row { font-size: 2.4cqw; margin-bottom: 1.7cqw; }
.pf-widget--mini .pf-confirms__row .val b { font-size: 2.8cqw; }
.pf-widget--mini .pf-confirms__pips { gap: 1.1cqw; }
.pf-widget--mini .pf-pip { height: 1.4cqw; border-radius: 0.7cqw; }
.pf-widget--mini .pf-row__val--mono { font-size: 2.4cqw; }
.pf-widget--mini .pf-row__actions { gap: 1.1cqw; }
.pf-widget--mini .pf-settle { margin: 2cqw 3.9cqw 0; padding: 2.8cqw 3.3cqw; border-radius: 2.2cqw; }
.pf-widget--mini .pf-settle__head { font-size: 2.1cqw; gap: 1.4cqw; margin-bottom: 2cqw; }
.pf-widget--mini .pf-settle__head svg { width: 2.6cqw; height: 2.6cqw; }
.pf-widget--mini .pf-settle__row { font-size: 2.6cqw; padding: 0.8cqw 0; }
.pf-widget--mini .pf-settle__row .lbl em { font-size: 2cqw; margin-left: 0.6cqw; }
.pf-widget--mini .pf-settle__row--total { padding-top: 2cqw; font-size: 2.8cqw; margin-top: 0.6cqw; }
.pf-widget--mini .pf-settle__row--total .val { font-size: 3.4cqw; }
.pf-widget--mini .pf-settle__row--total .val small { font-size: 2.1cqw; margin-left: 0.6cqw; }
.pf-widget--mini .pf-settle__eta { font-size: 2.4cqw; padding-top: 2cqw; margin-top: 2cqw; gap: 1.7cqw; }
.pf-widget--mini .pf-settle__eta .dot { width: 1.5cqw; height: 1.5cqw; }

/* ===== HERO PHONE — slide cycler =====
   The hero phone cycles through all 3 widget screens (Select / Send / Received)
   to demo the full payment flow. JS in main.js toggles `.is-active` on each
   slide every ~4s. CSS handles the cross-fade. */
.hero-pay__slides { position: absolute; inset: 0; }
.hero-pay__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--easeout);
  pointer-events: none;
}
.hero-pay__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-pay__slide { transition: none; }
}

/* "Try it" hint that appears on hover over the embedded widget. Positioned
   above the button + session-bar slab so the bar+timer stay readable on hover. */
.hero-pay::after {
  content: 'Try the live widget →';
  position: absolute; left: 50%; bottom: 26.7cqw;
  transform: translateX(-50%) translateY(8px);
  padding: 2.2cqw 4.4cqw;
  border-radius: 999px;
  background: var(--hilight);
  color: white;
  font-size: 3.1cqw; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 8px 30px -8px var(--hilight), 0 0 0 1px rgba(255,255,255,0.2) inset;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--easeout), transform .45s var(--spring);
  z-index: 4;
  white-space: nowrap;
}
.hero-pay:hover::after,
.hero-pay:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hero__notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 999px;
  background: rgba(0,0,0,0.85); z-index: 3;
}

/* coins orbit */
.hero__orbit { position: absolute; inset: 0; pointer-events: none; }
.hero__coin {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-edge), 0 20px 40px -10px rgba(0,0,0,0.6);
  animation: floatY 5s ease-in-out infinite alternate;
}
.hero__coin img { width: 36px; height: 36px; }
/* All coins sit OUTSIDE the phone bezel — left/right rails. 3 on left, 4 on right.
   Sizes vary slightly to give visual hierarchy (BTC largest, hero asset). */
.hero__coin--btc  { top: 4%;  left:  -12%; width: 76px; height: 76px; animation-duration: 6s; }
.hero__coin--btc  img { width: 50px; height: 50px; }
.hero__coin--eth  { top: 38%; left:  -14%; animation-delay: -2s; }
.hero__coin--eth  img { width: 40px; height: 40px; }
.hero__coin--tron { top: 72%; left:  -12%; width: 60px; height: 60px; animation-delay: -4s; }
.hero__coin--tron img { width: 38px; height: 38px; }
.hero__coin--base { top: 4%;  right: -12%; width: 64px; height: 64px; animation-delay: -1.5s; }
.hero__coin--base img { width: 40px; height: 40px; }
.hero__coin--usdc { top: 28%; right: -14%; width: 56px; height: 56px; animation-delay: -1s; }
.hero__coin--usdc img { width: 36px; height: 36px; }
.hero__coin--sol  { top: 52%; right: -12%; width: 56px; height: 56px; animation-delay: -3s; }
.hero__coin--sol  img { width: 36px; height: 36px; }
.hero__coin--usdt { top: 76%; right: -10%; width: 52px; height: 52px; animation-delay: -2.5s; }
.hero__coin--usdt img { width: 32px; height: 32px; }
@keyframes floatY {
  0%   { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-14px) rotate(3deg); }
}

/* logos rail */
.rail {
  margin-top: 80px;
  display: flex; align-items: center; gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.rail__chains { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rail__chain { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 12px; letter-spacing: 0.08em; transition: border-color .25s, color .25s, background .25s; }
.rail__chain img { width: 18px; height: 18px; }
.rail__chain:hover { border-color: var(--line-strong); color: var(--text); }
.rail__chain.is-soon { opacity: 0.55; }
.rail__chain--cta {
  color: var(--text);
  border-color: rgba(10,180,250,0.45);
  background: linear-gradient(135deg, rgba(10,180,250,0.18), rgba(20,120,220,0.12));
  font-weight: 600;
  letter-spacing: 0.04em;
}
.rail__chain--cta:hover { border-color: var(--hilight-light); background: linear-gradient(135deg, rgba(10,180,250,0.28), rgba(20,120,220,0.18)); }
.rail__chain--cta .rail__plus {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--hilight); color: white;
  font-size: 12px; font-weight: 700; line-height: 1;
}

/* ---------- HOW IT WORKS ---------- */
.section {
  padding: 140px 0;
  position: relative;
}
.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 64px;
}
.section__head h3 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  max-width: 100%;
}
.section__head .meta {
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
  margin: 0;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  overflow: hidden;
  box-shadow: var(--glass-edge);
  transition: transform .5s var(--spring), border-color .3s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step__num {
  font-size: 13px; font-weight: 600;
  color: var(--hilight-light);
  letter-spacing: 0.18em;
}
.step__img {
  margin: 18px 0 24px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--surface-step-img);
  display: grid; place-items: center;
  border: 1px solid var(--line);
  overflow: hidden;
}
.step__img img { max-width: 80%; max-height: 78%; filter: drop-shadow(0 14px 30px rgba(0,0,0,0.5)); }

.step h4 {
  font-size: 22px; font-weight: 600;
  line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.step p { color: var(--text-2); font-size: 15px; margin: 0; }

/* connecting flow line */
.steps__flow {
  position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  pointer-events: none; transform: translateY(-50%);
  display: none; /* enable on lg */
}
@media (min-width: 980px) {
  .steps__flow { display: block; }
}
.steps__flow svg { width: 100%; height: 80px; overflow: visible; }
.steps__flow path.track {
  stroke: var(--line-strong);
  stroke-width: 1.5; fill: none;
  stroke-dasharray: 4 6;
}
.steps__flow path.live {
  stroke: var(--hilight-light);
  stroke-width: 2; fill: none;
  filter: drop-shadow(0 0 8px var(--hilight-light));
  stroke-dasharray: 30 240;
  animation: dash 4s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -270; } }

/* ---------- WHY · BENTO v2 ---------- */
.bento.bento--v2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 300px;
  gap: 18px;
}
.bento.bento--v2 .bcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  min-height: 0;
}
.bcard__head {
  display: flex; align-items: center; justify-content: space-between;
}
.bcard__tag {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3);
  padding: 5px 9px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  font-variant-numeric: tabular-nums;
}
.bcard__tag--ok { color: var(--positive); border-color: rgba(60,200,140,0.35); }
.bcard__body { display: flex; flex-direction: column; gap: 4px; }
.bcard__body h4 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.bcard__body p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; max-width: 38ch; }

/* asymmetric bento — 6 cards, 6-col x 3-row grid */
.bv-fees    { grid-column: 1 / span 2; grid-row: 1 / span 2; }   /* TALL hero */
.bv-setup   { grid-column: 3 / span 2; grid-row: 1 / span 1; }
.bv-payouts { grid-column: 5 / span 2; grid-row: 1 / span 1; }
.bv-secure  { grid-column: 3 / span 4; grid-row: 2 / span 1; }   /* WIDE */
.bv-flow    { grid-column: 1 / span 3; grid-row: 3 / span 1; }
.bv-world   { grid-column: 4 / span 3; grid-row: 3 / span 1; }

/* === 1 · Low fees === */
.bv-fees { background: linear-gradient(165deg, rgba(20,120,220,0.10), transparent 60%), var(--surface-card); }
.bv-fees .bcard__big {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.bv-fees .ticker { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.bv-fees .ticker__num {
  font-size: clamp(96px, 9vw, 140px); font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(180deg, var(--text), rgba(255,255,255,0.6));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bv-fees .ticker__pct { font-size: 44px; color: var(--text-2); font-weight: 500; }
.bv-fees .ticker__sub { color: var(--text-3); font-size: 12px; letter-spacing: 0.02em; }
.bv-fees .spark {
  position: absolute; right: 0; bottom: 80px; left: 0;
  width: 100%; height: 70px; opacity: .7;
  pointer-events: none;
}
.bv-fees .spark path { stroke: var(--hilight-light); stroke-width: 1.5; fill: none; filter: drop-shadow(0 0 6px var(--hilight-light)); }
.bv-fees .spark .area { fill: url(#sparkfill); stroke: none; opacity: 0.5; }

/* === 2 · Fast setup === */
.setup-steps {
  list-style: none; margin: auto 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.setup-steps::before {
  content: ''; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px;
  background: linear-gradient(180deg, rgba(60,200,140,0.5), rgba(10,180,250,0.5));
}
.setup-steps li {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 0; font-size: 13px; color: var(--text-2);
  position: relative;
}
.setup-steps .dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
  z-index: 1;
}
.setup-steps .is-done .dot { background: var(--positive); border-color: var(--positive); box-shadow: 0 0 10px rgba(60,200,140,0.5); }
.setup-steps .is-now .dot {
  background: var(--hilight-light); border-color: var(--hilight-light);
  box-shadow: 0 0 0 0 rgba(10,180,250,0.6);
  animation: pulseDot 1.6s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(10,180,250,0.6); }
  100% { box-shadow: 0 0 0 12px rgba(10,180,250,0); }
}
.setup-steps .is-now { color: var(--text); }
.setup-steps .t {
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-3); font-variant-numeric: tabular-nums;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line);
}
.setup-steps .is-now .t { color: var(--hilight-light); border-color: rgba(10,180,250,0.4); }

/* === 3 · Payouts === */
.bv-payouts .payout-list { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.bv-payouts .payout-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  font-size: 13px; color: var(--text-2);
  transition: border-color .2s, transform .2s;
}
.bv-payouts .payout-row:hover { border-color: var(--line-strong); transform: translateX(2px); }
.bv-payouts .payout-row .ico {
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  background: rgba(20,120,220,0.18); color: var(--hilight-light);
  border: 1px solid rgba(10,180,250,0.3);
}
.bv-payouts .payout-row .ico--bank { background: rgba(60,200,140,0.15); color: var(--positive); border-color: rgba(60,200,140,0.3); }
.bv-payouts .payout-row .ico--ex { background: rgba(255,180,60,0.15); color: var(--accent, #ffb43c); border-color: rgba(255,180,60,0.3); }
.bv-payouts .payout-row .lbl { color: var(--text); }
.bv-payouts .payout-row .amt { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* === 4 · Secure · audit log === */
.auditlog {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.auditlog__row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 10px; align-items: center;
  font-size: 11px; padding: 4px 2px;
  color: var(--text-2);
}
.auditlog__row .t { color: var(--text-3); }
.auditlog__row .ev { color: var(--hilight-light); }
.auditlog__row .hash { color: var(--text-3); font-variant-numeric: tabular-nums; }
.seclabels {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.seclabels span {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-3);
}

/* === 5 · Self / Managed paths === */
.bv-flow .paths {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.bv-flow .path {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: border-color .25s, background .25s, transform .25s;
}
.bv-flow .path::before {
  content: ''; position: absolute; left: 14px; top: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-3);
}
.bv-flow .path__name {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-left: 18px;
}
.bv-flow .path__desc {
  font-size: 12px; color: var(--text-3);
  margin-top: 4px; margin-left: 18px;
}
.bv-flow .path--self {
  border-color: rgba(10,180,250,0.4);
  background: linear-gradient(160deg, rgba(20,120,220,0.12), rgba(20,120,220,0.02));
}
.bv-flow .path--self::before { background: var(--hilight-light); box-shadow: 0 0 8px var(--hilight-light); }
.bv-flow .path--managed:hover { border-color: var(--line-strong); transform: translateY(-2px); }

/* === 6 · Channels === */
.bv-world .channels {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.bv-world .channel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.bv-world .channel__pin {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hilight-light);
  box-shadow: 0 0 6px var(--hilight-light);
}
.bv-world .chain-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px; padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.bv-world .chain-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-2);
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.bv-world .chain-chip img { width: 14px; height: 14px; }
.bv-world .chain-chip--more {
  padding: 4px 10px;
  color: var(--hilight-light);
  border-color: rgba(10,180,250,0.35);
  background: rgba(10,180,250,0.08);
}

/* responsive */
@media (max-width: 960px) {
  .bento.bento--v2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento.bento--v2 .bcard { min-height: 320px; }
  .bv-fees, .bv-setup, .bv-payouts, .bv-secure, .bv-flow, .bv-world {
    grid-column: auto; grid-row: auto;
  }
  .bv-fees { grid-column: 1 / span 2; }
}
@media (max-width: 640px) {
  .bento.bento--v2 { grid-template-columns: 1fr; }
  .bv-fees { grid-column: auto; }
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.bcard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  padding: 26px;
  overflow: hidden;
  box-shadow: var(--glass-edge);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--spring), border-color .3s;
}
.bcard:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.bcard h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; }
.bcard p { font-size: 14px; color: var(--text-2); margin: 0; max-width: 36ch; line-height: 1.5; }
.bcard__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(20,120,220,0.35), rgba(10,60,110,0.6));
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  box-shadow: var(--glass-edge), 0 0 24px -8px rgba(20,120,220,0.6);
}
.bcard__icon img { width: 24px; height: 24px; filter: var(--icon-svg-filter); }

/* layout positions */
.b-fees   { grid-column: span 3; grid-row: span 1; }
.b-setup  { grid-column: span 3; grid-row: span 1; }
.b-payouts{ grid-column: span 2; grid-row: span 2; }
.b-secure { grid-column: span 2; grid-row: span 2; }
.b-flow   { grid-column: span 2; grid-row: span 1; }
.b-world  { grid-column: span 2; grid-row: span 1; }

/* ticker for low fees */
.ticker { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.ticker__num {
  font-size: 72px; font-weight: 600;
  letter-spacing: -0.04em;
  background: var(--ticker-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ticker__pct { font-size: 28px; color: var(--text-2); font-weight: 500; }
.ticker__sub { color: var(--text-3); font-size: 13px; margin-top: 6px; }

.spark { position: absolute; right: 24px; bottom: 24px; width: 140px; height: 60px; opacity: .8; }
.spark path { stroke: var(--hilight-light); stroke-width: 2; fill: none; filter: drop-shadow(0 0 6px var(--hilight-light)); }
.spark .area { fill: url(#sparkfill); stroke: none; opacity: 0.4; }

/* shield pulse */
.shield {
  position: absolute; right: -20px; bottom: -30px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(10,180,250,0.35), transparent 60%);
  display: grid; place-items: center;
}
.shield::before, .shield::after {
  content:''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(10,180,250,0.5);
  animation: ripple 3s var(--easeout) infinite;
}
.shield::after { animation-delay: 1.5s; }
@keyframes ripple {
  0% { transform: scale(0.4); opacity: 1; }
  100%{ transform: scale(1.6); opacity: 0; }
}

/* globe arc for worldwide */
.globe { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); width: 220px; height: 220px; opacity: 0.85; }
.globe svg { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.globe svg ellipse, .globe svg circle { fill: none; stroke: rgba(10,180,250,0.6); stroke-width: 1; }

/* payouts mini */
.payout-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.payout-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--rail-chip-bg);
  font-size: 13px; color: var(--text-2);
}
.payout-row .ico { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: rgba(20,120,220,0.18); border: 1px solid var(--line); }
.payout-row .ico::before { content:''; width: 10px; height: 10px; border-radius: 3px; background: var(--hilight-light); box-shadow: 0 0 6px var(--hilight-light); }
.payout-row .amt { margin-left: auto; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* flow / Self-custodial card */
.b-flow .switch {
  display: inline-flex; padding: 4px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(0,0,0,0.25);
  font-size: 12px; gap: 2px;
}
.b-flow .switch span {
  padding: 6px 12px; border-radius: 999px; color: var(--text-2);
}
.b-flow .switch span.on { background: var(--hilight); color: white; }

/* ---------- NETWORKS ---------- */
.section--networks { padding-top: 120px; }

/* ===== chain colour swatches (used inside head + mobile-card logos) ===== */
.netmtx-chain--btc  { background: linear-gradient(135deg, #f7931a 0%, #b46306 100%); }
.netmtx-chain--eth  { background: linear-gradient(135deg, #627eea 0%, #2b3ea3 100%); }
.netmtx-chain--base { background: linear-gradient(135deg, #2563eb 0%, #0b3a99 100%); }
.netmtx-chain--sol  { background: linear-gradient(135deg, #14f195 0%, #9945ff 100%); }
.netmtx-chain--tron { background: linear-gradient(135deg, #ff060a 0%, #8a0306 100%); }

/* ===== matrix container ===== */
.netmtx {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  overflow: hidden;
  box-shadow: var(--glass-edge);
}
.netmtx__scroll { overflow-x: auto; }

/* ===== header row ===== */
.netmtx__head {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--line);
  min-width: 720px;
}
[data-theme="light"] .netmtx__head { background: rgba(10,30,60,0.03); }
.netmtx__head-cell {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.netmtx__head-cell:first-child {
  align-items: flex-start;
  padding-left: 24px;
  text-align: left;
}
.netmtx__head-cell:last-child { border-right: none; }
.netmtx__head-cell-lbl {
  font-size: 10.5px; color: var(--text-3);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
}
.netmtx__head-cell-logo {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
}
.netmtx__head-cell-logo img { width: 22px; height: 22px; }
.netmtx__head-cell-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em;
}

/* ===== body rows ===== */
.netmtx__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  min-width: 720px;
  transition: background .2s;
}
.netmtx__row:hover { background: rgba(255,255,255,0.015); }
[data-theme="light"] .netmtx__row:hover { background: rgba(10,30,60,0.02); }
.netmtx__cell {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
}
.netmtx__cell:last-child { border-right: none; }
.netmtx__cell--label {
  justify-content: flex-start;
  padding-left: 24px;
  gap: 12px;
}
.netmtx__cell-sym {
  font-weight: 700; color: var(--text);
  font-size: 14px; font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.netmtx__cell-name { color: var(--text-3); font-size: 12.5px; }
.netmtx__check {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(30,240,120,0.15);
  color: var(--positive);
}
.netmtx__check svg { width: 12px; height: 12px; }
.netmtx__dash {
  width: 18px; height: 1px;
  background: var(--line-strong);
  border-radius: 1px;
}

/* ===== footer (per-chain totals + grand total) ===== */
.netmtx__foot {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  min-width: 720px;
}
.netmtx__foot-cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.netmtx__foot-cell:first-child {
  flex-direction: row; gap: 12px; align-items: center;
  justify-content: space-between;
  padding-left: 24px; padding-right: 24px;
  font-family: inherit;
}
.netmtx__foot-cell:last-child { border-right: none; }
.netmtx__foot-num {
  font-size: 18px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.netmtx__foot-lbl {
  font-size: 10.5px; color: var(--text-3);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 3px;
  font-family: inherit;
  font-weight: 500;
}
.netmtx__total-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 22px; font-weight: 700;
  color: var(--hilight-light);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.netmtx__total-cta {
  font-size: 13px; color: var(--text-2);
  text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
}
.netmtx__total-cta:hover { color: var(--hilight-light); }

/* ===== mobile card stack (hidden on desktop, shown <720px) ===== */
.netmtx__mobile, .netmtx__mfoot { display: none; }

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .netmtx__head, .netmtx__row, .netmtx__foot { font-size: 12px; }
  .netmtx__cell--label { font-size: 12.5px; }
  .netmtx__cell-name { display: none; }
  .netmtx__head-cell-name { font-size: 12px; }
}
@media (max-width: 720px) {
  /* swap the table for a card stack */
  .netmtx__scroll, .netmtx__head, .netmtx__foot { display: none; }
  .netmtx__mobile {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--line);
  }
  .netmtx__mcard {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--surface-card);
  }
  .netmtx__mcard-logo {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.12);
  }
  [data-theme="light"] .netmtx__mcard-logo { border-color: rgba(10,30,60,0.10); }
  .netmtx__mcard-logo img { width: 24px; height: 24px; }
  .netmtx__mcard-info {
    display: flex; flex-direction: column;
    line-height: 1.25; min-width: 0;
  }
  .netmtx__mcard-info b {
    font-size: 14.5px; font-weight: 700; color: var(--text);
    letter-spacing: -0.01em;
  }
  .netmtx__mcard-info small {
    font-size: 11px; color: var(--text-3);
    margin-top: 4px;
    letter-spacing: 0.06em;
  }
  .netmtx__mcard-info small .ok { color: var(--positive); font-weight: 600; }
  .netmtx__mcard-info small .no { color: var(--text-3); opacity: 0.55; }
  .netmtx__mcard-count {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 17px; font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    text-align: right;
    line-height: 1;
  }
  .netmtx__mcard-count em {
    font-style: normal;
    display: block;
    font-size: 10px; color: var(--text-3);
    letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 500;
    margin-top: 4px;
  }
  .netmtx__mfoot {
    display: flex;
    align-items: center; justify-content: space-between;
    padding: 16px 18px;
    background: var(--ink-2);
  }
  .netmtx__mfoot b {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 22px; font-weight: 700;
    color: var(--hilight-light);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
  }
  .netmtx__mfoot a {
    font-size: 13px; font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
  }
  .netmtx__mfoot a:hover { color: var(--hilight-light); }
}

/* ---------- TWO WAYS ---------- */
.ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.way {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  overflow: hidden;
  background: var(--surface-card-2);
  transition: transform .5s var(--spring), border-color .3s;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    "tag   scene"
    "title scene"
    "list  scene"
    "cta   scene";
  column-gap: 28px;
  align-items: start;
}
.way:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.way__tag {
  grid-area: tag;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 16px;
}
.way__tag .dot { width: 7px; height: 7px; border-radius: 50%; }
.way h4 {
  grid-area: title;
  font-size: 30px; font-weight: 600; letter-spacing: -0.025em;
  margin: 0 0 16px; line-height: 1.05;
}
.way ul {
  grid-area: list;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 24px;
}
.way ul li {
  position: relative; padding-left: 26px;
  font-size: 15px; color: var(--text); line-height: 1.5;
}
.way ul li::before {
  content:''; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hilight-light), var(--hilight));
  box-shadow: 0 0 0 3px rgba(20,120,220,0.18), 0 0 12px var(--hilight);
}
.way ul li span {
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.way__scene {
  grid-area: scene;
  align-self: center;
  position: relative;
  width: 100%;
  height: 200px;
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.way__scene img {
  position: absolute;
  opacity: 0.92;
  transition: transform .6s var(--spring), opacity .3s;
}
.way:hover .way__scene img { transform: translateY(-4px) rotate(-2deg); }

/* self-custodial scene — wallet hovering above an open hand */
.way--self .way__scene img.hand {
  left: 50%; bottom: 8px;
  width: 150px;
  transform: translateX(-50%) rotate(-4deg);
}
.way--self .way__scene img.wallet {
  left: 50%; bottom: 56px;
  width: 130px;
  transform: translateX(-46%) rotate(8deg);
  filter: drop-shadow(0 8px 24px rgba(10,180,250,0.55));
}
.way:hover .way--self .way__scene img.wallet,
.way--self:hover .way__scene img.wallet {
  transform: translateX(-46%) translateY(-6px) rotate(8deg);
}
.way--self::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 50%, rgba(10,180,250,0.18), transparent 65%);
  pointer-events: none;
}

/* managed scene — safe with spinning combination wheel (cogs hidden, were disconnected) */
.way--managed .way__scene { display: grid; place-items: center; }
.way--managed .way__scene .stage {
  position: relative;
  width: 180px; height: 180px;
}
.way--managed .way__scene img.safe {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
}
.way--managed .way__scene img.safe-wheel {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -38%);
  width: 56px;
  animation: spin 14s linear infinite;
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(250,200,0,0.45));
  transform-origin: center;
}
.way--managed .way__scene img.cog-1,
.way--managed .way__scene img.cog-2 { display: none; }
.way--managed::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 50%, rgba(250,200,0,0.10), transparent 65%);
  pointer-events: none;
}

.way__cta {
  grid-area: cta;
  display: inline-flex;
  align-self: start;
  justify-self: start;
}

/* responsive: stack scene below content on smaller cards */
@media (max-width: 900px) {
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .way {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "title"
      "list"
      "scene"
      "cta";
    padding: 28px;
    column-gap: 0;
  }
  .way__scene { height: 160px; margin: 8px 0 20px; }
  .way h4 { font-size: 26px; }
}

/* tag colors */
.way--self .way__tag .dot    { background: var(--hilight-light); box-shadow: 0 0 8px var(--hilight-light); }
.way--managed .way__tag .dot { background: #fac800; box-shadow: 0 0 8px #fac800; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 30%, rgba(10,180,250,0.5), transparent 60%),
    radial-gradient(70% 80% at 20% 80%, rgba(10,60,110,0.8), transparent 60%),
    linear-gradient(135deg, var(--hilight-dark), var(--hilight) 60%, var(--hilight-light));
  z-index: 0;
}
.cta__bg::after {
  content:''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.4;
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta h4 {
  font-size: clamp(36px, 5.4vw, 84px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: white;
  margin: 0 auto 32px;
  max-width: 18ch;
  text-shadow: 0 1px 0 rgba(255,255,255,0.15), 0 30px 60px rgba(0,0,0,0.35);
}
.cta h4 .em {
  display: inline-block;
  padding: 0 4px;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(250,150,0,0.45));
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  padding: 120px 0 40px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__mark {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -40px;
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 700;
  letter-spacing: -0.06em;
  background: var(--footer-mark-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.footer__inner { position: relative; z-index: 2; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand .logo { display: flex; gap: 10px; align-items: center; font-size: 18px; font-weight: 700; }
.footer__brand .logo img { width: 24px; height: 24px; }
.footer__brand p { color: var(--text-2); font-size: 14px; max-width: 28ch; line-height: 1.5; }
.footer__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  align-self: flex-start;
  font-size: 12px; color: var(--text-2);
}
.footer__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 10px var(--positive); animation: pulse 2.4s ease-in-out infinite; }
.footer__col h6 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3); margin: 0 0 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  color: var(--text-2); font-size: 14px;
  transition: color .25s, transform .25s;
  display: inline-block;
}
.footer__col a:hover { color: var(--text); transform: translateX(2px); }

.footer__bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3);
  flex-wrap: wrap; gap: 16px;
}
.footer__socials { display: flex; gap: 8px; }
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: transform .35s var(--spring), color .25s, border-color .25s;
}
.footer__socials a:hover { transform: rotate(-6deg) translateY(-2px); color: var(--text); border-color: var(--line-strong); }
.footer__socials svg { width: 16px; height: 16px; }

/* ---------- theme toggle ---------- */
.theme-toggle {
  display: inline-flex; align-items: center;
  width: 56px; height: 32px;
  min-width: 56px;
  flex: 0 0 56px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--rail-chip-bg);
  position: relative; cursor: pointer;
  transition: background .35s var(--easeout), border-color .25s ease;
  padding: 0;
  box-sizing: border-box;
}
.theme-toggle::before {
  content:''; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--hilight-light), var(--hilight));
  box-shadow: var(--glass-edge), 0 4px 10px -2px rgba(20,120,220,0.5);
  transition: transform .45s var(--spring), background .35s ease;
}
[data-theme="light"] .theme-toggle::before { transform: translateX(24px); background: linear-gradient(160deg, #fac800, #fa6400); }
.theme-toggle svg {
  position: absolute; width: 12px; height: 12px;
  top: 50%; transform: translateY(-50%);
  color: var(--text-2);
  pointer-events: none;
  transition: opacity .3s ease;
}
.theme-toggle .ico-moon { left: 9px; }
.theme-toggle .ico-sun  { right: 9px; }
[data-theme="light"] .theme-toggle .ico-moon { opacity: 0.45; }
.theme-toggle .ico-sun  { opacity: 0.45; }
[data-theme="light"] .theme-toggle .ico-sun  { opacity: 1; }
:not([data-theme="light"]) .theme-toggle .ico-moon { opacity: 1; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--easeout), transform .9s var(--easeout); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 880px) {
  .nav__links, .nav__cta .btn--primary { display: none; }
  .nav__menu { display: block; }
  .section { padding: 100px 0; }
  .hero { padding: 140px 0 80px; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .b-fees, .b-setup, .b-payouts, .b-secure, .b-flow, .b-world { grid-column: span 2; min-height: 240px; }
  .ways { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .bento { grid-template-columns: 1fr; }
  .b-fees, .b-setup, .b-payouts, .b-secure, .b-flow, .b-world { grid-column: span 1; }
  .hero h1 { font-size: clamp(40px, 12vw, 72px); }
}

/* =====================================================================
   /tokens · TOKEN CATALOGUE PAGE
   ===================================================================== */

.page--tokens main { background: var(--ink-0); }

/* hero */
.tokhero {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
}
.tokhero__aurora {
  position: absolute; inset: -10%;
  background: var(--grad-aurora);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}
.tokhero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: end;
}
.tokhero__copy h1 {
  font-size: clamp(40px, 5.6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 16px 0 18px;
  background: var(--hero-h1-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tokhero__lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}
.tokhero__lede b { color: var(--text); font-weight: 700; }

.tokhero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tokstat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--glass-edge);
}
.tokstat b {
  display: block;
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.tokstat span {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3);
}

/* catalogue */
.catalogue { padding: 24px 0 120px; }

.cat__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.cat__search {
  display: flex; align-items: center; gap: 12px;
  flex: 1; min-width: 280px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-card);
  box-shadow: var(--glass-edge);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.cat__search:focus-within {
  border-color: var(--hilight-light);
  box-shadow: var(--glass-edge), 0 0 0 4px rgba(10,180,250,0.15);
}
.cat__search svg { width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0; }
.cat__search input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: none;
  font-size: 16px; font-weight: 500; color: var(--text);
  font-family: inherit;
}
.cat__search input::placeholder { color: var(--text-3); font-weight: 400; }
.cat__clear {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--line-strong); color: var(--text);
  border: 0; cursor: pointer; font-size: 18px; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s;
}
.cat__clear:hover { background: var(--hilight); color: white; }
.cat__count {
  font-size: 13px; color: var(--text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cat__filters {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
}
.cat__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cat__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-card);
  color: var(--text-2);
  font-size: 13px; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.cat__chip img { width: 16px; height: 16px; }
.cat__chip:hover { border-color: var(--line-strong); color: var(--text); }
.cat__chip.is-active {
  background: linear-gradient(135deg, rgba(10,180,250,0.2), rgba(20,120,220,0.14));
  border-color: rgba(10,180,250,0.5);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(10,180,250,0.08);
}
.cat__chip--sm { padding: 6px 10px 6px 6px; font-size: 12px; }
.cat__chip--sm.is-active { background: var(--surface-card); border-color: var(--line-strong); }
.cat__chip--sm .t-tag { padding: 3px 8px; font-size: 10px; pointer-events: none; }

/* table */
.cat__table {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  overflow: hidden;
  box-shadow: var(--glass-edge);
}
.cat__thead {
  display: grid;
  grid-template-columns: 56px 2fr 1.4fr 1fr 1.6fr 100px;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); font-weight: 700;
}
[data-theme="light"] .cat__thead { background: rgba(10,30,60,0.025); }
.cat__thead .th-num { text-align: right; }

.cat__tbody { display: flex; flex-direction: column; }

.cat__row {
  display: grid;
  grid-template-columns: 56px 2fr 1.4fr 1fr 1.6fr 100px;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.cat__row:last-child { border-bottom: 0; }
.cat__row:hover { background: rgba(255,255,255,0.02); }
[data-theme="light"] .cat__row:hover { background: rgba(10,30,60,0.025); }

.cat__cell { font-size: 13px; color: var(--text-2); min-width: 0; }
.cat__cell--idx {
  color: var(--text-3); font-variant-numeric: tabular-nums; font-weight: 500;
}
.cat__cell--num { text-align: right; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cat__cell--token { display: flex; flex-direction: column; gap: 2px; }
.cat__sym {
  font-size: 14px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em;
}
.cat__name {
  font-size: 12px; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.cat__chain {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--text);
  background: rgba(255,255,255,0.02);
}
[data-theme="light"] .cat__chain { background: rgba(10,30,60,0.02); }
.cat__chain img { width: 16px; height: 16px; }
.cat__chain em {
  font-style: normal; font-weight: 500;
  color: var(--text-3); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; padding-left: 4px;
  border-left: 1px solid var(--line); margin-left: 4px;
}

.cat__cell--addr {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
.cat__cell--addr code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--text-2);
  background: rgba(255,255,255,0.03);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}
[data-theme="light"] .cat__cell--addr code { background: rgba(10,30,60,0.04); }
.cat__copy {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.cat__copy:hover { color: var(--hilight-light); border-color: var(--hilight-light); }
.cat__copy.is-copied {
  color: var(--positive); border-color: var(--positive);
  background: rgba(60,200,140,0.08);
}

/* empty state */
.cat__empty {
  margin-top: 32px;
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-xl);
  text-align: center;
  background: var(--surface-card);
}
.cat__empty-ico {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(20,120,220,0.10);
  color: var(--hilight-light);
}
.cat__empty-ico svg { width: 26px; height: 26px; }
.cat__empty h3 {
  font-size: 18px; font-weight: 600;
  color: var(--text); margin: 0 0 6px;
}
.cat__empty p { color: var(--text-2); margin: 0; font-size: 14px; }
.cat__resetlink {
  background: transparent; border: 0; padding: 0;
  color: var(--hilight-light); cursor: pointer;
  font: inherit; text-decoration: underline;
}

/* load more */
.cat__more {
  display: flex; justify-content: center;
  margin-top: 24px;
}
.cat__more[hidden] { display: none; }
.cat__empty[hidden] { display: none; }
.cat__more #MoreCount {
  color: var(--text-3); font-weight: 500; margin-left: 4px;
}

/* responsive */
@media (max-width: 920px) {
  .tokhero__inner { grid-template-columns: 1fr; gap: 32px; }
  .tokhero__stats { grid-template-columns: repeat(3, 1fr); }
  .cat__thead, .cat__row {
    grid-template-columns: 36px 1.6fr 1.2fr 90px;
    gap: 12px; padding: 12px 14px;
  }
  .cat__cell--addr, .cat__cell--num { display: none; }
  .cat__chain em { display: none; }
}
@media (max-width: 560px) {
  .tokhero { padding-top: 130px; }
  .tokhero__stats { grid-template-columns: 1fr 1fr; }
  .tokstat:last-child { grid-column: span 2; }
  .cat__thead { display: none; }
  .cat__row {
    grid-template-columns: 36px 1.4fr auto;
    gap: 10px;
  }
  .cat__cell--type { display: none; }
}

/* ============================================================
   TWO SCREENS · ONE SETTLEMENT
   Two phone mockups side-by-side, each running the static mini widget.
   ============================================================ */
.section--screens .screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}
.screen { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.screen__head {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-2);
}
.screen__num {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10,180,250,0.2), rgba(20,120,220,0.14));
  border: 1px solid rgba(10,180,250,0.4);
  color: var(--hilight-light);
  font-size: 11px; font-weight: 700; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.screen__phone {
  width: 100%;
  max-width: 360px;
  perspective: 1400px;
}
.screen__phone-frame {
  width: 100%; aspect-ratio: 9 / 15.9;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)), var(--ink-1);
  border: 1px solid var(--line-strong);
  padding: 12px;
  box-shadow:
    var(--glass-edge),
    0 50px 100px -40px rgba(10,60,110,0.7),
    0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
  /* Container-query anchor: descendant cqw resolves against this width. */
  container-type: inline-size;
}
.screen__phone-frame::before {
  content:''; position: absolute; inset: -1px; border-radius: 37px;
  background: conic-gradient(from 200deg at 50% 50%, transparent 0deg, var(--hilight-light) 45deg, transparent 120deg, transparent 240deg, var(--hilight) 300deg, transparent 360deg);
  z-index: -1;
  filter: blur(2px);
  opacity: 0.4;
}
.screen__phone-frame > .pf-widget--mini {
  border-radius: 24px;
  background: var(--ink-1);
}
[data-theme="light"] .screen__phone-frame > .pf-widget--mini { background: #FFFFFF; }
.screen__copy {
  margin: 0;
  max-width: 36ch;
  font-size: 15px; line-height: 1.55;
  color: var(--text-2);
  text-align: center;
}

/* ============================================================
   WORKS EVERYWHERE
   3 × 2 grid of integration paths.
   ============================================================ */
.section--works .works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.works-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface-card);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.works-card::before {
  content:''; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 40% at 0% 0%, rgba(10,180,250,0.08), transparent 70%);
  opacity: 0;
  transition: opacity .25s var(--easeout);
  pointer-events: none;
}
.works-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.works-card:hover::before { opacity: 1; }
.works-card__head {
  display: flex; align-items: center; justify-content: space-between;
}
.works-card__logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.works-card__logo svg { width: 28px; height: 28px; }
.works-card__tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-3);
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.works-card h4 {
  margin: 0;
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text);
}
.works-card p {
  margin: 0;
  font-size: 14px; line-height: 1.55;
  color: var(--text-2);
}
.works-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-size: 13px; font-weight: 600;
  color: var(--hilight-light);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap .2s var(--easeout);
}
.works-card__cta:hover { gap: 9px; }

/* ============================================================
   TRUST STRIP
   Compact row of trust signals between Networks and Two Ways.
   ============================================================ */
.trust-strip {
  padding: 60px 0 40px;
}
.trust-strip__list {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 12px 18px;
  list-style: none;
  margin: 0; padding: 22px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface-card);
  box-shadow: var(--glass-edge);
}
.trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  letter-spacing: 0.005em;
}
.trust-item__icon {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(10,180,250,0.2), rgba(20,120,220,0.1));
  border: 1px solid rgba(10,180,250,0.35);
  color: var(--hilight-light);
}
.trust-item__icon svg { width: 16px; height: 16px; }
.trust-strip__note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px; color: var(--text-3);
}
.trust-strip__note a {
  color: var(--hilight-light);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(10,180,250,0.3);
  transition: border-color .2s;
}
.trust-strip__note a:hover { border-color: rgba(10,180,250,0.7); }

/* ============================================================
   STOREFRONT PLUGINS · 8th tab visual for the showcase
   Three brand cards stacked vertically — Shopify / Woo / HTML embed.
   ============================================================ */
.ph-stores {
  display: flex; flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 480px;
}
.ph-store {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface-card);
  box-shadow: var(--glass-edge);
  transition: border-color .2s, transform .2s;
}
.ph-store:hover {
  border-color: var(--line-strong);
  transform: translateX(2px);
}
.ph-store__logo {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.ph-store__logo svg { width: 36px; height: 36px; }
.ph-store__body { display: flex; flex-direction: column; gap: 4px; }
.ph-store__body strong {
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
  color: var(--text);
}
.ph-store__body span {
  font-size: 13px; line-height: 1.45;
  color: var(--text-2);
}
.ph-store__body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  padding: 1px 5px;
  background: rgba(10,180,250,0.12);
  border-radius: 4px;
  color: var(--hilight-light);
}
.ph-store__pill {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-3);
}
.ph-store__pill--ok {
  color: var(--positive);
  background: rgba(60,200,140,0.10);
  border-color: rgba(60,200,140,0.35);
}
@media (max-width: 600px) {
  .ph-store { grid-template-columns: 44px 1fr; gap: 12px; padding: 14px; }
  .ph-store__logo { width: 44px; height: 44px; }
  .ph-store__logo svg { width: 28px; height: 28px; }
  .ph-store__pill { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 1100px) {
  .section--screens .screens { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 800px) {
  .section--screens .screens { grid-template-columns: 1fr; gap: 64px; }
}
@media (max-width: 980px) {
  .section--works .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .section--works .works-grid { grid-template-columns: 1fr; }
  .trust-strip__list { gap: 8px 10px; padding: 18px 16px; }
  .trust-item { padding: 4px 8px; font-size: 12px; gap: 8px; }
  .trust-item__icon { width: 28px; height: 28px; }
  .trust-item__icon svg { width: 14px; height: 14px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- MCP RIBBON (re-used from /mcp/ for homepage promo) ---------- */
.mcp-ribbon { padding: 60px 0; }
.mcp-ribbon__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center; gap: 32px;
  padding: 38px 44px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(10,180,250,0.18), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(20,120,220,0.18), transparent 60%),
    var(--ink-1);
  position: relative;
  overflow: hidden;
}
.mcp-ribbon h4 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 6px;
}
.mcp-ribbon p { margin: 0; color: var(--text-2); font-size: 14px; max-width: 50ch; }
.mcp-ribbon__cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 880px) {
  .mcp-ribbon__inner { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}

/* ================================================================
   CTA · supporting line
   ================================================================ */
.cta__sub {
  margin: 14px 0 28px;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
}
[data-theme="light"] .cta__sub { color: rgba(255,255,255,0.85); }

/* ================================================================
   CUSTOMER STRIP · early social proof
   ================================================================ */
.cust-strip {
  padding: 48px 0 24px;
  position: relative;
}
.cust-strip__lead {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 24px;
}
.cust-strip__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-card);
  box-shadow: var(--glass-edge);
}
.cust-strip__item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}
.cust-strip__item + .cust-strip__item {
  position: relative;
}
.cust-strip__item + .cust-strip__item::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--line-strong);
}
.cust-strip__icon {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(10,180,250,0.16), rgba(20,120,220,0.10));
  color: var(--hilight-light);
  flex-shrink: 0;
}
.cust-strip__icon svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .cust-strip__row { border-radius: 18px; padding: 14px 12px; }
  .cust-strip__item + .cust-strip__item::before { display: none; }
}

/* ================================================================
   PERSONAS · "made for businesses like yours"
   ================================================================ */
.who__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.who__card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  box-shadow: var(--glass-edge);
  transition: transform .4s var(--spring), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.who__card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.who__card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 0% 0%, rgba(10,180,250,0.08), transparent 60%);
  pointer-events: none;
}
.who__card > * { position: relative; }
.who__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10,180,250,0.18), rgba(20,120,220,0.10));
  color: var(--hilight-light);
  border: 1px solid rgba(10,180,250,0.22);
}
.who__icon svg { width: 24px; height: 24px; }
.who__card h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.who__quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
  font-style: italic;
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--hilight-light);
}
.who__list {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.who__list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.who__list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 2px rgba(30,240,120,0.15);
}
@media (max-width: 1100px) { .who__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .who__grid { grid-template-columns: 1fr; } }

/* ================================================================
   COST COMPARISON · concrete savings
   ================================================================ */
.cost-vs__board {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  padding: 28px 32px;
  box-shadow: var(--glass-edge);
}
.cost-vs__head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.cost-vs__head-l {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.cost-vs__head-r {
  font-size: 12px;
  color: var(--text-3);
}
.cost-vs__rows {
  display: flex; flex-direction: column; gap: 10px;
}
.cost-vs__row {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.018);
  border: 1px solid transparent;
  transition: background .2s;
}
[data-theme="light"] .cost-vs__row { background: rgba(10,30,60,0.02); }
.cost-vs__row:hover { background: rgba(255,255,255,0.04); }
.cost-vs__row--win {
  background: linear-gradient(90deg, rgba(30,240,120,0.10), transparent 60%), rgba(255,255,255,0.025);
  border-color: rgba(30,240,120,0.28);
}
.cost-vs__brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  color: var(--text);
}
.cost-vs__brand img { width: 22px; height: 22px; }
.cost-vs__brand small {
  display: block;
  font-size: 10.5px; font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.05em;
  margin-top: 1px;
}
.cost-vs__bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
[data-theme="light"] .cost-vs__bar { background: rgba(10,30,60,0.06); }
.cost-vs__bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, rgba(255,180,80,0.6), rgba(255,120,80,0.85));
  border-radius: 999px;
  transition: width .8s var(--spring);
}
.cost-vs__row--win .cost-vs__bar span {
  background: linear-gradient(90deg, var(--positive), rgba(60,200,140,0.7));
}
.cost-vs__amt {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 22px; font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
  letter-spacing: -0.02em;
  line-height: 1;
}
.cost-vs__amt small {
  display: block;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 11px; font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.cost-vs__row--win .cost-vs__amt { color: var(--positive); }
.cost-vs__save {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(30,240,120,0.28);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(30,240,120,0.08), rgba(60,200,140,0.04));
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  justify-content: space-between;
}
.cost-vs__save h4 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.cost-vs__save p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  max-width: 50ch;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .cost-vs__board { padding: 22px 18px; }
  .cost-vs__row { grid-template-columns: 110px 1fr 100px; gap: 12px; padding: 12px; }
  .cost-vs__brand { font-size: 13px; }
  .cost-vs__amt { font-size: 18px; }
  .cost-vs__save { padding: 18px; }
}

/* ================================================================
   FAQ · objection-handling accordion
   ================================================================ */
.faq__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-card);
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(10,180,250,0.12);
  flex-shrink: 0;
  transition: transform .3s var(--spring), background .25s;
}
.faq__plus::before, .faq__plus::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  background: var(--hilight-light);
  border-radius: 1px;
  transform-origin: center;
}
.faq__plus::before {
  width: 10px; height: 1.5px; transform: translate(-50%, -50%);
}
.faq__plus::after {
  width: 1.5px; height: 10px; transform: translate(-50%, -50%);
  transition: transform .3s var(--spring);
}
.faq__item[open] .faq__plus { background: rgba(10,180,250,0.22); transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__item p {
  margin: 0;
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 70ch;
}
.faq__item p a { color: var(--hilight-light); text-decoration: none; font-weight: 500; }
.faq__item p a:hover { text-decoration: underline; }
.faq__more {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--text-3);
}
.faq__more a { color: var(--hilight-light); text-decoration: none; font-weight: 500; }
.faq__more a:hover { text-decoration: underline; }
@media (max-width: 880px) {
  .faq__list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .faq__item summary { padding: 18px 18px; font-size: 15px; }
  .faq__item p { padding: 0 18px 20px; font-size: 14px; }
}
