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

:root {
  --bg: #07060f;
  --bg-elev: #0e0c1a;
  --surface: rgba(255,255,255,0.045);
  --surface-h: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-h: rgba(255,255,255,0.16);
  --purple: #7c3aed;
  --purple-mid: #6d28d9;
  --purple-lite: #a855f7;
  --purple-deep: #5b21b6;
  --purple-glow: rgba(124,58,237,0.45);
  --cyan: #22d3ee;
  --mint: #7be7b0;
  --white: #FFFFFF;
  --text: rgba(255,255,255,0.94);
  --text-2: rgba(232,234,240,0.68);
  --text-3: rgba(232,234,240,0.38);
  --radius: 18px;
  --radius-lg: 28px;
  --f: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 64px;
  --max: 1140px;
  --phone-w: 280px;
  --phone-h: 580px;
}

html { scroll-padding-top: 72px; }
/* Instant scroll — smooth scroll feels laggy with demos/animations */
section[id], div[id] { scroll-margin-top: 72px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  /* Static glow on body — avoids fixed-layer repaints while scrolling */
  background-image: radial-gradient(ellipse 70% 45% at 70% 0%, rgba(123,97,255,0.22), transparent 55%);
  background-repeat: no-repeat;
  background-attachment: scroll;
}

body.menu-lock { overflow: hidden; }

.aura {
  display: none; /* replaced by body background — fixed full-screen aura caused scroll jank */
}

.z { position: relative; z-index: 2; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--purple-lite); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }

/* ── NAV ── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  border-bottom: 1px solid #1c1a2e;
  background: #07060f;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  gap: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--white);
}
.logo-gem {
  width: 34px; height: 34px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(167,139,250,0.25), 0 8px 24px rgba(124,58,237,0.35);
}
.logo-gem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-txt {
  font-size: 17px; font-weight: 700; letter-spacing: -0.4px; color: var(--white);
}
.logo-txt em { font-style: normal; color: var(--purple-lite); }

.nav-items { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-items a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 550;
}
.nav-items a:hover { color: var(--text); background: var(--surface-h); }

.nav-socials { display: flex; align-items: center; gap: 3px; }
.nav-socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--text-3);
}
.nav-socials a:hover { color: var(--text); background: var(--surface-h); }
.nav-socials svg { width: 16px; height: 16px; fill: currentColor; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4), inset 0 1px 0 rgba(255,255,255,0.18);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(34,211,238,0.3), inset 0 1px 0 rgba(255,255,255,0.2); color: #fff !important; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; width: 16px; height: 2px;
  background: currentColor;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: #07060f;
}
.mobile-drawer a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-2);
  font-weight: 550;
}
.mobile-drawer a:hover { background: var(--surface-h); color: var(--text); }
.mobile-drawer .md-cta {
  margin-top: 8px;
  text-align: center;
  background: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
  color: #fff !important;
}
nav.menu-open .mobile-drawer { display: flex; }

@media (max-width: 960px) {
  .nav-items, .nav-socials, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ── BUTTONS (match VYOChat) ── */
.btn-p {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
  color: #fff !important; font-family: var(--f); font-size: 14.5px; font-weight: 700;
  padding: 14px 26px; border-radius: 14px; border: none; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 28px rgba(124,58,237,0.4), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(34,211,238,0.35), inset 0 1px 0 rgba(255,255,255,0.2); color: #fff !important; }
.btn-p:active { transform: translateY(0) scale(0.98); }
.btn-g {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--text-2) !important; font-family: var(--f); font-size: 14.5px; font-weight: 600;
  padding: 14px 26px; border-radius: 14px;
  border: 1px solid var(--border-h); cursor: pointer; text-decoration: none;
  transition: color .15s, background .15s, border-color .15s, transform .15s;
}
.btn-g:hover { color: var(--text) !important; background: var(--surface-h); border-color: rgba(34,211,238,0.35); }
.btn-g:active { transform: scale(0.98); }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #0a0914;
  border: 1px solid var(--border-h);
  color: var(--white) !important;
  min-width: 180px;
  transition: border-color .2s, transform .2s, background .2s;
}
.store-btn:hover {
  border-color: rgba(34,211,238,0.45);
  background: var(--bg-elev);
  transform: translateY(-1px);
  color: var(--white) !important;
}
.store-btn svg { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; }
.store-btn em { display: block; font-style: normal; font-size: 11px; color: var(--text-3); line-height: 1.2; }
.store-btn strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }

/* ── HERO ── */
.hero {
  padding: calc(var(--nav-h) + 56px) 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(168,140,255,0.28);
  color: var(--purple-lite);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-kicker i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  /* no infinite pulse — was causing continuous paint during scroll */
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--white);
}
.hero h1 em { font-style: normal; color: var(--purple-lite); }
.hero-lead {
  font-size: 18px;
  color: var(--text-2);
  max-width: 48ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 550;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof strong { color: var(--text); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@keyframes bubPop {
  0% { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.92); }
  70% { opacity: 1; transform: translate3d(0, -1px, 0) scale(1.02); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes sendPulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(0.88); }
  70% { transform: scale(1.1); }
}
@keyframes flightArc {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.85); }
  12% { opacity: 1; transform: translate3d(10%, -22px, 0) scale(1); }
  55% { opacity: 1; transform: translate3d(85%, -30px, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(100%, 4px, 0) scale(0.85); }
}
@keyframes balFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
  40% { box-shadow: 0 0 0 4px rgba(34,211,238,0.35); }
}
@keyframes floatSoft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

/* Hero phone (single) */
.phone-stage {
  position: relative;
  height: min(640px, 78vh);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-stage::before {
  content: '';
  position: absolute;
  width: 55%; height: 40%;
  border-radius: 50%;
  background: rgba(123,97,255,0.2);
  z-index: 0;
  contain: strict;
}
.phone {
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  border-radius: 42px;
  background: #0A0A12;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  overflow: hidden;
  z-index: 2;
}
.phone::after {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #05050a;
  border-radius: 20px;
  z-index: 20;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-screen {
  position: absolute;
  inset: 0;
  background: #0A0A12;
  display: flex;
  flex-direction: column;
  padding: 44px 14px 18px;
  overflow: hidden;
}
@media (min-width: 981px) {
  .phone-main { /* float disabled for scroll performance */ }
}
.ph-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ph-brand { font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }
.ph-brand em { font-style: normal; color: var(--purple-lite); }
.ph-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: grid; place-items: center;
  color: var(--text-2);
}
.ph-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.ph-card {
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(124,58,237,0.45), rgba(34,211,238,0.22));
  border: 1px solid rgba(168,140,255,0.3);
  margin-bottom: 12px;
}
.ph-card-lbl { font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.ph-card-bal { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.ph-card-sub { font-size: 12px; color: #7BE7B0; margin-top: 4px; }
.ph-acts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.ph-act {
  text-align: center;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 650;
  color: var(--text-2);
}
.ph-act i {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  margin: 0 auto 6px;
  border-radius: 10px;
  background: rgba(124,58,237,0.25);
  color: var(--purple-lite);
  font-style: normal;
  font-weight: 700;
}
.ph-section {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 8px;
}
.ph-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ph-row:last-child { border-bottom: 0; }
.ph-token {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 13px;
  background: linear-gradient(145deg, #8B74FF, #5F3CF0);
}
.ph-token.usdc { background: linear-gradient(145deg, #22d3ee, #0891B2); }
.ph-token.bnb { background: linear-gradient(145deg, #F0B90B, #F3BA2F); color: #111; }
.ph-token.eth { background: linear-gradient(145deg, #627EEA, #3C3C3D); }
.ph-token.pgd {
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.ph-token.pgd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 11px;
}
.ph-meta { flex: 1; min-width: 0; }
.ph-meta strong { display: block; font-size: 13px; font-weight: 700; }
.ph-meta span { font-size: 11px; color: var(--text-3); }
.ph-amt { font-size: 13px; font-weight: 700; }

/* ── LIVE TOKEN DEMO (2 phones) ── */
.live-demo { overflow: hidden; }
.live-demo .sec-head { margin-bottom: 28px; text-align: center; margin-left: auto; margin-right: auto; }
.live-demo .sec-sub { margin-left: auto; margin-right: auto; }
.ld-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 36px;
}
.ld-tab {
  font-family: var(--f); font-size: 13px; font-weight: 700;
  color: var(--text-3); background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s, border-color .15s, background .15s;
}
.ld-tab svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ld-tab:hover { color: var(--text-2); border-color: var(--border-h); }
.ld-tab.is-on {
  color: #fff;
  background: linear-gradient(135deg, rgba(139,116,255,.35), rgba(34,211,238,.22));
  border-color: rgba(168,140,255,.45);
}
.ld-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  min-height: 540px;
  --ld-w: 250px;
  --ld-h: 520px;
}
.ld-stage::before {
  content: '';
  position: absolute;
  width: min(520px, 70%);
  height: 35%;
  border-radius: 50%;
  background: rgba(123,97,255,0.16);
  z-index: 0;
  pointer-events: none;
  contain: strict;
}
.ld-phone {
  position: relative;
  width: 250px;
  height: 520px;
  border-radius: 40px;
  background: #0A0A12;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
  overflow: hidden;
  z-index: 2;
  flex-shrink: 0;
}
.ld-stage .ld-phone {
  width: var(--ld-w);
  height: var(--ld-h);
}
.ld-phone::after {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #05050a;
  border-radius: 18px;
  z-index: 20;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.ld-phone-a { transform: rotate(-4deg) translateY(6px); }
.ld-phone-b { transform: rotate(4deg) translateY(12px); }
.ld-screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 42px 12px 14px;
  background: #0A0A12;
  overflow: hidden;
}
.ld-panel { display: none; flex: 1; flex-direction: column; min-height: 0; }
.ld-panel.is-on { display: flex; }
.ld-label {
  text-align: center;
  margin-top: 18px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3);
}
.ld-label span { color: var(--purple-lite); }
.ld-flight {
  position: absolute;
  left: 22%; right: 22%; top: 42%;
  height: 0; z-index: 8;
  pointer-events: none;
}
.ld-flight-bub {
  position: absolute; left: 0; top: 0;
  max-width: 160px;
  padding: 8px 14px;
  font-size: 12px; font-weight: 700;
  color: #fff; line-height: 1.3;
  background: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 8px 28px rgba(123,97,255,0.55);
  white-space: nowrap; opacity: 0;
}
.ld-flight.is-flying .ld-flight-bub { animation: flightArc .45s cubic-bezier(.2,.7,.2,1) both; }
.ld-flight.is-flying.is-reverse .ld-flight-bub { animation: flightArcRev .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes flightArcRev {
  0% { opacity: 0; transform: translate3d(100%, 0, 0) scale(0.85); }
  12% { opacity: 1; transform: translate3d(85%, -22px, 0) scale(1); }
  55% { opacity: 1; transform: translate3d(10%, -30px, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(0, 4px, 0) scale(0.85); }
}
.tx-send.is-firing { animation: sendPulse .26s ease; }
.bal-flash { animation: balFlash .55s ease; }
.ld-live[hidden] { display: none !important; }
.ld-live.is-in { animation: bubPop .22s cubic-bezier(.2,.9,.2,1) both; }

.tx-hdr {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.tx-av {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, #8B74FF, #5F3CF0);
  flex-shrink: 0;
}
.tx-av.cyan { background: linear-gradient(145deg, #22D3EE, #0891B2); }
.tx-hdr-meta { flex: 1; min-width: 0; }
.tx-name { font-size: 13px; font-weight: 700; color: #fff; }
.tx-sub { font-size: 10px; color: var(--text-3); }
.tx-bal-card {
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(124,58,237,0.4), rgba(34,211,238,0.18));
  border: 1px solid rgba(168,140,255,0.28);
  margin-bottom: 12px;
}
.tx-bal-lbl { font-size: 11px; color: rgba(255,255,255,0.65); }
.tx-bal-val { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-top: 2px; }
.tx-bal-chg { font-size: 11px; color: #7BE7B0; margin-top: 4px; min-height: 14px; }
.tx-bal-chg.is-down { color: #F87171; }
.tx-field {
  background: #141428;
  border: 1px solid #2A2A48;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.tx-field-lbl { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 4px; }
.tx-field-val { font-size: 13px; font-weight: 650; color: var(--text); }
.tx-field-val.hi { color: var(--purple-lite); }
.tx-field.is-typing .tx-field-val { color: #E8EAF0; }
.tx-send {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
  color: #fff;
  font-size: 13px; font-weight: 750;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4), inset 0 1px 0 rgba(255,255,255,0.18);
}
.tx-send svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tx-status {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 650;
  color: var(--text-3);
  text-align: center;
  min-height: 16px;
}
.tx-status.is-ok { color: #4ADE80; }
.tx-status.is-wait { color: var(--cyan); }
.tx-feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}
.tx-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 11px;
}
.tx-row .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
}
.tx-row .dot.out { background: var(--purple-lite); }
.tx-row strong { display: block; color: #fff; font-size: 12px; }
.tx-row span { color: var(--text-3); }
.tx-row .amt { margin-left: auto; font-weight: 750; color: #4ADE80; white-space: nowrap; }
.tx-row .amt.out { color: #F87171; }
.tx-qr {
  width: 120px; height: 120px;
  margin: 12px auto;
  border-radius: 14px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 12px;
}
.tx-qr b { background: #111; border-radius: 2px; }
.tx-qr b.off { background: transparent; }
.tx-addr {
  text-align: center;
  font-size: 10px;
  color: var(--text-3);
  font-family: ui-monospace, monospace;
  word-break: break-all;
}

@media (max-width: 760px) {
  .ld-stage {
    gap: clamp(6px, 2vw, 14px);
    min-height: 0;
    padding: 4px 0 8px;
    --ld-w: min(156px, 42vw);
    --ld-h: auto;
  }
  .ld-stage > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    max-width: 46%;
  }
  .ld-stage .ld-phone {
    width: var(--ld-w);
    height: auto;
    aspect-ratio: 250 / 520;
    border-radius: 28px;
  }
  .ld-stage .ld-phone::after { width: 52px; height: 14px; top: 7px; border-radius: 12px; }
  .ld-stage .ld-screen { padding: 28px 8px 10px; }
  .ld-phone-a { transform: rotate(-3deg) translateY(2px); }
  .ld-phone-b { transform: rotate(3deg) translateY(6px); }
  .ld-flight { left: 30%; right: 30%; top: 36%; }
  .ld-flight-bub { max-width: 88px; font-size: 9px; padding: 5px 8px; }
  .ld-label { margin-top: 10px; font-size: 9px; }
  .tx-bal-val { font-size: 16px; }
  .tx-send { padding: 8px; font-size: 11px; }
  .tx-field { padding: 7px 8px; }
  .tx-field-val { font-size: 11px; }
  .phone-stage { height: auto; min-height: 0; padding: 12px 0; --phone-w: min(200px, 56vw); --phone-h: auto; }
  .phone { width: var(--phone-w); height: auto; aspect-ratio: 280 / 580; border-radius: 28px; }
  .phone::after { width: 52px; height: 14px; }
  .phone-screen { padding: 30px 10px 12px; }
  .ph-card-bal { font-size: 18px; }
}

/* ── SECTIONS ── */
.sec { padding: 88px 0; }
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,140,255,0.25), transparent);
  max-width: var(--max);
  margin: 0 auto;
}
.sec-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-lite);
  margin-bottom: 10px;
}
.sec-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}
.sec-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 58ch;
}

.sec-head { margin-bottom: 40px; }

/* Features grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat:hover {
  border-color: rgba(34,211,238,0.35);
  background: var(--surface-h);
}
.feat {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
  contain: layout style;
}
.feat-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(168,140,255,0.22);
  margin-bottom: 16px;
}
.feat-ico svg { width: 24px; height: 24px; }
.feat h3 {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--white);
}
.feat p { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* Security */
.sec-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sec-list { display: flex; flex-direction: column; gap: 14px; }
.sec-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.sec-item:hover {
  border-color: rgba(168,140,255,0.35);
  background: var(--surface-h);
}
.sec-item.is-on {
  border-color: rgba(124,58,237,0.55);
  background: rgba(124,58,237,0.14);
  box-shadow: 0 0 0 1px rgba(124,58,237,0.2);
}
.sec-item .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mint);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--mint);
}
.sec-item.is-on .dot {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.sec-item h4 { font-size: 15px; font-weight: 750; color: var(--white); margin-bottom: 4px; }
.sec-item p { font-size: 13px; color: var(--text-2); }

.enhance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.enhance {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(124,58,237,0.18), rgba(14,12,26,0.8));
  border: 1px solid rgba(168,140,255,0.2);
}
.enhance strong {
  display: block;
  font-size: 14px;
  font-weight: 750;
  color: var(--white);
  margin-bottom: 6px;
}
.enhance span { font-size: 13px; color: var(--text-2); }

/* Ecosystem */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.eco-card {
  display: block;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.eco-card:hover {
  border-color: rgba(168,140,255,0.4);
  transform: translateY(-2px);
  color: inherit;
}
.eco-card strong { display: block; color: var(--white); margin-bottom: 4px; font-size: 15px; }
.eco-card span { font-size: 13px; color: var(--text-3); }

/* Download CTA */
.download-band {
  padding: 56px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 80% at 90% 10%, rgba(124,58,237,0.35), transparent 55%),
    linear-gradient(145deg, #120f22, #0a0914);
  border: 1px solid rgba(168,140,255,0.25);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.download-band h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 10px;
}
.download-band p { color: var(--text-2); margin-bottom: 22px; max-width: 46ch; }
.download-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.download-side img {
  width: 96px; height: 96px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(124,58,237,0.4);
}

/* Community */
.scards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.scard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.scard:hover {
  border-color: rgba(168,140,255,0.4);
  transform: translateY(-2px);
  color: inherit;
}
.scard svg { width: 22px; height: 22px; fill: var(--purple-lite); flex-shrink: 0; }
.sc-label { font-size: 14px; font-weight: 700; color: var(--white); }
.sc-handle { font-size: 12px; color: var(--text-3); }

/* ── FOOTER ── */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
  max-width: 36ch;
}
.foot-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.foot-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--text-2); font-size: 14px; font-weight: 550; }
.foot-col a:hover { color: var(--text); }

.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.foot-bottom p { font-size: 13px; color: var(--text-3); }
.foot-bottom .reg { font-size: 12px; opacity: 0.85; }
.foot-socs { display: flex; gap: 8px; }
.foot-socs a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.foot-socs a:hover { color: var(--text); border-color: rgba(168,140,255,0.4); }
.foot-socs svg { width: 16px; height: 16px; fill: currentColor; }

/* Legal pages */
.legal-hero {
  padding: calc(var(--nav-h) + 48px) 0 40px;
}
.legal-hero .eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-lite);
  margin-bottom: 12px;
}
.legal-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
}
.legal-hero h1 em { font-style: normal; color: var(--purple-lite); }
.legal-hero .lead { color: var(--text-2); max-width: 60ch; margin-bottom: 18px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
}
.chip code {
  font-family: ui-monospace, monospace;
  color: var(--purple-lite);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding-bottom: 80px;
}
.toc {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.toc h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 12px;
}
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.toc a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.toc a:hover, .toc a.active {
  background: rgba(124,58,237,0.18);
  color: var(--white);
}

.legal-content .section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.legal-content .section:last-child { border-bottom: 0; }
.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.legal-content .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple-lite);
  letter-spacing: 0.06em;
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 750;
  color: var(--white);
  margin: 18px 0 8px;
}
.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.legal-content ul, .legal-content ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-content code {
  font-family: ui-monospace, monospace;
  font-size: 0.92em;
  color: var(--purple-lite);
  background: rgba(124,58,237,0.12);
  padding: 1px 6px;
  border-radius: 6px;
}
.callout {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(168,140,255,0.25);
}
.callout strong { display: block; margin-bottom: 6px; color: var(--white); }
.callout p { margin: 0; }

