/* WayPay — shared styles (Apple-inspired, Liquid Glass) */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --green: #1d8a4e;
  --orange: #b45f06;
  --dark: #000000;
  --dark-2: #1d1d1f;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --max: 1080px;
  --wide: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "PingFang SC", "Helvetica Neue", sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.25), 0 24px 60px -12px rgba(30, 40, 80, .22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
code { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: .88em; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: var(--wide); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; height: 52px; gap: 36px; max-width: var(--wide); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.logo-mark {
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(145deg, #3a8bff, #0058d6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
  display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700;
}
.nav { display: flex; gap: 30px; flex: 1; justify-content: center; }
.nav a { color: rgba(0,0,0,.72); font-size: 13px; transition: color .2s; }
.nav a:hover, .nav a.active { color: #000; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 6px 14px; font-size: 13px; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border-radius: 980px; font-weight: 500; font-size: 17px;
  border: 0; cursor: pointer; transition: background .2s, transform .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { color: var(--blue); background: transparent; box-shadow: inset 0 0 0 1px var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-glass {
  color: var(--text); background: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.08);
}
.link { color: var(--link); font-size: 17px; }
.link::after { content: " ›"; }
.link:hover { text-decoration: underline; }

/* ---------- Typography ---------- */
.eyebrow { display: inline-block; font-size: 17px; font-weight: 600; color: var(--muted); }
h1 { font-size: clamp(44px, 7.2vw, 88px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -0.035em; font-weight: 700; }
h3 { font-size: 24px; line-height: 1.17; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; color: var(--muted); letter-spacing: -0.015em; font-weight: 500; }
.kicker { display: block; font-size: 17px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.grad-text { color: inherit; }
.ink-grad {
  background: linear-gradient(90deg, #0a66ff 0%, #6b4dff 50%, #c04de8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 0; text-align: center; }
.hero h1 { margin: 10px auto 22px; max-width: 900px; }
.hero .lead { max-width: 720px; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Wallpaper stage behind glass */
.stage {
  position: relative; margin: 72px auto 0; max-width: var(--wide);
  border-radius: var(--r-xl); overflow: hidden; padding: 72px 56px;
  background:
    radial-gradient(42% 60% at 14% 22%, #8fb8ff 0%, transparent 70%),
    radial-gradient(38% 55% at 86% 18%, #d7b4ff 0%, transparent 70%),
    radial-gradient(45% 60% at 70% 92%, #8ee6d6 0%, transparent 70%),
    radial-gradient(40% 50% at 18% 95%, #ffd3a8 0%, transparent 70%),
    linear-gradient(180deg, #eef2fb, #f6f2fb);
}
.stage-dark {
  background:
    radial-gradient(40% 60% at 15% 20%, rgba(40,110,255,.55) 0%, transparent 70%),
    radial-gradient(40% 60% at 85% 85%, rgba(150,80,255,.45) 0%, transparent 70%),
    #0b0b10;
}

.dash { border-radius: var(--r-lg); padding: 26px; text-align: left; max-width: 820px; margin: 0 auto; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.dash-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.dash-amount { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; padding: 3px; border-radius: 980px; background: rgba(0,0,0,.06); font-size: 13px; }
.seg span { padding: 5px 12px; border-radius: 980px; color: var(--muted); }
.seg span.on { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 8px; }
.tier { background: rgba(255,255,255,.55); border-radius: var(--r-md); padding: 14px 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.tier b { display: block; font-size: 20px; letter-spacing: -0.02em; margin-top: 2px; }
.bar { height: 6px; border-radius: 6px; background: rgba(0,0,0,.08); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; }

.hv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid rgba(0,0,0,.06); font-size: 15px; }
.hv-row:first-of-type { border-top: 0; }
.hv-row .amt { font-variant-numeric: tabular-nums; font-weight: 500; margin-left: auto; }
.coin { display: flex; align-items: center; gap: 12px; }
.coin i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.coin small { display: block; color: var(--muted); font-size: 12px; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 980px; font-weight: 500; background: rgba(0,0,0,.06); color: var(--muted); white-space: nowrap; min-width: 92px; text-align: center; }
.tag-ok { background: rgba(29,138,78,.12); color: var(--green); }
.tag-wait { background: rgba(180,95,6,.12); color: var(--orange); }

.float-card {
  position: absolute; right: 48px; bottom: 44px; width: 300px; border-radius: 22px; padding: 18px; text-align: left;
}
.float-card .t { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.float-card .t::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff9f0a; }
.float-card .big { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 2px; }
.float-card p { font-size: 13px; color: var(--muted); }
.float-card .row { display: flex; gap: 8px; margin-top: 14px; }
.float-card .row span { flex: 1; text-align: center; padding: 8px; border-radius: 12px; font-size: 13px; font-weight: 500; }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--dark); color: #f5f5f7; }
.section-dark .lead, .section-dark .kicker, .section-dark .card p { color: #a1a1a6; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.section-head .lead { margin-top: 18px; }
.section-head p:not(.lead) { color: var(--muted); font-size: 19px; margin-top: 16px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--bg-2); border-radius: var(--r-lg); padding: 34px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.section-alt .card { background: #fff; }
.section-dark .card { background: var(--dark-2); }
a.card:hover { transform: scale(1.015); }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 17px; margin-top: 10px; }
.card ul { margin-top: 14px; list-style: none; }
.card li { color: var(--muted); font-size: 16px; padding: 7px 0; border-top: 1px solid var(--line); }
.card li:first-child { border-top: 0; }
.section-dark .card li { border-color: rgba(255,255,255,.1); color: #a1a1a6; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(145deg, #3a8bff, #0058d6); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { border-radius: var(--r-xl); padding: 40px; background: var(--bg-2); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.section-alt .tile { background: #fff; }
.tile.s2 { grid-column: span 2; } .tile.s3 { grid-column: span 3; } .tile.s4 { grid-column: span 4; } .tile.s6 { grid-column: span 6; }
.tile .num { font-size: clamp(56px, 7vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 17px; max-width: 420px; }
.tile.dark { background: #000; color: #f5f5f7; }
.tile.dark p { color: #a1a1a6; }
.tile.blue { background: linear-gradient(160deg, #0a84ff, #0040dd); color: #fff; }
.tile.blue p { color: rgba(255,255,255,.8); }
.tile.mesh {
  background:
    radial-gradient(60% 80% at 10% 10%, #a9c8ff 0%, transparent 70%),
    radial-gradient(60% 80% at 100% 100%, #e1c6ff 0%, transparent 70%),
    #eef1fa;
}

/* chains */
.chains { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.chain { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 980px; background: #fff; font-weight: 500; font-size: 15px; box-shadow: 0 0 0 1px var(--line), 0 4px 14px rgba(0,0,0,.04); }
.chain i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 58px; margin-bottom: 30px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: 15px;
  background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.section-alt .step::before, section:not(.section-dark) .step::before { background: var(--text); color: #fff; box-shadow: none; }
.section-dark .step::before { background: rgba(255,255,255,.12); color: #fff; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); margin-top: 4px; }
.section-dark .step p { color: #a1a1a6; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .lead { margin-top: 18px; }

/* code block */
.code {
  border-radius: var(--r-lg); padding: 28px; overflow-x: auto;
  font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13.5px; line-height: 1.75; color: #e5e5ea;
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.08);
}
.code .k { color: #64d2ff; } .code .s { color: #ffd60a; } .code .c { color: #8e8e93; }

/* page hero */
.page-hero { padding: 110px 0 70px; text-align: center; }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); margin: 8px auto 20px; max-width: 900px; }
.page-hero .lead { max-width: 720px; margin: 0 auto; }

/* table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--bg-2); }
.section-alt .table-wrap { background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
th, td { text-align: left; padding: 20px 26px; vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
td { border-top: 1px solid var(--line); }

/* license card */
.license { display: grid; grid-template-columns: 140px 1fr; gap: 40px; align-items: center; border-radius: var(--r-xl); padding: 48px; background: var(--bg-2); }
.seal {
  width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: linear-gradient(145deg, #3a8bff, #0058d6); color: #fff; font-weight: 700; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 20px 40px -10px rgba(0,88,214,.5);
}
.seal small { display: block; font-size: 10px; letter-spacing: .12em; font-weight: 600; opacity: .85; }
.license h2 { font-size: 32px; }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 12px 24px; margin-top: 20px; font-size: 17px; }
.kv dt { color: var(--muted); }
.ph { color: var(--orange); font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 14px; }

/* prose (legal pages) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 28px; margin: 48px 0 12px; }
.prose p, .prose li { color: #333336; font-size: 17px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.notice { background: #fff6e8; color: #7a4a00; border-radius: var(--r-md); padding: 16px 20px; font-size: 15px; margin-bottom: 32px; }

/* CTA */
.cta { text-align: center; }
.cta h2 { margin-bottom: 16px; }
.cta p { color: var(--muted); font-size: 21px; max-width: 620px; margin: 0 auto 32px; }
.cta .hero-actions { margin-top: 0; }

/* form */
.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid #d2d2d7;
  background: #fff; color: var(--text); font: inherit; font-size: 17px; -webkit-appearance: none; appearance: none;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); padding: 40px 0 28px; font-size: 12px; color: var(--muted); }
.footer .container { max-width: var(--max); }
.footer .logo { font-size: 15px; color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; padding-top: 24px; border-top: 1px solid #d2d2d7; }
.footer h4 { font-size: 12px; margin-bottom: 10px; color: var(--text); font-weight: 600; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a, .footer p { color: #424245; font-size: 12px; }
.footer li a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid #d2d2d7; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.disclaimer { color: var(--muted) !important; font-size: 12px !important; margin-bottom: 8px; line-height: 1.6; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.s2, .tile.s3 { grid-column: span 1; }
  .tile.s4, .tile.s6 { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 52px; left: 0; right: 0; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 12px 24px 24px; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open a { font-size: 24px; font-weight: 600; padding: 10px 0; color: var(--text); }
  .float-card { position: relative; right: auto; bottom: auto; margin: 20px auto 0; }
  .stage { padding: 40px 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  section { padding: 80px 0; }
  .hero { padding-top: 64px; }
  .stage { margin-top: 48px; border-radius: 24px; padding: 20px 12px; }
  .dash { padding: 18px; }
  .dash-amount { font-size: 30px; }
  .tiers { grid-template-columns: 1fr; }
  .hv-row .tag { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile.s2, .tile.s3, .tile.s4, .tile.s6 { grid-column: span 1; }
  .tile { padding: 30px; min-height: 240px; }
  .card { padding: 26px; }
  .license { grid-template-columns: 1fr; justify-items: start; padding: 30px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
  .float-card { width: 100%; }
}

/* ================= Icons ================= */
[data-i] { display: inline-block; line-height: 0; }
.ico-svg { display: block; filter: drop-shadow(0 6px 14px rgba(20, 40, 90, .16)); }
[data-c="line"] .ico-svg { filter: none; }
.card > [data-i], .tile > [data-i] { margin-bottom: 22px; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.menu-btn svg { display: block; }
.logo-mark svg { display: block; }

/* coins */
.coin img { width: 30px; height: 30px; flex-shrink: 0; }
.chain img { width: 28px; height: 28px; }

/* footer legal links */
.footer-legal a + a { margin-left: 10px; padding-left: 10px; border-left: 1px solid #d2d2d7; }
.footer-legal a:hover { text-decoration: underline; }

/* ================= Works-with strip ================= */
.works { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; color: var(--muted); font-size: 15px; margin-top: 56px; }
.works b { color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }

/* ================= Deposit flow ================= */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 28px; height: 2px; background: linear-gradient(90deg, #5aa2ff, #8e8bff, #5ad97a); opacity: .45; }
.flow-step { text-align: center; position: relative; }
.flow-step [data-i] { margin: 0 auto 18px; background: var(--bg); border-radius: 16px; }
.section-alt .flow-step [data-i] { background: var(--bg-2); }
.flow-step h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.flow-step p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.flow-step .t { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--blue); background: rgba(0,113,227,.08); padding: 3px 10px; border-radius: 980px; }

/* ================= FAQ ================= */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid #d2d2d7; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); font-size: 17px; padding: 0 40px 26px 0; }

/* ================= Product page ================= */
.subnav { position: sticky; top: 52px; z-index: 40; background: rgba(245,245,247,.8); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 34px; justify-content: center; height: 60px; align-items: center; overflow-x: auto; }
.subnav a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.subnav a:hover { color: var(--text); }
.product { padding: 120px 0; }
.product + .product { border-top: 1px solid var(--line); }
.product .split { align-items: center; }
.product h2 { margin: 18px 0 16px; }
.feature-list { margin-top: 30px; display: grid; gap: 18px; }
.feature { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.feature [data-c="line"] { color: var(--blue); margin-top: 2px; }
.feature b { display: block; font-weight: 600; font-size: 17px; }
.feature span { color: var(--muted); font-size: 15px; }

/* mock panels */
.mock { border-radius: var(--r-lg); padding: 24px; max-width: 460px; margin: 0 auto; width: 100%; }
.mock-title { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.mock .addr { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13px; background: rgba(255,255,255,.7); border-radius: 12px; padding: 10px 12px; word-break: break-all; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.qr { width: 150px; height: 150px; padding: 10px; background: #fff; border-radius: 16px; color: #1d1d1f; margin: 0 auto 16px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.qr svg { width: 100%; height: 100%; }
.kvs { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; margin-top: 14px; }
.kvs dt { color: var(--muted); } .kvs dd { text-align: right; font-weight: 500; }
.log { margin-top: 14px; font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 12px; background: #1d1d1f; color: #e5e5ea; border-radius: 12px; padding: 12px 14px; line-height: 1.7; }
.log .g { color: #30d158; } .log .y { color: #ffd60a; } .log .m { color: #8e8e93; }

/* phone */
.phone { width: 290px; margin: 0 auto; border-radius: 46px; padding: 12px; background: #1d1d1f; box-shadow: 0 40px 80px -20px rgba(0,0,0,.35), inset 0 0 0 2px #3a3a3c; }
.phone-screen { border-radius: 36px; background: #fff; padding: 46px 18px 22px; position: relative; min-height: 520px; }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #1d1d1f; }
.phone .merchant { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.phone .merchant i { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg,#2c2c2e,#000); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.phone .pay-amt { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; margin: 22px 0 2px; }
.phone .pay-sub { font-size: 13px; color: var(--muted); }
.opts { display: grid; gap: 8px; margin: 18px 0; }
.opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg-2); font-size: 14px; font-weight: 500; }
.opt img { width: 24px; height: 24px; }
.opt em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.opt.on { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.paybtn { display: block; text-align: center; background: var(--blue); color: #fff; border-radius: 14px; padding: 13px; font-weight: 600; font-size: 15px; }
.timer { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* batch payouts */
.batch-row { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.06); font-size: 14px; }
.batch-row:first-of-type { border-top: 0; }
.batch-row img { width: 26px; height: 26px; }
.batch-row small { display: block; color: var(--muted); font-size: 12px; font-family: "SF Mono", ui-monospace, Menlo, monospace; }
.batch-row .amt { font-variant-numeric: tabular-nums; font-weight: 500; }
.approvers { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); font-size: 13px; color: var(--muted); }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 600; box-shadow: 0 0 0 2px #fff; }
.av + .av { margin-left: -14px; }

/* treasury donut */
.donut-wrap { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; }
.donut { width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(#0a5be0 0 88%, #5e5ce6 88% 97%, #30b0c7 97% 100%); display: grid; place-items: center; }
.donut::after { content: attr(data-label); width: 104px; height: 104px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; text-align: center; white-space: pre; line-height: 1.25; }
.legend { display: grid; gap: 10px; font-size: 14px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; }

/* console settings mock */
.setting { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.06); font-size: 14px; }
.setting:first-of-type { border-top: 0; }
.setting small { display: block; color: var(--muted); font-size: 12px; }
.switch { width: 44px; height: 26px; border-radius: 26px; background: #34c759; position: relative; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.switch.off { background: #e5e5ea; } .switch.off::after { right: auto; left: 2px; }
.val { font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) {
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .subnav .container { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .legend { width: 100%; }
  .product { padding: 80px 0; }
  .phone { width: 260px; }
}

/* hero: shift dashboard left so the approval card doesn't cover amounts */
@media (min-width: 1001px) {
  .hero .dash { margin-left: 3%; max-width: 760px; }
  .hero .float-card { right: 40px; bottom: 40px; }
}

/* ================= Brand ================= */
.logo-img { width: 26px; height: 26px; display: block; border-radius: 7px; }
.footer-brand { margin-top: 28px; }
.footer-brand img { height: 28px; width: auto; display: block; }

/* ================= Cross-browser & device compatibility ================= */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
img { height: auto; }

/* Browsers without backdrop-filter (older Firefox, some Android WebViews): use solid surfaces */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header { background: rgba(255,255,255,.97); }
  .glass, .btn-glass { background: rgba(255,255,255,.92); }
  .subnav { background: rgba(245,245,247,.97); }
  .nav.open { background: #fff; }
  .code { background: #1c1c1e; }
}
/* Browsers without background-clip:text: fall back to solid brand colour */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .ink-grad { background: none; color: var(--blue); }
}

/* Hover effects only on devices that actually hover (avoids sticky hover on touch) */
@media (hover: none) {
  a.card:hover { transform: none; }
  .btn-ghost:hover { background: transparent; color: var(--blue); }
}

/* iPhone notch / home indicator */
.header .container, .footer .container { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }

/* Menu button: comfortable 44px touch target */
.menu-btn { width: 44px; height: 44px; margin-right: -10px; display: none; align-items: center; justify-content: center; border-radius: 10px; color: var(--text); }
.menu-btn:active { background: rgba(0,0,0,.06); }

/* Tables scroll smoothly on touch */
.table-wrap { -webkit-overflow-scrolling: touch; }

/* iPad landscape / small laptops */
@media (max-width: 1180px) and (min-width: 1001px) {
  .flow { gap: 10px; }
  .flow-step p { font-size: 13px; }
  .tile { padding: 32px; }
}
/* iPad portrait and below */
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .nav.open { max-height: calc(100vh - 52px); overflow-y: auto; }
  .product .split > div:first-child { order: 0; }
  .product#gateway .split > div:first-child, .product#treasury .split > div:first-child { order: 2; }
  .mock { max-width: 520px; }
  .stage { max-width: calc(100% - 0px); }
  h1 { letter-spacing: -0.035em; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  section { padding: 96px 0; }
  .hero .dash { max-width: 680px; }
  .float-card { width: 320px; }
}
/* Phones */
@media (max-width: 640px) {
  .tile .num { font-size: 64px; }
  .faq summary { font-size: 18px; padding-right: 36px; }
  .subnav .container { gap: 22px; padding: 0 16px; }
  .split { gap: 36px; }
  .license h2 { font-size: 26px; }
  .works { gap: 8px 18px; margin-top: 40px; }
  .works span { width: 100%; text-align: center; }
  .hv-row { font-size: 14px; }
  .code { font-size: 12px; padding: 20px; }
  .footer-bottom { flex-direction: column; }
}
/* Very small phones (iPhone SE / 320px) */
@media (max-width: 360px) {
  h1 { font-size: 38px; }
  .dash-amount { font-size: 26px; }
  .phone { width: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* Respect reduced motion everywhere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Print: show everything */
@media print {
  .header, .subnav, .menu-btn { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.nav-cta { display: none; }
@media (max-width: 1000px) {
  .nav.open .nav-cta { display: block; margin-top: 12px; text-align: center; background: var(--blue); color: #fff !important; border-radius: 980px; font-size: 17px !important; padding: 12px 0 !important; }
}
@media (max-width: 1000px) {
  .nav.open { background: #fff !important; height: calc(100vh - 52px); height: calc(100dvh - 52px); max-height: none; padding-top: 16px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 1000px) { .nav.open { justify-content: flex-start; } }

/* ================= Footer grid fix (4 link columns) ================= */
.footer-grid { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ================= Copy buttons & form messages ================= */
.copy-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.copy-text { font-size: 17px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.copy-btn { padding: 9px 18px; font-size: 15px; }
.copy-mini { font: inherit; font-size: 12px; font-weight: 600; color: var(--blue); background: rgba(0,113,227,.08); border: 0; border-radius: 980px; padding: 3px 10px; margin-left: 6px; cursor: pointer; vertical-align: 1px; }
.copy-mini:hover { background: rgba(0,113,227,.15); }
.form-msg { display: none; font-size: 14px; border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.form-msg.show { display: block; }
.form-msg.info { background: rgba(0,113,227,.08); color: #0b3d91; }
.form-msg.ok { background: rgba(29,138,78,.1); color: #136238; }
.form-msg.err { background: rgba(224,48,42,.08); color: #a1201b; }
.form .invalid { border-color: #e0302a; box-shadow: 0 0 0 4px rgba(224,48,42,.1); }
.btn:disabled { opacity: .6; cursor: default; }

/* ================= Calmer, less decorative look (v4) ================= */
/* Headlines: no gradient text, second line in Apple-style grey */
.ink-grad { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: #86868b !important; }
/* Stages: quiet neutral backdrop instead of colourful blobs */
.stage { background: linear-gradient(180deg, #f3f4f7 0%, #e9ecf2 100%); }
.stage-dark { background: linear-gradient(180deg, #111216 0%, #0a0a0c 100%); }
.tile.mesh { background: var(--bg-2); }
.section-alt .tile.mesh { background: #fff; }
.tile.blue { background: #0b1f3a; }
.tile.blue p { color: #a9b6cc; }
/* Icons: one consistent style (handled in layout.js), no glow */
.ico-svg { filter: none; }
/* Product page: drop the oversized icons above headings */
.product .split > div > [data-i]:first-child { display: none; }
.product h2 { margin-top: 0; }
/* Flow line in neutral grey */
.flow::before { background: #d2d2d7; opacity: 1; }
/* Glass cards: subtler shadow */
.glass { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 40px -16px rgba(20,30,60,.18); }
.float-card .t::before { background: #ff9f0a; }

/* ================= Brand system v5: navy + gold (from the seal logo) ================= */
:root { --navy: #0b1f3a; --navy-2: #13305a; --gold: #c6a15b; --gold-ink: #9a7633; --blue: #0b1f3a; --blue-hover: #13305a; --link: #1f4fd8; }
.wordmark { font-size: 15px; font-weight: 600; letter-spacing: .22em; color: var(--navy); }
.logo-img { width: 30px; height: 30px; border-radius: 50%; }
.btn-primary { background: var(--navy); }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.eyebrow, .kicker { color: var(--gold-ink); letter-spacing: .02em; }
.section-dark .kicker { color: var(--gold); }
.flow-step .t { color: var(--navy); background: rgba(11,31,58,.06); }
.opt.on { box-shadow: inset 0 0 0 2px var(--navy); }
.paybtn { background: var(--navy); }
.float-card .row span:last-child { background: var(--navy) !important; }
.nav.open .nav-cta { background: var(--navy); }
.copy-mini { color: var(--navy); background: rgba(11,31,58,.07); }
.form-msg.info { background: rgba(11,31,58,.06); color: var(--navy); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,31,58,.1); }

/* Arrow-in-circle buttons (pill) */
.btn-arrow { padding: 6px 6px 6px 22px; gap: 12px; }
.btn-arrow i { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-style: normal; font-size: 16px; transition: transform .25s; }
.btn-arrow:hover i { transform: translateX(3px); }

/* Hero texture: fine route-line pattern, fading out */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M0 24h12l6-10 12 20 6-10h12' fill='none' stroke='%230b1f3a' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%);
}
body { position: relative; z-index: 0; }

/* Product cards with illustrations (Cregis-style: white, thin border, arrow button) */
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e6ec; border-radius: 20px; padding: 18px 28px 28px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.pcard:hover { border-color: #c9d2e3; box-shadow: 0 18px 40px -20px rgba(11,31,58,.25); transform: translateY(-3px); }
.pcard img { width: 100%; max-width: 320px; margin: 0 auto 6px; aspect-ratio: 4 / 3; }
.pcard h3 { font-size: 22px; }
.pcard p { color: var(--muted); font-size: 16px; margin-top: 8px; flex: 1; }
.pcard .go { margin-top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #eef1f6; color: var(--navy); transition: background .25s, color .25s; }
.pcard:hover .go { background: var(--navy); color: #fff; }
.pcard .go svg { width: 18px; height: 18px; }
@media (hover: none) { .pcard:hover { transform: none; box-shadow: none; } }

/* Big illustration inside a split section */
.illus-big { width: 100%; max-width: 520px; margin: 0 auto; display: block; }

/* Footer: dark navy */
.footer { background: var(--navy); color: #a9b6cc; }
.footer h4 { color: #fff; }
.footer li a, .footer p { color: #a9b6cc; }
.footer li a:hover { color: #fff; }
.footer .disclaimer { color: #7f8ea8 !important; }
.footer .ph { color: #e0bf7f; }
.footer-grid, .footer-bottom { border-top-color: rgba(255,255,255,.12) !important; }
.footer-bottom { color: #7f8ea8; }
.footer-legal a + a { border-left-color: rgba(255,255,255,.2); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-logo { height: 34px; width: auto; }
.footer-badges { display: flex; gap: 28px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.45; color: #a9b6cc; }
.badge b { color: #fff; font-weight: 600; }
.badge svg { flex-shrink: 0; }
.footer-grid { border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; }
/* Descriptive (longer) headlines: calmer size */
h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.08; letter-spacing: -0.035em; }
.hero h1 { max-width: 980px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(30px, 4vw, 46px); }

/* ================= Brand v6: logo A (ribbon W) — navy + blue ================= */
:root { --accent: #2456d6; }
.logo { gap: 8px; }
.logo-img { width: 38px; height: 38px; border-radius: 0; margin: -4px -2px -4px -6px; }
.wordmark { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; color: var(--navy); }
.eyebrow, .kicker { color: var(--accent); }
.section-dark .kicker { color: #8fb0ff; }
.footer-logo { height: 36px; }
.badge svg circle[stroke="#c6a15b"] { stroke: #6f9bff; }

/* Product sub-navigation: small illustrations instead of flat icons */
.subnav .container { height: 76px; }
.subnav-illus { height: 40px; width: auto; display: block; }
.subnav a { gap: 2px; }
.product, #products, [id] { scroll-margin-top: 150px; }

/* Feature lists: no icons, a thin accent rule instead */
.feature { grid-template-columns: 1fr; padding-left: 16px; border-left: 2px solid #d6def0; }
.feature [data-c="line"] { display: none; }
.feature:hover { border-left-color: var(--accent); }

/* Isometric icon images */
img.ico-svg { display: block; filter: none; }
.flow-step [data-i] { background: none; }
.icon, [data-i] { background: none; }

/* ================= Photography ================= */
/* Industry photo cards */
.icard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e6ec; border-radius: 20px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.icard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.icard:hover { box-shadow: 0 22px 44px -22px rgba(11,31,58,.35); transform: translateY(-3px); }
.icard:hover img { transform: scale(1.04); }
.icard-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.icard h3 { font-size: 21px; }
.icard p { color: var(--muted); font-size: 16px; margin-top: 8px; flex: 1; }
.icard .go { margin-top: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #eef1f6; color: var(--navy); transition: background .25s, color .25s; }
.icard:hover .go { background: var(--navy); color: #fff; }
.icard .go svg { width: 18px; height: 18px; }
@media (hover: none) { .icard:hover { transform: none; box-shadow: none; } .icard:hover img { transform: none; } }

/* Honest trust strip */
.works span { color: var(--muted); }
.works b { color: #c7ccd6; font-weight: 400; }
@media (max-width: 640px) { .works b { display: none; } .works span { width: auto; } }

/* "Illustrative" note on product mockups */
.mock-note { font-size: 11px; color: #8a93a3; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }

/* Dark stage with photo underneath */
.stage-photo { background: linear-gradient(180deg, rgba(6,12,24,.86), rgba(6,12,24,.94)), var(--photo) center / cover no-repeat; }

/* Wide photo banner with caption */
.photo-banner { position: relative; border-radius: 28px; overflow: hidden; min-height: 300px; margin-bottom: 72px; background: linear-gradient(90deg, rgba(6,12,24,.88) 0%, rgba(6,12,24,.55) 55%, rgba(6,12,24,.15) 100%), var(--photo) center / cover no-repeat; display: flex; align-items: flex-end; padding: 40px; }
.photo-banner span { color: #fff; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; max-width: 560px; }

/* Page hero with photo (company page) */
.page-hero-photo { color: #fff; background: linear-gradient(180deg, rgba(6,12,24,.62), rgba(6,12,24,.8)), var(--photo) center 60% / cover no-repeat; padding: 150px 0 130px; margin-bottom: 40px; }
.page-hero-photo h1, .page-hero-photo .lead { color: #fff; }
.page-hero-photo .lead { color: rgba(255,255,255,.82); }

/* Bento tile with photo */
.tile-photo { background: linear-gradient(180deg, rgba(6,12,24,.35) 0%, rgba(6,12,24,.9) 75%), var(--photo) center / cover no-repeat !important; }
.tile-photo p { color: rgba(255,255,255,.85) !important; }

@media (max-width: 640px) {
  .photo-banner { min-height: 240px; padding: 26px; border-radius: 20px; margin-bottom: 48px; }
  .page-hero-photo { padding: 110px 0 90px; }
}
.stage-photo { background: linear-gradient(180deg, rgba(6,12,24,.74), rgba(6,12,24,.9)), var(--photo) center / cover no-repeat; }

/* ================= v8: competitor-informed layout ================= */
/* Kill the old route-line texture */
.hero::before { display: none !important; }

/* Dark hero with a single premium render (Cobo / BitGo / Fireblocks approach) */
.hero-dark {
  position: relative; color: #fff; padding: 150px 0 170px; overflow: hidden;
  background:
    linear-gradient(90deg, #050b18 0%, #050b18 34%, rgba(5,11,24,.82) 50%, rgba(5,11,24,.15) 78%, rgba(5,11,24,0) 100%),
    var(--photo) right center / cover no-repeat, #050b18;
}
.hero-copy { max-width: 640px; }
.hero-dark .eyebrow { color: #8fb0ff; }
.hero-dark h1 { color: #fff; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.08; letter-spacing: -0.035em; margin: 16px 0 22px; }
.hero-dark .lead { color: rgba(255,255,255,.72); max-width: 560px; }
.hero-dark .hero-actions { justify-content: flex-start; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eef8; }
.link-light { color: #fff; }
.link-light:hover { color: #c7d6ff; }

/* Supported networks strip (real logos, like competitors' client strips) */
.netstrip { padding: 34px 0; border-bottom: 1px solid var(--line); }
.netstrip .container { display: flex; align-items: center; gap: 36px; }
.netstrip-label { font-size: 13px; color: var(--muted); white-space: nowrap; }
.netstrip-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.netstrip-row span { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #3a3a3c; }
.netstrip-row img { width: 24px; height: 24px; filter: grayscale(1) opacity(.75); transition: filter .2s; }
.netstrip-row span:hover img { filter: none; }

/* Product cards with abstract renders (Fireblocks "Your choice" style) */
.rgrid { gap: 24px; }
.rcard { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--bg-2); min-height: 460px; transition: transform .3s; }
.rcard:hover { transform: translateY(-4px); }
.rcard-text { padding: 36px 36px 20px; }
.rcard h3 { font-size: 26px; }
.rcard p { color: var(--muted); margin-top: 10px; max-width: 460px; }
.rcard .link { display: inline-block; margin-top: 14px; color: var(--accent); }
.rcard-img { flex: 1; min-height: 220px; background-size: cover; background-position: center; margin: 0 16px 16px; border-radius: 16px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.rcard:hover .rcard-img { transform: scale(1.02); }
@media (hover: none) { .rcard:hover, .rcard:hover .rcard-img { transform: none; } }

/* Render banner (security page) */
.render-banner { height: 380px; border-radius: 28px; margin: 48px auto 0; max-width: 1080px; background: var(--photo) center / cover no-repeat; }

/* Line icons replace icon tiles everywhere */
.ico-line { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; color: var(--navy); background: #eef2f9; }
.section-dark .ico-line, .tile.dark .ico-line { color: #c7d6ff; background: rgba(255,255,255,.08); }
.section-alt .ico-line { background: #fff; }
.flow-step .ico-line { width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.subnav a { font-size: 14px; color: var(--muted); padding: 0 2px; }
.subnav .container { height: 56px; }

@media (max-width: 1000px) {
  .hero-dark { padding: 110px 0 120px; background: linear-gradient(180deg, rgba(5,11,24,.75), rgba(5,11,24,.92)), var(--photo) center / cover no-repeat, #050b18; }
  .netstrip .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rcard { min-height: 400px; }
}
@media (max-width: 640px) {
  .hero-dark { padding: 80px 0 90px; }
  .rcard-text { padding: 26px 24px 16px; }
  .render-banner { height: 220px; border-radius: 20px; }
  .netstrip-row { gap: 12px 18px; }
}
.netstrip .container { justify-content: center; gap: 28px; }
.netstrip-row { gap: 12px 22px; flex-wrap: wrap; justify-content: center; }
.netstrip-row span { font-size: 14px; }
@media (max-width: 1240px) and (min-width: 1001px) { .netstrip .container { flex-direction: column; gap: 14px; } }
.netstrip .container { flex-direction: column !important; gap: 14px !important; } .netstrip-label { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }

/* ================= v9: dark heroes on inner pages ================= */
.hero-page { padding: 120px 0 130px; }
.hero-page h1 { font-size: clamp(36px, 4.4vw, 56px); }
.hero-dark .ph { color: #e7c07a; }
/* Photo hero (company): darker, even overlay so the city reads as background */
.hero-photo { background: linear-gradient(90deg, rgba(5,11,24,.92) 0%, rgba(5,11,24,.78) 45%, rgba(5,11,24,.35) 100%), var(--photo) center 60% / cover no-repeat, #050b18; }
/* Compact hero without imagery (legal pages) */
.hero-compact { padding: 90px 0 70px; background: radial-gradient(80% 140% at 100% 0%, #10244a 0%, #050b18 60%); }
.hero-compact h1 { margin-bottom: 12px; }
@media (max-width: 1000px) {
  .hero-page { padding: 96px 0 100px; }
  .hero-compact { padding: 70px 0 56px; }
}

/* ================= v10: light split hero (Fireblocks-style), all pages ================= */
.hero-split { padding: 84px 0 96px; background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.hero-split .container { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero-split .hero-copy { max-width: 600px; }
.hero-split .eyebrow { color: var(--accent); }
.hero-split h1 { color: var(--navy); font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.035em; margin: 14px 0 20px; }
.hero-split-home h1 { font-size: clamp(38px, 4.6vw, 60px); }
.hero-split .lead { color: var(--muted); max-width: 540px; }
.hero-split .hero-actions { justify-content: flex-start; margin-top: 30px; }
.hero-media { height: 460px; border-radius: 28px; background: var(--photo) center / cover no-repeat, #e9edf5; box-shadow: 0 30px 60px -30px rgba(11,31,58,.35); }
.hero-split-home .hero-media { height: 520px; }
@media (max-width: 1000px) {
  .hero-split { padding: 56px 0 64px; }
  .hero-split .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-media, .hero-split-home .hero-media { height: 320px; }
}
@media (max-width: 640px) {
  .hero-media, .hero-split-home .hero-media { height: 220px; border-radius: 20px; }
}

/* ================= v11: photo backgrounds set inline (no url() inside custom properties) ================= */
.hero-media { background-color: #e9edf5; background-size: cover; background-position: center; background-repeat: no-repeat; }
.stage-photo, .photo-banner, .tile-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.stage-photo { background-color: #0a0f1c; }
.photo-banner { background-color: #0a0f1c; }
.tile-photo { background-color: #0a0f1c; }

/* Homepage hero: floating policy card on the render */
.hero-split-home .hero-media { position: relative; }
.policy-card {
  position: absolute; left: 28px; bottom: 28px; width: 300px; padding: 18px 20px; border-radius: 18px; color: var(--navy);
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 40px -18px rgba(11,31,58,.45);
}
.pc-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.pc-badge { font-size: 11px; font-weight: 600; color: #136238; background: rgba(29,138,78,.12); padding: 3px 9px; border-radius: 980px; }
.pc-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; border-top: 1px solid rgba(11,31,58,.07); }
.pc-row:first-of-type { border-top: 0; }
.pc-row i { width: 20px; height: 20px; border-radius: 50%; background: #1d8a4e; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.pc-row i svg { width: 12px; height: 12px; }
.pc-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(11,31,58,.1); font-size: 13px; font-weight: 600; color: var(--accent); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .policy-card { background: rgba(255,255,255,.95); } }
@media (max-width: 640px) { .policy-card { left: 14px; right: 14px; bottom: 14px; width: auto; padding: 14px 16px; } .pc-row { font-size: 13px; padding: 4px 0; } }
@media (max-width: 640px) { .hero-split-home .hero-media { height: 380px; } }

/* ================= v12: typography ================= */
:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}
body { font-family: var(--font); letter-spacing: -0.006em; font-size: 16.5px; line-height: 1.6; color: #1d2433; }
h1, h2, h3, h4, .wordmark, .tile .num, .dash-amount, .pc-head, .stat b, .faq summary, .netstrip-label {
  font-family: var(--font-display);
}
h1 { font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; }
.hero-split h1, .hero-split-home h1 { font-weight: 700; letter-spacing: -0.03em; }
h2 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
h3 { font-weight: 600; letter-spacing: -0.015em; }
.tile .num { font-weight: 700; letter-spacing: -0.04em; }
.lead { font-family: var(--font); font-weight: 400; letter-spacing: -0.01em; line-height: 1.55; font-size: clamp(17px, 1.5vw, 20px); }
.eyebrow, .kicker { font-family: var(--font); font-weight: 600; font-size: 14px; letter-spacing: .01em; }
.nav a { font-family: var(--font); font-size: 14px; font-weight: 500; }
.btn { font-family: var(--font); font-weight: 600; letter-spacing: -0.005em; }
.wordmark { font-weight: 700; letter-spacing: -0.03em; }
.faq summary { font-weight: 600; font-size: 19px; }
p, li, td { letter-spacing: -0.005em; }

/* ================= v12: product UIs instead of decorative renders ================= */
.rcard-ui { flex: 1; margin: 0 16px 16px; border-radius: 16px; min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 26px;
  background: radial-gradient(120% 120% at 100% 0%, #dfe7f7 0%, #eef2f9 55%, #f4f6fa 100%); }
.mini { width: 100%; max-width: 380px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 16px 32px -18px rgba(11,31,58,.3); }
.mini-head { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; padding: 9px 0; border-top: 1px solid #eef1f6; }
.mini-row:first-of-type { border-top: 0; }
.mini-row .coin { gap: 8px; }
.mini-row .coin img { width: 22px; height: 22px; }
.mini-row .muted { color: var(--muted); font-size: 13px; }
.mini-on { margin: 0 -8px; padding: 9px 8px; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--navy); border-top-color: transparent; }
.mini-on + .mini-row { border-top-color: transparent; }
.mini-tier { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; font-size: 13px; padding: 8px 0; }
.mini-tier .bar { margin-top: 0; }

/* Products hero: product UI composition */
.hero-ui { position: relative; display: flex; align-items: center; justify-content: flex-start; padding: 40px;
  background: radial-gradient(120% 100% at 100% 0%, #d9e3f7 0%, #e9eef8 50%, #f2f5fa 100%) !important; }
.ui-addr { width: 250px; padding: 20px; }
.ui-addr .qr { width: 130px; height: 130px; }
.ui-policy { left: auto; right: 34px; bottom: 34px; width: 270px; }
@media (max-width: 640px) {
  .hero-ui { padding: 18px; }
  .ui-addr { width: 180px; padding: 14px; }
  .ui-addr .qr { width: 96px; height: 96px; }
  .ui-policy { right: 12px; left: auto; bottom: 12px; width: 210px; }
  .mini-tier { grid-template-columns: 100px 1fr; }
}
.hero-ui { align-items: flex-start; }
.hero-ui .ui-addr { margin: 0; }
@media (max-width: 640px) { .hero-ui .ui-addr .coin { display: none; } }
@media (max-width: 640px) {
  .hero-ui { height: auto !important; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .hero-ui .ui-addr { width: auto; display: flex; align-items: center; gap: 14px; }
  .hero-ui .ui-addr .mock-title { display: none; }
  .hero-ui .ui-addr .qr { margin: 0; width: 84px; height: 84px; padding: 6px; }
  .hero-ui .ui-addr .coin { display: flex; }
  .hero-ui .ui-policy { position: static; width: auto; }
}

/* ================= v13: homepage hero — branded withdrawal flow ================= */
.hero-brand { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 40px;
  background: linear-gradient(150deg, #e3ebfc 0%, #eef2fb 55%, #f6f8fc 100%) !important; }
.hero-brand::before { content: ""; position: absolute; width: 520px; height: 520px; right: -150px; bottom: -170px;
  background: url("brand/mark-v3.svg") center / contain no-repeat; opacity: .08; pointer-events: none; }
.flow-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 22px 24px 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -28px rgba(11,31,58,.4); }
.fc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #eef1f6; }
.fc-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.fc-head b { font-family: var(--font-display); font-size: 18px; color: var(--navy); }
.fc-steps { list-style: none; margin: 0; padding: 8px 0 0; }
.fc-steps li { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 10px 0; }
.fc-steps li::before { content: ""; position: absolute; left: 11px; top: 34px; bottom: -10px; width: 2px; background: #e3e8f1; }
.fc-steps li:last-child::before { display: none; }
.fc-steps li.st-done::before { background: #1d8a4e; opacity: .35; }
.fc-steps b { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.fc-steps span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.fc-steps i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; }
.fc-steps i svg { width: 13px; height: 13px; }
.st-done { background: #1d8a4e; color: #fff; }
.st-now { background: #e6edfc; box-shadow: inset 0 0 0 2px var(--accent); }
.st-now b { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: wp-pulse 1.6s ease-in-out infinite; }
.st-next { background: #fff; box-shadow: inset 0 0 0 2px #d6dce8; }
li.st-next b { color: #8a93a3; }
@keyframes wp-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .5; } }
.toast-card { position: absolute; top: 26px; right: 26px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 30px -16px rgba(11,31,58,.4); }
.toast-card i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.toast-card i svg { width: 14px; height: 14px; }
.toast-card b { display: block; font-size: 13px; color: var(--navy); }
.toast-card span { display: block; font-size: 12px; color: var(--muted); }
@media (min-width: 1001px) { .hero-brand .flow-card { margin-top: 36px; } }
@media (max-width: 1000px) { .hero-split-home .hero-brand { height: auto; padding: 84px 22px 26px; } }
@media (max-width: 640px) {
  .hero-split-home .hero-brand { height: auto; padding: 76px 14px 14px; }
  .toast-card { left: 14px; right: 14px; top: 14px; }
  .flow-card { padding: 16px 16px 6px; }
}
@media (prefers-reduced-motion: reduce) { .st-now b { animation: none; } }
.fc-steps li.is-done::before { background: #1d8a4e; opacity: .35; }
li.is-next b { color: #8a93a3; }
.fc-steps i.st-now b { display: block; }
@media (min-width: 1001px) { .hero-brand .flow-card { margin-top: 96px; } }


/* ================= v15: homepage hero — larger policy card overlapping the image edge ================= */
@media (min-width: 1001px) {
  .hero-split-home .container { grid-template-columns: 1.05fr .95fr; }
  .hero-split-home .hero-media { height: 480px; overflow: visible; margin-left: 64px; }
  .hero-split-home .policy-card { width: 360px; left: -72px; bottom: 44px; padding: 22px 24px; }
  .hero-split-home .pc-head { font-size: 15px; margin-bottom: 12px; }
  .hero-split-home .pc-row { font-size: 15.5px; padding: 9px 0; }
  .hero-split-home .pc-foot { font-size: 14px; margin-top: 12px; padding-top: 12px; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .hero-split-home .hero-media { height: 400px; }
  .hero-split-home .policy-card { left: 24px; bottom: 24px; width: 340px; }
}
.hero-split-home .hero-media { background-position: 70% center; }
