:root {
  --ink: #140a26;
  --hero: #1d0f3a;
  --card-d: #1f1238;
  --line-d: #3a2766;
  --bone: #fcf4ff;
  --white: #ffffff;
  --text-2: #eadfff;
  --grey: #b2a6d1;
  --grey-2: #8676b0;
  --dark: #241446;
  --dark-2: #2e1a55;
  --accent: #ff4fa3;
  --bronze: #c98552;
  --silver: #b9bec6;
  --gold: #f2b84b;
  --plat: #9fd3f2;
  --platinum: var(--plat);
  --f: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: #fff; font: 400 16px/1.5 var(--f); letter-spacing: .02em; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.wrap { width: min(1100px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(720px, 100% - 32px); margin: 0 auto; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 28px; transition: background .3s; }
.nav.solid { background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--f); letter-spacing: .12em; }
.brand svg { width: 22px; height: 22px; }
.links { display: flex; gap: 30px; font-size: 17px; }
.links a { color: var(--text-2); transition: color .2s; }
.links a:hover, .links a[aria-current="page"] { color: #fff; }
.nav .right { justify-self: end; display: flex; gap: 8px; }
.pill-sm { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 24px; background: #1a0f33; box-shadow: inset 0 0 0 1px #45307a; font-size: 14px; cursor: pointer; border: 0; transition: background .2s; white-space: nowrap; color: #fff; }
.pill-sm:hover { background: #2a1a4d; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 28px 0 18px; border-radius: 32px; border: 0; cursor: pointer; font: 500 20px/1 var(--f); letter-spacing: .02em; transition: transform .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.btn-dark { background: #141416; box-shadow: inset 0 0 0 1px #45307a, 0 20px 50px -20px #000; color: #fff; }
.btn-dark:hover { background: #2a1a4d; }
.btn-dark .ic { background: var(--accent); color: #000; }
.btn-black { background: var(--dark-2); color: #fff; height: 52px; font-size: 16px; padding: 0 24px 0 12px; }
.btn-black .ic { background: var(--accent); color: #000; width: 28px; height: 28px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* hero panel */
.hero-panel { margin: 0 16px; padding: 150px 0 0; border-radius: 0 0 40px 40px; background: radial-gradient(120% 70% at 50% 0%, #2b1a5e 0%, var(--hero) 50%, var(--ink) 100%); position: relative; overflow: hidden; }
.hero-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); pointer-events: none; }
.hero { position: relative; text-align: center; }
.hero h1 { font: 700 clamp(31px, 8.2vw, 64px)/1.15 var(--f); letter-spacing: -.04em; margin: 0 auto; max-width: 860px; }
.hero h1 .ln { display: block; overflow: hidden; padding: 0 .1em .06em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.hero.in h1 .ln > span { transform: none; }
.hero h1 .ln:nth-child(2) > span { transition-delay: .09s; }
.hero h1 .ln:nth-child(3) > span { transition-delay: .18s; }
.medals { display: inline-flex; vertical-align: -.12em; margin: 0 .12em; }
.medal { width: .86em; height: .86em; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 .06em var(--hero), inset 0 -.08em .12em #0004, inset 0 .08em .1em #fff6; animation: bob 4s ease-in-out infinite; }
.medal + .medal { margin-left: -.26em; }
.medal svg { width: 52%; height: 52%; }
.medal.b { background: radial-gradient(circle at 35% 30%, #f1c39d, var(--bronze) 55%, #7a4a26); }
.medal.s { background: radial-gradient(circle at 35% 30%, #fff, var(--silver) 55%, #6d737b); animation-delay: .3s; }
.medal.g { background: radial-gradient(circle at 35% 30%, #fff1b8, var(--gold) 55%, #8a6413); animation-delay: .6s; }
.medal.p { background: radial-gradient(circle at 35% 30%, #fff, var(--plat) 55%, #3f7fa6); animation-delay: .9s; }
@keyframes bob { 50% { transform: translateY(-.06em) rotate(-6deg); } }
.hero .lede { color: var(--grey); font-size: 15px; line-height: 1.6; max-width: 520px; margin: 26px auto 34px; padding: 0 16px; }
.hero .lede b { color: #fff; font-weight: 500; }

/* device mock */
.device-wrap { position: relative; display: flex; justify-content: center; margin-top: 70px; }
.device { position: relative; width: 340px; padding: 14px 14px 0; border-radius: 34px 34px 0 0; background: linear-gradient(#2e1d57, #160c2c); box-shadow: inset 0 0 0 1px #4a3480, 0 -30px 80px -30px #ff4fa355; }
.device::before, .device::after { content: ""; position: absolute; top: 40px; width: 6px; height: 150px; background: repeating-linear-gradient(#5a3f94 0 18px, transparent 18px 40px); border-radius: 3px; }
.device::before { left: -10px; } .device::after { right: -10px; }
.screen { border-radius: 22px 22px 0 0; background: #120a24; box-shadow: inset 0 0 0 1px #35245f; padding: 24px 24px 30px; text-align: left; }
.screen .k { color: var(--grey); font-size: 15px; }
.screen .big { font: 700 30px/1.2 var(--mono); margin: 4px 0 22px; letter-spacing: -.02em; }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.pairs .k { font-size: 14px; }
.pairs .v { font: 500 20px/1.4 var(--mono); }
.device-foot { text-align: center; padding: 26px 0 70px; position: relative; }
.device-foot .k { color: var(--grey); font-size: 14px; }
.device-foot .v { font-weight: 500; font-size: 18px; }

/* slabs */
.slab { position: relative; padding: 110px 0; }
.slab.bone { background: var(--bone); color: var(--dark); border-radius: 32px 32px 0 0; margin-top: -32px; }
.slab.dark { background: var(--ink); border-radius: 32px 32px 0 0; margin-top: -32px; }
main > .slab:nth-of-type(1) { z-index: 2; }
main > .slab:nth-of-type(2) { z-index: 3; }
main > .slab:nth-of-type(3) { z-index: 4; }
main > .slab:nth-of-type(4) { z-index: 5; }
main > .slab:nth-of-type(5) { z-index: 6; }
main > .slab:nth-of-type(6) { z-index: 7; }
main > .slab:nth-of-type(7) { z-index: 8; }
main > .slab:nth-of-type(8) { z-index: 9; }
.eyebrow { display: block; text-align: center; font-weight: 500; font-size: 16px; color: var(--accent); margin-bottom: 14px; }
.bone .eyebrow { color: #d62f86; }
h2 { font: 700 clamp(30px, 4vw, 42px)/1.1 var(--f); letter-spacing: -.03em; text-align: center; margin: 0 auto 22px; max-width: 760px; }
h2 s { color: var(--grey); text-decoration-thickness: .08em; }
.prose { color: #55545c; text-align: center; max-width: 600px; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 18px; }
.dark .prose { color: var(--grey); }
.wordmark-sm { display: flex; justify-content: center; gap: 10px; align-items: center; margin-top: 46px; font: 600 22px var(--f); letter-spacing: .14em; color: var(--dark); }
.wordmark-sm svg { width: 24px; height: 24px; }

/* tabs + big card */
.tabs { display: flex; gap: 4px; padding: 6px; border-radius: 20px; background: var(--card-d); box-shadow: inset 0 0 0 1px var(--line-d); width: max-content; max-width: 100%; margin: 0 auto 30px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: transparent; cursor: pointer; padding: 12px 18px; border-radius: 14px; text-align: left; white-space: nowrap; color: var(--text-2); transition: background .25s, color .25s; }
.tabs button b { display: block; font-weight: 700; font-size: 17px; }
.tabs button small { display: block; color: var(--grey-2); font-size: 12px; }
.tabs button[aria-selected="true"] { background: #2e1d57; color: #fff; }
.bigcard { max-width: 720px; margin: 0 auto; border-radius: 30px; background: var(--card-d); box-shadow: inset 0 0 0 1px var(--line-d); padding: 30px 30px 12px; }
.bigcard h3 { font: 700 26px/1.4 var(--f); margin: 0 0 8px; letter-spacing: -.01em; }
.bigcard .p { color: var(--grey); margin: 0 0 24px; max-width: 580px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-bottom: 26px; }
.stats .k { color: var(--grey); font-size: 15px; }
.stats .v { font: 700 21px/1.3 var(--f); }
.glowcard { position: relative; overflow: hidden; border-radius: 22px; padding: 26px; margin: 0 -18px; min-height: 190px; background: #170d30; box-shadow: inset 0 0 0 1px #3a2766; }
.glowcard::before { content: ""; position: absolute; inset: 30% -10% -60% 10%; background: radial-gradient(closest-side, var(--glow, #ff4fa366), transparent); filter: blur(30px); }
.glowcard > * { position: relative; }
.glowcard h4 { font: 700 26px/1.3 var(--f); margin: 0 0 8px; }
.glowcard p { color: var(--text-2); margin: 0 0 20px; max-width: 480px; font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 16px; border-radius: 22px; background: #000; box-shadow: inset 0 0 0 1px #4a3480; font-size: 13px; }
.chip b { background: #2e1d57; padding: 8px 12px; border-radius: 16px; font-weight: 500; }
.tabpane { animation: paneIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }

/* object + stats around */
.object { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; max-width: 900px; margin: 0 auto; }
.object .col { display: grid; gap: 54px; }
.object .col.l { text-align: right; }
.object .k { color: var(--text-2); font-size: 18px; }
.object .v { font: 700 26px/1.3 var(--f); }
.object .v small { display: block; font: 400 14px var(--f); color: var(--grey); }
.trophy { width: min(360px, 70vw); }
.trophy svg { width: 100%; height: auto; overflow: visible; display: block; }
.trophy #orbit { animation: orbit 4s linear infinite !important; }
@keyframes orbit { to { stroke-dashoffset: -683; } }
.object-copy { text-align: center; margin-top: 40px; }
.object-copy h2 { font-size: 26px; line-height: 1.3; }
.object-copy .prose { margin-bottom: 26px; }

/* board cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin: 0 auto; }
.pcard { background: var(--white); border-radius: 30px; padding: 22px 22px 24px; box-shadow: 0 20px 40px -30px #0003; min-height: 200px; display: flex; flex-direction: column; color: var(--dark-2); transition: transform .3s; min-width: 0; }
.pcard:hover { transform: translateY(-4px); }
.pcard .cat { font-size: 12px; font-weight: 600; }
.pcard .nm { display: flex; align-items: center; gap: 10px; font: 700 26px/1.3 var(--f); margin: 10px 0 8px; letter-spacing: -.01em; min-width: 0; }
.pcard .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .nm img, .pcard .nm .av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: #eceaf2; object-fit: cover; }
.pcard p { margin: 0; color: #55545c; font-size: 14px; }
.pcard .pts { margin-top: auto; padding-top: 16px; font: 600 24px var(--mono); }
.pcard .pts small { font: 400 13px var(--f); color: var(--grey); }
.pcard.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px #d8d6e2; }
.center-link { text-align: center; margin-top: 34px; color: var(--dark); }
.bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 90px auto 0; text-align: center; }
.bignums .v { font: 500 clamp(44px, 6vw, 62px)/1.1 var(--f); letter-spacing: -.03em; color: var(--dark); }
.bignums .k { font-weight: 500; font-size: 14px; color: var(--dark); }

/* app mock straddling a slab edge */
.mockslab { padding-top: 0; }
.straddle { position: relative; z-index: 4; transform: translateY(-140px); margin-bottom: -140px; }
.mock { max-width: 680px; margin: 0 auto; display: block; }
.mock .top { background: #fff; border-radius: 30px 30px 16px 16px; padding: 16px; color: var(--dark-2); box-shadow: 0 30px 80px -40px #0006; }
.mock .bar { display: flex; justify-content: space-between; align-items: center; font: 700 20px var(--f); padding: 4px 6px 12px; }
.mock .row { background: #f4f4f7; border-radius: 16px; padding: 16px; margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: #fff; border-radius: 14px; padding: 4px; box-shadow: inset 0 0 0 1px #e6e5ec; }
.seg span { padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #8a8994; }
.seg span.on { background: var(--dark-2); color: #fff; }
.mock .handle { font: 500 22px var(--f); color: #b3b2bc; }
.mock .code { font: 600 24px var(--mono); color: var(--dark-2); letter-spacing: .02em; }
.mock .sub { font-size: 14px; color: #949494; }
.mock .bottom { background: #fff; border-radius: 16px 16px 30px 30px; margin-top: 8px; padding: 20px 20px 24px; color: var(--dark-2); text-align: center; box-shadow: 0 30px 80px -40px #0006; }
.steps-row { display: flex; justify-content: center; gap: 60px; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.steps-row span:not(.on) { color: #bcbcbc; }
.kv { display: flex; justify-content: space-between; font-size: 13px; color: #6f6f76; padding: 4px 6px; }
.mock .bottom .btn { margin-top: 14px; }

/* faq */
.faq { max-width: 700px; margin: 40px auto 0; }
.faq details { border-radius: 18px; background: #fff; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; color: var(--dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--grey); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: #66656e; line-height: 1.65; }

/* white card over the footer */
.overcard { position: relative; z-index: 5; max-width: 860px; margin: 60px auto -150px; background: #fff; color: var(--dark); border-radius: 30px; padding: 26px; box-shadow: 0 40px 80px -40px #0005; }
.overcard h3 { font: 700 24px/1.35 var(--f); margin: 0 0 6px; }
.overcard .p { color: var(--grey); margin: 0 0 20px; }
.overcard .inner { border-radius: 16px; background: #f6f6f9; padding: 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; min-height: 130px; flex-wrap: wrap; }
.overcard .avs { display: flex; }
.overcard .avs > * { width: 44px; height: 44px; border-radius: 50%; background: #e6e5ee; box-shadow: 0 0 0 3px #f6f6f9; object-fit: cover; }
.overcard .avs > * + * { margin-left: -12px; }

footer { position: relative; background: var(--ink); padding: 220px 0 40px; overflow: hidden; z-index: 1; }
footer .wrap > .btn { z-index: 1; }
footer .giant { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); font: 700 clamp(70px, 15vw, 230px)/1 var(--f); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #ff8fc826; white-space: nowrap; pointer-events: none; user-select: none; }
footer .cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; font-size: 14px; }
footer .cols b { display: block; color: var(--grey); font-weight: 400; margin-bottom: 8px; }
footer .cols a, footer .cols span { display: block; color: #fff; line-height: 2; }
footer .cols .off { color: #ffffff80; }
footer .legal { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid #2b1d4d; color: #a99cc8; font-size: 14px; }
footer.plain { padding-top: 90px; }
footer.plain .giant { top: 40px; }

/* inner pages */
.page-head { padding: 150px 16px 110px; text-align: center; margin: 0 16px; border-radius: 0 0 40px 40px; background: radial-gradient(120% 90% at 50% 0%, #2b1a5e, var(--hero) 60%, var(--ink)); }
.page-head h1 { font: 700 clamp(38px, 5vw, 56px)/1.1 var(--f); letter-spacing: -.04em; margin: 0 0 14px; }
.page-head p { color: var(--grey); max-width: 540px; margin: 0 auto; }
.page-body { background: var(--bone); color: var(--dark); border-radius: 32px 32px 0 0; margin-top: -40px; position: relative; z-index: 2; padding: 60px 0 120px; }

.wcard { background: #fff; color: var(--dark-2); border-radius: 30px; padding: 26px; transition: opacity .3s; }
.wcard + .wcard { margin-top: 14px; }
.wcard h3 { font: 700 21px/1.3 var(--f); margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.wcard h3 .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f0eff5; font: 600 13px var(--mono); flex: none; }
.wcard.done h3 .n { background: var(--dark-2); color: #fff; }
.wcard .p { color: #6f6e78; margin: 0 0 18px; }
.wcard[data-off], .wcard[data-off].rv.seen { opacity: .45; pointer-events: none; }
.segctl { display: inline-flex; background: #f4f4f7; border-radius: 16px; padding: 4px; margin-bottom: 14px; }
.segctl button { border: 0; background: transparent; padding: 10px 16px; border-radius: 12px; font-weight: 500; cursor: pointer; color: #8a8994; }
.segctl button[aria-pressed="true"] { background: var(--dark-2); color: #fff; }
.field { display: flex; gap: 8px; flex-wrap: wrap; }
.field input { flex: 1; min-width: 200px; height: 52px; border-radius: 16px; border: 0; background: #f4f4f7; padding: 0 18px; font: 500 17px var(--f); color: var(--dark); outline: none; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.field input:focus { box-shadow: inset 0 0 0 1.5px var(--dark-2); }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #f4f4f7; border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; }
.codebox .num { font-size: 26px; font-weight: 600; }
.howto { margin: 0 0 18px; padding-left: 18px; color: #6f6e78; font-size: 14px; line-height: 1.8; }
.msg { min-height: 1.4em; margin-top: 12px; font-size: 14px; color: #6f6e78; overflow-wrap: anywhere; }
.msg.err { color: #c2412d; }
.msg.ok { color: #23864a; }
.acct { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.acct img { width: 42px; height: 42px; border-radius: 50%; }
.acct small { color: var(--grey); }
.btn-l { background: #f0eff5; color: var(--dark-2); height: 44px; padding: 0 16px; border-radius: 14px; border: 0; font: 500 14px var(--f); cursor: pointer; }
.btn-l:hover { background: #e6e5ee; }
.btn-l[disabled] { opacity: .5; cursor: default; }
.headrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 4px; }
.statgrid > div { background: #f6f6f9; border-radius: 16px; padding: 14px 16px; }
.statgrid .k { color: var(--grey); font-size: 13px; }
.statgrid .v { font: 600 24px/1.3 var(--mono); }
.statgrid .v.txt { font: 600 16px/1.6 var(--f); color: #6f6e78; }
.trogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 10px; }
.tro { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: #f6f6f9; }
.tro[data-earned="false"] { opacity: .45; }
.tro img, .tro .ti { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.tro .t { font-size: 14px; font-weight: 500; line-height: 1.3; }
.tro .m { color: var(--grey); font-size: 12px; }
.tdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.t-bronze { background: var(--bronze); } .t-silver { background: var(--silver); } .t-gold { background: var(--gold); } .t-platinum { background: var(--plat); }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; color: var(--grey); font-weight: 400; font-size: 13px; padding: 0 10px 12px; }
td { padding: 14px 10px; border-top: 1px solid #efeef4; }
td.r, th.r { text-align: right; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who img, .who .av { width: 32px; height: 32px; border-radius: 50%; background: #eceaf2; flex: none; object-fit: cover; }
.who small { color: var(--grey); }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 10px; background: #f0eff5; white-space: nowrap; }
.empty { padding: 30px 10px; text-align: center; color: var(--grey); }
.empty a { color: var(--dark); text-decoration: underline; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #efeef4; font-size: 15px; }
.feed li:first-child { border-top: 0; }
.feed .meta { margin-left: auto; color: var(--grey); font-size: 13px; white-space: nowrap; }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.places > div { background: #f6f6f9; border-radius: 16px; padding: 16px; }
.places .k { color: var(--grey); font-size: 13px; }
.places .v { font: 700 26px/1.3 var(--f); }
.places .h { font-size: 14px; color: #55545c; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.bignums.tight { margin: 0 auto 50px; }
.ruletable { width: 100%; }
.ruletable td { padding: 16px 4px; }
.ruletable td:last-child { text-align: right; font-family: var(--mono); }
.ruletable tr:first-child td { border-top: 0; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; background: #000a; backdrop-filter: blur(8px); padding: 16px; }
.modal.open { display: grid; }
.modal .box { width: min(400px, 100%); background: #fff; color: var(--dark); border-radius: 30px; padding: 22px; }
.modal h3 { margin: 4px 4px 16px; font: 700 21px var(--f); }
.wallets { display: grid; gap: 8px; }
.wallets button { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; cursor: pointer; background: #f4f4f7; border-radius: 16px; padding: 16px 18px; font: 600 16px var(--f); color: var(--dark); }
.wallets button:hover { background: #ebeaf1; }
.wallets small { color: var(--grey); font-weight: 400; }
.modal .close { margin-top: 10px; width: 100%; }

/* motion */
.rv { opacity: 0; transform: translateY(56px) scale(.97); filter: blur(6px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2,.8,.2,1), filter 1.2s ease; transition-delay: var(--d, 0s); }
.rv.seen { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { transform: none; filter: none; transition: opacity .8s ease; }
  .hero h1 .ln > span { transform: none; transition: none; }
  .medal, .trophy #orbit { animation: none !important; }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; padding: 0 16px; height: 68px; }
  .links { display: none; }
  .hero-panel, .page-head { margin: 0; border-radius: 0 0 28px 28px; }
  .hero-panel { padding-top: 116px; }
  .page-head { padding-top: 116px; }
  .object { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .object .trophy { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .object .col.l { text-align: left; }
  .object .col { gap: 26px; }
  .cards, .grid2, .places { grid-template-columns: 1fr; }
  .bignums { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
  .statgrid { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .steps-row { gap: 24px; }
  .slab { padding: 80px 0; }
  .straddle { transform: translateY(-110px); margin-bottom: -110px; }
  .hide-sm { display: none; }
}
@media (max-width: 420px) {
  .device { width: calc(100% - 32px); }
  .btn { height: 58px; font-size: 18px; }
  .bigcard { padding: 22px 20px 10px; }
  .glowcard { margin: 0 -10px; padding: 22px; }
  td, th { padding-left: 6px; padding-right: 6px; }
}

/* ---- dusk theme ---- */
.hero-panel { background: url(/assets/dusk.svg?v=2) center bottom / 100% auto no-repeat, linear-gradient(180deg, #1b0e3d 0%, #3a1b72 30%, #7a3399 58%, #d4508f 80%, #ff8a5c 100%); }
.hero-panel::before { opacity: .5; }
.hero { padding-bottom: 0; }
.hero h1 { text-shadow: 0 2px 30px #2a0d4a88; }
.hero .lede { color: #efe3ff; }
.btn-dark { background: linear-gradient(90deg, #ff4fa3, #ff8a3d); color: #1d0820; box-shadow: 0 18px 50px -16px #ff4fa3aa; font-weight: 600; }
.btn-dark:hover { background: linear-gradient(90deg, #ff63b0, #ff9a52); }
.btn-dark .ic { background: #1d0820; color: #fff; }
.btn-black .ic { background: linear-gradient(135deg, #ff4fa3, #ff8a3d); color: #1d0820; }
.device { background: linear-gradient(#3a2470, #170c30); box-shadow: inset 0 0 0 1px #5a3f94, 0 -30px 90px -20px #ff4fa388; }
.screen { background: #120a24ee; backdrop-filter: blur(8px); }
.screen .big { background: linear-gradient(90deg, #ff8fc8, #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.device-wrap { margin-top: 250px; }
.device-foot { background: transparent; padding-bottom: 60px; }
.device-foot .k { color: #d9c9f5; }
.device-foot .v { color: #7ff3e6; }
.nav .pill-sm { background: #1a0f33cc; backdrop-filter: blur(10px); }
.eyebrow { color: #ff6fb3; }
h2 s { color: #b6a3d9; }
.bone h2 s, .slab.bone h2 s { color: #c4b2e0; }
.tabs button[aria-selected="true"] { background: linear-gradient(135deg, #3b2370, #2e1d57); box-shadow: inset 0 0 0 1px #ff4fa355; }
.glowcard { background: linear-gradient(160deg, #1d1040, #140a26); }
.trophy ellipse:first-of-type { opacity: 1; }
.pcard .pts { color: #2e1a55; }
.bignums .v { background: linear-gradient(180deg, #2e1a55, #8a3cb8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mock .code { color: #d62f86; }
.seg span.on, .segctl button[aria-pressed="true"] { background: linear-gradient(90deg, #ff4fa3, #ff8a3d); color: #1d0820; }
.wcard.done h3 .n { background: linear-gradient(135deg, #ff4fa3, #ff8a3d); color: #1d0820; }
.field input:focus { box-shadow: inset 0 0 0 1.5px #ff4fa3; }
.codebox .num { color: #d62f86; }
.page-head { background: url(/assets/dusk.svg?v=2) center bottom / cover no-repeat, linear-gradient(180deg, #1b0e3d 0%, #3a1b72 35%, #8a3a9c 70%, #e0608f 100%); padding-bottom: 150px; }
.page-head h1 { text-shadow: 0 2px 30px #2a0d4a88; }
.page-head p { color: #efe3ff; }
footer { background: linear-gradient(180deg, #140a26, #1d0d3a 70%, #2a1048); }
footer .giant { -webkit-text-stroke: 1px #ff8fc840; }
footer .cols b { color: #ff8fc8; }
.overcard .inner { background: linear-gradient(120deg, #fff0f8, #f3ecff 60%, #e9fbf8); }
.modal .box .wallets button:hover { background: #fde9f4; }
@media (max-width: 860px) {
  .hero-panel { background-size: 330% auto, auto; }
  .device-wrap { margin-top: 300px; }
}

/* ---- logo ---- */
img.logo { width: 28px; height: 28px; border-radius: 8px; display: block; }
.brand img.logo { width: 30px; height: 30px; }
.btn .ic img.logo { width: 100%; height: 100%; border-radius: 50%; }
.wordmark-sm img.logo { width: 30px; height: 30px; }
.btn-dark { background: linear-gradient(90deg, #2f47e6, #8a4fd6 48%, #ff4fa3); color: #fff; box-shadow: 0 18px 50px -16px #8a4fd6cc; }
.btn-dark:hover { background: linear-gradient(90deg, #4258f0, #9b5fe0 48%, #ff63b0); }
.btn-dark .ic { background: #fff; color: #1d0820; overflow: hidden; }
.btn-black .ic, .seg span.on, .segctl button[aria-pressed="true"], .wcard.done h3 .n { background: linear-gradient(135deg, #2f47e6, #ff4fa3); color: #fff; }
