/* Floater · pearl air over Float-navy water. Type: Fustat only. */
@font-face { font-family: 'Fustat'; src: url(/assets/fonts/fustat-latin.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fustat'; src: url(/assets/fonts/fustat-latin-ext.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --pearl: #eef1f7; --pearl-2: #e2e8f2; --paper: #f8f9fc; --white: #fff;
  --ink: #061338; --ink-2: #33415f; --ink-3: #66738f; --line: rgba(6, 19, 56, .11); --line-2: rgba(6, 19, 56, .18);
  --navy: #022866; --sea: #0d3a8c; --deep: #041235; --abyss: #020b25;
  --blue: #3d8bff; --blue-2: #2c64f2;
  --lt: #eef3ff; --lt-2: rgba(226, 235, 255, .74); --lt-3: rgba(206, 220, 252, .52); --lline: rgba(190, 210, 255, .14);
  --f: 'Fustat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wl: 54%;
  --dock-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pearl); color: var(--ink); font: 400 16px/1.5 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.dark { background: var(--deep); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.muted { color: var(--ink-3); }
.mk { display: inline-block; width: 26px; height: 26px; background: currentColor; -webkit-mask: url(/assets/brand/mark.svg) center / contain no-repeat; mask: url(/assets/brand/mark.svg) center / contain no-repeat; flex: none; }
.svgi { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------------------------------------------------------------- top bar: the wordmark, and the coin's CA once there is one */
.bar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 3vw, 34px); pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(238, 241, 247, .84); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); transition: opacity .25s; }
body.scr:not(.dark) .bar::before { opacity: 1; }
body.dark.over-sea .bar::before { opacity: 1; background: rgba(4, 18, 53, .7); border-bottom-color: var(--lline); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; letter-spacing: -.01em; color: var(--ink); }
.brand .mk { width: 28px; height: 28px; color: var(--navy); }
body.over-sea .brand { color: #fff; }
body.over-sea .brand .mk { color: #fff; }
.bar-r { display: flex; align-items: center; gap: 8px; }
.cachip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; font-weight: 600; color: var(--ink); }
.cachip b { font-weight: 700; font-variant-numeric: tabular-nums; }
.cachip .svgi { width: 14px; height: 14px; opacity: .6; }
body.over-sea .cachip { background: rgba(8, 26, 70, .6); border-color: var(--lline); color: var(--lt); }
.xlink { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.xlink svg { width: 15px; height: 15px; }
body.over-sea .xlink { background: rgba(8, 26, 70, .6); border-color: var(--lline); color: #fff; }

/* ---------------------------------------------------------------- dock: floating navigation, bottom centre */
.dock { position: fixed; z-index: 40; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); }
.dock-in { display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 18px; background: rgba(5, 18, 52, .78); border: 1px solid rgba(160, 190, 255, .16); box-shadow: 0 18px 44px -18px rgba(2, 10, 37, .7), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.dock a { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 13px; color: rgba(225, 234, 255, .74); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.dock a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.dock a.on { color: #fff; background: rgba(255, 255, 255, .11); }
.wbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-left: 6px; padding: 0 16px; border-radius: 13px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform .15s; }
.wbtn img { width: 20px; height: 20px; border-radius: 6px; }
.wbtn:active { transform: scale(.97); }
@media (max-width: 720px) {
  .dock { left: 12px; right: 12px; transform: none; }
  .dock-in { justify-content: space-between; }
  .dock a { flex-direction: column; justify-content: center; gap: 2px; height: 50px; padding: 0 6px; flex: 1; font-size: 10.5px; font-weight: 600; }
  .dock a svg { width: 20px; height: 20px; }
  .wbtn { height: 50px; padding: 0 12px; font-size: 13px; margin-left: 4px; max-width: 34%; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 24px; border-radius: 14px; font-size: 16px; font-weight: 700; letter-spacing: -.005em; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-w { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0, 10, 40, .6); }
.btn-w:hover { background: #f1f5ff; }
.btn-g { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-g:hover { background: rgba(255, 255, 255, .16); }
.btn-n { background: var(--navy); color: #fff; box-shadow: 0 12px 30px -14px rgba(2, 40, 102, .8); }
.btn-n:hover { background: #06327c; }
.btn-o { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-o:hover { background: rgba(6, 19, 56, .04); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.lnk { color: var(--blue-2); font-weight: 600; }
.lnk:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- hero: over-under */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1180px; overflow: hidden; color: var(--ink); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #f5f7fb 0%, #e3e9f3 var(--wl), #1a4fae var(--wl), #0b2c6e 76%, #030f33 100%); }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.hero.on3d .hero-bg canvas { opacity: 1; }
.hero-poster { position: absolute; left: 50%; top: var(--wl); width: min(36vw, 560px); transform: translate(-50%, -50%) rotate(-4deg); border-radius: 4.6% / 7.3%; box-shadow: 0 30px 60px -30px rgba(2, 10, 37, .7); transition: opacity .6s ease; }
.hero.on3d .hero-poster { opacity: 0; }
.hero-air { position: absolute; left: 0; right: 0; top: clamp(78px, 13vh, 150px); text-align: center; padding: 0 20px; }
.h1 { margin: 0 auto; font-size: clamp(44px, 6.6vw, 108px); line-height: 1; font-weight: 700; letter-spacing: -.028em; color: var(--ink); max-width: 14ch; text-wrap: balance; }
@media (min-width: 900px) { .h1 { max-width: none; } }
.hero-sea { position: absolute; left: 0; right: 0; bottom: calc(var(--dock-h) + clamp(30px, 6vh, 64px)); text-align: center; padding: 0 20px; color: #fff; }
.hsub { margin: 0 auto 20px; max-width: 46rem; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: rgba(232, 240, 255, .86); text-wrap: balance; }
.hacts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 720px) {
  :root { --wl: 52%; }
  .hero { min-height: 640px; }
  .hero-air { top: clamp(84px, 14vh, 130px); }
  .hero-sea { bottom: calc(var(--dock-h) + 34px); }
  .hsub { font-size: 15.5px; margin-bottom: 18px; }
  .hacts .btn { height: 48px; padding: 0 18px; font-size: 15px; }
  .hero-poster { width: 78vw; }
}
@media (max-height: 760px) and (min-width: 721px) { .hero-air { top: 86px; } .h1 { font-size: clamp(42px, 5.6vw, 86px); } .hsub { margin-bottom: 16px; } }

/* ---------------------------------------------------------------- below the surface (home) */
.deep { position: relative; background: linear-gradient(180deg, var(--deep) 0%, #031031 30%, var(--abyss) 100%); color: var(--lt); padding: clamp(40px, 6vw, 80px) 0 calc(var(--dock-h) + 70px); }
.wrap { width: min(1180px, calc(100% - 2 * clamp(16px, 4vw, 40px))); margin: 0 auto; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.sec-h h2 { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.sec-h p { margin: 8px 0 0; color: var(--lt-2); max-width: 34rem; }
.sec { margin-top: clamp(64px, 9vw, 120px); }

/* passes: big card surfaces that stack as you scroll */
.passes { position: relative; display: grid; gap: 22px; }
.pass { position: sticky; top: calc(84px + var(--i, 0) * 18px); min-height: min(520px, 76vh); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 4vw, 60px); padding: clamp(28px, 4.4vw, 64px); background-size: cover; background-position: center; box-shadow: 0 -18px 50px -20px rgba(0, 4, 20, .7), inset 0 1px 0 rgba(255, 255, 255, .12); isolation: isolate; }
.pass::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.pass.deep-f { background-image: url(/assets/card/pattern-navy.webp); color: #fff; }
.pass.pearl-f { background-image: url(/assets/card/pattern-pearl.webp); color: var(--ink); }
.pass.blue-f { background-image: url(/assets/card/pattern-blue.webp); color: #fff; }
.pass.ink-f { background: radial-gradient(120% 120% at 80% 0%, #10224d 0%, #050d24 55%, #02071a 100%); color: #fff; }
.pass .pk { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .02em; opacity: .7; margin-bottom: 14px; }
.pass .pk .mk { width: 18px; height: 18px; }
.pass h3 { margin: 0; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.02; font-weight: 700; letter-spacing: -.024em; text-wrap: balance; }
.pass p { margin: 16px 0 0; font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.55; opacity: .82; max-width: 30rem; }
.pass .pa { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.pass-v { position: relative; min-height: 260px; display: grid; place-items: center; }
@media (max-width: 880px) {
  .pass { grid-template-columns: 1fr; min-height: 0; top: calc(70px + var(--i, 0) * 12px); padding: 26px 22px 30px; border-radius: 22px; gap: 26px; }
  .pass-v { min-height: 200px; }
}

/* fee split → card */
.split { display: flex; width: 100%; max-width: 440px; height: 54px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.split > div { display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .78); border-right: 1px solid rgba(255, 255, 255, .1); }
.split .s1 { flex: 15; background: rgba(255, 255, 255, .06); } .split .s2 { flex: 5; background: #fff; color: var(--ink); min-width: 46px; } .split .s3 { flex: 35; background: rgba(255, 255, 255, .03); } .split .s4 { flex: 35; background: rgba(255, 255, 255, .06); } .split .s5 { flex: 10; background: rgba(255, 255, 255, .03); border: 0; }
.legend { display: grid; gap: 7px; margin-top: 16px; font-size: 13.5px; max-width: 440px; }
.legend span { display: flex; align-items: center; gap: 10px; opacity: .78; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; background: rgba(255, 255, 255, .25); }
.legend .me { opacity: 1; font-weight: 600; }
.legend .me i { background: #fff; }
.flowto { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.flowto .mini { width: 132px; }
.flowto .arw { flex: 1; max-width: 120px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); position: relative; }
.flowto .arw::after { content: ''; position: absolute; right: 30%; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); animation: drip 2.4s ease-in-out infinite; }
@keyframes drip { 0% { right: 100%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { right: 0; opacity: 0; } }

/* phone with Apple Pay */
.phone { position: relative; width: 236px; aspect-ratio: 9 / 19.2; border-radius: 40px; background: #0b0d12; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px #2b2f38, 0 0 0 1px rgba(255, 255, 255, .08); }
.phone .scr { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: linear-gradient(180deg, #111318, #050608); color: #fff; padding: 46px 16px 16px; display: flex; flex-direction: column; align-items: center; }
.phone .isl { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #000; }
.phone .ap { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.phone .ap svg { width: 46px; height: 20px; }
.phone .pcard { width: 100%; border-radius: 4.6% / 7.3%; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8); }
.phone .tap { margin-top: auto; display: grid; place-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.phone .ring { width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid #2f7bff; display: grid; place-items: center; animation: pulse 2.4s ease-in-out infinite; }
.phone .ring svg { width: 26px; height: 26px; stroke: #2f7bff; fill: none; stroke-width: 2.4; stroke-linecap: round; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 123, 255, .5); } 50% { box-shadow: 0 0 0 14px rgba(47, 123, 255, 0); } }
.marks { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.marks span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 11px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-weight: 700; font-size: 14px; gap: 8px; }
.marks svg { height: 16px; width: auto; fill: currentColor; }

/* one card, many coins */
.fan { position: relative; width: min(100%, 420px); aspect-ratio: 1.45; }
.fan .mini { position: absolute; width: 62%; left: 19%; top: 22%; }
.fan .mini:nth-child(1) { transform: translate(-26%, -14%) rotate(-10deg); opacity: .85; }
.fan .mini:nth-child(2) { transform: translate(26%, -12%) rotate(9deg); opacity: .9; }
.fan .mini:nth-child(3) { transform: translateY(8%) rotate(-1deg); z-index: 2; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chipset span { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 6px; border-radius: 10px; background: rgba(6, 19, 56, .06); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.chipset img { width: 22px; height: 22px; border-radius: 50%; }

/* finish swatches */
.swatches { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.swatches figure { margin: 0; width: 150px; }
.swatches img { border-radius: 4.6% / 7.3%; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .7); }
.swatches figcaption { margin-top: 8px; font-size: 13px; font-weight: 600; opacity: .8; }

/* ---------------------------------------------------------------- mini card (a coin or a card, drawn as the card itself) */
.mini { position: relative; display: block; aspect-ratio: 85.6 / 53.98; border-radius: 4.6% / 7.3%; overflow: hidden; container-type: inline-size; background: #0b2462 center / cover no-repeat; color: #fff; box-shadow: 0 18px 36px -20px rgba(0, 6, 30, .75); }
.mini.navy { background-image: url(/assets/card/front-navy.webp); }
.mini.pearl { background-image: url(/assets/card/front-pearl.webp); color: var(--ink); }
.mini.blue { background-image: url(/assets/card/front-blue.webp); }
.mini::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .06)); pointer-events: none; }
.mini .seal { position: absolute; left: 84.7%; top: 10.2%; width: 11%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .35cqw rgba(255, 255, 255, .28); background: #0b1a40; }
.mini .tk { position: absolute; right: 4.5%; top: 31%; font-size: 3.6cqw; font-weight: 700; letter-spacing: .06em; opacity: .85; }
.mini .nm { position: absolute; left: 8.4%; top: 82.4%; font-size: 3.4cqw; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e9eef7; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.mini.pearl .nm { color: #7f8db0; }
.mini .mc { position: absolute; left: 39%; top: 44%; font-size: 4.6cqw; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.mini .live { position: absolute; left: 39%; top: 37%; display: inline-flex; align-items: center; gap: .9cqw; font-size: 2.5cqw; font-weight: 700; letter-spacing: .08em; opacity: .75; }
.mini .live i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #39e18a; box-shadow: 0 0 0 .6cqw rgba(57, 225, 138, .2); }
.mini .live.soon i { background: #ffd166; box-shadow: 0 0 0 .6cqw rgba(255, 209, 102, .2); }

/* coin grid */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 20px; }
.ccard { display: block; transition: transform .25s ease; }
.ccard:hover { transform: translateY(-4px) rotate(-.6deg); }
.ccard .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; padding: 0 2px; }
.ccard .meta b { font-size: 15px; font-weight: 700; }
.ccard .meta small { display: block; font-size: 12.5px; opacity: .6; }
.ccard .pair { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: 9px; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); white-space: nowrap; }
.light .ccard .pair { background: rgba(6, 19, 56, .05); border-color: var(--line); }
.ccard .pair img { width: 20px; height: 20px; border-radius: 50%; }
.ccard.open .mini { background: transparent; border: 1.5px dashed rgba(190, 210, 255, .3); box-shadow: none; display: grid; place-items: center; text-align: center; }
.light .ccard.open .mini { border-color: rgba(6, 19, 56, .2); color: var(--ink-3); }
.ccard.open .mini::after { display: none; }
.ccard.open .mini span { font-size: 4.2cqw; font-weight: 600; opacity: .75; }
.ccard.open .mini span b { display: block; font-size: 7cqw; line-height: 1; margin-bottom: 1.5cqw; }
.ccard.justin { animation: popin .7s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes popin { 0% { transform: scale(.86) translateY(14px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* card anatomy (3D viewer) */
.anat { position: relative; border-radius: 28px; background: radial-gradient(130% 120% at 50% 0%, #f9fafd 0%, #e7ecf5 60%, #d9e0ee 100%); color: var(--ink); overflow: hidden; }
.anat canvas { display: block; width: 100%; height: clamp(380px, 52vw, 640px); cursor: grab; touch-action: pan-y; }
.anat canvas:active { cursor: grabbing; }
.anat .ah { position: absolute; left: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 36px); max-width: 24rem; pointer-events: none; z-index: 1; }
.anat .ah h2 { margin: 0; font-size: clamp(26px, 3vw, 42px); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; }
.anat .ah p { margin: 10px 0 0; color: var(--ink-2); font-size: 15.5px; }
.anat .flip { position: absolute; right: clamp(16px, 3vw, 34px); top: clamp(18px, 3vw, 34px); }
.anat .tags { position: absolute; left: 0; right: 0; bottom: clamp(16px, 2.6vw, 30px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px; pointer-events: none; }
.anat .tags span { height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); backdrop-filter: blur(8px); }
.anat .tags i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }

/* closing call */
.close { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: url(/assets/card/pattern-blue.webp) center / cover; color: #fff; }
.close h2 { margin: 0; font-size: clamp(32px, 4.4vw, 64px); line-height: 1; letter-spacing: -.026em; font-weight: 700; max-width: 14ch; }
.close p { margin: 14px 0 0; opacity: .85; max-width: 30rem; }
.close .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .close { grid-template-columns: 1fr; } }

/* footer */
.foot { margin-top: clamp(60px, 8vw, 100px); padding-top: 28px; border-top: 1px solid var(--lline); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--lt-2); }
.light .foot { border-color: var(--line); color: var(--ink-3); }
.foot .fb { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: var(--lt); }
.light .foot .fb { color: var(--ink); }
.foot .fb .mk { width: 24px; height: 24px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a:hover { color: #fff; }
.light .foot nav a:hover { color: var(--ink); }
.foot small { flex-basis: 100%; font-size: 12.5px; opacity: .75; word-break: break-all; }

/* ---------------------------------------------------------------- light app pages (launch, card, coins, coin, docs) */
.page { padding: 96px 0 calc(var(--dock-h) + 70px); }
.light { color: var(--ink); }
.ph1 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.026em; font-weight: 700; }
.psub { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; max-width: 40rem; }

/* launch: a checkout sheet next to the card it loads */
.lgrid { display: grid; grid-template-columns: 1fr minmax(380px, 470px); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 28px; }
.lprev { position: sticky; top: 96px; }
.lprev .stage { perspective: 1600px; padding: 10px 0 0; }
.lprev .mini { width: 100%; max-width: 560px; transform: rotateX(8deg) rotateY(-14deg) rotateZ(1deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 50px 80px -40px rgba(2, 20, 70, .55), 0 2px 0 rgba(255, 255, 255, .4) inset; }
.lprev .stage:hover .mini { transform: rotateX(4deg) rotateY(-6deg); }
.lprev .cap { margin-top: 26px; font-size: 14.5px; color: var(--ink-2); max-width: 30rem; }
.lprev .cap b { color: var(--ink); }
.sheet { background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -40px rgba(4, 18, 53, .45), 0 0 0 1px var(--line); overflow: hidden; }
.sheet-h { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 17px; }
.sheet-h .mk { width: 24px; height: 24px; color: var(--navy); }
.sheet-h small { margin-left: auto; font-weight: 600; font-size: 12.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.sheet-h small img { width: 16px; height: 16px; }
.row { border-bottom: 1px solid var(--line); }
.row-h { width: 100%; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; padding: 15px 20px; text-align: left; transition: background .15s; }
.row-h:hover { background: #f7f9fd; }
.row-h .k { font-size: 12.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .03em; text-transform: uppercase; }
.row-h .v { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; font-size: 15px; }
.row-h .v img, .row-h .v .ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.row-h .v .ph { display: grid; place-items: center; background: var(--pearl); color: var(--ink-3); font-weight: 700; font-size: 13px; }
.row-h .v .mc2 { width: 40px; height: 25px; border-radius: 4px; flex: none; background: url(/assets/card/front-navy.webp) center / cover; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.row-h .v .t { min-width: 0; }
.row-h .v .t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-h .v .t small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-h .v .need { color: var(--blue-2); }
.row-h .chev { width: 18px; height: 18px; stroke: var(--ink-3); transition: transform .25s; }
.row.open .row-h .chev { transform: rotate(90deg); }
.row-b { display: none; padding: 2px 20px 20px; }
.row.open .row-b { display: block; }
.fld { display: grid; gap: 6px; margin-top: 12px; }
.fld > span { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.inp { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
textarea.inp { height: 78px; padding: 12px 14px; resize: vertical; }
.inp:focus { border-color: var(--blue-2); background: #fff; box-shadow: 0 0 0 4px rgba(44, 100, 242, .14); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .three { grid-template-columns: 1fr; } }
.drop { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 12px; border: 1.5px dashed var(--line-2); background: var(--paper); cursor: pointer; font-size: 14px; color: var(--ink-2); transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--blue-2); background: #f2f6ff; }
.drop img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.cnt { text-align: right; font-size: 12px; color: var(--ink-3); }
.err { min-height: 0; font-size: 13.5px; color: #c22b4a; font-weight: 600; }
.err:not(:empty) { margin-top: 10px; }
.segs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.segs button { height: 42px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 700; font-size: 14.5px; }
.segs button small { font-weight: 500; color: var(--ink-3); margin-left: 6px; font-size: 12px; }
.segs button.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.segs button.on small { color: rgba(255, 255, 255, .7); }
.cats { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.cats button { height: 32px; padding: 0 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); }
.cats button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.assets { margin-top: 10px; max-height: 300px; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-right: 2px; overscroll-behavior: contain; }
.asset { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--line); background: #fff; text-align: left; min-width: 0; }
.asset:hover { border-color: var(--line-2); background: #f7f9fd; }
.asset.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f2f6ff; }
.asset img, .asset .ini { width: 30px; height: 30px; border-radius: 50%; flex: none; object-fit: cover; }
.asset .at { font-weight: 700; font-size: 14px; }
.asset .ac { margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.asset .an { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ini { display: inline-grid; place-items: center; border-radius: 50%; background: var(--pearl-2); color: var(--ink-2); font-weight: 700; font-size: 12px; }
@media (max-width: 520px) { .assets { grid-template-columns: 1fr; } }
.sheet-f { padding: 18px 20px 20px; }
.sumrow { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.sumrow b { color: var(--ink); font-weight: 700; }
.lbtn { margin-top: 14px; width: 100%; height: 56px; border-radius: 15px; background: var(--ink); color: #fff; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s, background .2s; }
.lbtn:hover { background: #0b1f52; }
.lbtn:active { transform: scale(.985); }
.lbtn img { width: 22px; height: 22px; }
.lnote { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }
.lnote .bad { color: #c22b4a; font-weight: 600; }
@media (max-width: 960px) {
  .lgrid { grid-template-columns: 1fr; }
  .lprev { position: relative; top: 0; }
  .lprev .mini { max-width: 420px; margin: 0 auto; }
  .lprev .cap { text-align: center; margin-left: auto; margin-right: auto; }
}

/* card page */
.cardpg { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; margin-top: 26px; }
.cview { position: relative; border-radius: 26px; overflow: hidden; background: radial-gradient(130% 120% at 50% 0%, #fbfcfe 0%, #e8edf6 60%, #dbe2ef 100%); box-shadow: 0 0 0 1px var(--line); }
.cview canvas { display: block; width: 100%; aspect-ratio: 1.25; cursor: grab; touch-action: pan-y; }
.cview .hint { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 12.5px; color: var(--ink-3); pointer-events: none; }
.panel { background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(4, 18, 53, .4); padding: 22px; }
.panel h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.panel p { color: var(--ink-2); font-size: 15px; }
.kv { display: grid; gap: 0; margin-top: 14px; }
.kv > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.kv > div > span { color: var(--ink-3); font-weight: 600; font-size: 13px; }
.kv > div > b { font-weight: 700; text-align: right; display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.kv .addr { font-variant-numeric: tabular-nums; font-weight: 600; }
.cp { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); color: var(--ink-2); flex: none; }
.cp:hover { background: var(--pearl); }
.cp .svgi { width: 15px; height: 15px; }
.fins { display: flex; gap: 10px; margin-top: 10px; }
.fins button { flex: 1; padding: 6px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.fins button img { border-radius: 4.6% / 7.3%; margin-bottom: 6px; }
.fins button.on { border-color: var(--navy); color: var(--ink); box-shadow: 0 0 0 3px rgba(2, 40, 102, .1); }
.apay { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.apay .apb { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; border-radius: 10px; background: #000; color: #fff; flex: none; }
.apay .apb svg { height: 18px; width: auto; fill: #fff; }
.lst { display: grid; gap: 8px; margin-top: 10px; }
.lst a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.lst a:hover { background: var(--paper); }
.lst img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.lst small { margin-left: auto; color: var(--ink-3); font-weight: 600; }
@media (max-width: 900px) { .cardpg { grid-template-columns: 1fr; } }

/* coins page */
.xhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.xbar { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); }
.seg button { height: 36px; padding: 0 14px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--ink-3); }
.seg button.on { background: var(--ink); color: #fff; }
.empty { color: var(--ink-3); }

/* coin page */
.cpage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-top: 24px; align-items: start; }
.chead { display: flex; gap: 16px; align-items: center; }
.chead img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.chead h1 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; line-height: 1.05; }
.chead h1 small { display: block; font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-top: 4px; }
.soc { display: flex; gap: 6px; margin-top: 10px; }
.soc a { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line); }
.soc svg { width: 15px; height: 15px; }
.chart { position: relative; height: 320px; margin-top: 10px; }
.chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tf { display: inline-flex; gap: 4px; }
.tf button { height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.tf button.on { background: var(--ink); color: #fff; }
.chart-v { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prog { height: 8px; border-radius: 4px; background: var(--pearl-2); overflow: hidden; margin-top: 10px; }
.prog i { display: block; height: 100%; background: var(--navy); border-radius: 4px; }
@media (max-width: 900px) { .cpage { grid-template-columns: 1fr; } }

/* docs */
.docs { max-width: 760px; }
.docs h2 { margin: 42px 0 10px; font-size: 26px; letter-spacing: -.015em; }
.docs p, .docs li { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.docs code { font-size: 13.5px; background: #fff; border: 1px solid var(--line); padding: 2px 7px; border-radius: 7px; word-break: break-all; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.toc a { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.splitdoc { display: grid; gap: 8px; margin: 16px 0; }
.splitdoc > div { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.splitdoc > div.me { background: var(--navy); color: #fff; border-color: var(--navy); }
.splitdoc b { font-size: 22px; font-weight: 700; }
.splitdoc span { font-weight: 700; }
.splitdoc small { display: block; font-weight: 500; opacity: .75; font-size: 14px; }

/* ---------------------------------------------------------------- modal + toast */
.scrim { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 18px; background: rgba(3, 12, 36, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scrim.on { display: grid; }
.modal { width: min(440px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 40px 90px -30px rgba(0, 6, 30, .6); animation: mup .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes mup { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.01em; }
.modal p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.wl { display: grid; gap: 8px; }
.wl button, .wl a { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--line); font-weight: 700; text-align: left; }
.wl button:hover, .wl a:hover { background: var(--paper); }
.wl img { width: 28px; height: 28px; border-radius: 8px; }
.wl small { margin-left: auto; color: var(--ink-3); font-weight: 600; font-size: 12.5px; }
.mx { margin-top: 12px; width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; color: var(--ink-2); }
.lsteps { display: grid; gap: 10px; margin: 16px 0 6px; }
.lsteps div { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); }
.lsteps i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; position: relative; }
.lsteps div.now { color: var(--ink); }
.lsteps div.now i { border-color: var(--blue-2); border-right-color: transparent; animation: spin .8s linear infinite; }
.lsteps div.ok { color: var(--ink); }
.lsteps div.ok i { border-color: var(--navy); background: var(--navy); }
.lsteps div.ok i::after { content: ''; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.done-card { margin: 14px 0; }
.mbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.mbtns a, .mbtns button { height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.mbtns .p { background: var(--ink); color: #fff; }
.mbtns .s { border: 1px solid var(--line-2); color: var(--ink); }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(var(--dock-h) + 34px); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; height: 42px; padding: 0 16px; display: flex; align-items: center; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transition: .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .flowto .arw::after, .phone .ring { animation: none; } }

/* spend your Float coins (card page) */
.spi { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: left; font-size: 14px; transition: background .15s; }
.spi:hover { background: var(--paper); }
.spi img, .spi .ini { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.spi .t { min-width: 0; flex: 1; }
.spi .t b { display: block; font-weight: 700; }
.spi .t small { color: var(--ink-3); font-size: 12.5px; }
.spi .go { flex: none; height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; }
.pearl-f .flowto .arw { background: linear-gradient(90deg, rgba(6, 19, 56, .55), rgba(6, 19, 56, 0)); }
.pearl-f .flowto .arw::after { background: var(--navy); box-shadow: 0 0 0 4px rgba(2, 40, 102, .12); }
.pearl-f .chipset span { background: rgba(255, 255, 255, .72); }