/* Reveal — opacity only (transform fights compositor during scroll) */
.reveal {
  opacity: 0;
  transition: opacity .45s ease;
}
.reveal.in { opacity: 1; }

/* Off-screen sections skip layout/paint until near viewport */
.sec {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
.live-demo,
#security {
  content-visibility: visible; /* demos need accurate layout */
}

@media (max-width: 960px) {
  .hero-grid, .sec-layout, .sec-demo-layout, .download-band, .foot-inner, .legal-layout {
    grid-template-columns: 1fr;
  }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .eco-grid, .scards, .net-grid, .import-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .phone-stage { margin-top: 12px; }
  .toc { position: relative; top: 0; }
  .enhance-grid { grid-template-columns: 1fr; }
  .sec-phone-wrap { order: -1; }
  .acct-grid { grid-template-columns: 1fr 1fr; }
  .chain-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 600px) {
  .feat-grid, .eco-grid, .scards, .foot-links, .net-grid, .import-grid, .why-grid, .steps { grid-template-columns: 1fr; }
  .download-band { padding: 28px 20px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
}

/* Networks */
.net-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.net-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.net-badge {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff;
  margin-bottom: 14px;
}
.net-badge.vyo { background: linear-gradient(145deg, #8B74FF, #5F3CF0); }
.net-badge.bsc { background: linear-gradient(145deg, #F0B90B, #F3BA2F); color: #111; }
.net-badge.eth { background: linear-gradient(145deg, #627EEA, #3C3C3D); }
.net-badge-img {
  width: 48px; height: 48px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: transparent;
  box-shadow: none;
}
.net-badge-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.net-card h3 { font-size: 18px; font-weight: 750; color: var(--white); margin-bottom: 8px; }
.net-card p { font-size: 14px; color: var(--text-2); margin-bottom: 14px; line-height: 1.55; }
.net-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.net-card li {
  font-size: 13px; color: var(--text-2);
  padding-left: 18px; position: relative;
}
.net-card li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34,211,238,0.5);
}

.chip-chain {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 6px;
  vertical-align: middle;
}
.chip-chain.vyo { background: rgba(139,116,255,0.25); color: #C4B5FD; }
.chip-chain.bsc { background: rgba(240,185,11,0.2); color: #F0B90B; }
.chip-chain.eth { background: rgba(98,126,234,0.25); color: #8A9DF5; }

/* Security demo layout */
.sec-demo-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.sec-lock {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; text-align: center;
  padding: 24px 12px;
  min-height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(124,58,237,0.35), transparent 55%),
    #0A0A12;
}
.sec-lock-ring {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(168,140,255,0.35);
  color: var(--purple-lite);
}
.sec-lock-ring svg { width: 28px; height: 28px; }
.sec-lock-ring.is-ok {
  background: rgba(74,222,128,0.2);
  border-color: rgba(74,222,128,0.5);
  color: #4ADE80;
}
.sec-lock-title { font-size: 16px; font-weight: 750; color: #fff; }
.sec-lock-sub { font-size: 12px; color: var(--text-3); }
.sec-face {
  display: flex; gap: 10px; margin-top: 8px;
}
.sec-face span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple-lite);
  opacity: 0.45;
}
.sec-face.is-scan span { opacity: 1; background: var(--cyan); }
.sec-review {
  flex: 1;
  display: flex; flex-direction: column;
  min-height: 0;
  padding-bottom: 8px;
}
@keyframes pulseSoft {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(124,58,237,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(124,58,237,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.step-n {
  display: block;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 10px;
}
.step h3 { font-size: 15px; font-weight: 750; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* Import */
.import-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.import-card {
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(124,58,237,0.12), rgba(14,12,26,0.9));
  border: 1px solid rgba(168,140,255,0.2);
}
.import-card h3 { font-size: 16px; font-weight: 750; color: var(--white); margin: 12px 0 8px; }
.import-card p { font-size: 13px; color: var(--text-2); margin-bottom: 14px; line-height: 1.5; }
.import-card code {
  display: block;
  font-size: 11px;
  font-family: ui-monospace, monospace;
  color: var(--purple-lite);
  background: rgba(0,0,0,0.35);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.why-item {
  padding: 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.why-item strong { display: block; color: var(--white); font-size: 15px; margin-bottom: 6px; }
.why-item span { font-size: 13px; color: var(--text-2); }

/* Chain tiles — official network icons from app */
.chain-more-label {
  margin: 28px 0 14px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.chain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}
.chain-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #7c3aed) 18%, transparent);
  transition: border-color .2s, transform .15s, background .2s;
}
.chain-tile:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
  border-color: color-mix(in srgb, var(--c, #7c3aed) 55%, transparent);
}
.chain-tile img {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  box-shadow: none;
}
.chain-tile span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* legacy pills kept for safety */
.chain-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.chain-pill::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c);
}

/* Security demo phone — own size (not inside .ld-stage) */
.sec-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
}
.sec-demo-phone {
  width: 260px;
  height: 540px;
  max-width: 100%;
  transform: none !important;
  margin: 0 auto;
  flex-shrink: 0;
}
.sec-demo-phone .ld-screen {
  position: absolute;
  inset: 0;
}
.sec-mode { display: none; flex: 1; flex-direction: column; min-height: 0; height: 100%; }
.sec-mode.is-on { display: flex; }
.sec-mode[hidden] { display: none !important; }

/* Accounts section */
.acct-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.acct-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.acct-card strong { display: block; color: var(--white); font-size: 15px; margin-bottom: 8px; }
.acct-card span { font-size: 13px; color: var(--text-2); line-height: 1.5; }

.sec-app-mark {
  width: 64px; height: 64px; border-radius: 18px; overflow: hidden;
  margin-bottom: 4px;
  box-shadow: 0 10px 28px rgba(124,58,237,0.4);
}
.sec-app-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pin-dots {
  display: flex; gap: 10px; margin: 14px 0 10px;
}
.pin-dots i {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(168,140,255,0.45);
  background: transparent;
  transition: background .15s, border-color .15s;
}
.pin-dots i.on {
  background: var(--purple-lite);
  border-color: var(--purple-lite);
  box-shadow: 0 0 10px rgba(168,140,255,0.5);
}
.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 200px;
  margin: 8px auto 0;
}
.pin-pad span {
  height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--text-2);
}
.al-opts {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 12px;
  width: 100%;
}
.al-opt {
  font-family: inherit;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-2);
  font-size: 11px; font-weight: 700;
  cursor: default;
}
.al-opt.is-on {
  border-color: var(--purple);
  background: rgba(124,58,237,0.25);
  color: #fff;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 960px) {
  .acct-grid { grid-template-columns: 1fr 1fr; }
  .sec-demo-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }
  .sec-phone-wrap { order: -1; }
  .sec-list { width: 100%; }
  .sec-demo-phone {
    width: min(240px, 70vw);
    height: auto;
    aspect-ratio: 260 / 540;
  }
  .chain-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-title {
    font-size: clamp(22px, 6.5vw, 32px);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .sec-sub { font-size: 14.5px; max-width: none; }
  .hero {
    padding: calc(var(--nav-h) + 24px) 0 36px;
  }
  .hero h1 { font-size: clamp(28px, 8.5vw, 38px); }
  .hero-lead { font-size: 15px; margin-bottom: 20px; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn-p,
  .hero-actions .btn-g { width: 100%; justify-content: center; padding: 13px 20px; }
  .store-row { flex-direction: column; }
  .store-btn { width: 100%; justify-content: center; min-width: 0; }
  .hero-proof {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  /* Tabs: horizontal scroll — no overflow */
  .ld-tabs,
  #secTabs.ld-tabs,
  .live-demo .ld-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 -16px 22px;
    padding: 2px 16px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .ld-tabs::-webkit-scrollbar { display: none; }
  .ld-tab {
    flex: 0 0 auto;
    justify-content: center;
    width: auto;
    max-width: none;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .ld-tab span { white-space: nowrap; }
  .ld-tab svg { flex-shrink: 0; }

  /* Live send demo */
  .ld-stage {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    min-height: 0;
    padding: 4px 0 8px;
    --ld-w: min(220px, 72vw);
    --ld-h: auto;
  }
  .ld-stage > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
  }
  .ld-stage .ld-phone {
    width: var(--ld-w);
    max-width: var(--ld-w);
    height: auto;
    aspect-ratio: 250 / 520;
    border-radius: 28px;
  }
  .ld-phone-a,
  .ld-phone-b { transform: none; }
  .ld-flight { display: none; }
  .ld-label { margin-top: 12px; font-size: 10px; }

  /* Security demo */
  .sec-demo-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }
  .sec-phone-wrap {
    order: -1;
    width: 100%;
  }
  .sec-demo-phone {
    width: min(230px, 68vw);
    height: auto;
    aspect-ratio: 260 / 540;
    border-radius: 32px;
  }
  .sec-demo-phone::after {
    width: 64px;
    height: 16px;
    top: 8px;
  }
  .sec-demo-phone .ld-screen {
    padding: 36px 12px 12px;
  }
  .sec-lock-ring { width: 64px; height: 64px; }
  .sec-lock-ring svg { width: 24px; height: 24px; }
  .sec-lock-title { font-size: 14px; }
  .sec-item {
    padding: 14px;
    gap: 12px;
    border-radius: 14px;
  }
  .sec-item h4 { font-size: 14px; }
  .sec-item p { font-size: 12.5px; line-height: 1.45; }
  .enhance-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .enhance { padding: 14px; }
  .enhance strong { font-size: 13px; }
  .enhance span { font-size: 12px; }

  .feat, .net-card, .acct-card, .import-card, .why-item, .step {
    padding: 16px;
  }
  .feat-grid,
  .net-grid,
  .import-grid,
  .why-grid,
  .acct-grid,
  .steps,
  .eco-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .chain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .chain-tile {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 14px;
    min-width: 0;
  }
  .chain-tile img { width: 30px; height: 30px; border-radius: 8px; }
  .chain-tile span {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .download-band { padding: 24px 16px; }
  .download-side { order: -1; margin-bottom: 4px; }
  .scards { grid-template-columns: 1fr; }
  .foot-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }
  .foot-links { grid-template-columns: 1fr; gap: 22px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-drawer { padding: 12px 16px 20px; }
}

@media (max-width: 600px) {
  .feat-grid,
  .eco-grid,
  .scards,
  .foot-links,
  .net-grid,
  .import-grid,
  .why-grid,
  .steps,
  .acct-grid { grid-template-columns: 1fr; }
  .enhance-grid { grid-template-columns: 1fr; }
  .sec-demo-phone {
    width: min(250px, 78vw);
  }
  .pin-pad { max-width: 170px; gap: 6px; }
  .pin-pad span { height: 32px; font-size: 13px; }
  .al-opts { gap: 6px; }
  .al-opt { padding: 7px 10px; font-size: 10px; }
  .sec-review .tx-field { margin-bottom: 6px; }
  .sec-review .tx-send { padding: 10px; font-size: 12px; }
}

/* Version history chip — sits above the accessibility FAB */
#valygo-version-btn {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 12000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(12, 14, 28, 0.92);
  color: #e8faff;
  text-decoration: none;
  font: 700 12px/1 system-ui, -apple-system, sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#valygo-version-btn:hover,
#valygo-version-btn:focus-visible {
  outline: 3px solid #22d3ee;
  outline-offset: 2px;
  border-color: rgba(34, 211, 238, 0.55);
  color: #fff;
}
#valygo-version-btn .vh-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #22d3ee, #38bdf8);
  color: #041018;
  flex-shrink: 0;
}
#valygo-version-btn .vh-ico svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#valygo-version-btn .vh-label { white-space: nowrap; }
html[dir="rtl"] #valygo-version-btn {
  right: auto;
  left: 18px;
  padding: 0 10px 0 14px;
}
@media (max-width: 640px) {
  #valygo-version-btn {
    right: 12px;
    bottom: calc(62px + env(safe-area-inset-bottom));
    height: 36px;
    padding: 0 12px 0 8px;
    font-size: 11px;
    gap: 6px;
  }
  #valygo-version-btn .vh-ico { width: 22px; height: 22px; }
  #valygo-version-btn .vh-ico svg { width: 12px; height: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; }
}
