:root {
  --page: #050c22;
  --surface: rgba(12, 26, 62, 0.55);
  --surface-strong: rgba(12, 26, 62, 0.82);
  --text: #f7f4ea;
  --muted: #a9b2c9;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #f2bd4b;
  --accent-hover: #ffd36e;
  --violet: #2f5cc8;
  --on-accent: #0b1636;
  --container: 1180px;
  --radius: 20px;
  --font: "Manrope", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-canvas: 0;
  --z-content: 1;
  --z-header: 20;
  --z-fab: 30;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Nền ---------- */
.webgl {
  position: fixed; inset: 0; z-index: var(--z-canvas);
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.webgl.is-ready { opacity: 1; }

/* Nền dự phòng khi không có WebGL; khi có WebGL vẫn giữ làm quầng sáng nhẹ */
.bg-fallback {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 80% 20%, rgba(242, 189, 75, 0.16), transparent 60%),
    radial-gradient(60vmax 60vmax at 10% 90%, rgba(47, 92, 200, 0.2), transparent 60%),
    var(--page);
}

.grain {
  position: fixed; inset: 0; z-index: var(--z-content); pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main, .footer { position: relative; z-index: var(--z-content); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; z-index: var(--z-header);
  top: 14px; left: 50%;
  width: min(var(--container), calc(100% - 32px));
  height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 10px 0 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, transform 0.5s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(6, 14, 38, 0.62);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-hidden { transform: translate(-50%, -120%); }

/* Logo chữ BePay vàng (PNG nền trong suốt) */
.brand { display: inline-flex; align-items: center; height: 46px; padding: 0 6px; }
.brand img { width: auto; height: 38px; filter: drop-shadow(0 4px 18px rgba(242, 189, 75, 0.35)); transition: filter 0.3s ease; }
.brand:hover img { filter: drop-shadow(0 4px 22px rgba(242, 189, 75, 0.6)); }
.footer-brand .brand { height: auto; padding: 0; }
.footer-brand .brand img { height: 56px; }

.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px); font-size: 14px; font-weight: 600; }
.main-nav a { position: relative; padding: 8px 0; color: rgba(255, 255, 255, 0.62); transition: color 0.25s ease; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a.is-active::after { transform: scaleX(1); }

.menu-toggle { display: none; }

/* ---------- Nút ---------- */
.header-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px;
  border-radius: 14px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform 0.3s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}
.header-cta { min-height: 42px; font-size: 14px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.06); }
.header-cta:hover { border-color: rgba(242, 189, 75, 0.6); background: rgba(242, 189, 75, 0.12); }

