/* ================================================================
   TrustCard — Landing page
   Fonts: Inter + Wix Madefor Display (from trustwallet.com assets)
   Brand: Trust Wallet blue #0500FF
   ================================================================ */

@font-face {
  font-family: 'Inter TW';
  src: url('assets/fonts/11bf447c34a2180c-s.p.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Wix Madefor Display';
  src: url('assets/fonts/e21d6bf08459d7e0-s.p.ttf') format('truetype');
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --brand: #0500FF;
  --brand-hover: #0300cc;
  --brand-soft: #eef0ff;
  --brand-ring: rgba(5, 0, 255, .18);

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f4f4f7;
  --bg-tint: #fafafa;
  --surface: #ffffff;
  --border: #e7e7ec;
  --border-strong: #d7d7de;
  --divider: #efeff3;

  /* Text */
  --ink: #1B1B1C;
  --ink-2: #4a4a52;
  --muted: #71717a;
  --muted-2: #a1a1aa;

  /* Accents */
  --green: #22c55e;
  --green-soft: #ecfdf5;
  --amber: #f59e0b;
  --amber-soft: #fffbeb;
  --red: #ef4444;
  --violet: #7c3aed;
  --violet-soft: #f5f3ff;
  --orange: #FFA235;
  --orange-soft: #fff4e6;
  --gold-1: #d4af37;
  --gold-2: #f5d67b;
  --gold-3: #c9a227;

  /* Typography */
  --f-sans: 'Inter TW', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-display: 'Wix Madefor Display', 'Inter TW', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'SF Mono', 'JetBrains Mono', 'Menlo', 'Consolas', monospace;

  /* Radius + Shadow */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --shadow-xs: 0 1px 2px rgba(15, 17, 32, .05);
  --shadow-sm: 0 4px 10px -3px rgba(15, 17, 32, .06), 0 2px 4px -2px rgba(15, 17, 32, .05);
  --shadow-md: 0 10px 28px -12px rgba(15, 17, 32, .18), 0 4px 8px -4px rgba(15, 17, 32, .08);
  --shadow-lg: 0 28px 60px -18px rgba(15, 17, 32, .22), 0 10px 20px -10px rgba(15, 17, 32, .08);
  --shadow-brand: 0 18px 40px -20px rgba(5, 0, 255, .55);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .container { padding-inline: 40px; }
}

/* ================================================================
   Typography
   ================================================================ */
/* Trust Wallet type scale — mobile → desktop
   h1 38 / 52 · h2 30 / 40 · h3 26 / 30 · body-lg 18 · body 15–16 */
.display, .h1, .h2, .h3 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.display {
  font-size: 38px;
  line-height: 45px;
  letter-spacing: -0.02em;
}
.h1 { font-size: 38px; line-height: 45px; letter-spacing: -0.02em; }
.h2 { font-size: 30px; line-height: 40px; letter-spacing: -0.015em; }
.h3 { font-size: 26px; line-height: 32px; }

@media (min-width: 768px) {
  .display { font-size: 52px; line-height: 60px; }
  .h1 { font-size: 52px; line-height: 60px; }
  .h2 { font-size: 32px; line-height: 43px; }
  .h3 { font-size: 30px; line-height: 33px; }
}

.muted { color: rgba(27,27,28,.6); font-weight: 500; }
.muted-sm { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.grad {
  background: linear-gradient(152deg, #2ECCFF 0%, var(--brand) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  margin-bottom: 14px;
  text-transform: none;
}

.lede {
  font-size: 18px;
  line-height: 26px;
  color: rgba(27,27,28,.6);
  max-width: 540px;
  margin-top: 20px;
  font-weight: 400;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-lede {
  color: rgba(27,27,28,.6);
  font-size: 18px;
  line-height: 26px;
  margin-top: 16px;
}
@media (min-width: 768px) {
  .section-head { margin-bottom: 64px; }
}

/* ================================================================
   Buttons
   ================================================================ */
/* Pill buttons — Trust Wallet spec
   Mobile: py-[1.125rem] px-8, 16px/16px, 500
   ≥768px: py-3 px-10,        15px/21px, 500 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn > * { position: relative; z-index: 1; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-secondary:hover { background: var(--brand); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 10px 18px;
  min-height: 44px;
  font-weight: 500;
}
.btn-ghost:hover { background: var(--bg-soft); }

.btn-lg {
  padding: 18px 32px;
  font-size: 16px;
  line-height: 16px;
  min-height: 52px;
}
.btn-full { width: 100%; }

@media (min-width: 768px) {
  .btn { padding: 12px 28px; font-size: 15px; line-height: 21px; min-height: 44px; }
  .btn-lg { padding: 14px 40px; font-size: 15px; line-height: 21px; min-height: 48px; }
}

/* ================================================================
   Pill / chips
   ================================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .08); }
}
.dot-amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.pill-sm { padding: 3px 10px 3px 8px; font-size: 11px; }

/* ================================================================
   Header / Nav
   ================================================================ */
/* Header — solid white, Trust Wallet layout
   Desktop: py-7 (28px) vertical, 40px horizontal, logo 36×36
   Mobile:  56px tall, 20px horizontal, burger overlay */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
@media (min-width: 992px) {
  .nav-inner { padding: 22px 40px; min-height: 80px; gap: 40px; }
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.brand img.brand-logo {
  width: auto;
  height: 28px;
  display: block;
}
@media (min-width: 992px) {
  .brand img.brand-logo { height: 32px; }
}
.brand img.brand-logo-foot { height: 26px; }
@media (min-width: 992px) {
  .brand img.brand-logo-foot { height: 28px; }
}

.nav-links {
  display: none;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--bg-soft); }

.nav-cta { display: none; gap: 10px; align-items: center; }
.nav-cta .btn-ghost { padding: 10px 18px; }

@media (min-width: 992px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
}

.nav-burger {
  display: inline-flex;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: auto;
  border-radius: 10px;
  transition: background .2s ease;
}
.nav-burger:hover { background: var(--bg-soft); }
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
@media (min-width: 992px) {
  .nav-burger { display: none; }
}

/* Burger → X when menu is open */
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu */
.nav-mobile {
  position: fixed;
  inset: 64px 0 0;
  background: #ffffff;
  z-index: 40;
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
body.nav-open .nav-mobile {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
body.nav-open { overflow: hidden; }
.nav-mobile a,
.nav-mobile button {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  font-family: var(--f-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 12px;
  border-bottom: 1px solid var(--divider);
  background: transparent;
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-mobile-cta .btn { width: 100%; }
@media (min-width: 992px) {
  .nav-mobile { display: none; }
}

/* ================================================================
   Hero
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  background: radial-gradient(1200px 600px at 80% -10%, #f0efff 0%, transparent 55%),
              radial-gradient(900px 500px at 10% 110%, #eef7ff 0%, transparent 60%),
              #ffffff;
}
@media (min-width: 768px) { .hero { padding: 72px 0 80px; } }
@media (min-width: 992px) { .hero { padding: 96px 0 120px; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
}
.orb-1 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, #c7c5ff 0%, transparent 70%);
  top: -140px; right: -80px;
}
.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #bfe0ff 0%, transparent 70%);
  bottom: -140px; left: -80px;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15,17,32,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15,17,32,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 60px; }
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}
.trust-row li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.trust-row strong {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.trust-row span {
  font-size: 13px;
  color: rgba(27,27,28,.6);
  line-height: 1.4;
}
@media (min-width: 768px) {
  .trust-row { gap: 36px; }
  .trust-row strong { font-size: 26px; }
  .trust-row span { font-size: 14px; }
}

/* ================================================================
   Hero card visual — premium tier system
   METAL (flagship) · EXCLUSIVE (brand) · PREMIUM (carbon)
   ================================================================ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  padding: 40px 0;
}
.card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1.15 / 1;
  transform-style: preserve-3d;
}

/* ---------- Foundation shared by every tier --------------------- */
.card-face {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  padding: 26px 28px;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transform-origin: center center;
  transition:
    transform .75s cubic-bezier(.22,.9,.24,1),
    box-shadow .6s ease,
    filter .6s ease;
  box-shadow:
    0 42px 80px -24px rgba(6,8,22,.55),
    0 18px 40px -20px rgba(6,8,22,.4),
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(0,0,0,.5);
  will-change: transform;
  isolation: isolate;
}

/* Ultra-subtle film grain — realism without embossed feel */
.card-face::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .5;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* Lift real content above decorative layers */
.card-top,
.card-chip,
.card-number,
.card-bottom { position: relative; z-index: 4; }

/* ---------- METAL · flat anthracite titanium -------------------- */
.card-metal {
  background:
    linear-gradient(160deg, #26282f 0%, #1a1b22 48%, #101117 100%);
  border: 1px solid rgba(255,255,255,.07);
  transform: translateY(-50%) rotate(-4deg) translateX(-34px);
  z-index: 3;
}
.card-metal::after {
  content: "";
  position: absolute; inset: 0;
  background:
    /* single soft highlight at top-left only */
    radial-gradient(70% 55% at 22% 12%, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* ---------- EXCLUSIVE · flat cobalt ----------------------------- */
.card-exclusive {
  background:
    linear-gradient(160deg, #1a18ff 0%, #0500FF 50%, #0400cc 100%);
  transform: translateY(-50%) rotate(2deg) translateX(26px) translateY(18px);
  z-index: 2;
  border: 1px solid rgba(255,255,255,.12);
}
.card-exclusive::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 22% 12%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* ---------- PREMIUM · flat obsidian ----------------------------- */
.card-premium {
  background:
    linear-gradient(160deg, #15161c 0%, #0d0e13 50%, #060709 100%);
  transform: translateY(-50%) rotate(7deg) translateX(78px) translateY(44px);
  z-index: 1;
  border: 1px solid rgba(255,255,255,.05);
}
.card-premium::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 22% 12%, rgba(255,255,255,.035), transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* ---------- Hover: preserve fan, add lift ----------------------- */
.card-stack:hover .card-metal {
  transform: translateY(-50%) rotate(-5deg) translateX(-50px) translateY(-4px);
  box-shadow:
    0 52px 90px -24px rgba(6,8,22,.62),
    0 22px 44px -20px rgba(6,8,22,.45),
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.5);
}
.card-stack:hover .card-exclusive {
  transform: translateY(-50%) rotate(3deg) translateX(34px) translateY(24px);
}
.card-stack:hover .card-premium {
  transform: translateY(-50%) rotate(8deg) translateX(94px) translateY(52px);
}

/* ---------- Card chrome ---------------------------------------- */
.card-top {
  display: flex; justify-content: space-between; align-items: center;
}
.card-brand {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.018em;
  font-size: 17px;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
}
.card-brand-logo {
  height: 26px;
  width: auto;
  display: block;
}
@media (min-width: 992px) {
  .card-brand-logo { height: 30px; }
}
.card-tier {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  padding: 5px 9px 4px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  font-family: var(--f-display);
  background: rgba(255,255,255,.06);
}
.card-metal .card-tier,
.card-exclusive .card-tier,
.card-premium .card-tier {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.82);
  box-shadow: none;
  text-shadow: none;
}

/* ---------- Flat brass EMV chip (ISO/IEC 7816 · 2×4 contact) ---- */
.card-chip {
  position: relative;
  width: 46px;
  height: 36px;
  border-radius: 6px;
  flex: none;
  background: #b8923d;
  overflow: hidden;
}
.card-chip::before { content: none; }
/* Flat 2×4 contact pad grid */
.chip-bridge {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to right,
      transparent calc(50% - .5px),
      rgba(0,0,0,.45) calc(50% - .5px) calc(50% + .5px),
      transparent calc(50% + .5px)),
    linear-gradient(to bottom,
      transparent calc(25% - .5px),
      rgba(0,0,0,.45) calc(25% - .5px) calc(25% + .5px),
      transparent calc(25% + .5px) calc(50% - .5px),
      rgba(0,0,0,.45) calc(50% - .5px) calc(50% + .5px),
      transparent calc(50% + .5px) calc(75% - .5px),
      rgba(0,0,0,.45) calc(75% - .5px) calc(75% + .5px),
      transparent calc(75% + .5px));
}
.chip-pads { display: none; }
.chip-gloss { display: none; }
.card-chip::after { content: none; }
.card-chip-dark { background: #8a6820; }

/* ---------- Card number — embossed mono ------------------------- */
.card-number {
  font-family: var(--f-mono);
  font-feature-settings: "tnum" 1, "zero" 1;
  display: flex;
  gap: 16px;
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: rgba(255,255,255,.96);
  text-shadow:
    0 1px 0 rgba(0,0,0,.45),
    0 0 18px rgba(255,255,255,.06);
}

/* ---------- Footer: cardholder · expiry · mastercard ------------ */
.card-bottom {
  display: flex; align-items: flex-end; gap: 24px;
}
.card-bottom > div {
  display: flex; flex-direction: column; gap: 3px; flex: 1;
}
.card-bottom small {
  font-size: 8px;
  letter-spacing: 0.24em;
  opacity: .55;
  font-weight: 700;
  font-family: var(--f-display);
}
.card-bottom span {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.card-brand-mark {
  flex: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}

/* ---------- Animated specular shimmer --------------------------- */
.card-shimmer {
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg,
    transparent 38%,
    rgba(255,255,255,.06) 46%,
    rgba(255,255,255,.28) 50%,
    rgba(255,255,255,.06) 54%,
    transparent 62%);
  transform: translate3d(-70%, -70%, 0);
  animation: cardShimmer 9s cubic-bezier(.4,.1,.3,1) infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0;
  z-index: 3;
}
@keyframes cardShimmer {
  0%   { transform: translate3d(-70%, -70%, 0); opacity: 0; }
  18%  { opacity: .95; }
  55%  { opacity: .95; }
  80%  { transform: translate3d(70%, 70%, 0); opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .card-shimmer { animation: none; opacity: 0; }
  .card-face { transition: none; }
}

/* ================================================================
   Wallet strip
   ================================================================ */
.strip {
  padding: 40px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--bg-tint);
}
@media (min-width: 768px) { .strip { padding: 56px 0; } }
.strip-label {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.strip-row {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.chip-wallet {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.chip-wallet-hero {
  padding: 12px 20px 12px 14px;
  font-size: 16px;
  gap: 12px;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring), var(--shadow-sm);
}
.chip-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 2px;
}
.strip-chains {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.strip-chains span {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 4px 10px;
  color: var(--muted);
  background: transparent;
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  letter-spacing: 0.08em;
}

/* ================================================================
   Features
   ================================================================ */
/* Features — TW card style: border-only, 20/30px radius, 20/32px padding */
.features { padding: 64px 0; }
@media (min-width: 768px) { .features { padding: 80px 0; } }
@media (min-width: 992px) { .features { padding: 120px 0; } }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 992px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.f-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #DBDCE5;
  border-radius: 20px;
  transition: border-color .25s ease, transform .25s ease;
}
@media (min-width: 992px) {
  .f-card { padding: 32px; border-radius: 30px; }
}
.f-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.f-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.f-icon-blue { background: var(--brand-soft); color: var(--brand); }
.f-icon-green { background: var(--green-soft); color: #0d9b58; }
.f-icon-orange { background: var(--orange-soft); color: #d77406; }
.f-icon-violet { background: var(--violet-soft); color: var(--violet); }
.f-icon-gold { background: linear-gradient(135deg, #fff3c4, #fde68a); color: #92650f; }
.f-card h3 {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.f-card p {
  color: rgba(27,27,28,.6);
  font-size: 15px;
  line-height: 22px;
}

/* ================================================================
   How it works
   ================================================================ */
.how { padding: 64px 0; background: var(--bg-tint); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
@media (min-width: 768px) { .how { padding: 80px 0; } }
@media (min-width: 992px) { .how { padding: 120px 0; } }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { gap: 20px; } }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid #DBDCE5;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 992px) { .steps li { padding: 36px 28px; border-radius: 24px; } }
.steps li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #6d6bff);
  opacity: 0;
  transition: opacity .2s ease;
}
.steps li:hover::before { opacity: 1; }
.step-num {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}
.steps h3 {
  font-family: var(--f-display);
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.steps p { color: var(--muted); font-size: 15px; }

/* ================================================================
   Rewards
   ================================================================ */
.rewards { padding: 64px 0; }
@media (min-width: 768px) { .rewards { padding: 80px 0; } }
@media (min-width: 992px) { .rewards { padding: 120px 0; } }
.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 992px) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
}
.tier {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #DBDCE5;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 992px) {
  .tier { padding: 36px 32px; border-radius: 28px; }
}
.tier header { display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--divider); }
.tier-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink-2);
}
.tier-metal {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #1B1B1C;
}
.tier h3 {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: -0.02em;
}
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tier li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 26px;
  position: relative;
}
.tier li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  background: var(--brand-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'><path fill='none' stroke='%230500FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3.2L15 6.5'/></svg>") center/12px no-repeat;
  border-radius: 50%;
}
.tier-highlight {
  border-color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #fafaff 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  position: relative;
}
.tier-highlight::after {
  content: "Most popular";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.perks {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin-top: 20px;
}
.perks span {
  font-size: 13px;
  padding: 8px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ================================================================
   Security
   ================================================================ */
.security {
  padding: 64px 0;
  background: var(--ink);
  color: #fff;
}
@media (min-width: 768px) { .security { padding: 80px 0; } }
@media (min-width: 992px) { .security { padding: 120px 0; } }
.security .h2 { color: #fff; }
.security .h2 .muted { color: rgba(255,255,255,.5); }
.security .eyebrow { color: #8f8cff; }
.security .section-lede { color: rgba(255,255,255,.6); }
.badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .badges { grid-template-columns: repeat(4, 1fr); margin-bottom: 48px; } }
.badge {
  padding: 22px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .2s ease, background .2s ease;
}
.badge:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
.badge strong {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
}
.badge span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
}
.offices { text-align: center; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.08); }
.offices .muted-sm { color: rgba(255,255,255,.4); }
.office-row {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 28px;
  margin-top: 16px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}
.office-row span { display: inline-flex; align-items: center; gap: 8px; }
.office-row span::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}

/* ================================================================
   FAQ
   ================================================================ */
.faq { padding: 64px 0; }
@media (min-width: 768px) { .faq { padding: 80px 0; } }
@media (min-width: 992px) { .faq { padding: 120px 0; } }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 992px) {
  .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 80px; }
}
.faq-grid .section-lede { margin-top: 18px; max-width: 340px; }

.faq-list { display: flex; flex-direction: column; }
.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--divider);
}
.faq-list details:first-child { border-top: 1px solid var(--divider); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq-list details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ================================================================
   Final CTA
   ================================================================ */
.cta-final { padding: 48px 0 72px; }
@media (min-width: 768px) { .cta-final { padding: 64px 0 96px; } }
@media (min-width: 992px) { .cta-final { padding: 80px 0 120px; } }
.cta-card {
  padding: 48px 24px;
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(5,0,255,.18), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(109,107,255,.2), transparent 60%),
    linear-gradient(180deg, #0f1018 0%, #1B1B1C 100%);
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) { .cta-card { padding: 64px 40px; border-radius: 28px; } }
@media (min-width: 992px) { .cta-card { padding: 80px 48px; } }
.cta-card .h2 { color: #fff; }
.cta-card p {
  color: rgba(255,255,255,.7);
  margin: 16px auto 32px;
  max-width: 460px;
  font-size: 17px;
  line-height: 26px;
}
.cta-card .hero-cta { justify-content: center; margin-top: 0; gap: 12px; }
.cta-card .btn-primary { background: var(--brand); border-color: var(--brand); }
.cta-card .btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.cta-card .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.cta-card .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ================================================================
   Footer
   ================================================================ */
.foot {
  background: var(--bg-tint);
  border-top: 1px solid var(--divider);
  padding: 48px 0 32px;
  font-size: 14px;
}
@media (min-width: 768px) { .foot { padding: 64px 0 40px; } }
@media (min-width: 992px) { .foot { padding: 72px 0 40px; } }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--divider);
}
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; } }
.foot-brand p {
  color: var(--muted);
  max-width: 320px;
  margin-top: 16px;
  font-size: 14px;
}
.foot h4 {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 20px;
}
.foot a {
  display: block;
  color: var(--muted);
  padding: 6px 0;
  transition: color .15s ease;
}
.foot a:hover { color: var(--ink); }
.foot-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 12px;
}

/* ================================================================
   Modal
   ================================================================ */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(17, 17, 27, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadein .25s ease;
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-2xl);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-lg);
  animation: slideup .35s cubic-bezier(.2,.8,.2,1);
  border: 1px solid var(--border);
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideup {
  from { transform: translateY(18px) scale(.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.modal-close:hover { background: #eceef5; border-color: var(--border-strong); }

.m-view { display: block; }
.m-view[hidden] { display: none; }
.m-head { margin-bottom: 24px; }
.m-head.centered { text-align: center; }
.m-head .h3 { margin-bottom: 8px; }
.m-head p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.qr-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 320px;
  margin: 0 auto 20px;
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.qr-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.qr-wrap svg { width: 100%; height: 100%; display: block; }
.qr-wrap canvas { width: 100% !important; height: 100% !important; display: block; }
.qr-skeleton {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--muted);
  font-size: 13px;
}
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.spinner-lg { width: 56px; height: 56px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.m-trust {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  font-size: 12px;
  color: var(--muted);
}
.m-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Confirmed state */
.success-ring {
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.success-ring::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: .25;
  animation: ring-out 2s ease-out infinite;
}
@keyframes ring-out {
  0% { transform: scale(.9); opacity: .4; }
  100% { transform: scale(1.2); opacity: 0; }
}

.receipt {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 24px 0 20px;
}
.receipt > div {
  padding: 14px 18px;
  background: #fff;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}
.receipt dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}
.receipt dd {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.receipt dd#ref-number {
  font-family: var(--f-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.done-hint {
  display: flex; gap: 12px;
  padding: 14px 16px;
  background: var(--brand-soft);
  border: 1px solid rgba(5,0,255,.1);
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.done-hint img { flex: none; margin-top: 2px; }
.done-hint p { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; }

/* When loader shows, simply hide the intro/form content — no nested card */
.m-content.is-busy { display: none; }

.m-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px 4px;
  animation: fadein .2s ease;
}
.m-loader[hidden] { display: none; }

.m-loader .spinner-lg {
  width: 44px; height: 44px;
  border-width: 3px;
  border-color: rgba(5,0,255,.15);
  border-top-color: var(--brand);
  margin-bottom: 22px;
}

.m-loader-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  max-width: 300px;
}
.m-loader-sub {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 320px;
}

.m-loader-info {
  width: 100%;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--divider);
}
.m-loader-info li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--divider);
  text-align: left;
}
.m-loader-info li > span {
  flex: none;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.m-loader-info li > strong {
  text-align: right;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}
.m-loader-ok { color: #0d9b58; }

.m-loader-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 12px 0 2px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.m-loader-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  transition: color .25s ease;
}
.m-loader-steps .step-dot {
  flex: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: #fff;
}
.m-loader-steps li.is-active { color: var(--ink); font-weight: 600; }
.m-loader-steps li.is-active .step-dot {
  border-color: var(--brand);
  animation: pulse-border 1.4s ease-in-out infinite;
}
.m-loader-steps li.is-done { color: var(--ink); }
.m-loader-steps li.is-done .step-dot {
  border-color: var(--brand);
  background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 20 20'><path fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3.2L15 6.5'/></svg>") center/10px no-repeat;
}
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5,0,255,.35); }
  50% { box-shadow: 0 0 0 6px rgba(5,0,255,0); }
}

.m-loader-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .02em;
}
.m-loader-trust span { display: inline-flex; align-items: center; }

/* Intro: card preview inside modal */
.m-card-preview {
  position: relative;
  aspect-ratio: 1.586 / 1;
  width: 72%;
  max-width: 300px;
  margin: 0 auto 20px;
  border-radius: 16px;
  transform: translateZ(0);
}
.m-card-preview .card-face {
  position: relative;
  inset: auto;
  top: auto;
  transform: none;
  height: 100%;
  width: 100%;
  padding: 14px 16px;
  gap: 6px;
  border-radius: 16px;
  transition: transform .6s cubic-bezier(.22,.9,.24,1), box-shadow .6s ease;
}
.m-card-preview .card-metal { transform: none; }
.m-card-preview:hover .card-face {
  transform: translateY(-3px);
  box-shadow:
    0 52px 90px -24px rgba(6,8,22,.6),
    0 22px 44px -20px rgba(6,8,22,.45),
    0 0 0 1px rgba(213,175,55,.22),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.5);
}
.m-card-preview .card-brand-logo { height: 16px; }
.m-card-preview .card-tier { font-size: 7px; padding: 3px 5px 2px; letter-spacing: 0.22em; }
.m-card-preview .card-chip { width: 30px; height: 23px; border-radius: 4px; }
.m-card-preview .card-number { font-size: 12px; gap: 7px; letter-spacing: 0.05em; }
.m-card-preview .card-bottom { gap: 12px; }
.m-card-preview .card-bottom small { font-size: 6.5px; letter-spacing: 0.2em; }
.m-card-preview .card-bottom span { font-size: 9px; letter-spacing: 0.04em; }
.m-card-preview .card-brand-mark { width: 28px; height: 18px; }

.m-benefits {
  list-style: none;
  margin: 0 0 22px;
  padding: 18px 18px 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.m-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 0 14px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}
.m-benefits li img { flex: none; margin-top: 2px; }

/* Mobile CTA vs desktop QR fallback swap */
.m-cta-mobile { display: none; }
.m-cta-desktop { display: block; }
body.is-mobile .m-cta-mobile { display: inline-flex; }
body.is-mobile .m-cta-desktop { display: none; }

.m-qr-fallback { margin-bottom: 18px; }
.m-qr-label {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
.qr-wrap-compact { max-width: 260px; aspect-ratio: 1; margin: 0 auto; }

/* Contact form */
.m-form { display: flex; flex-direction: column; gap: 14px; }
.m-field { display: flex; flex-direction: column; gap: 6px; }
.m-field > span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .02em;
}
.m-field input, .m-field select {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.m-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%236b6b7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.m-field input:focus, .m-field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(5,0,255,.12);
}
.m-form-err {
  font-size: 13px;
  color: var(--red);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r-md);
  padding: 10px 12px;
}

