/* MundoPay — fintech landing. Brand: navy ground, one blue, the glowing card. */
:root {
  --navy: #060b18;
  --navy-2: #0c1530;
  --navy-3: #142146;
  --blue: #1e7bf0;
  --blue-d: #155fc4;
  --blue-l: #8cbcff;
  --paper: #f2f5fa;
  --white: #ffffff;
  --ink: #0a1226;
  --ink-2: #4a5873;
  --on-dark: #e9eefb;
  --on-dark-2: #a5b2cf;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --gap-sec: clamp(88px, 12vw, 160px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand: "Libre Franklin", "Manrope", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; border: 0; transition: background .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--blue-d); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--on-dark); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: var(--navy-3); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #dde8fb; }
.link { display: inline-flex; gap: 6px; font-weight: 700; color: var(--blue-l); }
.link span { transition: transform .2s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--on-dark); transition: background .3s; }
.nav.is-scrolled { background: rgba(6, 11, 24, .96); }
.nav__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; gap: 24px; }
.wordmark { font: 900 22px/1 var(--brand); letter-spacing: -.02em; color: #fff; }
.wordmark span { color: var(--blue); }
.wordmark--lg { font-size: 34px; }
.nav nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav nav a { display: block; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--on-dark-2); transition: color .2s, background .2s; }
.nav nav a:hover { color: #fff; background: rgba(255,255,255,.07); }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--on-dark); padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -220px; top: -160px; background: radial-gradient(closest-side, rgba(30,123,240,.30), rgba(30,123,240,0)); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 800; color: #fff; max-width: 9.5em; }
.hero__lead { margin-top: 28px; font-size: clamp(18px, 1.5vw, 21px); color: var(--on-dark-2); max-width: 30em; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { margin-top: 48px; display: flex; gap: clamp(20px, 4vw, 48px); color: var(--on-dark-2); font-size: 15px; }
.hero__facts strong { display: block; font-size: 30px; line-height: 1.1; color: #fff; letter-spacing: -.02em; }

.hero__visual { position: relative; min-height: 600px; display: flex; justify-content: flex-end; align-items: center; padding-right: 60px; }
.phone { position: relative; width: 300px; aspect-ratio: 300 / 610; background: #0f1a36; border-radius: 46px; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 2px #23335c; z-index: 1; animation: float 7s ease-in-out infinite; }
.phone__screen { height: 100%; border-radius: 37px; background: #0a1226; overflow: hidden; padding: 22px 16px 16px; font-size: 13px; }
.tg-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; }
.tg-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 900 16px var(--brand); }
.tg-name { font-weight: 800; color: #fff; font-size: 14px; }
.tg-sub { color: var(--on-dark-2); font-size: 12px; }
.bal { background: var(--blue); border-radius: 22px; padding: 18px; color: #fff; }
.bal__label { font-size: 12px; opacity: .85; }
.bal__num { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.bal__num span { font-size: 18px; opacity: .8; }
.bal__up { font-size: 12px; margin-top: 2px; opacity: .9; }
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0; }
.qa span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--on-dark-2); font-weight: 600; }
.ico { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-3); position: relative; }
.ico::before { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: 2.5px solid var(--blue-l); border-left: 0; border-bottom: 0; }
.ico--in::before { transform: translateY(-2px) rotate(135deg); }
.ico--out::before { transform: translateY(2px) rotate(-45deg); }
.ico--swap::before { width: 16px; height: 10px; border: 2.5px solid var(--blue-l); border-radius: 3px; transform: none; }
.ico--card::before { width: 18px; height: 12px; border: 2.5px solid var(--blue-l); border-radius: 3px; transform: none; }
.assets li { display: flex; align-items: center; gap: 10px; padding: 10px 4px; }
.assets__n { flex: 1; font-weight: 700; color: #fff; display: flex; flex-direction: column; line-height: 1.25; }
.assets__v { text-align: right; font-weight: 700; color: #fff; display: flex; flex-direction: column; line-height: 1.25; font-variant-numeric: tabular-nums; }
.assets small { font-size: 11px; font-weight: 500; color: var(--on-dark-2); }

.coin { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; }
.coin--usdt { background: #26a17b; } .coin--usd { background: #2f8f4e; } .coin--eur { background: #2e5bd6; }
.coin--btc { background: #f7931a; } .coin--eth { background: #627eea; } .coin--usdc { background: #2775ca; }
.coin--sol { background: #111; color: #14f195; } .coin--trx { background: #eb0029; } .coin--bnb { background: #f3ba2f; color: #1b1b1b; }
.coin--ltc { background: #345d9d; } .coin--ton { background: #0098ea; } .coin--xrp { background: #23292f; }

.hero__card { position: absolute; width: 330px; right: -8px; bottom: 34px; z-index: 2; transform: rotate(-10deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); animation: cardfloat 8s ease-in-out infinite; }
.toast { position: absolute; left: 0; bottom: 150px; z-index: 3; display: flex; align-items: center; gap: 12px; background: var(--white); color: var(--ink); border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); font-size: 13px; line-height: 1.3; animation: toast 6s ease-in-out 1.2s infinite; }
.toast strong { display: block; font-size: 14px; }
.toast p { color: var(--ink-2); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes cardfloat { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(-14px); } }
@keyframes toast { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- ticker ---------- */
.ticker { background: var(--blue); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker p { white-space: nowrap; font-weight: 800; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.01em; padding-right: 24px; }
.ticker b { color: var(--navy); margin: 0 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2, .convert-sec h2, .crypto h2, .cta h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.sec-head p, .convert-sec__head > p, .crypto__text > p { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.sec-head--dark p { color: var(--on-dark-2); }

/* ---------- bento ---------- */
.bento-sec { padding: var(--gap-sec) 0 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.b { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; }
.b h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.b p { margin-top: 12px; font-size: 16px; }
.b--card { grid-column: span 4; background: var(--navy); color: var(--on-dark); flex-direction: row; align-items: center; gap: 24px; min-height: 380px; }
.b--card .b__text { flex: 1; max-width: 340px; }
.b--card p { color: var(--on-dark-2); }
.b--card .link { margin-top: 24px; }
.b--card img { width: 52%; flex: none; transform: rotate(-8deg) translateX(8%); filter: drop-shadow(0 30px 30px rgba(0,0,0,.5)); transition: transform .6s var(--ease); }
.b--card:hover img { transform: rotate(-4deg) translateX(4%) scale(1.03); }
.b--dark { grid-column: span 2; background: var(--navy-3); color: var(--on-dark); }
.b--dark p { color: var(--on-dark-2); }
.b--white { grid-column: span 2; background: var(--white); }
.b--white p { color: var(--ink-2); }
.b--photo { grid-column: span 2; padding: 0; color: #fff; justify-content: flex-end; min-height: 420px; }
.b--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.b--photo:hover img { transform: scale(1.05); }
.b__over { position: relative; padding: clamp(24px, 3vw, 36px); background: linear-gradient(to top, rgba(6,11,24,.92), rgba(6,11,24,0)); padding-top: 120px; }
.b__over p { color: #dfe6f5; }
.b--blue { grid-column: span 2; background: var(--blue); color: #fff; }
.b--blue p { color: #e4eeff; }

.swap { margin-top: auto; padding-top: 24px; }
.swap__row { display: flex; align-items: center; gap: 12px; background: var(--navy-2); border-radius: var(--r-sm); padding: 14px; font-size: 14px; color: var(--on-dark-2); }
.swap__row strong { margin-left: auto; color: #fff; font-size: 17px; font-variant-numeric: tabular-nums; }
.swap__arrow { display: grid; place-items: center; width: 34px; height: 34px; margin: -6px auto; position: relative; z-index: 1; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.swap__rate { font-size: 13px !important; text-align: center; }

.notes { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.note { display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: var(--r-sm); padding: 12px 14px; }
.note p { margin: 0 !important; font-size: 13px !important; line-height: 1.35; }
.note strong { display: block; color: var(--ink); font-size: 15px; }
.note--b { opacity: .75; }

.freeze { margin-top: auto; display: flex; align-items: center; gap: 12px; background: rgba(6,11,24,.22); border-radius: var(--r-sm); padding: 14px 16px; font-weight: 700; }
.freeze__card { font-variant-numeric: tabular-nums; opacity: .8; font-weight: 600; }
.toggle { margin-left: auto; width: 56px; height: 32px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); position: relative; transition: background .25s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.toggle[aria-checked="true"] { background: var(--navy); }
.toggle[aria-checked="true"]::after { transform: translateX(24px); }

/* ---------- converter ---------- */
.convert-sec { padding: var(--gap-sec) 0 0; }
.convert-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; align-items: center; }
.cities { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.cities button { border: 0; background: var(--white); border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 15px; color: var(--ink); transition: background .2s, color .2s, transform .2s var(--ease); }
.cities button:hover { background: #dde8fb; }
.cities button:active { transform: scale(.96); }
.cities button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.convert-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.shot { position: relative; min-height: 440px; }
.shot__in, .shot__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__in img { opacity: 0; transition: opacity .6s ease, transform 1.2s var(--ease); transform: scale(1.06); }
.shot__in img.is-on { opacity: 1; transform: scale(1); }
.shot figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(6,11,24,.78); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.convert { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.convert label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.convert__in { margin-top: 10px; display: flex; align-items: center; background: var(--paper); border-radius: var(--r-sm); padding: 0 16px; transition: box-shadow .2s; }
.convert__in:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.convert input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; font: 800 32px/1 var(--font); padding: 16px 0; color: var(--ink); letter-spacing: -.02em; outline: none; }
.convert__cur { font-weight: 800; color: var(--ink-2); }
.convert__eq { margin-top: 28px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.convert__out { font-size: clamp(40px, 4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: var(--blue); font-variant-numeric: tabular-nums; }
.convert__what { margin-top: 6px; font-size: 16px; }
.convert__rate { margin-top: 18px; font-size: 13px; color: var(--ink-2); }

/* ---------- crypto ---------- */
.crypto { margin-top: var(--gap-sec); background: var(--navy); color: var(--on-dark); padding: var(--gap-sec) 0; }
.crypto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.crypto h2 { color: #fff; }
.crypto__text > p { color: var(--on-dark-2); }
.perks { margin-top: 36px; display: grid; gap: 14px; }
.perks li { background: var(--navy-2); border-radius: var(--r-md); padding: 20px 22px; color: var(--on-dark-2); font-size: 16px; }
.perks strong { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.coins { background: var(--navy-2); border-radius: var(--r-lg); padding: 28px; }
.coins__title { font-weight: 800; color: #fff; font-size: 18px; margin-bottom: 16px; }
.coins ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.coins li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm); background: var(--navy-3); font-weight: 700; color: #fff; transition: transform .2s var(--ease), background .2s; }
.coins li:hover { transform: translateY(-2px); background: #1b2b5a; }
.coins small { margin-left: auto; color: var(--on-dark-2); font-weight: 600; font-size: 13px; }

/* ---------- security ---------- */
.security { background: var(--navy-2); color: var(--on-dark); padding: var(--gap-sec) 0; }
.security h2 { color: #fff; }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.s { background: var(--navy-3); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); min-height: 220px; display: flex; flex-direction: column; }
.s h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: #fff; }
.s p { margin-top: 10px; color: var(--on-dark-2); font-size: 16px; }
.s--big { grid-column: span 2; grid-row: span 2; background: var(--blue); }
.s--big p { color: #e4eeff; }
.s--big h3 { font-size: clamp(26px, 2.6vw, 34px); }
.s--wide { grid-column: span 2; }
.risk { margin-top: auto; background: rgba(6,11,24,.25); border-radius: var(--r-md); padding: 20px; }
.risk__t { font-weight: 700; color: #fff !important; margin: 0 !important; }
.risk__bar { margin-top: 14px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.2); overflow: hidden; }
.risk__bar span { display: block; height: 100%; border-radius: inherit; background: #5ee39a; }
.risk__v { margin-top: 10px !important; color: #e4eeff; font-size: 14px !important; }
.risk__v strong { color: #fff; margin-right: 6px; }
.chat { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; font-size: 14px; }
.chat p { margin: 0; padding: 10px 14px; border-radius: 16px; max-width: 80%; }
.chat__me { justify-self: end; background: var(--blue); color: #fff !important; border-bottom-right-radius: 4px; }
.chat__them { background: var(--navy-2); color: var(--on-dark) !important; border-bottom-left-radius: 4px; }

/* ---------- steps ---------- */
.steps { padding: var(--gap-sec) 0 0; }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps__list li { background: var(--white); border-radius: var(--r-lg); padding: 32px; }
.steps__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 40px; }
.steps__list h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.steps__list p { margin-top: 10px; color: var(--ink-2); }

/* ---------- plans ---------- */
.plans { padding: var(--gap-sec) 0 0; }
.plans__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; }
.plan h3 { font-size: 30px; letter-spacing: -.03em; font-weight: 800; }
.plan__who { margin-top: 8px; color: var(--ink-2); }
.price { margin-top: 28px; font-size: clamp(48px, 5vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.plan__inc { margin: 28px 0 36px; display: grid; gap: 12px; }
.plan__inc li { position: relative; padding-left: 32px; }
.plan__inc li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #dbe8fd; }
.plan__inc li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 10px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--plus { background: var(--navy); color: var(--on-dark); }
.plan--plus h3, .plan--plus .price { color: #fff; }
.plan--plus .plan__who, .plan--plus .price small { color: var(--on-dark-2); }
.plan--plus .plan__inc li::before { background: var(--navy-3); }
.plan--plus .plan__inc li::after { border-color: var(--blue-l); }

/* ---------- faq ---------- */
.faq { padding: var(--gap-sec) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.q { background: var(--white); border-radius: var(--r-md); }
.q h3 { font-size: inherit; }
.q button { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; background: none; border: 0; padding: 22px 24px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.q button i { margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); position: relative; transition: background .2s, transform .3s var(--ease); }
.q button i::before, .q button i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.q button i::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.q.is-open button i { background: var(--blue); transform: rotate(180deg); }
.q.is-open button i::before, .q.is-open button i::after { background: #fff; }
.q.is-open button i::after { transform: rotate(0); }
.q__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.q.is-open .q__a { grid-template-rows: 1fr; }
.q__a > div { overflow: hidden; }
.q__a p { padding: 0 24px 24px; color: var(--ink-2); max-width: 40em; }

/* ---------- cta ---------- */
.cta { background: var(--blue); color: #fff; overflow: hidden; }
.cta__in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.cta h2 { color: #fff; max-width: 12em; }
.cta p { margin-top: 18px; font-size: 19px; color: #e4eeff; max-width: 28em; }
.cta .btn { margin-top: 32px; }
.cta__card { width: 100%; max-width: 520px; justify-self: end; transform: rotate(-12deg); filter: drop-shadow(0 30px 40px rgba(6,11,24,.45)); animation: cardfloat2 9s ease-in-out infinite; }
@keyframes cardfloat2 { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-9deg) translateY(-14px); } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--on-dark-2); padding: 80px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer__brand p { margin: 16px 0 24px; max-width: 20em; }
.footer h3 { font-size: 15px; color: #fff; font-weight: 800; margin-bottom: 14px; }
.footer nav ul { display: grid; gap: 10px; }
.footer nav a { font-size: 15px; transition: color .2s; }
.footer nav a:hover { color: #fff; }
.footer__bottom { margin-top: 64px; padding-top: 24px; background: linear-gradient(var(--navy-3), var(--navy-3)) top / 100% 1px no-repeat; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* ---------- entrances ---------- */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.js .hero h1 { animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { max-width: 11em; }
  .hero__visual { min-height: 560px; justify-content: center; padding-right: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b--card { grid-column: span 2; }
  .b--dark, .b--white, .b--photo, .b--blue { grid-column: span 1; }
  .b--blue { grid-column: span 2; min-height: 0; }
  .b--blue .freeze { margin-top: 24px; }
  .convert-grid, .crypto__grid, .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .s--big { grid-row: auto; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: span 2; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__in { height: 64px; }
  .wordmark { font-size: 20px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 56px); }
  .hero__lead { margin-top: 20px; font-size: 18px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { margin-top: 36px; justify-content: space-between; }
  .hero__facts strong { font-size: 26px; }
  .hero__visual { min-height: 520px; margin-top: 16px; }
  .phone { width: 248px; border-radius: 40px; }
  .phone__screen { border-radius: 32px; padding: 18px 12px 12px; font-size: 12px; }
  .bal__num { font-size: 25px; }
  .ico { width: 36px; height: 36px; }
  .assets li { padding: 8px 2px; }
  .coin { width: 30px; height: 30px; font-size: 13px; }
  .hero__card { width: 210px; right: -16px; bottom: 6px; }
  .toast { left: -6px; bottom: 120px; padding: 10px 12px 10px 10px; font-size: 12px; }
  .toast strong { font-size: 13px; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p, .convert-sec__head > p, .crypto__text > p { font-size: 17px; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .b--card, .b--dark, .b--white, .b--photo, .b--blue { grid-column: auto; }
  .b { min-height: 0; }
  .b--card { flex-direction: column; align-items: flex-start; min-height: 0; }
  .b--card img { width: 92%; margin: 8px auto -8px; transform: rotate(-8deg); }
  .b--photo { min-height: 400px; }
  .swap, .notes { padding-top: 20px; }
  .freeze { margin-top: 20px; }
  .convert-box { grid-template-columns: 1fr; }
  .shot { min-height: 240px; }
  .cities button { padding: 10px 16px; }
  .coins { padding: 18px; }
  .coins ul { gap: 6px; }
  .coins li { padding: 10px; gap: 10px; font-size: 14px; }
  .coins small { font-size: 12px; }
  .sec-grid { grid-template-columns: 1fr; gap: 12px; }
  .s--big, .s--wide { grid-column: auto; }
  .s { min-height: 0; }
  .risk, .chat { margin-top: 20px; }
  .steps__list, .plans__grid { grid-template-columns: 1fr; gap: 12px; }
  .steps__list li { padding: 24px; }
  .steps__n { margin-bottom: 24px; }
  .plan .btn { align-self: stretch; }
  .q button { padding: 18px; font-size: 16px; }
  .q__a p { padding: 0 18px 20px; }
  .cta__in { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
  .cta__card { justify-self: center; max-width: 320px; margin: 8px 0 -16px; }
  .footer { padding-top: 56px; }
  .footer__top { gap: 32px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
}
