/* Lexi Wallet — marketing landing page. Dark theme only. System/SF font stack (the site CSP blocks external fonts;
   on Apple devices this renders as SF Pro, which suits the Apple-inspired direction). */
:root {
  --bg: #03071f; --bg2: #070b24; --card: #0b0f2c; --card2: #121634;
  --border: #25204c; --line: rgba(220, 237, 244, .09);
  --text: #f4f5fe; --body: #b1b6d0; --muted: #7d84a8;
  --accent: #b9b2ff; --teal: #82e8d2; --gold: #ebc9a0; --ink: #0c0f24;
  --maxw: 1200px; --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font); background: var(--bg); color: var(--body);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--text); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
section { padding: 120px 0; position: relative; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.lead { font-size: 20px; line-height: 1.55; color: var(--body); max-width: 40ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grad { background: linear-gradient(100deg, var(--accent) 10%, var(--teal) 60%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 16px;
  border: 0; border-radius: 999px; padding: 15px 26px; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(185, 178, 255, .55); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn svg { width: 20px; height: 20px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #f4f5fe; color: #0a0a12; border-radius: 14px; padding: 10px 20px; min-height: 56px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }
.store svg { width: 26px; height: 26px; flex: none; fill: #0a0a12; }
.store small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .02em; opacity: .7; line-height: 1.2; }
.store strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); background: rgba(185, 178, 255, .07); border: 1px solid var(--border); border-radius: 999px; padding: 8px 15px; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* header */
header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease); border-bottom: 1px solid transparent; }
header.scrolled { background: rgba(7, 11, 36, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .22em; font-size: 18px; color: var(--text); }
.logo img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--body); font-size: 15px; font-weight: 500; transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 11px 20px; font-size: 15px; }
.menu-btn { display: none; }

/* hero */
.hero { padding: 168px 0 110px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { position: absolute; right: 0; top: 0; height: 100%; width: 72%; object-fit: cover; object-position: right center; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 30%, rgba(185, 178, 255, .12), transparent 70%), radial-gradient(40% 40% at 15% 85%, rgba(130, 232, 210, .07), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 68px; letter-spacing: -.03em; line-height: 1.04; }
.hero .lead { margin-top: 22px; font-size: 21px; max-width: 30ch; }
.hero .cta-row { margin-top: 34px; }
.rating { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.rating .stars { color: var(--gold); letter-spacing: 2px; }
.hero-eyebrow { margin-bottom: 20px; }

/* phone */
.phone { width: 300px; border-radius: 48px; background: #05060f; border: 1px solid var(--border); padding: 11px; position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .5), 0 44px 90px -24px rgba(3, 7, 31, .95), 0 0 130px -40px rgba(185, 178, 255, .4); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 104px; height: 28px; background: #000; border-radius: 999px; z-index: 3; }
.screen { border-radius: 38px; overflow: hidden; background: linear-gradient(180deg, #0a0e28, #05070f); aspect-ratio: 9 / 19.2; position: relative; display: flex; flex-direction: column; }
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(185, 178, 255, .4), transparent 65%); filter: blur(70px); z-index: -1; }

/* in-phone app UI */
.scr { padding: 44px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.scr-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 600; }
.scr-top .net { display: inline-flex; align-items: center; gap: 6px; color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.bal { text-align: center; padding: 10px 0 4px; }
.bal .sub { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bal .big { color: var(--text); font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.bal .alt { color: var(--teal); font-size: 12px; font-weight: 600; margin-top: 3px; }
.pills { display: flex; gap: 8px; justify-content: center; margin: 6px 0 2px; }
.pills span { flex: 1; text-align: center; background: rgba(185, 178, 255, .1); color: var(--accent); border: 1px solid var(--border); border-radius: 12px; padding: 9px 0; font-weight: 600; font-size: 11px; }
.pills span.solid { background: var(--accent); color: var(--ink); border-color: transparent; }
.tok { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.tok .ic { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #04060f; }
.tok .nm { flex: 1; }
.tok .nm b { color: var(--text); font-weight: 600; display: block; font-size: 13px; }
.tok .nm span { color: var(--muted); font-size: 11px; }
.tok .amt { text-align: right; }
.tok .amt b { color: var(--text); font-weight: 600; display: block; font-size: 13px; }
.tok .amt span { font-size: 11px; }
.up { color: var(--teal); } .down { color: #ff9b9b; }
.ic-eth { background: linear-gradient(135deg, #8a92f5, #c9b6ff); }
.ic-btc { background: linear-gradient(135deg, #f7b24a, #ebc9a0); }
.ic-sol { background: linear-gradient(135deg, #82e8d2, #8a92f5); }
.ic-usdc { background: linear-gradient(135deg, #6aa0ff, #b9b2ff); }
.ic-ln { background: linear-gradient(135deg, #ebc9a0, #f7b24a); }
.scr-title { color: var(--text); font-weight: 600; font-size: 15px; text-align: center; margin-bottom: 2px; }
.swapbox { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.swaprow { display: flex; align-items: center; justify-content: space-between; }
.swaprow .side { color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.swaprow .val { color: var(--text); font-size: 20px; font-weight: 700; }
.swaprow .selt { display: inline-flex; align-items: center; gap: 6px; background: rgba(185, 178, 255, .1); border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; color: var(--text); font-weight: 600; font-size: 12px; }
.swap-div { align-self: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); margin: -14px 0; z-index: 2; }
.rateline { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; padding: 2px 2px; }
.rateline b { color: var(--body); font-weight: 600; }
.cta-mini { background: var(--teal); color: #04221d; text-align: center; border-radius: 12px; padding: 12px; font-weight: 700; font-size: 13px; margin-top: auto; }
.qr { width: 120px; height: 120px; border-radius: 16px; margin: 6px auto; background: #f4f5fe; position: relative; }
.qr::before, .qr::after { content: ""; position: absolute; background: #0a0a12; }
.qr::before { inset: 14px; background-image: repeating-linear-gradient(0deg, #0a0a12 0 6px, transparent 6px 12px), repeating-linear-gradient(90deg, #0a0a12 0 6px, transparent 6px 12px); background-size: 12px 12px; opacity: .85; }
.ln-amt { text-align: center; color: var(--text); font-weight: 700; font-size: 18px; }
.ln-note { text-align: center; color: var(--muted); font-size: 11px; }

/* trust strip */
.strip { padding: 34px 0; border-block: 1px solid var(--border); background: var(--bg2); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }

/* section head */
.shead { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.shead h2 { font-size: 46px; margin-top: 16px; }
.shead .lead { margin-top: 18px; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: rgba(185, 178, 255, .45); background: var(--card2); }
.card .fic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(185, 178, 255, .1); border: 1px solid var(--border); margin-bottom: 18px; }
.card .fic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.card h4 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--body); }

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .media { order: 2; }
.split h2 { font-size: 42px; }
.split .lead { margin: 18px 0 26px; }
.media { position: relative; display: flex; justify-content: center; }
.media img { border-radius: 24px; width: 100%; max-width: 460px; }
.media.glow::before { content: ""; position: absolute; inset: 10%; background: radial-gradient(circle, rgba(185, 178, 255, .3), transparent 65%); filter: blur(60px); z-index: -1; }
.points { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.points li { display: flex; gap: 14px; }
.points .pic { flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(130, 232, 210, .12); border: 1px solid var(--border); display: grid; place-items: center; }
.points .pic svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 2; }
.points b { color: var(--text); display: block; font-size: 16px; margin-bottom: 2px; }
.points span { font-size: 14.5px; color: var(--body); }

/* chain badges */
.chain-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chain-badges span { font-size: 13px; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--border); border-radius: 999px; padding: 8px 15px; }

/* currency */
.cur-codes { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.cur-codes span { font-size: 22px; font-weight: 700; color: var(--text); background: var(--card); border: 1px solid var(--border); border-radius: 16px; width: 72px; height: 72px; display: grid; place-items: center; }
.cur-codes span em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 19px; margin-bottom: 18px; }
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; }

/* faq */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform .3s var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq summary .plus::before { width: 14px; height: 2px; }
.faq summary .plus::after { width: 2px; height: 14px; transition: transform .3s var(--ease); }
.faq[open] summary .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq .ans { padding: 0 24px 22px; font-size: 15.5px; color: var(--body); max-width: 70ch; }

/* cta band */
.band { background: linear-gradient(135deg, #140f33, #0a0e28); border: 1px solid var(--border); border-radius: 32px; padding: 72px 40px; text-align: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(185, 178, 255, .18), transparent 70%); }
.band > * { position: relative; }
.band h2 { font-size: 44px; }
.band .lead { margin: 18px auto 32px; }
.band .cta-row { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--border); background: var(--bg2); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .logo { margin-bottom: 16px; }
.foot-brand p { font-size: 14px; color: var(--muted); max-width: 32ch; }
.foot-col h5 { color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 16px; text-transform: uppercase; }
.foot-col a { display: block; color: var(--body); font-size: 14.5px; margin-bottom: 11px; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--text); }
.foot-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.foot-bottom p { font-size: 13px; color: var(--muted); }
.disclaimer { margin-top: 20px; font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: 980px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* focus */
a:focus-visible, button:focus-visible, summary:focus-visible, .store:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 54px; }
  .shead h2, .band h2 { font-size: 38px; }
  .split h2 { font-size: 34px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  section { padding: 84px 0; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { padding: 128px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .cta-row, .hero .chips { justify-content: center; }
  .hero-bg img { width: 100%; opacity: .5; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
  .split, .split.rev { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .hero h1 { font-size: 40px; }
  .shead h2, .band h2 { font-size: 30px; }
  .shead { margin-bottom: 44px; }
  .feat-grid { grid-template-columns: 1fr; }
  .phone { width: 260px; }
  .band { padding: 48px 22px; border-radius: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .btn, .store { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* utilities (CSP blocks inline styles, so these replace them) */
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; }
.dot.a { background: var(--accent); }
.dot.g { background: var(--gold); }
.ic.sm { width: 20px; height: 20px; font-size: 10px; }
.tok.mt { margin-top: 4px; }
