/* Wallee public landing page. Standalone: it does not load the app stylesheets. */
:root {
    --bg: #070b16;
    --bg-2: #0b1224;
    --surface: rgba(255, 255, 255, .055);
    --surface-2: rgba(255, 255, 255, .09);
    --line: rgba(255, 255, 255, .14);
    --text: #eef2fb;
    --muted: #aab5cd;
    --blue: #74acdf;
    --teal: #2dd4bf;
    --gold: #f6b93b;
    --gold-2: #ffd36b;
    --radius: 18px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.lp {
    margin: 0; min-height: 100vh; overflow-x: hidden;
    background: var(--bg); color: var(--text);
    font-family: var(--font); font-size: 16px; line-height: 1.6;
}
.lp img { max-width: 100%; height: auto; }
.lp a { color: var(--blue); }
.lp a:hover { color: var(--gold-2); }
.lp :focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1405; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.lp-skip:focus { top: 12px; }
.lp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Background: aurora mesh and faint grid */
.lp-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, #0e1a3a 0%, var(--bg) 55%, #04070f 100%); }
.lp-aurora { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .32; will-change: transform; }
.lp-aurora--a { left: -20vmax; top: -18vmax; background: radial-gradient(circle, var(--blue), transparent 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.lp-aurora--b { right: -22vmax; top: 10vmax; background: radial-gradient(circle, var(--teal), transparent 65%); opacity: .2; animation: drift-b 32s ease-in-out infinite alternate; }
.lp-aurora--c { left: 15vmax; bottom: -28vmax; background: radial-gradient(circle, var(--gold), transparent 65%); opacity: .16; animation: drift-a 38s ease-in-out infinite alternate-reverse; }
.lp-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000 10%, transparent 75%);
    mask-image: radial-gradient(70% 60% at 50% 25%, #000 10%, transparent 75%);
    opacity: .12;
}
@keyframes drift-a { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-9vmax, 5vmax, 0) scale(1.1); } }

/* Top bar */
.lp-top { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); background: rgba(7, 11, 22, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lp-top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; margin: 0; }
.lp-brand img { border-radius: 50%; }
.lp-top__nav { display: flex; align-items: center; gap: 8px; }
.lp-link { color: var(--text) !important; text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.lp-link:hover { background: var(--surface); }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 700 .98rem var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.lp-btn--lg { min-height: 52px; padding: 0 28px; font-size: 1.02rem; }
.lp-btn--solid { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405 !important; box-shadow: 0 8px 28px rgba(246, 185, 59, .28); }
.lp-btn--solid:hover { box-shadow: 0 10px 34px rgba(246, 185, 59, .42); }
.lp-btn--ghost { background: var(--surface); color: var(--text) !important; border-color: var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp-btn--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, .28); }
.lp-btn--text { background: transparent; color: var(--blue) !important; }
.lp-btn--text:hover { color: var(--gold-2) !important; }

