/* Landing page, top half: nav, hero, share strip, bento.
   Light page. All classes are prefixed lp- so they never clash with cadi.css
   or the lower half (landing-lower.js). No em dashes. */

.lp { background: var(--bg, #F7F7F9); color: var(--text, #141225); overflow-x: hidden; }
.lp-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: #FFFFFF; color: #141225; font-weight: 600; box-shadow: var(--shadow-raised); }
.lp-skip:focus { top: 12px; }

/* icon slots: reserve the box before icons load so nothing shifts */
.lp-i { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: var(--s, 20px); height: var(--s, 20px); }
.lp-i svg { display: block; width: 100%; height: 100%; }
.lp-acc { color: var(--accent, #5B4BE0); }

/* entrance */
@keyframes lpUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lpFloatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes lpTilt { 0%, 100% { transform: rotateX(16deg) rotateY(-24deg) rotateZ(-7deg); } 50% { transform: rotateX(8deg) rotateY(-8deg) rotateZ(-3deg) translateY(-8px); } }
@keyframes lpSheen { 0% { transform: translateX(-120%) skewX(-18deg); } 60%, 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes lpScan { 0% { top: 8%; opacity: 0; } 8% { opacity: 1; } 50% { top: 88%; } 92% { opacity: 1; } 100% { top: 8%; opacity: 0; } }
@keyframes lpRing { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes lpDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -20px); } }
@keyframes lpMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lpBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes lpGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.lp-in { animation: lpUp .8s var(--ease, cubic-bezier(.2,.8,.2,1)) both; }
.lp-d1 { animation-delay: .06s; } .lp-d2 { animation-delay: .14s; } .lp-d3 { animation-delay: .22s; } .lp-d4 { animation-delay: .30s; } .lp-d5 { animation-delay: .38s; }
/* scroll reveal, only when JS is running (html.lp-js) so content is never hidden without it */
.lp-js .lp-rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease, cubic-bezier(.2,.8,.2,1)), transform .7s var(--ease, cubic-bezier(.2,.8,.2,1)); }
.lp-js .lp-rv.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; background: var(--bg, #F7F7F9); }
.lp-hero-bg { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.lp-glow { position: absolute; border-radius: 999px; }
.lp-glow-a { width: 760px; height: 760px; right: -180px; top: -300px; background: radial-gradient(closest-side, rgba(139,108,255,.20), rgba(139,108,255,0)); animation: lpDrift 16s ease-in-out infinite; }
.lp-glow-b { width: 600px; height: 600px; right: 260px; bottom: -140px; background: radial-gradient(closest-side, rgba(34,211,238,.16), rgba(34,211,238,0)); animation: lpDrift 20s ease-in-out -6s infinite reverse; }
.lp-glow-c { width: 640px; height: 640px; left: -300px; top: 80px; background: radial-gradient(closest-side, rgba(91,75,224,.10), rgba(91,75,224,0)); }
.lp-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(20,18,37,.10) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 70% 35%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 35%, #000 10%, transparent 70%); }
.lp-grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.lp-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.lp-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text, #141225); text-decoration: none; border-radius: 12px; }
.lp-logo-mark { display: inline-block; width: 32px; height: 32px; }
.lp-logo-word { font-size: 27px; line-height: 1; }
.lp-nav-links { display: flex; align-items: center; gap: 4px; }
.lp-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--text-2, #55526B); text-decoration: none; transition: color .18s, background-color .18s; }
.lp-nav-link:hover { color: var(--text, #141225); background: rgba(20,18,37,.04); }
.lp-nav-cta { display: flex; align-items: center; gap: 8px; }
.lp-logo:focus-visible, .lp-nav-link:focus-visible, .lp-theme:focus-visible { outline: 2px solid var(--accent, #5B4BE0); outline-offset: 3px; }

.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 88px; }
.lp-tag { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; margin: 0; padding: 4px 14px 4px 5px; border-radius: 999px; border: 1px solid var(--border, #E7E5EE); background: rgba(255,255,255,.75); font-size: 13px; color: var(--text-2, #55526B); }
.lp-tag-sw { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--primary-soft, #EEEBFF); color: var(--primary-soft-text, #3B2FA8); }
.lp-h1 { margin: 24px 0 0; font-weight: 800; font-size: clamp(42px, 6.4vw, 74px); line-height: 1.02; letter-spacing: -0.035em; color: var(--text, #141225); }
.lp-h1-soft { display: inline-block; background: linear-gradient(100deg, #3B2FA8 0%, #5B4BE0 45%, #6E6B83 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lede { margin: 24px 0 0; max-width: 540px; font-size: 18px; line-height: 1.6; font-weight: 500; color: var(--text-2, #55526B); }

.lp-claim-form { margin: 32px 0 0; max-width: 540px; }
.lp-claim-label { display: block; font-size: 12px; color: var(--text-2, #55526B); margin-bottom: 8px; }
.lp-claim { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 16px; border: 1px solid var(--border, #E7E5EE); background: #FFFFFF; box-shadow: var(--shadow-raised); transition: border-color .18s, box-shadow .18s; }
.lp-claim:focus-within { border-color: var(--accent, #5B4BE0); box-shadow: var(--shadow-raised), 0 0 0 4px rgba(91,75,224,.15); }
.lp-claim-pre { padding-left: 12px; font-size: 15px; color: var(--accent, #5B4BE0); white-space: nowrap; }
.lp-claim input { flex: 1 1 auto; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; color: var(--text, #141225); font-size: 15px; padding: 0 2px; }
.lp-claim input::placeholder { color: var(--placeholder, #8E8BA0); }
.lp-claim-btn { flex: 0 0 auto; gap: 4px; padding-right: 12px; }
.lp-claim-status { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; min-height: 20px; font-size: 13px; color: var(--text-2, #55526B); }
.lp-claim-status b { font-weight: 600; color: var(--accent, #5B4BE0); }
.lp-claim-url { color: var(--text, #141225); }
.lp-pulse { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 999px; background: var(--cyan, #22D3EE); box-shadow: 0 0 0 4px rgba(34,211,238,.16); animation: lpBlink 2s ease-in-out infinite; }
.lp-claim-status[data-state="ok"] .lp-pulse { background: var(--success, #0F8A4A); box-shadow: 0 0 0 4px rgba(15,138,74,.14); animation: none; }
.lp-claim-status[data-state="ok"] #handleMsg { color: var(--success, #0F8A4A); }
.lp-claim-status[data-state="bad"] .lp-pulse { background: var(--danger, #C4322B); box-shadow: 0 0 0 4px rgba(196,50,43,.12); animation: none; }
.lp-claim-status[data-state="bad"] #handleMsg { color: var(--danger, #C4322B); }
.lp-claim-status[data-state="busy"] .lp-pulse { background: var(--lilac, #8B6CFF); }

.lp-trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: var(--text-2, #55526B); }
.lp-trust li { display: inline-flex; align-items: center; gap: 8px; }
.lp-trust .lp-i { color: var(--accent, #5B4BE0); }

/* hero composition: fixed 560x640 stage, scaled on small screens (no layout shift) */
.lp-art { position: relative; height: 640px; min-width: 0; }
.lp-art-in { position: absolute; left: 50%; top: 0; width: 560px; height: 640px; margin-left: -280px; perspective: 1400px; }
.lp-art-glow { position: absolute; left: 110px; top: 50px; width: 380px; height: 500px; border-radius: 999px; background: radial-gradient(closest-side, rgba(139,108,255,.22), rgba(34,211,238,.06) 60%, rgba(139,108,255,0)); filter: blur(8px); }

.lp-phone { position: absolute; left: 150px; top: 8px; width: 292px; height: 600px; padding: 9px; border-radius: 46px; background: linear-gradient(160deg, #FFFFFF 0%, #ECEAF3 55%, #DCD9E6 100%); box-shadow: 0 2px 4px rgba(20,18,37,.05), 0 40px 80px -24px rgba(59,47,168,.32), inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px #D9D6E3; animation: lpUp 1s var(--ease, cubic-bezier(.2,.8,.2,1)) .2s both, lpFloat 7s ease-in-out 1.3s infinite; }
.lp-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #F7F7F9; box-shadow: inset 0 0 0 1px rgba(20,18,37,.06); }
/* the card renders at its native 390px width, scaled to the 274px screen */
.lp-phone-card { position: absolute; left: 0; top: 0; width: 390px; height: 829px; overflow: hidden; transform: scale(.7026); transform-origin: top left; pointer-events: none; }

.lp-qr { position: absolute; right: -4px; top: 60px; width: 172px; padding: 14px 14px 10px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--border, #E7E5EE); box-shadow: 0 2px 4px rgba(20,18,37,.04), 0 30px 60px -18px rgba(20,18,37,.28); animation: lpUp .9s var(--ease, cubic-bezier(.2,.8,.2,1)) .5s both, lpFloatB 7.5s ease-in-out 1.5s infinite; }
.lp-qr-code { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.lp-qr-slot, .lp-qr-slot svg { display: block; width: 100%; height: 100%; }
.lp-scanline { position: absolute; left: 4px; right: 4px; top: 8%; height: 2px; border-radius: 2px; background: var(--accent, #5B4BE0); box-shadow: 0 0 12px 3px rgba(91,75,224,.40), 0 -14px 22px 2px rgba(139,108,255,.14); animation: lpScan 3.2s cubic-bezier(.45,0,.55,1) infinite; }
.lp-qr-foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-2, #55526B); }
.lp-qr-mark { display: inline-block; width: 24px; height: 24px; }

.lp-nfc-wrap { position: absolute; left: -6px; top: 352px; perspective: 900px; animation: lpUp .9s var(--ease, cubic-bezier(.2,.8,.2,1)) .5s both; }
.lp-nfc { position: relative; width: 260px; height: 162px; border-radius: 16px; overflow: hidden; color: #FFFFFF; background: linear-gradient(145deg, #3B2FA8 0%, #5B4BE0 52%, #8B6CFF 100%); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 34px 60px -22px rgba(59,47,168,.55), inset 0 1px 0 rgba(255,255,255,.35); transform-style: preserve-3d; animation: lpTilt 9s ease-in-out infinite; cursor: default; }
.lp-nfc::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 999px; background: radial-gradient(closest-side, rgba(34,211,238,.45), rgba(34,211,238,0)); }
.lp-nfc-sheen { position: absolute; top: -20px; bottom: -20px; left: 0; width: 70px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.26), rgba(255,255,255,0)); animation: lpSheen 5.5s ease-in-out 1.5s infinite; }
.lp-nfc-brand { position: absolute; z-index: 1; left: 16px; top: 14px; display: flex; align-items: center; gap: 6px; font-size: 19px; }
.lp-nfc-mark { display: inline-block; width: 26px; height: 26px; }
.lp-nfc-wave { position: absolute; z-index: 1; right: 16px; top: 16px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; }
.lp-ring { position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.7); animation: lpRing 2.4s ease-out infinite; }
.lp-ring-2 { animation-delay: 1.2s; }
.lp-nfc-name { position: absolute; z-index: 1; left: 16px; bottom: 14px; display: flex; flex-direction: column; }
.lp-nfc-name b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.lp-nfc-name span { margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.82); }
.lp-nfc-gusa { position: absolute; z-index: 1; right: 16px; bottom: 14px; font-size: 11px; color: rgba(255,255,255,.82); }
.lp-nfc.is-tap { animation-play-state: paused; }
.lp-nfc.is-tap .lp-ring { animation-duration: 1.1s; }

.lp-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.94); border: 1px solid var(--border, #E7E5EE); color: var(--text, #141225); box-shadow: 0 24px 48px -16px rgba(20,18,37,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp-chip-a { right: 4px; top: 320px; animation: lpUp .9s var(--ease, cubic-bezier(.2,.8,.2,1)) .9s both, lpFloatB 6s ease-in-out 1.8s infinite; }
.lp-chip-b { left: 70px; bottom: 6px; animation: lpUp .9s var(--ease, cubic-bezier(.2,.8,.2,1)) 1.1s both, lpFloat 6.5s ease-in-out 2s infinite; }
.lp-chip-ic { width: 32px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.lp-chip-ok { background: var(--success-bg, #E7F6EE); color: var(--success, #0F8A4A); }
.lp-chip-wa { background: #E8FAEF; }
.lp-chip-txt { display: flex; flex-direction: column; line-height: 1.3; }
.lp-chip-txt b { font-size: 14px; font-weight: 700; }
.lp-chip-txt b.mono { font-size: 13px; font-weight: 500; }
.lp-chip-txt span { font-size: 12px; color: var(--text-3, #6E6B83); }

/* ---------- Sections ---------- */
.lp-sec { position: relative; }
.lp-share { padding: 96px 0 48px; }
.lp-bento-sec { padding: 64px 0 112px; }
.lp-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.lp-center-head { text-align: center; max-width: 720px; margin: 0 auto; }
.lp-eyebrow { margin: 0; font-size: 13px; font-weight: 500; color: var(--accent, #5B4BE0); }
.lp-h2 { margin: 10px 0 0; max-width: 640px; font-weight: 800; font-size: clamp(32px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.lp-center-head .lp-h2 { margin-left: auto; margin-right: auto; max-width: 720px; }
.lp-sec-lede { margin: 0; max-width: 380px; font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--text-2, #55526B); }

.lp-tiles { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lp-tiles > .lp-tile { flex: 0 1 216px; min-width: 0; overflow-wrap: anywhere; }
.lp-tile { position: relative; display: flex; flex-direction: column; padding: 20px 16px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--border, #E7E5EE); box-shadow: var(--shadow-card); }
.lp-js .lp-tile.lp-rv.is-in, .lp-tile { transition: opacity .7s var(--ease), transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s; }
.lp-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); border-color: var(--border-strong, #D9D6E3); }
.lp-tile b { margin-top: 14px; font-size: 15px; font-weight: 700; }
.lp-tile > .mono { margin-top: 2px; font-size: 12px; color: var(--text-3, #6E6B83); }
.lp-tile .pill-soon { position: absolute; right: 10px; top: 10px; }
.lp-tile-ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; transition: transform .32s var(--ease); }
.lp-tile:hover .lp-tile-ic { transform: scale(1.08) rotate(-4deg); }
.lp-tile-soon .lp-tile-ic { opacity: .7; }
.lp-ic-violet { background: var(--primary-soft, #EEEBFF); color: var(--accent, #5B4BE0); }
.lp-ic-ink { background: #E9E7FB; color: var(--indigo, #3B2FA8); }
.lp-ic-grey { background: var(--surface-2, #F2F1F6); color: var(--text, #141225); }
.lp-ic-wa { background: #E8FAEF; }
.lp-ic-blue { background: #EEF3FE; }
.lp-ic-gold { background: #FFF6DE; color: #8A6A12; }

.lp-marquee { margin-top: 48px; overflow: hidden; border-top: 1px solid var(--border, #E7E5EE); border-bottom: 1px solid var(--border, #E7E5EE); padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-marquee-in { display: flex; width: max-content; gap: 40px; font-size: 13px; color: var(--text-3, #6E6B83); white-space: nowrap; animation: lpMarquee 40s linear infinite; }
.lp-marquee-in .lp-v { color: var(--lilac, #8B6CFF); }

/* bento */
.lp-bento { margin-top: 48px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.lp-s2 { grid-column: span 2; } .lp-s3 { grid-column: span 3; } .lp-s4 { grid-column: span 4; }
.lp-box { min-width: 0; padding: 28px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--border, #E7E5EE); box-shadow: var(--shadow-card); }
.lp-js .lp-box.lp-rv.is-in, .lp-box { transition: opacity .7s var(--ease), transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s; }
.lp-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); border-color: var(--border-strong, #D9D6E3); }
.lp-split { display: flex; flex-wrap: wrap; gap: 28px; }
.lp-box-copy { flex: 1 1 240px; min-width: 0; }
.lp-box-eye { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2, #55526B); }
.lp-box-eye .lp-i { color: var(--accent, #5B4BE0); }
.lp-box-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lp-h3 { margin: 12px 0 0; font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.lp-box-p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; font-weight: 500; color: var(--text-2, #55526B); }

.lp-av40, .lp-av36 { display: block; flex: 0 0 auto; border-radius: 999px; object-fit: cover; background: var(--surface-2, #F2F1F6); }
.lp-av40 { width: 40px; height: 40px; } .lp-av36 { width: 36px; height: 36px; }
.lp-swap { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.lp-swap-line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--lilac, #8B6CFF), var(--cyan, #22D3EE)); }
.lp-swap-line-r { background: linear-gradient(90deg, var(--cyan, #22D3EE), var(--lilac, #8B6CFF)); }
.lp-swap-ic { color: var(--accent, #5B4BE0); display: inline-flex; }

.lp-mini-list { flex: 1 1 300px; min-width: 0; border-radius: 16px; background: var(--bg, #F7F7F9); border: 1px solid var(--border, #E7E5EE); padding: 8px; }
.lp-mini { display: flex; align-items: center; gap: 12px; padding: 12px; }
.lp-mini-top { align-items: flex-start; border-radius: 12px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.lp-mini-sep { border-top: 1px solid var(--border, #E7E5EE); }
.lp-mini-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lp-mini-main b { font-size: 14px; font-weight: 700; }
.lp-mini-row { display: flex; justify-content: space-between; gap: 8px; }
.lp-mini-row .mono, .lp-mini-sub { font-size: 11px; color: var(--text-3, #6E6B83); }
.lp-mini-note { margin-top: 8px; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: var(--warning-bg, #FFF3E2); color: var(--warning, #B25E09); font-size: 12px; font-weight: 600; }
.lp-mini .pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }

.lp-vlist { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.lp-vrow { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--border, #E7E5EE); }
.lp-vrow-mark { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: var(--primary-soft, #EEEBFF); }
.lp-vrow-mark > span { display: block; }
.lp-vrow-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.lp-vrow-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lp-vrow-txt b { font-size: 14px; font-weight: 700; }
.lp-vrow-txt .mono { font-size: 11px; color: var(--text-3, #6E6B83); }
.lp-ok { display: inline-flex; color: var(--success, #0F8A4A); }

.lp-chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-bchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border, #E7E5EE); background: #FFFFFF; font-size: 13px; font-weight: 600; transition: background-color .18s, border-color .18s, transform .18s; }
.lp-bchip:hover { background: var(--primary-soft, #EEEBFF); border-color: #D6D0FF; transform: translateY(-1px); }
.lp-bchip-soon { border-style: dashed; border-color: var(--border-strong, #D9D6E3); background: var(--bg, #F7F7F9); color: var(--text-3, #6E6B83); }
.lp-bchip-soon:hover { background: var(--bg, #F7F7F9); border-color: var(--border-strong, #D9D6E3); transform: none; }
.lp-bchip-soon .pill { margin-left: 2px; }

.lp-themes { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-theme { all: unset; box-sizing: border-box; cursor: pointer; display: block; border-radius: 16px; padding: 4px; transition: transform .32s var(--ease), box-shadow .32s var(--ease); }
.lp-theme:hover { transform: translateY(-2px); }
.lp-theme[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent, #5B4BE0); }
.lp-theme-tile { display: block; height: 96px; border-radius: 12px; padding: 12px; position: relative; overflow: hidden; }
.lp-theme-tile > span { display: block; }
.lp-tt-dot { width: 22px; height: 22px; border-radius: 999px; }
.lp-tt-l1 { margin-top: 10px; width: 70%; height: 6px; border-radius: 4px; }
.lp-tt-l2 { margin-top: 6px; width: 46%; height: 6px; border-radius: 4px; }
.lp-tt-btn { margin-top: 10px; width: 100%; height: 14px; border-radius: 6px; }
.lp-tt-ink { background: #131318; }
.lp-tt-ink .lp-tt-dot { background: #8B7BFF; } .lp-tt-ink .lp-tt-l1 { background: rgba(255,255,255,.7); } .lp-tt-ink .lp-tt-l2 { background: rgba(255,255,255,.25); } .lp-tt-ink .lp-tt-btn { background: #2A2A33; }
.lp-tt-paper { background: #F7F7F9; box-shadow: inset 0 0 0 1px var(--border, #E7E5EE); }
.lp-tt-paper .lp-tt-dot { background: #5B4BE0; } .lp-tt-paper .lp-tt-l1 { background: #141225; } .lp-tt-paper .lp-tt-l2 { background: #D9D6E3; } .lp-tt-paper .lp-tt-btn { background: #FFFFFF; box-shadow: inset 0 0 0 1px #E7E5EE; }
.lp-tt-gold { background: linear-gradient(145deg, #C9A24A, #F1DFA6); }
.lp-tt-gold .lp-tt-dot { background: #141225; } .lp-tt-gold .lp-tt-l1 { background: #141225; } .lp-tt-gold .lp-tt-l2 { background: rgba(20,18,37,.3); } .lp-tt-gold .lp-tt-btn { background: rgba(20,18,37,.86); }
.lp-theme-name { display: block; margin-top: 8px; font-size: 12px; text-align: center; color: var(--text-2, #55526B); }
.lp-theme[aria-pressed="true"] .lp-theme-name { color: var(--text, #141225); }
.lp-theme-foot { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: 12px; color: var(--text-2, #55526B); }
.lp-theme-foot b { font-weight: 600; color: var(--text, #141225); }

.lp-stats { flex: 1 1 340px; min-width: 0; border-radius: 16px; border: 1px solid var(--border, #E7E5EE); background: var(--bg, #F7F7F9); padding: 18px; }
.lp-stats-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-2, #55526B); }
.lp-stats-head .pill { font-size: 11px; }
.lp-stats-nums { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lp-stats-nums div { display: flex; flex-direction: column; }
.lp-stats-nums b { font-size: 20px; font-weight: 600; }
.lp-stats-nums span { font-size: 11px; color: var(--text-3, #6E6B83); }
.lp-good { color: var(--success, #0F8A4A); }
.lp-bars { margin-top: 16px; height: 96px; display: flex; align-items: flex-end; gap: 6px; }
.lp-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: #D6D0FF; transform-origin: bottom; }
.lp-bars i.lp-bar-l { background: var(--lilac, #8B6CFF); }
.lp-bars i.lp-bar-p { background: var(--accent, #5B4BE0); }
.lp-js .lp-bars i { transform: scaleY(0); }
.lp-js .is-in .lp-bars i { animation: lpGrow 1.1s var(--ease, cubic-bezier(.2,.8,.2,1)) both; transform: none; }
.lp-bars i:nth-child(n) { animation-delay: calc(var(--n, 0) * 50ms); }
.lp-split-bar { margin-top: 14px; display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; }
.lp-split-bar i:nth-child(1) { background: var(--accent, #5B4BE0); } .lp-split-bar i:nth-child(2) { background: var(--cyan, #22D3EE); } .lp-split-bar i:nth-child(3) { background: var(--border-strong, #D9D6E3); }
.lp-legend { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11px; color: var(--text-2, #55526B); }
.lp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lp-legend i { width: 8px; height: 8px; border-radius: 2px; }
.lp-lg-qr { background: var(--accent, #5B4BE0); } .lp-lg-nfc { background: var(--cyan, #22D3EE); } .lp-lg-link { background: var(--border-strong, #D9D6E3); }

.lp-mpesa { display: flex; flex-direction: column; }
.lp-mpesa-demo { margin-top: auto; padding: 14px; border-radius: 16px; background: var(--bg, #F7F7F9); border: 1px solid var(--border, #E7E5EE); opacity: .85; }
.lp-mpesa .lp-box-p { margin-bottom: 20px; }
.lp-mpesa-row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--text-3, #6E6B83); }
.lp-mpesa-btn { margin-top: 12px; height: 44px; border-radius: 14px; background: var(--mpesa, #3BB54A); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.lp-notify { margin-top: 10px; width: 100%; justify-content: center; gap: 6px; }

/* ---------- Signed-in awareness ---------- */
.lp-when-in { display: none !important; }
.lp-signed-in .lp-when-in { display: revert !important; }
.lp-signed-in .lp-when-out { display: none !important; }
.lp-signed-in .btn.lp-when-in, .lp-signed-in .lp-nav-av.lp-when-in { display: inline-flex !important; }
.lp-signed-in .lp-welcome.lp-when-in { display: block !important; }
/* neutral state until GET /me resolves (max 600ms): the zones keep their space, nothing flashes */
.lp-auth-pending .lp-auth { visibility: hidden; }
.lp-auth { transition: opacity .32s var(--ease, cubic-bezier(.2,.8,.2,1)); }
.lp-auth-swap .lp-auth { animation: lpUp .5s var(--ease, cubic-bezier(.2,.8,.2,1)) both; }
.lp-hero-act { margin-top: 32px; max-width: 540px; min-height: 134px; }
.lp-hero-act .lp-claim-form { margin-top: 0; }
.lp-nav-av { align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; }
.lp-nav-av img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px var(--border-strong, #D9D6E3); transition: box-shadow .18s; }
.lp-nav-av:hover img, .lp-nav-av:focus-visible img { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--accent, #5B4BE0); }
.lp-nav-av:focus-visible { outline: none; }
.lp-welcome-h { margin: 0; font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.lp-welcome-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-welcome-actions .btn { gap: 6px; }
.lp-welcome-link { color: var(--accent, #5B4BE0); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.lp-welcome-link:hover { text-decoration: underline; }
.lp-pulse-ok { background: var(--success, #0F8A4A); box-shadow: 0 0 0 4px rgba(15,138,74,.14); }
.lp-copy { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -6px 0; border-radius: 8px; color: var(--text-2, #55526B); transition: background-color .18s, color .18s; }
.lp-copy:hover { background: var(--surface-2, #F2F1F6); color: var(--text, #141225); }
.lp-copy:focus-visible { outline: 2px solid var(--accent, #5B4BE0); outline-offset: 2px; }

/* ---------- Pro badges, facts ---------- */
.lp-pro-line { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2, #55526B); }
.lp-early { margin: 8px 0 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--success, #0F8A4A); }
.lp-facts { list-style: none; margin: 32px auto 0; padding: 0; max-width: 860px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; text-align: center; }
.lp-facts li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 16px; border: 1px solid var(--border, #E7E5EE); background: rgba(255,255,255,.6); }
.lp-facts b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--text, #141225); font-variant-numeric: tabular-nums; min-width: 2ch; }
.lp-facts span { font-size: 13px; font-weight: 500; color: var(--text-2, #55526B); }

/* ---------- Motion polish ---------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: 16px; }
/* parallax: layers move with the pointer and scroll through the independent translate property,
   so they compose with their float and tilt keyframes */
.lp-art-in { --mx: 0; --my: 0; --sy: 0; }
.lp-phone { translate: calc(var(--mx) * -8px) calc(var(--my) * -6px + var(--sy) * -18px); }
.lp-qr { translate: calc(var(--mx) * 16px) calc(var(--my) * 12px + var(--sy) * -46px); }
.lp-nfc-wrap { translate: calc(var(--mx) * 22px) calc(var(--my) * 16px + var(--sy) * -30px); }
.lp-chip-a { translate: calc(var(--mx) * 26px) calc(var(--my) * 18px + var(--sy) * -60px); }
.lp-chip-b { translate: calc(var(--mx) * 30px) calc(var(--my) * 20px + var(--sy) * -40px); }
.lp-art-glow { translate: calc(var(--mx) * -20px) calc(var(--my) * -14px); }
.lp-magnet { translate: var(--tx, 0) var(--ty, 0); transition: translate .32s var(--ease, cubic-bezier(.2,.8,.2,1)), transform .18s var(--ease, cubic-bezier(.2,.8,.2,1)), box-shadow .18s, background-color .18s; }
.lp-magnet.is-magnet { transition: translate .12s linear, transform .18s, box-shadow .18s, background-color .18s; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .lp-hero-copy { max-width: 640px; }
  .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-s3, .lp-s4 { grid-column: span 2; } .lp-s2 { grid-column: span 1; }
}
@media (max-width: 920px) { .lp-nav-links { display: none; } }
@media (max-width: 680px) {
  .lp-wrap { padding-left: 16px; padding-right: 16px; }
  .lp-bento { grid-template-columns: minmax(0, 1fr); }
  .lp-s2, .lp-s3, .lp-s4 { grid-column: span 1; }
  .lp-art { height: 440px; }
  .lp-art-in { transform: scale(.68); transform-origin: top center; }
  .lp-share { padding: 48px 0 40px; }
  .lp-hero-grid { padding-bottom: 32px; }
  .lp-bento-sec { padding: 48px 0 72px; }
  .lp-lede { font-size: 16px; }
  .lp-claim-pre { padding-left: 8px; font-size: 13px; }
  .lp-claim input { font-size: 16px; }
  .lp-box { padding: 22px; }
}
@media (max-width: 400px) {
  .lp-nav-cta { gap: 4px; }
  .lp-nav-cta .btn { padding-left: 12px; padding-right: 12px; }
  .lp-logo-word { font-size: 24px; }
  .lp-art { height: 400px; }
  .lp-art-in { transform: scale(.62); }
}

@media (max-width: 680px) {
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-welcome-h { font-size: 22px; }
  .lp-hero-act { min-height: 0; }
  .lp-tiles { gap: 12px; }
  .lp-tiles > .lp-tile { flex: 1 1 calc(50% - 6px); max-width: calc(50% - 6px); padding-top: 18px; }
  .lp-tile .pill-soon { right: 8px; top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .lp-js .lp-rv { opacity: 1; transform: none; }
  .lp-js .lp-bars i { transform: none; }
  .lp-scanline { top: 50%; }
  .lp-art-in *, .lp-magnet { translate: none !important; }
}
