/* Global Flash Pay: public landing page */
.l-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
#faq .l-h2, #faq details { max-width: 760px; }
@media (min-width: 720px) { .l-wrap { padding: 0 32px; } }

/* Nav */
.l-nav { position: sticky; top: 0; z-index: 10; background: rgba(238,241,236,.88); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.l-nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.l-links { display: none; gap: 4px; margin-right: auto; }
.l-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: var(--r-sm); }
.l-links a:hover { background: rgba(20,32,58,.06); }
.l-nav-cta { display: flex; gap: 6px; margin-left: auto; }
.l-nav-cta .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
@media (min-width: 960px) { .l-links { display: flex; margin-left: 24px; } .l-nav-cta { margin-left: 0; } }
@media (max-width: 420px) { .l-nav-cta .btn-quiet { display: none; } }

/* Hero */
.l-hero { padding: 32px 0 40px; overflow: hidden; }
.l-hero-grid { display: grid; gap: 48px; align-items: center; }
.l-hero h1 { font: 800 clamp(40px, 6.4vw, 78px)/0.98 var(--display); letter-spacing: -0.035em; max-width: 12ch; }
.l-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); margin-top: 22px; max-width: 34em; line-height: 1.55; }
.l-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.l-proof { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.l-proof li { font-size: 14px; line-height: 1.35; color: var(--ink-soft); padding: 2px 20px; border-left: 1px solid var(--line-strong); }
.l-proof li:first-child { border: 0; padding-left: 0; }
.l-proof strong { display: block; font: 600 26px/1.15 var(--text); color: var(--ink); letter-spacing: -0.02em; }
@media (max-width: 520px) {
  .l-proof li { padding: 2px 12px; font-size: 13px; }
  .l-proof strong { font-size: 22px; }
  .l-hero .l-cta-row .btn { width: 100%; }
}

.l-hero-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero-card { width: min(420px, 86%); transform: rotate(-7deg) translate(6%, -6%); box-shadow: 0 40px 70px -28px rgba(20,32,58,.6); }
.ticket { position: absolute; left: 0; bottom: 6px; width: 230px; background: var(--surface); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 24px 50px -22px rgba(20,32,58,.45); border: 1px solid var(--line);
  -webkit-mask: radial-gradient(circle 8px at 0 58%, transparent 98%, #000) , radial-gradient(circle 8px at 100% 58%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask: radial-gradient(circle 8px at 0 58%, transparent 98%, #000), radial-gradient(circle 8px at 100% 58%, transparent 98%, #000);
  mask-composite: intersect; }
.t-label { font-size: 12px; color: var(--ink-soft); }
.t-from { font: 600 20px var(--text); letter-spacing: -0.01em; }
.t-to { font: 600 24px var(--text); color: var(--jade); letter-spacing: -0.02em; }
.t-rule { border-top: 1.5px dashed var(--line-strong); margin: 12px -18px; }
.t-foot { margin-top: 10px; font-size: 12px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 3px var(--jade-tint); }
.payout-pill { position: absolute; right: 0; top: 4px; display: flex; gap: 10px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px 8px 8px; font-size: 13px; line-height: 1.3;
  box-shadow: 0 18px 36px -20px rgba(20,32,58,.45); }
.pp-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--amber); flex: none; position: relative; }
.pp-ico::after { content: ""; position: absolute; left: 11px; top: 9px; width: 9px; height: 5px; border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
@media (min-width: 960px) {
  .l-hero { padding: 48px 0 32px; }
  .l-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .l-hero-visual { min-height: 480px; }
  .ticket { left: -10px; bottom: 30px; width: 250px; }
  .payout-pill { right: -6px; top: 40px; }
}
@media (max-width: 520px) {
  .l-hero-visual { min-height: 320px; }
  .ticket { width: 200px; padding: 14px; }
  .t-to { font-size: 20px; }
  .payout-pill { top: -8px; }
}

/* Sections */
.l-section { padding: 56px 0; }
.l-section + .l-section:not(.l-band) { border-top: 1px solid var(--line); }
.l-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-h2 { font: 800 clamp(28px, 3.4vw, 42px)/1.08 var(--display); letter-spacing: -0.025em; max-width: none; text-wrap: pretty; }
.l-sub { margin-top: 12px; max-width: 44em; }
@media (min-width: 960px) { .l-section { padding: 72px 0; } }

/* Steps: a real sequence, so it's numbered */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; position: relative; }
.steps li::before { content: counter(step); position: absolute; top: 20px; right: 20px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font: 700 14px var(--text); background: var(--ink); color: #fff; }
.steps h3 { font-size: 20px; margin: 16px 0 8px; }
.steps p { color: var(--ink-soft); }
.step-art { width: 132px; height: 88px; display: block; }
.sa-paper { fill: var(--paper); }
.sa-stroke { stroke: var(--line-strong); stroke-width: 1.5; }
.sa-ink { fill: var(--ink); }
.sa-amber { fill: var(--amber); }
.sa-line, .sa-line-w, .sa-line-j { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sa-line { stroke: var(--line-strong); }
.sa-line-w { stroke: #fff; stroke-width: 2.5; }
.sa-line-j { stroke: var(--jade); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Rates + calculator */
.l-two { display: grid; gap: 40px; }
@media (min-width: 960px) { .l-two { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; margin: 22px 0 14px; }
.seg button { border: 0; background: transparent; font: 600 14px var(--text); color: var(--ink-soft); padding: 7px 14px; border-radius: 99px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.rates { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.rates th, .rates td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.rates thead th { font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--paper-2); }
.rates tbody tr:last-child > * { border-bottom: 0; }
.rates tbody th { font-weight: 600; }
.asset-cell { display: flex; align-items: center; gap: 10px; }
.rates .r { text-align: right; }
.coin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--display); color: #fff; flex: none; }
.coin-btc { background: #E09A12; } .coin-eth { background: #5B5FC7; } .coin-usdt { background: #138A6E; } .coin-usdc { background: #3A6FD0; }
.fineprint { font-size: 13px; color: var(--ink-soft); margin-top: 12px; line-height: 1.5; }

.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.calc .l-h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 20px; }
.calc-form { display: grid; gap: 14px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out { margin-top: 22px; padding-top: 20px; border-top: 1.5px dashed var(--line-strong); }
.calc-big { font: 600 clamp(32px, 4vw, 44px)/1.1 var(--text); letter-spacing: -0.025em; color: var(--jade); margin: 2px 0 14px; word-break: break-word; }
.calc-dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 0; font-size: 15px; }
.calc-dl dd { padding-left: 16px; }
.calc-dl dt { color: var(--ink-soft); }
.calc-dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.calc-dl dt:last-of-type, .calc-dl dd:last-of-type { font-weight: 600; color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); }

/* Cost chart */
.chart-card { margin: 28px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px 20px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.chart-title { font-weight: 600; }
.chart-body { padding-top: 6px; }
.chart-card .fineprint { margin-top: 20px; max-width: 70em; }

/* Ways to use */
.ways { display: grid; gap: 20px; margin-top: 28px; }
.way { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.way h3 { font-size: 22px; margin: 22px 0 12px; }
.way-art { background: var(--paper); border-radius: var(--r-md); height: 200px; display: grid; place-items: center; overflow: hidden; }
.mini-card { width: 250px; aspect-ratio: 1.586; padding: 16px; transform: rotate(-5deg); }
.phone { width: 190px; height: 240px; margin-top: 70px; border-radius: 28px 28px 0 0; background: var(--ink); padding: 18px 12px; }
.ph-note { display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 14px; padding: 10px; font-size: 12px; line-height: 1.35; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 11px; height: 6px; border-left: 2.5px solid var(--jade);
  border-bottom: 2.5px solid var(--jade); transform: rotate(-45deg); }
@media (min-width: 860px) { .ways { grid-template-columns: 1fr 1fr; } }

/* Security */
.sec-grid { display: grid; gap: 28px; margin-top: 28px; }
.sec svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--jade-tint); fill: none; stroke: var(--jade); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec h3 { font-size: 18px; margin: 14px 0 6px; }
.sec p { color: var(--ink-soft); }
@media (min-width: 640px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .sec-grid { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
#faq .l-h2 { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font: 600 18px var(--text); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 31px; }
details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 60em; }

/* Final call to action */
.l-final { background: var(--ink); color: #fff; padding: 64px 0; position: relative; }
.l-final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: linear-gradient(135deg, var(--amber) 25%, transparent 25%) -7px 0 / 14px 14px,
              linear-gradient(225deg, var(--amber) 25%, transparent 25%) -7px 0 / 14px 14px; }
.l-final-inner { display: flex; flex-direction: column; gap: 8px; }
.l-final h2 { font: 800 clamp(34px, 5vw, 60px)/1.02 var(--display); letter-spacing: -0.03em; }
@media (min-width: 860px) { .l-final-inner { flex-direction: row; align-items: center; justify-content: space-between; } .l-final .l-cta-row { margin-top: 0; } }

.l-footer { padding: 36px 0 28px; }
.l-footer .fineprint { margin: 0; }
.l-footer-top { display: grid; gap: 24px; align-items: end; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.l-footer-brand { display: grid; gap: 10px; max-width: 44em; }
.l-footer-picks { display: flex; flex-wrap: wrap; gap: 12px; }
.l-footer-picks label { display: grid; gap: 6px; margin: 0; }
.pick-label { font-size: 12px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.l-footer-picks label { flex: 1 1 200px; min-width: 0; }
.l-footer-picks .lang-pick { width: 100%; min-width: 0; }
@media (min-width: 860px) { .l-footer-picks { width: 460px; } }
.l-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; }
.l-footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.l-footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 13px; }
.l-footer-links a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 860px) { .l-footer-top { grid-template-columns: 1fr auto; } }

/* v2: coin strip, product art */
.l-nav-cta { align-items: center; }
.pick-slot { display: inline-flex; gap: 6px; align-items: center; }
.l-nav-cta .lang-pick { min-height: 42px; }
.l-nav-cta .ccy-pick { width: 96px; }
@media (max-width: 1199px) { .l-nav-cta .ccy-slot { display: none; } }
@media (max-width: 640px) { .l-nav-cta .pick-slot { display: none; } }
.coin-strip { display: flex; gap: 8px; overflow-x: auto; margin-top: 32px; padding-bottom: 6px; scrollbar-width: none; }
.coin-strip::-webkit-scrollbar { display: none; }
.strip-item { display: inline-flex; align-items: center; gap: 8px; flex: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 12px 5px 5px; font-weight: 600; font-size: 14px; }
.strip-item .coin { width: 24px; height: 24px; font-size: 10px; }
.strip-fiat { padding: 7px 12px; color: var(--ink-soft); }
.strip-sep { flex: none; width: 1px; background: var(--line-strong); margin: 4px 6px; }
.rate-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 14px; }
.rate-bar .seg { margin: 0; }
.rate-more select { min-height: 40px; padding-top: 6px; padding-bottom: 6px; border-radius: 99px; width: auto; max-width: 220px; font-weight: 600; font-size: 14px; }
.rate-more select.is-on { background-color: var(--ink); color: #fff; border-color: var(--ink); }
.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; }
.coin-rwf { background: var(--ink); font-size: 10px; } .coin-sol { background: #7A5FD0; }
.buy-art { display: grid; gap: 14px; place-content: center; justify-items: center; }
.buy-row { display: flex; align-items: center; gap: 10px; }
.buy-row .coin { width: 48px; height: 48px; font-size: 16px; }
.buy-row .coin + .coin { margin-left: -18px; box-shadow: 0 0 0 3px var(--paper); }
.swap-arrows { display: grid; gap: 8px; margin: 0 10px; }
.swap-arrows span { width: 44px; height: 2px; background: var(--jade); position: relative; display: block; }
.swap-arrows span::after { content: ""; position: absolute; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--jade); border-right: 2px solid var(--jade); }
.swap-arrows span:first-child::after { right: 0; transform: rotate(45deg); }
.swap-arrows span:last-child { background: var(--amber); }
.swap-arrows span:last-child::after { left: 0; transform: rotate(-135deg); border-color: var(--amber); }
.buy-cap { font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; }
.buy-cap-2 { color: var(--ink-soft); font-weight: 500; margin-top: -8px; }
.strip-fiat.is-local { color: var(--jade); border-color: var(--jade); }
.strip-more { color: var(--ink); background: var(--paper-2); }
.code-art { display: grid; gap: 16px; place-content: center; justify-items: center; padding: 16px; }
.code-mini { background: var(--ink); color: #E8ECF4; border-radius: 10px; padding: 12px 16px; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0; }
.c-k { color: #F0B65A; } .c-a { color: #8FD3C1; } .c-s { color: #B9C7E8; }
.pay-btn-demo { background: var(--jade); color: #fff; font-weight: 600; padding: 10px 20px; border-radius: 12px; font-size: 15px; }

.l-nav .brand, .l-links a, .l-nav-cta .btn { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1199px) { .l-links { display: none; } }

/* v4 layout polish */
.l-hero + .l-section { padding-top: 32px; }
.l-hero h1, .l-final h2 { text-wrap: balance; }
.l-sub { max-width: none; }
.coin-strip { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.l-dest.dest-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.l-final .l-cta-row { flex-wrap: nowrap; }
@media (max-width: 420px) { .l-final .l-cta-row { flex-wrap: wrap; } }
@media (min-width: 960px) {
  #faq .l-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 56px; align-items: start; }
  #faq .l-h2 { grid-row: span 6; position: sticky; top: 96px; }
  #faq details { max-width: none; }
}
[dir="rtl"] .l-footer-links, [dir="rtl"] .l-nav-cta { direction: rtl; }
.l-final .btn { white-space: nowrap; }
.l-final h2 { flex: 1 1 auto; }
.calc-compare { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc-compare .fineprint { margin: 2px 0 12px; }
.calc-compare .hb-label { font-size: 13px; }
@media (min-width: 1040px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