/* Hero */
.lp-hero { padding: 40px 0 28px; }
.lp-hero__in { display: grid; gap: 28px; align-items: center; }
.lp-hero__coin { order: -1; display: flex; justify-content: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--gold-2); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lp h1 { margin: 0 0 16px; font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.lp-grad { background: linear-gradient(100deg, var(--blue) 0%, var(--teal) 50%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.lp-lead { margin: 0 0 24px; color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.lp-cta { display: flex; flex-direction: column; gap: 12px; }
.lp-cta .lp-btn { width: 100%; }
.lp-small { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }

.lp-coin { position: relative; width: min(64vw, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.lp-coin__img { position: relative; z-index: 2; width: 74%; height: auto; border-radius: 50%; filter: drop-shadow(0 18px 40px rgba(246, 185, 59, .35)); animation: float 7s ease-in-out infinite; }
.lp-coin::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(116, 172, 223, .38), rgba(45, 212, 191, .12) 55%, transparent 70%); filter: blur(18px); }
.lp-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .22); animation: spin 40s linear infinite; }
.lp-ring--2 { inset: 9%; border: 1px solid rgba(246, 185, 59, .35); animation-duration: 60s; animation-direction: reverse; }
.lp-ring--1::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px 3px var(--teal); }
.lp-ring--2::after { content: ""; position: absolute; bottom: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px 3px var(--gold); }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Live ticker */
.lp-ticker { padding: 8px 0 24px; }
.lp-ticker__box { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lp-live { display: inline-flex; align-items: center; gap: 8px; font: 700 .74rem var(--mono); letter-spacing: .14em; color: var(--teal); }
.lp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }
.lp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 0; }
.lp-stat { min-width: 0; }
.lp-stat dt { margin: 0 0 2px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.lp-stat dd { margin: 0; }
.lp-num { display: inline-block; min-width: 7ch; min-height: 1.5em; font: 700 clamp(1.05rem, 4.6vw, 1.5rem) var(--mono); font-variant-numeric: tabular-nums; color: var(--text); line-height: 1.5; }
.lp-num.is-loading { min-width: 9ch; border-radius: 6px; background: linear-gradient(90deg, var(--surface) 20%, var(--surface-2) 50%, var(--surface) 80%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; color: transparent; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Sections */
.lp-sec { padding: 36px 0; }
.lp-h2 { margin: 0 0 24px; text-align: center; font-size: clamp(1.5rem, 5.5vw, 2.1rem); letter-spacing: -.02em; line-height: 1.2; }
.lp-h2--left { text-align: left; }
.lp-cards, .lp-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lp-card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .2s ease, transform .2s ease; }
.lp-card:hover { border-color: rgba(116, 172, 223, .5); transform: translateY(-2px); }
.lp-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.lp-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.lp-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; font-size: 1.15rem; color: var(--gold-2); background: linear-gradient(135deg, rgba(116, 172, 223, .22), rgba(45, 212, 191, .14)); border: 1px solid var(--line); }
.lp-step { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; font: 800 1rem var(--mono); color: #1a1405; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.lp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; min-height: 44px; font-weight: 700; text-decoration: none; }
.lp-more:hover { text-decoration: underline; }

.lp-banner { display: grid; gap: 20px; justify-items: center; text-align: center; padding: 28px 20px; border-radius: 24px; border: 1px solid rgba(246, 185, 59, .45); background: linear-gradient(135deg, rgba(246, 185, 59, .14), rgba(116, 172, 223, .1) 55%, rgba(45, 212, 191, .08)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(246, 185, 59, .1); }
.lp-banner__img { border-radius: 50%; filter: drop-shadow(0 8px 22px rgba(246, 185, 59, .35)); }
.lp-banner h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 5.5vw, 2.1rem); letter-spacing: -.02em; }
.lp-banner p { margin: 0; color: var(--muted); }
.lp-banner .lp-eyebrow { margin-bottom: 10px; color: var(--gold-2); }
.lp-banner__cta { width: 100%; display: flex; flex-direction: column; align-items: center; }
.lp-banner__cta .lp-btn { width: 100%; }
.lp-banner__cta .lp-small { margin-top: 10px; }

.lp-trans { display: grid; gap: 20px; align-items: center; }
.lp-text { margin: 0 0 18px; color: var(--muted); max-width: 52ch; }
.lp-contract h3 { margin-bottom: 4px; }
.lp-contract .lp-small { margin: 0 0 10px; }
.lp-hash { display: block; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); font: 600 .82rem var(--mono); color: var(--teal); overflow-wrap: anywhere; word-break: break-all; }
.lp-contract__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }

/* Footer */
.lp-foot { margin-top: 24px; padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(4, 7, 15, .6); }
.lp-foot__grid { display: grid; gap: 20px; }
.lp-brand--foot { font-size: 1.05rem; }
.lp-foot .lp-small { margin-top: 8px; }
.lp-foot__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.lp-foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.lp-foot__links a:hover { text-decoration: underline; }
.lp-legal { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.lp-wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #1fa855; color: #fff !important; font-size: 1.6rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); text-decoration: none; }
.lp-wa:hover { background: #17924a; }

@media (max-width: 599px) {
    .lp-hide-sm { display: none; }
    .lp-top__in { min-height: 56px; }
    /* Keep the headline and the primary action inside the first screen on phones. */
    .lp-coin { width: min(42vw, 168px); }
}
@media (max-width: 359px) {
    /* Not enough room for the brand name next to the two buttons. */
    .lp-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .lp-top__nav .lp-btn { padding: 0 14px; }
}
@media (min-width: 600px) {
    .lp-wrap { padding: 0 24px; }
    .lp-cta { flex-direction: row; flex-wrap: wrap; }
    .lp-cta .lp-btn { width: auto; }
    .lp-stats { grid-template-columns: repeat(4, 1fr); }
    .lp-cards { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { grid-template-columns: repeat(3, 1fr); }
    .lp-ticker__box { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
    .lp-banner { grid-template-columns: auto 1fr; text-align: left; justify-items: start; }
    .lp-banner__cta { grid-column: 1 / -1; align-items: flex-start; }
    .lp-banner__cta .lp-btn { width: auto; }
}
@media (min-width: 900px) {
    .lp-hero { padding: 72px 0 40px; }
    .lp-hero__in { grid-template-columns: 1.15fr .85fr; gap: 48px; }
    .lp-hero__coin { order: 0; }
    .lp-coin { width: min(34vw, 400px); }
    .lp-cards { grid-template-columns: repeat(3, 1fr); }
    .lp-sec { padding: 56px 0; }
    .lp-banner { grid-template-columns: auto 1fr auto; padding: 36px 40px; gap: 32px; }
    .lp-banner__cta { grid-column: auto; align-items: center; max-width: 280px; }
    .lp-banner__img { width: 120px; height: auto; }
    .lp-trans { grid-template-columns: 1fr 1fr; gap: 40px; }
    .lp-foot__grid { grid-template-columns: 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-aurora, .lp-coin__img, .lp-ring, .lp-dot, .lp-num.is-loading { animation: none !important; }
    .lp-btn, .lp-card { transition: none; }
    .lp-btn:hover, .lp-card:hover { transform: none; }
}

/* Android download button and page */
.lp-btn--android .fa-android { color: #3ddc84; font-size: 1.25em; }
.lp-app { padding: 32px 0 8px; }
.lp-app__hero { display: grid; gap: 16px; justify-items: start; }
.lp-app__hero h1 { margin: 0; }
.lp-app__cta { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.lp-app__cta .lp-btn { width: 100%; }
.lp-facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp-facts li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lp-facts li:last-child { border-bottom: 0; }
.lp-facts span { color: var(--muted); }
.lp-facts strong { font-weight: 700; }
.lp-sha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lp-sha .lp-hash { flex: 1 1 260px; margin: 0; }
.lp-olist { display: grid; gap: 10px; margin: 0 0 18px; padding-left: 1.3em; color: var(--text); }
.lp-olist li { padding-left: 4px; }
.lp-olist li::marker { color: var(--gold-2); font-weight: 800; }
.lp-prose { max-width: 62ch; }
.lp-prose h2 { margin: 28px 0 10px; font-size: 1.3rem; text-align: left; }
.lp-prose p, .lp-prose li { color: var(--muted); }
@media (min-width: 720px) {
    .lp-app__cta { flex-direction: row; width: auto; }
    .lp-app__cta .lp-btn { width: auto; }
}

/* Legal documents (/terminos, /privacidad): long-form prose, numbered headings, print rules */
.lp-doc { padding: 32px 0 8px; }
.lp-doc__in { max-width: 72ch; margin: 0 auto; }
.lp-doc h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 6.5vw, 2.6rem); }
.lp-doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 20px; color: var(--muted); font-size: .92rem; }
.lp-doc__meta strong { color: var(--text); }
.lp-doc__draft { margin: 0 0 20px; }
.lp-operator { display: grid; gap: 6px; margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lp-operator__row { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.lp-operator dt { min-width: 11ch; color: var(--muted); font-size: .9rem; }
.lp-operator dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.lp-toc { margin: 0 0 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lp-toc h2 { margin: 0 0 10px; font-size: 1.05rem; text-align: left; }
.lp-toc ol { display: grid; gap: 2px 24px; margin: 0; padding-left: 1.6em; }
.lp-toc a { display: inline-block; padding: 4px 0; text-decoration: none; }
.lp-toc a:hover { text-decoration: underline; }
.lp-prose--doc { max-width: none; counter-reset: sec; }
.lp-prose--doc section { scroll-margin-top: 80px; }
.lp-prose--doc h2 { counter-increment: sec; counter-reset: cl; margin: 36px 0 10px; font-size: 1.3rem; line-height: 1.3; color: var(--text); }
.lp-prose--doc h2::before { content: counter(sec) ". "; color: var(--gold-2); }
.lp-prose--doc h2 a { margin-left: 8px; color: var(--muted); text-decoration: none; font-weight: 400; opacity: 0; }
.lp-prose--doc h2:hover a, .lp-prose--doc h2 a:focus { opacity: 1; }
.lp-prose--doc p, .lp-prose--doc li { color: var(--text); line-height: 1.75; }
.lp-cl { margin: 0; padding: 0; list-style: none; }
.lp-cl > li { counter-increment: cl; position: relative; margin: 0 0 10px; padding-left: 3.2em; overflow-wrap: break-word; }
.lp-cl > li::before { content: counter(sec) "." counter(cl); position: absolute; left: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-cl ul { margin: 6px 0 0; padding-left: 1.2em; }
.lp-cl ul li { margin: 2px 0; }
.lp-quote { margin: 12px 0; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 12px 12px 0; }
.lp-doc__nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 32px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .lp-toc ol { grid-template-columns: 1fr 1fr; } }

@media print {
    @page { margin: 18mm; }
    html, body.lp { background: #fff !important; color: #000 !important; font-size: 11pt; overflow: visible; }
    .lp-bg, .lp-top, .lp-skip, .lp-wa, .lp-foot__links, .lp-doc__actions, .lp-doc__nav, .lp-toc, .lp-prose--doc h2 a { display: none !important; }
    .lp *, .lp-operator, .lp-quote { background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: #000 !important; border-color: #000 !important; text-shadow: none !important; }
    .lp a { color: #000 !important; text-decoration: underline; }
    .lp-doc { padding: 0; }
    .lp-doc__in { max-width: none; }
    .lp-prose--doc h2 { break-after: avoid; margin-top: 18pt; }
    .lp-prose--doc h2::before { color: #000 !important; }
    .lp-cl > li { break-inside: avoid; }
    .lp-foot { margin: 16pt 0 0; padding: 8pt 0 0; border-top: 1px solid #000; }
}
