/* ─────────────────────────────────────────────────────────────────
   iGaming Interactive Demo — Stage 1 Design
   Swapin x Sample Casino
   ───────────────────────────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&family=Fraunces:ital,opsz,wght@1,144,600&display=swap");

/* token overrides for demo-specific colors */
:root {
  /* Sample Casino fictional operator brand — distinct from Swapin */
  --sc-bg: #0B0D12;
  --sc-surface: #14171F;
  --sc-text: #E7E9EF;
  --sc-muted: rgba(231, 233, 239, 0.55);
  --sc-gold: #C9A24A;
  --sc-gold-soft: #E8C77A;
  --sc-card: #FFFFFF;
  --sc-card-soft: #F4F5F8;
  --sc-success: #4FB07A;

  /* Demo backdrop */
  --demo-bg: #07060F;
  --demo-bg-2: #120A29;

  /* Cyan accent for arrows */
  --c-glow: rgba(42, 246, 255, 0.55);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  background: #050010;
  color: var(--neutral-000);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* continuous bg field shared by all panels — no per-panel dark edges */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, #2A0F66 0%, transparent 60%),
    linear-gradient(180deg, #0B0420 0%, #050010 100%);
  pointer-events: none;
}

/* ── below-spec / orientation messages ──────────────────────────── */
.unsupported-message {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: var(--demo-bg);
  color: var(--neutral-000);
  z-index: 1000;
  padding: 32px;
  text-align: center;
}
.unsupported-message .inner {
  max-width: 360px;
}
.unsupported-message h2 {
  font-size: 22px; font-weight: 600;
  margin: 0 0 12px;
}
.unsupported-message p {
  font-size: 14px; color: rgba(255,255,255,0.6); margin: 0;
}
@media (max-width: 1023px) {
  .unsupported-message { display: flex; }
  #root { display: none; }
}

/* ── scroll container ───────────────────────────────────────────── */
#root {
  position: relative;
  width: 100vw;
  min-height: 100vh;
}

.scroll-root {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: none;
  overscroll-behavior: none;
  scrollbar-width: none;
}
.scroll-root::-webkit-scrollbar { display: none; }
.scroll-root.locked { overflow: hidden; }

.panel {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.panel-inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  padding: clamp(80px, 7vw, 110px) clamp(32px, 5vw, 96px) clamp(40px, 4vw, 60px);
  z-index: 2;
  /* parallax fg + landing bounce stacked on same axis (additive via custom prop) */
  transform: translate3d(0, calc((var(--pfg, 0) + var(--bounce-y, 0)) * 1px), 0);
  opacity: var(--pfg-opacity, 1);
  will-change: transform, opacity;
  transition: opacity 80ms linear;
}

/* ── persistent chrome ─────────────────────────────────────────── */
.chrome-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 2vw, 24px) clamp(24px, 3vw, 48px);
  pointer-events: none;
}
.chrome-top > * { pointer-events: auto; }

.chrome-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.chrome-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }

.chrome-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.chrome-nav button {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.6);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 160ms var(--ease);
  white-space: nowrap;
}
.chrome-nav button:hover { color: #fff; }
.chrome-nav button.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.scroll-progress {
  position: fixed;
  right: clamp(20px, 2.5vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.scroll-progress .dot {
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  cursor: pointer;
  transition: all 240ms var(--ease);
  position: relative;
}
.scroll-progress .dot:hover { background: rgba(255,255,255,0.4); }
.scroll-progress .dot.active {
  width: 32px;
  background: var(--swapin-cyan-400);
  box-shadow: 0 0 16px rgba(42,246,255,0.6);
}
.scroll-progress .dot .label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}
.scroll-progress .dot:hover .label,
.scroll-progress .dot.active .label { opacity: 1; }

/* ── panel backgrounds (the "alive" layer) ──────────────────────── */

/* per-panel mood layer — only additive glow, no dark fade (bg-field is continuous) */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* per-panel mood layers */
.panel[data-mood="hero"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(124,29,201,0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(42,246,255,0.18), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(56,6,130,0.6), transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.panel[data-mood="pitch"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(89,52,191,0.55), transparent 65%),
    radial-gradient(circle at 15% 80%, rgba(124,29,201,0.35), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(42,246,255,0.18), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.panel[data-mood="architecture"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(56,6,130,0.5), transparent 70%),
    radial-gradient(circle at 80% 30%, rgba(42,246,255,0.18), transparent 40%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 48px 48px;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000, transparent 95%);
}

.panel[data-mood="chooser"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(42,246,255,0.18), transparent 35%),
    radial-gradient(circle at 75% 50%, rgba(124,29,201,0.28), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.panel[data-mood="deposit"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(42,246,255,0.32), transparent 65%),
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(89,52,191,0.38), transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.panel[data-mood="withdraw"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(124,29,201,0.5), transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(42,246,255,0.18), transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.panel[data-mood="close"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(42,246,255,0.16), transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(56,6,130,0.5), transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* drifting orbs (depth layer) */
.orbs {
  position: absolute; inset: -10%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  /* deep parallax + landing rebound (additive via custom prop) */
  transform: translate3d(0, calc((var(--pbg, 0) + var(--bounce-bg, 0)) * 1px), 0) scale(var(--pbg-scale, 1.18));
  will-change: transform;
}
/* mid-depth parallax: panel ::after carries the mood/grid/gradient layer */
.panel { --pbg: 0; --pmid: 0; --pfg: 0; }
.panel::after {
  transform: translate3d(0, calc(var(--pmid, 0) * 1px), 0) scale(1.05);
  will-change: transform;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orbDrift 24s ease-in-out infinite;
}
.orb.cyan  { background: var(--swapin-cyan-400); width: 320px; height: 320px; }
.orb.purple { background: var(--swapin-purple-400); width: 380px; height: 380px; }
.orb.violet { background: var(--swapin-violet); width: 260px; height: 260px; }
.orb.deep  { background: var(--swapin-purple-700); width: 420px; height: 420px; }

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ── typography helpers ─────────────────────────────────────────── */
h1, h2, h3, h4, p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--swapin-cyan-400);
  margin-bottom: clamp(14px, 1.4vw, 22px);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--swapin-cyan-400);
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--swapin-cyan-400);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.4; }
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.headline .accent {
  background: linear-gradient(120deg, var(--swapin-cyan-400) 0%, var(--swapin-cyan-500) 60%, var(--swapin-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subhead {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 62ch;
  margin-top: clamp(16px, 1.6vw, 24px);
}

/* ── primary cta ────────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  height: 56px;
  border-radius: 999px;
  background: var(--swapin-cyan-500);
  color: #0a0418;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 0;
  cursor: pointer;
  transition: all 220ms var(--ease);
  position: relative;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(52,196,249,0.45), 0 0 0 6px rgba(52,196,249,0.18);
  filter: brightness(1.04);
}
.cta:active { transform: translateY(0); }
.cta--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.cta--ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
  box-shadow: none;
}
.cta--lg { height: 64px; padding: 0 36px; font-size: 16px; }
.cta--sm { height: 44px; padding: 0 20px; font-size: 13px; }
.cta .arrow {
  transition: transform 220ms var(--ease);
}
.cta:hover .arrow { transform: translateX(4px); }

/* ── reveal animations (handled via .in-view class) ────────────── */
:root {
  --ease-gravity: cubic-bezier(0.16, 1.2, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1.4, 0.36, 1);
}
.reveal {
  opacity: 0;
  transform: translate3d(0, 60px, 0) scale(0.99);
  transition:
    opacity 700ms var(--ease-gravity),
    transform 850ms var(--ease-spring);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

/* collision / bounce-back when a panel snaps in — driven by animated
   custom properties so they ADD to the parallax transform instead of
   overwriting it (which previously caused the section to over-throw). */
@property --bounce-y {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}
@property --bounce-bg {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}
@keyframes panelLandingBounce {
  0%   { --bounce-y: 8; }
  100% { --bounce-y: 0; }
}
.panel.just-landed .panel-inner {
  animation: panelLandingBounce 480ms cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes bgLandingBounce {
  0%   { --bounce-bg: 18; }
  100% { --bounce-bg: 0; }
}
.panel.just-landed .orbs {
  animation: bgLandingBounce 540ms cubic-bezier(.22, 1, .36, 1) both;
}
.reveal[data-d="1"] { transition-delay: 80ms; }
.reveal[data-d="2"] { transition-delay: 160ms; }
.reveal[data-d="3"] { transition-delay: 240ms; }
.reveal[data-d="4"] { transition-delay: 320ms; }
.reveal[data-d="5"] { transition-delay: 400ms; }
.reveal[data-d="6"] { transition-delay: 480ms; }
.reveal[data-d="7"] { transition-delay: 560ms; }
.reveal[data-d="8"] { transition-delay: 640ms; }

/* ── HERO PANEL ─────────────────────────────────────────────────── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 2.6vw, 44px);
}
.hero-headline { max-width: 30ch; }
.hero-cols {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(20px, 2vw, 32px);
}
.hero-col h4 {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.hero-col p {
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 50ch;
}
.hero-col + .hero-col { /* right column shifts to pillars */ }
.pillars { display: flex; flex-direction: column; gap: clamp(14px, 1.4vw, 22px); }
.pillar {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.pillar .arrow {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--swapin-cyan-400);
}
.pillar .title {
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  color: #fff;
  display: inline;
}
.pillar .body {
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255,255,255,0.65);
  display: inline;
  line-height: 1.55;
  margin-left: 6px;
}

.proven-band {
  margin-top: clamp(20px, 2vw, 32px);
  padding: clamp(16px, 1.6vw, 22px) clamp(20px, 2vw, 28px);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  font-size: clamp(13px, 1.05vw, 15px);
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  max-width: 70ch;
}
.proven-band strong { color: #fff; font-weight: 600; }

/* Inline proven note inside the pillars column (saves vertical space) */
.pillar-proven {
  margin-top: clamp(10px, 1vw, 16px);
  padding: clamp(10px, 1vw, 14px) clamp(12px, 1.2vw, 16px);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  font-size: clamp(12px, 0.95vw, 14px);
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.pillar-proven strong { color: #fff; font-weight: 600; }

.trust-strip {
  margin-top: clamp(20px, 2vw, 28px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  flex-wrap: wrap;
}
.trust-strip .item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 6px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 2px 8px rgba(0,0,0,0.25);
}
.trust-strip .item img {
  height: 100%;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}
/* Logos are now on a light tile, so the invert hack is no longer needed.
   Keep the rule as a no-op so existing markup doesn't break. */
.trust-strip .item img.invert { filter: none; }
.trust-strip .item--wide img { min-width: 200px; max-width: 240px; }
.trust-strip .trustpilot-pill {
  display: flex; align-items: center; gap: 10px;
  height: 52px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.trust-strip .trustpilot-pill .stars { color: #00B67A; letter-spacing: -1px; }

.hero-cta-row {
  margin-top: clamp(28px, 2.6vw, 40px);
  display: flex; gap: 14px; align-items: center;
}
.hero-cta-row .hint {
  font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ── PITCH PANEL ────────────────────────────────────────────────── */
.pitch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.4vw, 22px);
  margin-top: clamp(36px, 4vw, 56px);
}
.value-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: clamp(20px, 1.8vw, 28px);
  min-height: clamp(220px, 22vw, 280px);
  transition: transform 180ms cubic-bezier(.22,1,.36,1), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.value-card:hover {
  border-color: rgba(42,246,255,0.3);
  background: linear-gradient(180deg, rgba(42,246,255,0.06), rgba(255,255,255,0.02));
  transform: translateY(-4px);
}
.value-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(42,246,255,0.12);
  border: 1px solid rgba(42,246,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--swapin-cyan-400);
  margin-bottom: 20px;
}
.value-card h4 {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.value-card p {
  font-size: clamp(13px, 0.95vw, 14px);
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

.pitch-foot {
  margin-top: clamp(28px, 3vw, 44px);
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255,255,255,0.5);
}
.pitch-foot .label { color: rgba(255,255,255,0.4); margin-right: 6px; }
.pitch-foot .chip {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── ARCHITECTURE PANEL ─────────────────────────────────────────── */
.arch-header {
  max-width: 880px;
}
.arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: stretch;
  margin-top: clamp(16px, 2vh, 28px);
  /* leave room for the right-side scroll-progress dots + their hover labels */
  max-width: min(100%, 1240px);
  padding-right: clamp(40px, 5vw, 96px);
}

/* ── ARCH FLOW (left column — deposit-style stage cards) ───────── */
.arch-flow-wrap {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 1.6vh, 22px);
}
/* Soft purple bloom centered behind the flow — keeps the architecture
   panel's signature glow now that the video is gone. */
.arch-flow-wrap::before {
  content: "";
  position: absolute;
  inset: -10% -15%;
  background:
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(89,52,191,0.42), rgba(56,6,130,0.18) 55%, transparent 80%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.arch-flow-wrap > * { position: relative; z-index: 1; }

.arch-lane-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.arch-flow {
  /* override flow-chart's auto sizing to span the column nicely */
  width: 100%;
  max-width: 540px;
  margin: 0 auto 0 0; /* left-align within its column so it sits closer to the page edge */
}

/* ── ARCH CONNECTOR — bidirectional lane (cyan ↓, purple ↑) ────── */
.arch-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 1.4vw, 22px);
  height: clamp(56px, 8vh, 84px);
  margin-left: clamp(14px, 1.6vw, 22px);
  padding-left: 4px;
  pointer-events: none;
}
.arch-connector .arch-lane {
  width: clamp(20px, 1.8vw, 26px);
  height: 100%;
  overflow: visible;
}
.arch-connector .arch-lane.down { filter: drop-shadow(0 0 5px rgba(42,246,255,0.35)); }
.arch-connector .arch-lane.up   { filter: drop-shadow(0 0 5px rgba(159,121,184,0.35)); }
.lane-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: clamp(10px, 1.1vh, 12px);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}
.lane-tag.deposit {
  background: rgba(42,246,255,0.12);
  color: var(--swapin-cyan-400, #34C4F9);
  border-color: rgba(42,246,255,0.28);
}
.lane-tag.withdraw {
  background: rgba(159,121,184,0.14);
  color: #D5B6E8;
  border-color: rgba(159,121,184,0.3);
}

.arch-aside {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.arch-table {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
}
.arch-table .head {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.arch-table .head .col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.arch-table .head .col-title.deposit { color: var(--swapin-cyan-400); }
.arch-table .head .col-title.withdraw { color: var(--swapin-purple-100); }
.arch-table .row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  align-items: center;
  flex: 1 1 0;
  min-height: 0;
}
.arch-table .row:first-of-type { border-top: 0; }
.arch-table .row .who {
  font-size: 13px; font-weight: 600; color: #fff;
}
.arch-table .row .who .num {
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  font-weight: 600;
  margin-right: 8px;
}
.arch-table .row .cell {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.arch-table .row.operator-row { background: rgba(42,246,255,0.04); }
.arch-table .row.operator-row .who { color: var(--swapin-cyan-400); }

/* ── FLOW CHOOSER PANEL ────────────────────────────────────────── */
.chooser-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2vw, 36px);
  margin-top: clamp(40px, 4vw, 64px);
}
.chooser-card {
  position: relative;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 44px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.22,1,.36,1), border-color 180ms ease, background 180ms ease;
  overflow: hidden;
  min-height: clamp(320px, 36vw, 440px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 24px);
}
.chooser-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(42,246,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 360ms var(--ease);
}
.chooser-card.withdraw::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(124,29,201,0.3), transparent 60%);
}
.chooser-card:hover {
  transform: translateY(-6px);
  border-color: rgba(42,246,255,0.5);
}
.chooser-card.withdraw:hover { border-color: rgba(159,121,184,0.6); }
.chooser-card:hover::before { opacity: 1; }

.chooser-card .arrow-art {
  font-size: 64px;
  color: var(--swapin-cyan-400);
  width: 64px;
  height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.chooser-card.deposit .arrow-art { animation: floatDown 3.4s ease-in-out infinite; }
.chooser-card.withdraw .arrow-art {
  color: var(--swapin-purple-100);
  animation: floatUp 3.4s ease-in-out infinite;
}
@keyframes floatDown {
  0%, 100% { transform: translateY(-6px); opacity: 0.85; }
  50% { transform: translateY(6px); opacity: 1; }
}
@keyframes floatUp {
  0%, 100% { transform: translateY(6px); opacity: 0.85; }
  50% { transform: translateY(-6px); opacity: 1; }
}

.chooser-card h3 {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
}
.chooser-card .sub {
  font-size: clamp(14px, 1.05vw, 16px);
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  max-width: 34ch;
}
.chooser-card .step-in {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--swapin-cyan-400);
  font-weight: 600;
  font-size: clamp(13px, 1vw, 15px);
}
.chooser-card.withdraw .step-in { color: var(--swapin-purple-100); }

.chooser-hint {
  margin-top: clamp(28px, 2.8vw, 40px);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ── FLOW EXPLAINER (deposit/withdraw) ──────────────────────────── */
.flow-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 3.2vw, 56px);
  margin-top: clamp(24px, 2.4vw, 36px);
  align-items: start;
}
.flow-chart {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 14px);
}

/* Stage card — concrete border, soft inset glow, hover lift */
.flow-stage {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(124,227,255,0.22);
  border-radius: 14px;
  padding: clamp(14px, 1.2vw, 18px) clamp(16px, 1.4vw, 22px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 12px 28px rgba(0,0,0,0.28);
  transition:
    transform 180ms cubic-bezier(.22,1,.36,1),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  cursor: default;
}
.flow-stage::before {
  /* Subtle left-edge accent stripe — only visible on hover/active */
  content: "";
  position: absolute;
  left: 0; top: 14%; bottom: 14%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--swapin-cyan-400, #34C4F9), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}
.flow-stage:hover {
  transform: translateY(-2px);
  border-color: rgba(124,227,255,0.55);
  background: linear-gradient(180deg, rgba(42,246,255,0.07), rgba(42,246,255,0.02));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 18px 36px rgba(0,0,0,0.32),
    0 0 0 1px rgba(42,246,255,0.18),
    0 0 28px rgba(42,246,255,0.18);
}
.flow-stage:hover::before { opacity: 1; }

/* Stage icon — square pill with cyan tint + breathing glow */
.flow-stage .stage-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(42,246,255,0.18), rgba(42,246,255,0.06));
  border: 1px solid rgba(42,246,255,0.5);
  color: var(--swapin-cyan-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(42,246,255,0.08) inset,
    0 4px 12px rgba(0,0,0,0.25);
  transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 240ms ease, border-color 180ms ease;
}
/* Sequential breathing pulse — simulates data flowing through stages */
.flow-stage .stage-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid rgba(42,246,255,0.7);
  opacity: 0;
  pointer-events: none;
  animation: stage-icon-pulse 6s ease-out infinite;
}
.flow-chart > .flow-stage:nth-child(1) .stage-icon::after { animation-delay: 0s; }
.flow-chart > .flow-stage:nth-child(3) .stage-icon::after { animation-delay: 1.2s; }
.flow-chart > .flow-stage:nth-child(5) .stage-icon::after { animation-delay: 2.4s; }
.flow-chart > .flow-stage:nth-child(7) .stage-icon::after { animation-delay: 3.6s; }
.flow-chart > .flow-stage:nth-child(9) .stage-icon::after { animation-delay: 4.8s; }
.flow-stage:hover .stage-icon {
  transform: scale(1.08) rotate(-3deg);
  border-color: rgba(124,227,255,0.85);
  box-shadow:
    0 0 0 1px rgba(42,246,255,0.18) inset,
    0 0 18px rgba(42,246,255,0.45),
    0 6px 18px rgba(0,0,0,0.35);
}
.flow-stage:hover .stage-icon svg {
  animation: stage-icon-jiggle 600ms cubic-bezier(.34,1.56,.64,1);
}

@keyframes stage-icon-pulse {
  0%   { transform: scale(1);    opacity: 0; }
  6%   { transform: scale(1);    opacity: 0.95; }
  35%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes stage-icon-jiggle {
  0%   { transform: scale(1) rotate(0); }
  50%  { transform: scale(1.18) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Purple variant (withdrawal first two stages) */
.flow-stage.purple {
  border-color: rgba(159,121,184,0.32);
}
.flow-stage.purple::before {
  background: linear-gradient(180deg, transparent, var(--swapin-purple-100, #BFA3D5), transparent);
}
.flow-stage.purple .stage-icon {
  background: linear-gradient(180deg, rgba(124,29,201,0.22), rgba(124,29,201,0.06));
  border-color: rgba(159,121,184,0.55);
  color: var(--swapin-purple-100);
}
.flow-stage.purple .stage-icon::after {
  border-color: rgba(159,121,184,0.7);
}
.flow-stage.purple:hover {
  border-color: rgba(159,121,184,0.7);
  background: linear-gradient(180deg, rgba(124,29,201,0.09), rgba(124,29,201,0.02));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 18px 36px rgba(0,0,0,0.32),
    0 0 0 1px rgba(159,121,184,0.22),
    0 0 28px rgba(124,29,201,0.28);
}
.flow-stage.purple:hover .stage-icon {
  border-color: rgba(213,182,232,0.9);
  box-shadow:
    0 0 0 1px rgba(159,121,184,0.18) inset,
    0 0 18px rgba(124,29,201,0.5),
    0 6px 18px rgba(0,0,0,0.35);
}

.flow-stage .stage-body { min-width: 0; }
.flow-stage .stage-title {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.flow-stage .stage-where {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
  transition: color 180ms ease;
}
.flow-stage:hover .stage-where { color: var(--swapin-cyan-400, #34C4F9); }
.flow-stage.purple:hover .stage-where { color: var(--swapin-purple-100, #D5B6E8); }
.flow-stage .stage-desc {
  font-size: clamp(12.5px, 0.95vw, 14px);
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

/* Swapin-themed stage (special highlight) */
.flow-stage.swapin {
  border-color: rgba(42,246,255,0.5);
  background:
    linear-gradient(180deg, rgba(42,246,255,0.1), rgba(42,246,255,0.025));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 16px 32px rgba(0,0,0,0.32),
    0 0 32px rgba(42,246,255,0.14);
}
.flow-stage.swapin::before { opacity: 0.5; }
.flow-stage.swapin .stage-icon {
  background: linear-gradient(180deg, rgba(42,246,255,0.32), rgba(42,246,255,0.1));
  border-color: rgba(124,227,255,0.85);
  box-shadow:
    0 0 0 1px rgba(42,246,255,0.2) inset,
    0 0 18px rgba(42,246,255,0.35),
    0 4px 12px rgba(0,0,0,0.25);
}

/* ── CONNECTOR — chevron arrow with traveling comet ─────────────── */
.flow-connector {
  position: relative;
  width: 44px;
  height: 28px;
  align-self: flex-start;
  margin-left: clamp(16px, 1.4vw, 22px);
  pointer-events: none;
}
/* Vertical line + chevron arrowhead at bottom (single shape via clip-path) */
.flow-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 14px;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(42,246,255,0.35) 0%,
    rgba(42,246,255,0.85) 60%,
    var(--swapin-cyan-400, #34C4F9) 100%);
  clip-path: polygon(
    44% 0%, 56% 0%,
    56% 60%, 100% 60%,
    50% 100%,
    0% 60%, 44% 60%
  );
  filter:
    drop-shadow(0 0 4px rgba(42,246,255,0.55))
    drop-shadow(0 0 10px rgba(42,246,255,0.35));
}
/* Traveling comet */
.flow-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  box-shadow:
    0 0 6px #BDF3FF,
    0 0 14px rgba(42,246,255,0.95),
    0 0 22px rgba(42,246,255,0.5);
  animation: flow-comet 2.2s cubic-bezier(.55,.1,.45,.95) infinite;
  opacity: 0;
}
.flow-chart > .flow-connector:nth-child(2)::after { animation-delay: 0.3s; }
.flow-chart > .flow-connector:nth-child(4)::after { animation-delay: 1.5s; }
.flow-chart > .flow-connector:nth-child(6)::after { animation-delay: 2.7s; }
.flow-chart > .flow-connector:nth-child(8)::after { animation-delay: 3.9s; }

@keyframes flow-comet {
  0%   { top: -4px;            opacity: 0; }
  10%  { opacity: 1; }
  55%  { top: calc(60% - 3px); opacity: 1; }
  70%  { top: calc(60% - 3px); opacity: 0; transform: translateX(-50%) scale(1.6); }
  71%  { transform: translateX(-50%) scale(1); }
  100% { top: calc(60% - 3px); opacity: 0; }
}

/* Purple-flavoured connector (after purple stages in withdrawal) */
.flow-stage.purple + .flow-connector::before {
  background: linear-gradient(180deg,
    rgba(159,121,184,0.35) 0%,
    rgba(159,121,184,0.85) 60%,
    var(--swapin-purple-100, #D5B6E8) 100%);
  filter:
    drop-shadow(0 0 4px rgba(124,29,201,0.55))
    drop-shadow(0 0 10px rgba(124,29,201,0.4));
}
.flow-stage.purple + .flow-connector::after {
  box-shadow:
    0 0 6px #EAD6F5,
    0 0 14px rgba(159,121,184,0.95),
    0 0 22px rgba(124,29,201,0.55);
}

.auth-chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(124,29,201,0.18);
  border: 1px solid rgba(159,121,184,0.4);
  color: var(--swapin-purple-100);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.auth-chip .num {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(159,121,184,0.4);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 9px;
  color: #fff;
}
.auth-arrow {
  color: rgba(159,121,184,0.4);
  display: inline-flex; align-items: center;
}

.flow-side {
  display: flex; flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
}
.flow-side .points {
  display: flex; flex-direction: column;
  gap: clamp(14px, 1.4vw, 22px);
}
.flow-side .point {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.flow-side .point .arr {
  color: var(--swapin-cyan-400);
  font-weight: 700;
  font-size: 16px;
  margin-top: 1px;
}
.flow-side .point .text {
  font-size: clamp(13px, 1.02vw, 15px);
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
.flow-side .point .text strong { color: #fff; font-weight: 700; }

.flow-cta-row {
  margin-top: clamp(24px, 2.4vw, 36px);
  display: flex; align-items: center; gap: 16px;
}

/* ── CLOSE PANEL ────────────────────────────────────────────────── */
.close-layout {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(28px, 3vw, 48px);
}
.close-layout .headline { max-width: 18ch; }
.close-pills {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  flex-wrap: wrap;
  justify-content: center;
}
.close-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
}
.close-pill .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(42,246,255,0.12);
  border: 1px solid rgba(42,246,255,0.3);
  color: var(--swapin-cyan-400);
  display: flex; align-items: center; justify-content: center;
}
.close-pill .label {
  font-size: clamp(14px, 1.05vw, 16px);
  color: #fff;
  font-weight: 600;
}

.close-cta-block {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.close-qr {
  display: flex; align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px 18px 14px 14px;
}
.close-qr .qr-box {
  width: 92px; height: 92px;
  background: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  position: relative;
  overflow: hidden;
}
.close-qr .qr-box::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(42,246,255,0.5), transparent);
  animation: qrScan 3.2s ease-in-out infinite;
}
@keyframes qrScan {
  0% { top: -10%; }
  50% { top: 100%; }
  100% { top: -10%; }
}
.close-qr .qr-text {
  text-align: left;
}
.close-qr .qr-text .t {
  font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px;
}
.close-qr .qr-text .s {
  font-size: 11px; color: rgba(255,255,255,0.5);
}

.close-footer {
  margin-top: clamp(24px, 2.4vw, 40px);
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.close-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  cursor: pointer;
}
.close-footer a:hover { color: #fff; }

/* ── MOCKUP OVERLAY ─────────────────────────────────────────────── */
.mockup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #07060F;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms var(--ease);
}
.mockup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mockup-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(89,52,191,0.35), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(42,246,255,0.15), transparent 55%);
  pointer-events: none;
}

.mockup-shell {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  z-index: 1;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 1.4vw, 20px) clamp(20px, 2.4vw, 36px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-topbar .left {
  display: flex; align-items: center; gap: 16px;
}
.mockup-topbar .back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.mockup-topbar .back-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.mockup-topbar .flow-title {
  font-size: 13px; color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.mockup-topbar .flow-title b { color: #fff; font-weight: 700; margin-left: 6px; }

/* Flow-switch pill — lets the user jump between deposit/withdrawal without
   bouncing back to the chooser screen */
.mockup-topbar .flow-switch-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  background: rgba(42,246,255,0.08);
  border: 1px solid rgba(42,246,255,0.28);
  color: var(--swapin-cyan-400, #34C4F9);
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: all 180ms var(--ease);
}
.mockup-topbar .flow-switch-btn:hover {
  background: rgba(42,246,255,0.16);
  border-color: rgba(42,246,255,0.55);
  color: #BDF3FF;
  box-shadow: 0 0 0 1px rgba(42,246,255,0.12) inset, 0 0 18px rgba(42,246,255,0.22);
  transform: translateY(-1px);
}
.mockup-topbar .flow-switch-btn:active { transform: translateY(0); }

.mockup-topbar .center {
  display: flex; align-items: center; gap: 12px;
}
.mockup-topbar .step-counter {
  font-size: 12px; color: rgba(255,255,255,0.55);
  font-weight: 600; letter-spacing: 0.04em;
}
.mockup-topbar .step-dots {
  display: flex; gap: 6px;
}
.mockup-topbar .step-dots .d {
  width: 24px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  transition: all 240ms var(--ease);
  cursor: pointer;
}
.mockup-topbar .step-dots .d.done { background: rgba(42,246,255,0.6); }
.mockup-topbar .step-dots .d.curr { background: var(--swapin-cyan-400); box-shadow: 0 0 10px rgba(42,246,255,0.7); }

.mockup-topbar .right {
  display: flex; align-items: center; gap: 12px;
}
.mockup-topbar .demo-tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  background: rgba(253,214,91,0.1);
  border: 1px solid rgba(253,214,91,0.3);
  color: var(--swapin-yellow);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 2.6vw, 48px);
  padding: clamp(24px, 2.6vw, 44px) clamp(24px, 2.6vw, 48px);
  align-items: center;
  overflow: hidden;
}

.mockup-frame-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* "device" frame around mockup screens */
.mockup-frame {
  position: relative;
  width: min(440px, 100%);
  height: min(720px, 90vh);
  background: var(--sc-bg);
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 80px rgba(42,246,255,0.15);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
}
.mockup-frame .sc-statusbar {
  flex-shrink: 0;
  display: flex; justify-content: space-between;
  padding: 14px 24px 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-feature-settings: "tnum";
}
.mockup-frame .sc-statusbar .icons {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px;
}

/* Annotation side */
.mockup-annot {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 32px);
  align-self: center;
  padding-right: clamp(8px, 1.5vw, 24px);
}
.mockup-annot .eyebrow { margin-bottom: 0; }
.mockup-annot h2 {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.mockup-annot .annot-desc {
  font-size: clamp(15px, 1.15vw, 17px);
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.mockup-annot .annot-bullets {
  display: flex; flex-direction: column;
  gap: 12px;
}
.mockup-annot .annot-bullet {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.mockup-annot .annot-bullet .b-icon {
  color: var(--swapin-cyan-400);
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(42,246,255,0.1);
  border: 1px solid rgba(42,246,255,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mockup-annot .annot-foot {
  display: flex; align-items: center; gap: 14px;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.mockup-annot .annot-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 500;
}
.mockup-annot .nav-btns {
  display: flex; gap: 10px; margin-top: 8px;
}
.mockup-annot .nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font: inherit; font-size: 13px;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.mockup-annot .nav-btn:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mockup-annot .nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.mockup-annot .nav-btn.primary {
  background: var(--swapin-cyan-500);
  border-color: var(--swapin-cyan-500);
  color: #0a0418;
  font-weight: 700;
}
.mockup-annot .nav-btn.primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(52,196,249,0.32);
}

/* ── SAMPLE CASINO SCREENS ─────────────────────────────────────── */
.sc-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.sc-hero {
  background: var(--sc-bg);
  color: #fff;
  padding: 20px 24px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.sc-hero .top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.sc-avatar {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.sc-avatar::after {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #FF4F5E;
  border: 2px solid var(--sc-bg);
}
.sc-hero .top-actions {
  display: flex; gap: 8px;
}
.sc-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
}
.sc-icon-btn.gold { color: var(--sc-gold); }

.sc-balance-area {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 24px 0 16px;
  gap: 10px;
}
.sc-balance-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.sc-balance-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
}
.sc-balance-amount .sym { font-size: 32px; font-weight: 300; opacity: 0.9; margin-right: 4px; }
.sc-balance-amount .whole { font-size: 56px; font-weight: 500; }
.sc-balance-amount .dec { font-size: 22px; color: rgba(255,255,255,0.5); margin-left: 2px; }
.sc-balance-amount.bonus { opacity: 0.35; }
.sc-balance-amount.bonus .whole { font-weight: 400; }

.sc-actions {
  padding: 18px 24px 24px;
  display: flex; gap: 12px;
  justify-content: center;
}
.sc-action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font: inherit; font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.sc-action-btn:hover, .sc-action-btn.highlighted {
  background: rgba(42,246,255,0.14);
  border-color: rgba(42,246,255,0.5);
  color: var(--swapin-cyan-400);
}
.sc-action-btn .ic { width: 16px; height: 16px; }

.sc-tx-list {
  background: var(--sc-card-soft);
  flex: 1;
  padding: 16px;
  display: flex; flex-direction: column;
  gap: 10px;
  border-radius: 28px 28px 0 0;
}
.sc-tx-row {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
}
.sc-tx-row .ic {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sc-card-soft);
  border: 1px solid #E7E9EF;
  display: flex; align-items: center; justify-content: center;
  color: #555;
}
.sc-tx-row .body { flex: 1; min-width: 0; }
.sc-tx-row .body .t { font-size: 14px; color: #0a0a0a; font-weight: 500; }
.sc-tx-row .body .d { font-size: 11px; color: #8c8c8c; margin-top: 2px; }
.sc-tx-row .right { text-align: right; }
.sc-tx-row .right .amt { font-size: 14px; color: #0a0a0a; font-weight: 700; }
.sc-tx-row .right .st {
  font-size: 11px;
  margin-top: 2px;
  display: inline-flex; align-items: center; gap: 4px;
  color: #8c8c8c;
}
.sc-tx-row .right .st .d {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--sc-success);
}

/* ── sheets (deposit / withdraw) ──────────────────────────────── */
.sc-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  /* Fixed top inset so JD avatar + Gift icon stay visible above the sheet,
     matching native iOS bottom-sheet behaviour */
  top: clamp(110px, 16%, 140px);
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 18px 22px 22px;
  color: #0a0a0a;
  display: flex; flex-direction: column;
  gap: 14px;
  animation: sheetUp 380ms var(--ease) both;
  overflow-y: auto;
  box-shadow: 0 -16px 40px rgba(0,0,0,0.22);
}
@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.sc-sheet .sh-top {
  display: flex; align-items: center; justify-content: space-between;
}
.sc-sheet .sh-back, .sc-sheet .sh-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0a;
}
.sc-sheet h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}
.sc-sheet .sh-desc {
  font-size: 13px;
  color: #5d5d5d;
  line-height: 1.55;
}
.sc-sheet .net-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  background: #F4F5F8;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 600;
}
.sc-sheet .net-pill .dot { width: 14px; height: 14px; border-radius: 50%; background: #C82027; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 7px; }

.sc-method-row, .sc-provider-row, .sc-network-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 4px;
  cursor: pointer;
  border-bottom: 1px solid #EEF0F4;
  transition: background 160ms var(--ease);
}
.sc-method-row:last-child, .sc-provider-row:last-child, .sc-network-row:last-child {
  border-bottom: 0;
}
.sc-method-row:hover, .sc-method-row.highlighted,
.sc-provider-row:hover, .sc-provider-row.highlighted,
.sc-network-row:hover, .sc-network-row.highlighted {
  background: rgba(42,246,255,0.06);
  border-radius: 12px;
}
.sc-method-row .ic, .sc-provider-row .ic, .sc-network-row .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #F4F5F8;
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0a;
}
.sc-provider-row .ic { border-radius: 50%; background: #1E78D6; color: #fff; font-weight: 700; font-size: 14px; }
.sc-provider-row .ic.usdt { background: #1E78D6; }
.sc-provider-row .ic.eth { background: linear-gradient(135deg, #627EEA, #3D4D8F); }
.sc-provider-row .ic.btc { background: #F7931A; }
.sc-provider-row .ic.ton { background: #0098EA; }
.sc-provider-row .ic.trx { background: #EB0029; }

.sc-network-row .ic.eth { background: #627EEA; color: #fff; }
.sc-network-row .ic.tron { background: #EB0029; color: #fff; }

.sc-method-row .name, .sc-provider-row .name, .sc-network-row .name {
  font-size: 15px; font-weight: 600;
}
.sc-method-row .sub, .sc-provider-row .sub, .sc-network-row .sub {
  font-size: 12px; color: #8c8c8c; margin-top: 2px;
}
.sc-method-row .chev, .sc-provider-row .chev, .sc-network-row .chev {
  color: #b8b8b8;
}

.sc-deposit-card {
  background: #F4F8F6;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.sc-deposit-card .addr {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #0a0a0a;
}
.sc-deposit-card .copy {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid #E0E3EA;
  border-radius: 999px;
  height: 32px; padding: 0 12px;
  font-size: 12px; font-weight: 600;
  color: #0a0a0a;
  cursor: pointer;
}

.sc-qr {
  margin: 0 auto;
  width: 160px; height: 160px;
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #EEF0F4;
}
.sc-qr svg { width: 140px; height: 140px; }

.sc-kv-list { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.sc-kv {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.sc-kv .k { color: #8c8c8c; }
.sc-kv .v { color: #0a0a0a; font-weight: 600; }
.sc-kv .v.mono { font-family: var(--font-mono); }
.sc-kv .v .nb {
  display: inline-flex; align-items: center; gap: 6px;
}

.sc-prim-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  height: 52px;
  border-radius: 999px;
  background: #DBE9E5;
  color: #0a0a0a;
  font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer;
  border: 0;
  transition: all 200ms var(--ease);
  margin-top: 4px;
}
.sc-prim-btn:hover {
  background: #C9DDD8;
}
.sc-prim-btn.dark { background: #0a0a0a; color: #fff; }
.sc-prim-btn.dark:hover { background: #1a1a1a; }
.sc-prim-btn.split { display: flex; gap: 8px; padding: 0; background: transparent; }
.sc-prim-btn-row { display: flex; gap: 10px; }
.sc-prim-btn-row .sc-prim-btn { margin: 0; flex: 1; }

.sc-input {
  border: 1px solid #DDE1E8;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}
.sc-input input {
  flex: 1; min-width: 0;
  background: transparent;
  border: 0; outline: 0;
  font: inherit;
}
.sc-input .scan-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: #555;
}
.sc-input .eur-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: #0a0a0a;
  font-size: 14px;
}
.sc-input .eur-tag .b {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sc-gold);
  color: #fff;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}

.sc-warn {
  background: #FFF8E6;
  border: 1px solid #FBE7A3;
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: #6f5a14;
  line-height: 1.5;
}

.sc-trans-tracker { display: flex; flex-direction: column; gap: 0; }
.sc-trans-step {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}
.sc-trans-step .ic-wrap {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #E0E3EA;
}
.sc-trans-step.active .ic-wrap {
  background: rgba(253,214,91,0.18);
  border-color: rgba(253,214,91,0.5);
  color: #C99A1D;
}
.sc-trans-step.done .ic-wrap {
  background: rgba(79,176,122,0.12);
  border-color: rgba(79,176,122,0.45);
  color: var(--sc-success);
}
.sc-trans-step .lab .t { font-size: 14px; font-weight: 700; color: #0a0a0a; }
.sc-trans-step.future .lab .t { color: #b8b8b8; font-weight: 500; }
.sc-trans-step .lab .s { font-size: 11.5px; color: #8c8c8c; margin-top: 2px; }
.sc-trans-step .right { text-align: right; }
.sc-trans-step .right .a { font-size: 18px; font-weight: 700; color: #b8b8b8; }
.sc-trans-step .right .a.small { font-size: 13px; color: #b8b8b8; }
.sc-trans-step.future .right .a { color: #c8c8c8; }
.sc-trans-step .connector {
  margin-left: 19px;
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, rgba(253,214,91,0.4), rgba(0,0,0,0.05));
}
.sc-trans-step .pending-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #C99A1D;
}
.sc-trans-step .pending-badge .d {
  width: 5px; height: 5px; border-radius: 50%;
  background: #FDD65B;
  animation: pulseDot 1.6s ease-in-out infinite;
}

.sc-amount-input {
  border: 1px solid #DDE1E8;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 22px; color: #0a0a0a; font-weight: 500;
}

/* mockup overlay - intro page */
.intro-prompt {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2vw, 28px);
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  display: inline-flex; align-items: center; gap: 8px;
  animation: bobble 2.6s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* tap target indicator (cyan pulse around tappable buttons) */
.tap-pulse { position: relative; }
.tap-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid var(--swapin-cyan-400);
  opacity: 0.7;
  animation: pulseRing 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ── small responsive tweaks ─────────────────────────────────────── */
@media (max-width: 1280px) {
  .pitch-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────────────────────
   iPad landscape & short-viewport overrides
   Targets all iPad sizes in landscape (1024×768 → 1366×1024).
   Every panel is 100vh — content inside .panel-inner must NOT exceed
   the viewport height, otherwise the section becomes unreadable since
   panel overflow is hidden.
───────────────────────────────────────────────────────────────── */
@media (max-height: 1100px) {
  /* tighter panel padding (top/bottom) */
  .panel-inner {
    padding: clamp(56px, 8vh, 80px) clamp(28px, 4vw, 80px) clamp(20px, 3vh, 36px);
  }

  /* type scale tied to vh so it shrinks with the viewport */
  .headline      { font-size: clamp(28px, 5.4vh, 52px); }
  .subhead       { font-size: clamp(13px, 1.9vh, 17px); margin-top: clamp(8px, 1.4vh, 14px); }
  .eyebrow       { font-size: 11px; }

  /* ── HERO ── */
  .hero-layout  { gap: clamp(14px, 2vh, 24px); }
  .hero-cols    { gap: clamp(24px, 3vw, 48px); margin-top: clamp(10px, 1.4vh, 18px); }
  .hero-col h4  { font-size: clamp(14px, 1.8vh, 18px); margin-bottom: 6px; }
  .hero-col p   { font-size: clamp(12px, 1.5vh, 14px); line-height: 1.5; }
  .pillars      { gap: clamp(8px, 1.2vh, 14px); }
  .pillar .title, .pillar .body { font-size: clamp(12px, 1.5vh, 14px); }

  .proven-band {
    padding: clamp(10px, 1.4vh, 16px) clamp(16px, 2vw, 22px);
    font-size: clamp(11px, 1.5vh, 13px);
    margin-top: clamp(12px, 1.6vh, 20px);
  }
  .pillar-proven {
    padding: clamp(8px, 1.2vh, 12px) clamp(10px, 1.2vw, 14px);
    font-size: clamp(11px, 1.4vh, 13px);
    margin-top: clamp(8px, 1.2vh, 14px);
    line-height: 1.45;
  }

  .trust-strip {
    margin-top: clamp(10px, 1.4vh, 18px);
    gap: clamp(14px, 2vw, 28px);
  }
  .trust-strip .item,
  .trust-strip .trustpilot-pill {
    height: 40px;
  }
  .trust-strip .item { padding: 4px 10px; }
  .trust-strip .trustpilot-pill { padding: 0 12px; font-size: 12px; gap: 8px; }
  .trust-strip .item img { max-width: 110px; }
  .trust-strip .item--wide img { min-width: 170px; max-width: 200px; }

  .hero-cta-row { margin-top: clamp(14px, 2vh, 24px); }
  .hero-cta-row .cta { padding: 12px 22px; font-size: 14px; }

  /* ── PITCH ── */
  .pitch-grid { gap: clamp(12px, 1.6vh, 18px); margin-top: clamp(18px, 2.6vh, 32px); }
  .value-card { min-height: 0; padding: clamp(14px, 2vh, 20px); }
  .value-card .icon-wrap { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 10px; }
  .value-card .icon-wrap svg { width: 18px; height: 18px; }
  .value-card h4 { font-size: clamp(14px, 1.9vh, 17px); }
  .value-card p  { font-size: clamp(12px, 1.5vh, 14px); line-height: 1.45; }
  .pitch-foot    { margin-top: clamp(12px, 1.8vh, 20px); font-size: 12px; }

  /* ── ARCHITECTURE ── */
  .arch-layout { gap: clamp(14px, 2vw, 28px); margin-top: clamp(10px, 1.6vh, 20px); }
  .arch-header .headline { font-size: clamp(22px, 3.8vh, 34px); }
  .arch-header .subhead  { font-size: clamp(12px, 1.6vh, 15px); margin-top: 8px; }
  .arch-flow { max-width: 480px; }
  .arch-connector { height: clamp(44px, 6vh, 64px); margin-left: 16px; gap: 12px; }
  .arch-connector .arch-lane { width: 20px; }
  .lane-tag { padding: 5px 10px; font-size: clamp(9px, 1vh, 11px); }
  .arch-table .head { padding: 10px 16px; }
  .arch-table .head .col-title { font-size: 10px; }
  .arch-table .row { padding: 8px 16px; }
  .arch-table .row .who { font-size: 12px; }
  .arch-table .row .cell { font-size: 11.5px; line-height: 1.35; }
  .arch-table .row .who .num { width: 16px; height: 16px; font-size: 9px; margin-right: 6px; }

  /* ── CHOOSER ── */
  .chooser-cards { gap: clamp(16px, 2vw, 28px); margin-top: clamp(24px, 3vh, 44px); }
  .chooser-card {
    padding: clamp(20px, 3vh, 36px) clamp(22px, 2.6vw, 38px);
    min-height: clamp(220px, 30vh, 320px);
    gap: clamp(12px, 1.6vh, 20px);
  }
  .chooser-card .arrow-art { font-size: 44px; }
  .chooser-card .arrow-art svg { width: 44px; height: 44px; }
  .chooser-card h3 { font-size: clamp(20px, 2.8vh, 28px); }
  .chooser-card .sub { font-size: clamp(12px, 1.6vh, 14px); }
  .chooser-hint { margin-top: clamp(16px, 2.2vh, 28px); font-size: 12px; }

  /* ── FLOW EXPLAINERS (deposit / withdrawal) ── */
  .flow-layout { gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(16px, 2vh, 26px); }
  .flow-chart  { gap: clamp(4px, 0.6vh, 8px); }
  .flow-stage  { padding: 8px 14px; grid-template-columns: 36px 1fr; gap: 12px; }
  .flow-stage .stage-icon { width: 36px; height: 36px; border-radius: 10px; }
  .flow-stage .stage-icon svg { width: 18px; height: 18px; }
  .flow-stage .stage-title { font-size: 13px; }
  .flow-stage .stage-where { font-size: 10px; margin-bottom: 3px; }
  .flow-stage .stage-desc  { font-size: 12px; line-height: 1.4; }
  .flow-connector { height: 22px; width: 36px; margin-left: 14px; }

  /* ── CLOSE ── */
  .close-layout { gap: clamp(18px, 2.6vh, 36px); }
}

/* Very short — older iPad / iPad mini landscape (768px) */
@media (max-height: 780px) {
  .panel-inner { padding: clamp(48px, 6.5vh, 64px) clamp(24px, 3vw, 60px) clamp(16px, 2vh, 28px); }
  .headline    { font-size: clamp(24px, 5vh, 40px); }
  .subhead     { font-size: clamp(12px, 1.8vh, 15px); }

  /* Hero gets the tightest squeeze */
  .hero-cols     { gap: clamp(20px, 3vw, 36px); margin-top: 8px; }
  .hero-col h4   { font-size: 14px; margin-bottom: 4px; }
  .hero-col p    { font-size: 12px; line-height: 1.45; }
  .pillars       { gap: 6px; }
  .proven-band   { padding: 8px 16px; font-size: 11px; margin-top: 10px; }
  .pillar-proven { padding: 7px 11px; font-size: 11px; margin-top: 8px; line-height: 1.4; }
  .trust-strip   { margin-top: 10px; gap: 16px; }
  .trust-strip .item, .trust-strip .trustpilot-pill { height: 34px; }
  .trust-strip .item img { max-width: 90px; }
  .trust-strip .item--wide img { min-width: 140px; max-width: 170px; }
  .hero-cta-row  { margin-top: 12px; }

  /* Architecture: tightest case (iPad mini landscape 1024×768 and shorter) */
  .arch-layout { gap: 14px; }
  .arch-video-frame { border-radius: 12px; }
  .arch-table .head, .arch-table .row { padding: 7px 14px; }
  .arch-table .row .cell { font-size: 11px; }
  .arch-table .row .who  { font-size: 11.5px; }
}

/* iPad landscape & similar (≤1100w × ≤820h):
   tighten further so the hero's trust-strip stays on one row and
   .hero-cta-row doesn't get clipped by the panel overflow */
@media (max-height: 820px) and (max-width: 1100px) {
  .panel-inner { padding: 44px clamp(22px, 2.6vw, 44px) 14px; }

  /* Hero compaction */
  .hero-headline { font-size: clamp(22px, 4.4vh, 30px) !important; line-height: 1.1; }
  .hero-layout   { gap: clamp(10px, 1.4vh, 16px); }
  .hero-cols     { gap: clamp(18px, 2.4vw, 28px); margin-top: 6px; }
  .hero-col h4   { font-size: 13px; margin-bottom: 3px; }
  .hero-col p    { font-size: 11.5px; line-height: 1.4; }
  .pillars       { gap: 5px; }
  .pillar .title, .pillar .body { font-size: 11.5px; }
  .proven-band   { padding: 7px 14px; font-size: 10.5px; margin-top: 8px; }
  .pillar-proven { padding: 7px 11px; font-size: 10.5px; margin-top: 8px; }

  /* keep trust strip on one line */
  .trust-strip   { margin-top: 8px; gap: 12px; flex-wrap: nowrap; }
  .trust-strip .item,
  .trust-strip .trustpilot-pill { height: 30px; }
  .trust-strip .item { padding: 3px 8px; }
  .trust-strip .item img { max-width: 70px; }
  .trust-strip .item--wide img { min-width: 110px; max-width: 130px; }
  .trust-strip .trustpilot-pill { padding: 0 10px; font-size: 10.5px; gap: 6px; }

  .hero-cta-row  { margin-top: 10px; }
  .hero-cta-row .cta { padding: 10px 18px; font-size: 13px; }
  .hero-cta-row .hint { font-size: 11px; }
}

/* legacy block — kept for the very tightest case (mobile devices in landscape) */
@media (max-height: 640px) {
  .panel-inner { padding: 40px clamp(20px, 3vw, 48px) 20px; }
  .headline    { font-size: clamp(22px, 4.8vh, 32px); }
}