/* Country combobox */
.m-combobox { position: relative; }
.m-combo-input-wrap { position: relative; }
.m-combobox input[type="text"] {
  width: 100%;
  padding-right: 40px;
}
.m-combo-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}
.m-combo-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.m-combobox input[aria-expanded="true"] + .m-combo-toggle svg,
.m-combobox[data-open="true"] .m-combo-toggle svg { transform: rotate(180deg); }
.m-combo-toggle svg { transition: transform .15s ease; }

.m-combo-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  z-index: 5;
  padding: 6px;
  list-style: none;
  margin: 0;
}
.m-combo-list[hidden] { display: none; }
.m-combo-list li {
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}
.m-combo-list li:hover { background: var(--bg-soft); }
.m-combo-list li.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.m-combo-list li[aria-selected="true"]::after {
  content: "✓";
  float: right;
  color: var(--brand);
  font-weight: 700;
}
.m-combo-list:empty::before {
  content: "No matches";
  display: block;
  padding: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ================================================================
   Responsive — mobile-first adjustments
   Tokens already mobile-first above; these are downscale patches.
   ================================================================ */

/* Tablet and below: neutralize "highlight" lift */
@media (max-width: 991px) {
  .card-stack { max-width: 360px; }
  .tier-highlight { transform: none; }
}

/* Small mobile (<640px): single-column trust stats, tighter spacing */
@media (max-width: 639px) {
  .hero-visual { padding: 24px 0; }
  .card-stack { max-width: 320px; }
  /* Tighter, balanced fan so the group stays centered */
  .card-metal { transform: translateY(-50%) rotate(-4deg) translateX(-8%); }
  .card-exclusive { transform: translateY(-50%) rotate(2deg) translateX(2%) translateY(10px); }
  .card-premium { transform: translateY(-50%) rotate(6deg) translateX(12%) translateY(22px); }
  .card-stack:hover .card-metal { transform: translateY(-50%) rotate(-5deg) translateX(-11%) translateY(-3px); }
  .card-stack:hover .card-exclusive { transform: translateY(-50%) rotate(3deg) translateX(3%) translateY(14px); }
  .card-stack:hover .card-premium { transform: translateY(-50%) rotate(7deg) translateX(14%) translateY(28px); }
  .card-face { padding: 20px 22px; border-radius: 18px; gap: 10px; }
  .card-brand-logo { height: 22px; }
  .card-number { font-size: 15px; gap: 8px; letter-spacing: 0.04em; }
  .card-tier { font-size: 8.5px; padding: 4px 7px 3px; }
  .card-bottom small { font-size: 8px; }
  .card-bottom span { font-size: 11px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .trust-row {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 20px;
  }
  .trust-row li:nth-child(3) { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr; }
  .modal-panel { padding: 28px 22px 24px; }
}

/* Tiny (<480px): compress hero further, compact card */
@media (max-width: 479px) {
  .hero { padding: 36px 0 52px; }
  .hero-visual { padding: 16px 0; }
  .card-stack { max-width: 280px; }
  .card-face { padding: 16px 18px; gap: 8px; }
  .card-brand-logo { height: 20px; }
  .card-number { font-size: 13px; gap: 6px; }
  .badges { grid-template-columns: 1fr; }
  .receipt > div { grid-template-columns: 1fr; gap: 6px; padding: 12px 14px; }
  .receipt dt { font-size: 10px; }
  .cta-card { padding: 40px 20px; }
  .cta-card .hero-cta .btn { flex: 1 1 100%; }
}

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