/* Nút vàng kim: chữ navy đậm cho dễ đọc */
.button-primary, .contact-fab { color: var(--on-accent); }
.button-primary .telegram-icon, .contact-fab .telegram-icon { filter: brightness(0) opacity(0.82); }
.button-primary { background: linear-gradient(180deg, #ffd978, var(--accent) 55%, #dca23a); box-shadow: 0 10px 40px -10px rgba(242, 189, 75, 0.7); }
.button-primary:hover { background: linear-gradient(180deg, #ffe39a, var(--accent-hover) 55%, #e8b04a); transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(242, 189, 75, 0.85); }
.button-ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }
.button-lg { min-height: 56px; padding: 0 30px; font-size: 17px; border-radius: 16px; }
.telegram-icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Kiểu chung ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  color: #f2bd4b;
  font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.center .eyebrow::before, .section-heading.center .eyebrow::before { display: none; }

.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.section-heading { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-heading.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.22; }
.section-heading p, .split-intro p { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 36px;
}
.hero-inner { flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 82px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero h1 .word > span { display: inline-block; will-change: transform; }
.hero h1 .accent-word > span {
  background: linear-gradient(100deg, #fff1c4 0%, #f5c85a 40%, #d9921f 75%, #ffd978 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtext { max-width: 520px; margin-top: 26px; color: #c5cbdb; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Badge Commission 5%+ (con số dựng bằng hạt WebGL) ---------- */
.hero-highlight {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 30px; padding: 8px 28px 8px 8px;
  border-radius: 22px;
  border: 1px solid rgba(255, 214, 120, 0.32);
  background:
    radial-gradient(160px 110px at 22% 50%, rgba(242, 189, 75, 0.22), transparent 70%),
    linear-gradient(120deg, rgba(242, 189, 75, 0.14), rgba(47, 92, 200, 0.18)),
    var(--surface-strong);
  box-shadow: 0 24px 70px -28px rgba(242, 189, 75, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
}
.hero-highlight:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 120, 0.6);
  box-shadow: 0 30px 80px -26px rgba(242, 189, 75, 1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Viền sáng chạy vòng quanh thẻ */
.hero-highlight-glow {
  position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(255, 214, 120, 0.5) 72%, rgba(201, 138, 30, 0.4) 80%, transparent 90%);
  animation: hero-highlight-sweep 6s linear infinite;
  pointer-events: none; opacity: 0.35;
}
.hero-highlight-stage {
  position: relative;
  flex: 0 0 auto;
  width: 210px; height: 112px;
}
.hero-highlight-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-highlight-value {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff;
  text-shadow: 0 4px 30px rgba(242, 189, 75, 0.7);
  transition: opacity 0.6s ease;
}
.hero-highlight-value b { font-size: 76px; }
.hero-highlight-value i { align-self: flex-start; margin-top: 18px; font-size: 38px; font-style: normal; color: #ffd36e; }
/* Khi JS chạy thì ẩn chữ dự phòng để hạt bay vào; nếu WebGL lỗi (.no-gl) thì hiện lại */
html.motion-ready .hero-highlight:not(.no-gl) .hero-highlight-value { opacity: 0; }

.hero-highlight-text { position: relative; display: flex; flex-direction: column; line-height: 1.3; }
.hero-highlight-text small {
  margin-bottom: 4px;
  color: #f2bd4b; font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-highlight-text strong { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.hero-highlight-text > span { font-size: 14px; color: #c5cbdb; }
.hero-highlight-text em {
  margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 600; color: #ffd36e;
  transition: color 0.25s ease;
}
.hero-highlight-text em span { display: inline-block; transition: transform 0.3s var(--ease-out); }
.hero-highlight:hover .hero-highlight-text em { color: #fff; }
.hero-highlight:hover .hero-highlight-text em span { transform: translateX(4px); }

@keyframes hero-highlight-sweep {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .hero-highlight { display: flex; padding-right: 18px; }
  .hero-highlight-stage { width: 160px; height: 92px; }
  .hero-highlight-value b { font-size: 58px; }
  .hero-highlight-value i { font-size: 30px; margin-top: 14px; }
  .hero-highlight-text strong { font-size: 19px; }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 168px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, 0.45); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
}
.scroll-hint span { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(255, 255, 255, 0.15); }
.scroll-hint span::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: linear-gradient(transparent, #fff);
  animation: scroll-line 2s var(--ease-out) infinite;
}
@keyframes scroll-line { to { top: 110%; } }

.rail-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 40px; padding: 18px 18px 18px 26px;
}
.rail-copy { display: grid; gap: 2px; }
.rail-copy strong { font-size: 17px; }
.rail-copy span { color: var(--muted); font-size: 14px; }
.wallet-logos { width: min(420px, 46%); border-radius: 14px; }

/* ---------- Partners / Process: 2 cột ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-intro .button { margin-top: 32px; }
.sticky { position: sticky; top: 130px; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card, .feature { position: relative; padding: 28px; overflow: hidden; transition: border-color 0.35s ease, transform 0.5s var(--ease-out); }
.card::before, .feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 189, 75, 0.16), transparent 45%);
  transition: opacity 0.35s ease;
}
.card:hover, .feature:hover { border-color: rgba(242, 189, 75, 0.4); }
.card:hover::before, .feature:hover::before { opacity: 1; }
.card h3, .feature h3 { margin-top: 26px; font-size: 20px; }
.card p, .feature p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card-code {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(242, 189, 75, 0.22), rgba(47, 92, 200, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffd36e; font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
}

/* ---------- Services ---------- */
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { min-height: 280px; display: flex; flex-direction: column; }
.feature h3 { margin-top: auto; padding-top: 56px; }

/* ---------- Metrics ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.metric { grid-column: span 2; padding: 30px 28px; }
.metric:nth-child(4) { grid-column: 2 / span 2; }
.metric strong {
  display: block;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #ffe1a0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { display: block; margin-top: 12px; color: var(--muted); }

/* ---------- Process ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: linear-gradient(var(--accent), var(--violet));
  transform-origin: top; transform: scaleY(var(--progress, 0));
  box-shadow: 0 0 18px rgba(242, 189, 75, 0.7);
}
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -32px; top: 40px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--page); border: 2px solid var(--line-strong);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.step.is-active::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(242, 189, 75, 0.18); }
.step-tag { padding-top: 6px; color: #f2bd4b; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.step h3 { font-size: 22px; }
.step p { margin-top: 8px; color: var(--muted); }

/* ---------- Hướng dẫn partner / Chính sách ---------- */
.doc-section { padding-block: clamp(72px, 10vw, 120px); }
.doc-section .section-heading { margin-bottom: 32px; }
.doc-panel { padding: clamp(28px, 4vw, 48px); background: var(--surface-strong); }
.doc-panel h3 { margin: 32px 0 12px; font-size: 22px; }
.doc-panel h3:first-child { margin-top: 0; }
.doc-panel p, .doc-panel li { color: #d0d5e3; }
.doc-panel p + p { margin-top: 14px; }
.doc-panel ol, .doc-panel ul { margin: 12px 0 0; padding-left: 22px; }
.doc-panel li + li { margin-top: 8px; }
.doc-panel a:not(.button) { color: #ffd36e; text-decoration: underline; text-underline-offset: 3px; }
.rate-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
.rate-table caption { text-align: left; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.rate-table th, .rate-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table thead th {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border-bottom-color: var(--line-strong);
}
.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-table tbody td:first-child { font-weight: 700; color: #fff; }
.rate-table .rate-val {
  font-weight: 800; color: #fff; white-space: nowrap;
  background: linear-gradient(120deg, #ffd36e, #e0a234);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rate-table .rate-wallet { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 560px) {
  .rate-table th, .rate-table td { padding: 11px 10px; font-size: 14px; }
}

.doc-empty {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px; border: 1px dashed var(--line-strong); border-radius: 14px;
}
.doc-empty p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(140px, 20vw, 260px); }
.cta-title { font-size: clamp(36px, 6vw, 76px) !important; line-height: 1.18 !important; max-width: 900px; margin-inline: auto; }
.cta p { margin: 22px auto 40px; color: var(--muted); font-size: 18px; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 36px; border-top: 1px solid var(--line); background: rgba(5, 12, 34, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { max-width: 300px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.footer h3 { margin-bottom: 16px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.footer-grid a:not(.brand) { display: block; width: fit-content; padding: 4px 0; color: var(--muted); font-size: 14px; transition: color 0.2s ease; }
.footer-grid a:not(.brand):hover { color: var(--text); }
.copyright { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: rgba(255, 255, 255, 0.4); font-size: 13px; }

/* ---------- Nút Telegram nổi (góc phải dưới) ---------- */
.contact-fab {
  position: fixed; z-index: var(--z-fab); right: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 14px 40px -10px rgba(242, 189, 75, 0.8);
  font-size: 15px;
  transition: transform 0.3s var(--ease-out), background-color 0.25s ease;
}
.contact-fab:hover { background: var(--accent-hover); transform: translateY(-3px); }
.contact-fab .telegram-icon { width: 22px; height: 22px; }

/* ---------- Hiệu ứng xuất hiện ----------
   Chỉ ẩn trước khi JS chạy. Nếu JS lỗi, sau 2,5 s nội dung tự hiện lại. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal, [data-intro] { opacity: 0; }
  html:not(.motion-ready) .reveal,
  html:not(.motion-ready) [data-intro],
  html:not(.motion-ready) [data-split] { animation: reveal-fallback 0.6s ease 2.5s forwards; }
  html:not(.motion-ready) [data-split] { opacity: 0; }
}
@keyframes reveal-fallback { to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .site-header { display: flex; justify-content: space-between; gap: 10px; }
  .header-cta { margin-left: auto; }
  .menu-toggle {
    display: inline-grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px;
    background: rgba(255, 255, 255, 0.05); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s var(--ease-out); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px;
    border: 1px solid var(--line); border-radius: 18px;
    background: rgba(6, 14, 38, 0.94);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 12px 14px; font-size: 16px; }
  .main-nav a::after { display: none; }

  .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric, .metric:nth-child(4) { grid-column: auto; }
  .metric:last-child { grid-column: 1 / -1; }
  .rail-strip { flex-direction: column; align-items: flex-start; padding: 20px; }
  .wallet-logos { width: 100%; }
  .scroll-hint { display: none; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .site-header { width: calc(100% - 20px); top: 10px; }
  .header-cta { padding: 0 12px; font-size: 13px; }
  .hero { padding-top: 110px; }
  .hero-subtext { font-size: 16px; }
  .hero-actions .button { flex: 1 1 auto; }
  .card-grid, .feature-row { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature h3 { padding-top: 22px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-fab { right: 14px; bottom: 14px; min-height: 46px; padding: 0 16px 0 14px; }
}

@media (max-width: 380px) {
  .header-cta { display: none; }
}

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

@media (max-height: 820px) {
  .scroll-hint { display: none; }
}
