/* Greenshoe. Dark by default; a light theme for people who ask for it. */
@font-face { font-family: "Switzer"; src: url(/fonts/switzer-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(/fonts/switzer-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(/fonts/switzer-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --ink: #0E0D0B; --surface: #14120F; --surface-2: #1C1914; --line: #2B271F; --line-2: #3A342A;
  --text: #EFE7D6; --text-2: #BDB3A0; --text-3: #8F8676;
  --verdigris: #7DB5A1; --verdigris-deep: #2E6B5B;
  --brass: #C9A15B;
  --up: #7CC4A0; --down: #E0795E; --warn: #D9A441;
  --display: "Switzer", Helvetica, Arial, sans-serif;   /* one plain grotesk for everything; only the logo is serif */
  --ui: "Switzer", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1280px; --gutter: clamp(16px, 4vw, 48px);
  --r: 4px; --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
:root[data-theme="light"] { --ink: #F3EEE3; --surface: #FBF8F1; --surface-2: #EDE6D8; --line: #D9D0BE; --line-2: #BFB39C;
  --text: #16140F; --text-2: #4A4336; --text-3: #6E6554; --verdigris: #2E6B5B; --brass: #8C5A2B; color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.55 var(--ui);
  font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brass); }
::selection { background: var(--verdigris-deep); color: #EFE7D6; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 13px; }
.muted { color: var(--text-3); }
h1, h2, h3 { margin: 0; font-weight: 400; }
code { font-family: var(--mono); }
b, strong { font-weight: 600; }                           /* three weights in the whole system: 400, 500, 600 */
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }
h3 { font: 600 17px/1.3 var(--ui); }
p { margin: 0; }
p, li, td, summary, .s { text-wrap: pretty; }
.lede { color: var(--text-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 38em; }
.kicker { font: 500 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: var(--r); border: 1px solid transparent; font: 600 15px/1 var(--ui); text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s, border-color .2s; white-space: nowrap; }
.btn.primary { background: var(--text); color: var(--ink); }
.btn.primary:hover { background: var(--brass); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--brass); color: var(--text); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); }
.icon-btn:hover { border-color: var(--brass); color: var(--text); }
.icon-btn svg { width: 15px; height: 15px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.nav .wrap { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 25px; width: auto; display: block; }
.links { display: flex; gap: 26px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--text-2); font-size: 15px; }
.links a:hover { color: var(--text); }
.nav .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 1040px) { .links { display: none; } .nav .chart { display: none !important; } }   /* below this the nav labels would wrap, so the menu takes over */
.menu { display: none; position: relative; margin-left: auto; }
.nav .menu { border: 0; }                                  /* not an FAQ item: no rules, no plus */
.nav .menu summary { list-style: none; cursor: pointer; font-size: 15px; color: var(--text-2); padding: 12px 8px; }
.nav .menu summary::after { content: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu > div { position: absolute; right: 0; top: calc(100% + 10px); display: grid; min-width: 190px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 24px 48px -24px #000; }
.menu > div a, .menu > div button { padding: 10px 12px; color: var(--text); text-decoration: none; border-radius: 3px; }
.menu > div button { border: 0; background: none; font: inherit; text-align: left; cursor: pointer; border-top: 1px solid var(--line); border-radius: 0 0 3px 3px; margin-top: 4px; }
.menu > div a:hover, .menu > div button:hover { background: var(--surface-2); }
.menu > div { max-height: calc(100svh - 90px); overflow-y: auto; }
.menu .mg { padding: 12px 12px 4px; font: 500 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.menu .mg:first-child { padding-top: 6px; }
.menu .mtop { border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0; }

/* desktop nav: two dropdowns (hover or keyboard focus), like a product menu */
.links { align-items: center; }
.dd { position: relative; }
.links a, .dd > button { white-space: nowrap; }
.dd > button { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; border: 0; background: none; color: var(--text-2); font: 400 15px var(--ui); cursor: pointer; }
.dd .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.dd:hover > button, .dd:focus-within > button { color: var(--text); }
.dd:hover .chev, .dd:focus-within .chev { transform: rotate(180deg); }
.ddp { position: absolute; left: -16px; top: 100%; padding-top: 10px; display: none; z-index: 60; }   /* the padding bridges the gap so the pointer can travel down */
.dd:hover .ddp, .dd:focus-within .ddp { display: block; animation: ddin .18s var(--ease); }
@keyframes ddin { from { opacity: 0; translate: 0 -4px; } }
.ddb { display: grid; gap: 2px; min-width: 286px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 44px rgb(0 0 0 / .38); }
.ddb a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.ddb a:hover, .ddb a:focus-visible { background: var(--surface-2); color: var(--text); }
.ddb svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--text-2); }
.ddb a:hover svg { color: var(--brass); }
.ddb b { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.ddb small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.3; color: var(--text-3); }

/* pages with a 3D header band (docs, markets): the scene sits in the band and the page reads below it */
:root { --band: clamp(300px, 50svh, 540px); }
body[data-scene] #stage { position: absolute; inset: 0 0 auto 0; height: var(--band); z-index: 0; }
body[data-scene] #stage .poster { display: none; }
body[data-scene] #stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, var(--ink)); pointer-events: none; }
html.no-3d body[data-scene] #stage { display: none; }
.doc { margin: 0 auto; padding: calc(var(--band) - 24px) var(--gutter) 96px; }
html.no-3d .doc { padding-top: 132px; }
@media (max-width: 520px) { .nav .wallet { display: none; } }   /* a phone connects from the menu */

/* wallet picker: every installed wallet announces itself (EIP-6963); the rest can be fetched or opened in their app */
.wallets { padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); color: var(--text); width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 48px); }
.wallets::backdrop { background: rgb(8 7 6 / .62); backdrop-filter: blur(6px); }
.wbox { padding: 22px 20px 18px; }
.whead { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.whead h3 { font: 500 18px/1.2 var(--ui); }
.wclose { position: absolute; right: -4px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--text-2); cursor: pointer; }
.wclose:hover { background: var(--surface-2); color: var(--text); }
#wList { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#wList a, #wList button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: var(--surface-2); color: var(--text); font: 500 16px/1 var(--ui); text-decoration: none; text-align: left; cursor: pointer; }
#wList a:hover, #wList button:hover { border-color: var(--line-2); color: var(--text); }
.wi { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; overflow: hidden; background: var(--ink); color: var(--text-2); font-weight: 600; }
.wi img { width: 100%; height: 100%; object-fit: contain; }
.wn { flex: 1; min-width: 0; }
.wt { flex: none; padding: 7px 11px; border-radius: 999px; background: var(--ink); color: var(--text-2); font: 500 12px/1 var(--ui); }
.wt.on { background: color-mix(in srgb, var(--up) 14%, transparent); color: var(--up); }
/* the one-time terms gate before a first transaction */
.gate { width: min(480px, calc(100vw - 32px)); }
.gck { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; line-height: 1.5; cursor: pointer; }
.gck input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brass); }
.gck a { color: var(--brass); }
.grow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; } .grow .btn { height: 46px; }
.wnote { margin-top: 14px; color: var(--text-3); font-size: 13px; text-align: center; text-wrap: balance; }
/* the trade dialog (markets): same shell as the wallet picker */
.trade .whead h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; } .trade .whead h3 .muted { font-weight: 400; font-size: 14px; }
.tlogo { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #fff; flex: none; } .tlogo img { width: 100%; height: 100%; object-fit: cover; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); margin-bottom: 14px; }
.seg button { height: 38px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font: 500 15px var(--ui); cursor: pointer; }
.seg button.on { background: var(--ink); color: var(--text); }
.seg.sm { margin: 0; display: inline-grid; } .seg.sm button { height: 30px; padding: 0 12px; font-size: 13px; }
.trow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; color: var(--text-2); }
.tin { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--ink); }
.tin:focus-within { border-color: var(--brass); }
.tin input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: 400 26px var(--ui); outline: none; }
.tbal { font-size: 13px; margin: 8px 2px 0; min-height: 18px; }
.tq { display: grid; gap: 6px; margin: 14px 0; font-size: 14px; min-height: 22px; }
.tq > div { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); } .tq b { color: var(--text); font-weight: 600; }
.tq .warn, .tq p.warn { color: var(--warn); margin: 4px 0 0; }
.trade .tGo { width: 100%; height: 48px; }
/* pay with anything: two boxes (what goes in, what comes out), a token chip that opens the picker */
.tbox { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--ink); } .tbox + .tbox { margin-top: 6px; }
.tbox:focus-within { border-color: var(--brass); }
.tbox .tin { padding: 0; border: 0; background: none; } .tbox .tin input, .tOut { flex: 1; min-width: 0; font: 400 28px var(--ui); color: var(--text); }
.tOut { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; } .tOut.dim { color: var(--text-3); }
.tlab { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 22px; font-size: 13px; color: var(--text-3); } .tlab:first-child { margin-bottom: 4px; }
.tbox .tbal { margin: 0; min-height: 0; }
.tMax { border: 0; background: none; padding: 2px 0; color: var(--brass); font: 600 13px var(--ui); cursor: pointer; }
.tTok { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 5px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2); color: var(--text); font: 500 15px var(--ui); }
button.tTok { cursor: pointer; } button.tTok:hover { border-color: var(--text-3); }
.tTok svg { color: var(--text-3); }
.tcs { display: grid; line-height: 1.1; text-align: left; } .tcs b { font-weight: 600; } .tcs small { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.tl { position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--ink); color: var(--text-2); font: 600 13px var(--ui); }
.tl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tnote { margin: 4px 0 0; color: var(--text-3); font-size: 13px; line-height: 1.45; }
.tq > div > span:last-child { text-align: right; }
/* the token picker: networks down the left, that network's tokens on the right; on a phone the networks become a row of chips */
.tokpick { width: min(640px, calc(100vw - 24px)); }
.tokpick .wbox { display: flex; flex-direction: column; height: min(640px, calc(100svh - 48px)); padding-bottom: 12px; }
.tpSearch { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--ink); color: var(--text); font: 400 15px var(--ui); outline: none; }
.tpSearch:focus { border-color: var(--brass); }
.tpGrid { flex: 1; min-height: 0; display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.tpNets, .tpList { list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; }
.tpNets { padding-right: 8px; border-right: 1px solid var(--line); }
.tpNets button, .tpList button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-radius: 10px; background: none; color: var(--text-2); font: 500 14px var(--ui); text-align: left; cursor: pointer; }
.tpNets button { padding: 7px 8px; } .tpNets .tl { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.tpNets button:hover, .tpList button:hover { background: var(--surface-2); color: var(--text); }
.tpNets button.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tpList button { padding: 8px 10px; }
.tpn { flex: 1; min-width: 0; display: grid; } .tpn b { color: var(--text); font-weight: 600; } .tpn small { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpn .tag { margin-left: 6px; font-style: normal; font-size: 11px; color: var(--warn); }
.tpb { flex: none; color: var(--text); font-variant-numeric: tabular-nums; font-size: 14px; }
.tpHead { padding: 12px 10px 6px; color: var(--text-3); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; } .tpHead:first-child { padding-top: 2px; }
.tpConnect { margin-bottom: 6px; padding: 10px; justify-content: center; border: 1px dashed var(--line-2) !important; color: var(--brass) !important; }
@media (max-width: 640px) {
  .tpGrid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .tpNets { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .tpNets li { flex: none; } .tpNets button { padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
}

/* markets and asset pages: an asset cell (logo, symbol, name), the day's change, a sparkline */
.asset { display: flex; align-items: center; gap: 12px; min-width: 0; }
.asset i { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--surface-2); color: var(--text-2); font: normal 600 13px var(--ui); }
.asset i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.asset > span { min-width: 0; } .asset b { display: block; font-weight: 600; } .asset small { display: block; color: var(--text-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22em; }
.chg { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 500 13px/1.5 var(--ui); font-variant-numeric: tabular-nums; }
.chg.up { color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); } .chg.down { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.mspark { display: inline-block; vertical-align: middle; }
.tag.halt { margin-left: 6px; padding: 2px 7px; border-radius: 999px; font: 500 11px/1.4 var(--ui); background: color-mix(in srgb, var(--down) 16%, transparent); color: var(--down); }
@media (max-width: 1040px) { .menu { display: block; } .nav .right { margin-left: 8px; } }
@media (max-width: 480px) { .nav .icon-btn { display: none; } }   /* X is in the footer; the buy button needs the room */
@media (max-width: 480px) { .nav .wrap { gap: 12px; } .brand img { height: 22px; } }
@media (max-width: 400px) { .nav .wrap { gap: 8px; } .brand img { height: 17px; } .nav .menu summary { padding: 12px 6px; } }   /* the 8.9:1 lockup + menu + button fit a 320px phone */

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 110px 0 36px; overflow: hidden; }
/* one fixed canvas behind the whole page: the tape changes formation section by section as you scroll */
#stage { position: fixed; inset: 0; z-index: -1; pointer-events: none; }   /* inside main: -1 paints it under every section, not just the positioned ones */
#stage canvas { width: 100%; height: 100%; display: block; }
main, footer { position: relative; z-index: 1; }
html.no-3d #stage { position: absolute; height: 100svh; }
html.no-3d #stage .poster { background-image: url(/3d/poster-storm.jpg); }
html.no-3d .hero { cursor: auto; }   /* a picture can't be turned */
@media (max-width: 960px), (max-aspect-ratio: 7/5) { html.no-3d #stage .poster { background-position: top center; background-image: url(/3d/poster-storm-m.jpg); } }
#stage .poster { position: absolute; inset: 0; background: url(/3d/poster.jpg) center / cover no-repeat; transition: opacity .25s linear; }
@media (max-width: 960px), (max-aspect-ratio: 7/5) { #stage .poster { background-image: url(/3d/poster-m.jpg); } }
html.icon-mode body, html.icon-mode .hero, html.icon-mode #stage { background: transparent !important; }
html.icon-mode #stage { position: fixed; inset: 0; height: 100vh; }
/* poster capture (/?poster): only the scene, but the hero's words keep their boxes so the tape still leaves room for them */
html.poster-mode .hero::after, html.poster-mode #stage .poster, html.poster-mode main > section:not(.hero), html.poster-mode footer { display: none !important; }
html.poster-mode .hero .wrap, html.poster-mode .nav { visibility: hidden !important; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 72%, transparent) 30%, transparent 58%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.hero .wrap { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.hero { cursor: grab; touch-action: pan-y; } .hero.dragging { cursor: grabbing; }   /* sideways swipes turn the shoe, vertical ones scroll */
.hero h1, .hero p, .hero .kicker, .hero .badge, .hero .stats, .hero .ca, .hero .launch { cursor: auto; }
html.turning, html.turning * { user-select: none; -webkit-user-select: none; }
.hero .copy { max-width: 700px; pointer-events: auto; }
@media (max-width: 1400px) { .hero .copy { max-width: 640px; } }
@media (max-width: 1280px) { .hero .copy { max-width: 580px; } }
.nw { white-space: nowrap; }
@media (min-width: 961px) and (min-aspect-ratio: 7/5) and (max-height: 820px) {
  .hero { padding-top: 92px; } .hero h1 { font-size: clamp(36px, 3.9vw, 56px); margin: 14px 0 16px; }
  .ctas { margin-top: 22px; } .stats { margin-top: 30px; } .stats > div { padding-top: 14px; }
}
/* the opening bell: the words arrive with the tape */
.hero .copy > *, .hero .stats { animation: rise .9s var(--ease) both; }
@media (min-width: 961px) and (min-aspect-ratio: 7/5) { html:not(.bell) .hero .copy > *, html:not(.bell) .hero .stats { animation-play-state: paused; } }   /* stacked: the words sit below the scene, no need to wait */
.hero .copy > :nth-child(1) { animation-delay: .25s } .hero .copy > :nth-child(2) { animation-delay: .38s } .hero .copy > :nth-child(3) { animation-delay: .52s }
.hero .copy > :nth-child(4) { animation-delay: .66s } .hero .copy > :nth-child(5) { animation-delay: .74s } .hero .copy > :nth-child(6) { animation-delay: .8s } .hero .stats { animation-delay: .9s }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .hero .copy > *, .hero .stats { animation: none; } }
html.poster-mode .hero .copy > *, html.poster-mode .hero .stats { animation: none; }
.hero .lede { max-width: 34em; }
.hero h1 { margin: 18px 0 20px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 11px; border: 1px solid var(--line-2); border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 70%, transparent); font: 400 14px/1 var(--ui); color: var(--text-2); }
.badge b { font-weight: 500; color: var(--text); }
@media (max-width: 400px) { .nav .wide { display: none; } }   /* a phone keeps "Follow"; the button still goes to X */
.badge i { --dot: var(--brass); width: 7px; height: 7px; border-radius: 50%; background: var(--dot); animation: beat 2.4s ease-out infinite; }
.badge.live i { --dot: var(--up); }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--dot) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) { .badge i { animation: none; } }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
/* the launch countdown: one quiet panel under the lede, gone once the contract address is on the page */
.launch { margin-top: 26px; max-width: 560px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; pointer-events: auto; cursor: auto;
  background: color-mix(in srgb, var(--ink) 72%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.launch[hidden] { display: none; }
.lhead { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.lk { display: inline-flex; align-items: center; gap: 8px; color: var(--brass); }
.lk::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); animation: beat 2.4s ease-out infinite; }
.lwhen { margin-left: auto; color: var(--text-3); white-space: nowrap; } .lwhen span { white-space: nowrap; }
.lbody { padding: 16px; }
.cd { display: flex; align-items: flex-start; gap: 10px; }
.cd div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.cd b { display: block; width: 100%; padding: 11px 0 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); text-align: center;
  font: 400 clamp(30px, 3.1vw, 44px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.cd div:last-child b { color: var(--brass); }
.cd span { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.cd i { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 8px; height: calc(clamp(30px, 3.1vw, 44px) + 22px); }
.cd i::before, .cd i::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.lnow { display: none; margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.launch.now .cd { display: none; } .launch.now .lnow { display: block; }
.lalert { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-top: 1px solid var(--line); text-decoration: none;
  color: var(--text); font: 500 14px/1.2 var(--ui); transition: background .2s, color .2s; }
.lalert svg:first-child { color: var(--verdigris); flex: none; }
.lalert .arr { margin-left: auto; flex: none; color: var(--text-3); transition: transform .2s var(--ease), color .2s; }
.lalert:hover { background: var(--surface-2); color: var(--text); } .lalert:hover .arr { transform: translateX(3px); color: var(--brass); }
@media (max-width: 600px) {
  .lhead { flex-wrap: wrap; row-gap: 7px; } .lwhen { margin-left: 0; width: 100%; white-space: normal; letter-spacing: .08em; }
  .lbody { padding: 14px; } .cd { gap: 6px; } .cd i { gap: 6px; }
  .cd b { font-size: clamp(26px, 8.4vw, 34px); } .cd i { height: calc(clamp(26px, 8.4vw, 34px) + 22px); }
}
@media (prefers-reduced-motion: reduce) { .lk::before { animation: none; } }
.ca { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 5px 6px 5px 12px; margin-top: 14px; border: 1px solid var(--line-2);
  border-radius: var(--r); background: color-mix(in srgb, var(--ink) 70%, transparent); font: 13px var(--mono); color: var(--text-2); max-width: 100%; }
.ca b { font: 600 12px var(--ui); letter-spacing: .1em; color: var(--text-3); }
.ca code { overflow-wrap: anywhere; min-width: 0; }
.ca button { height: 28px; border: 0; background: var(--surface-2); color: var(--text); border-radius: 3px; padding: 0 10px; font: 600 12px var(--ui); cursor: pointer; flex-shrink: 0; }
.ca button:hover { background: var(--brass); color: var(--ink); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid var(--line); pointer-events: auto; }
.stats > div { padding: 18px 20px 0 0; }
.stats.live > div:nth-child(3) { order: -1; }          /* once live, the reserve leads */
.stats .k { font-size: 13px; color: var(--text-2); }
.stats .v { display: block; font: 400 clamp(23px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.stats .s { display: block; font-size: 13px; color: var(--text-3); text-wrap: balance; }
@media (max-width: 960px), (max-aspect-ratio: 7/5) {
  .hero { display: block; padding: calc(68px + clamp(150px, calc(100svh - 520px), 44svh)) 0 28px; min-height: 0; }
  .hero::after { top: auto; bottom: 0; height: calc(100% - 68px - clamp(150px, calc(100svh - 520px), 44svh) + 80px); background: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--ink) 88%, transparent) 80px);
    -webkit-mask-image: linear-gradient(#000 calc(100% - 140px), transparent); mask-image: linear-gradient(#000 calc(100% - 140px), transparent); }
  html.no-3d #stage { height: calc(68px + clamp(150px, calc(100svh - 520px), 44svh)); }
  .hero .wrap { max-width: 760px; }                        /* stacked: one centred column under the sculpture */
  .hero .copy { max-width: none; }
  .hero h1 { margin-top: 12px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 32px; border-top: 0; column-gap: 16px; }
  .stats > div { border-top: 1px solid var(--line); padding: 14px 0 12px; }
}

/* sections */
section.block { padding: clamp(88px, 11vw, 150px) 0; }
#name.block { padding-bottom: 0; } #how.block { padding-top: 0; }   /* the 1963 story hands the shoe straight to the armillary: no dead air between */
#risks.block { padding-top: clamp(48px, 5vw, 72px); }                /* the burn already leaves room under Redeem */
section.block + section.block:not(#watch, #reserve, #name, #how, #redeem, #risks) { border-top: 1px solid var(--line); }
/* full-screen moments where the 3D takes the stage: text keeps to one side, the scene the other */
.moment { min-height: 92svh; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 4svh; }
.moment h2 { font-size: clamp(46px, 6vw, 88px); line-height: 1; margin: 18px 0 0; max-width: 11em; }
.moment .lede { max-width: 34em; margin: 22px auto 0; }
.side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 78svh; align-items: center; margin-bottom: 48px; }
.side.short { min-height: 52svh; }
.side h2 { margin: 16px 0 20px; }
html.no-3d .moment, html.no-3d .side, html.no-3d .origin { min-height: 0; }
html.no-3d .moment { padding-bottom: 0; } html.no-3d .side, html.no-3d .origin { padding-top: 0; }   /* no scene: no room kept for it */
@media (max-width: 960px), (max-aspect-ratio: 7/5) {
  .moment { min-height: 0; padding-bottom: 58svh; }          /* the ribbon runs under the text on a phone */
  .side { grid-template-columns: 1fr; min-height: 0; padding-top: 46svh; }
  .side.short { padding-top: 40svh; }
  #redeem .redeem { padding-top: 38svh; }                    /* room for the burn */
}
html.no-3d #redeem .redeem { padding-top: 0; }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.head .kicker { grid-column: 1 / -1; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.grid2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
@media (max-width: 960px) { .grid2 { grid-template-columns: 1fr; } }

/* IPO Watch */
.market .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.market .big { font: 400 clamp(46px, 5.4vw, 76px)/1 var(--display); margin: 16px 0 6px; letter-spacing: -.03em; }
.market .big.sm { font-size: clamp(34px, 3.2vw, 44px); margin: 14px 0 4px; }   /* the second candidate, a step down, same figures */
.up { color: var(--up); } .down { color: var(--down); }
.spark { width: 100%; height: 120px; display: block; margin: 18px 0 8px; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 10px; }
.kv .k { display: block; font-size: 12px; color: var(--text-3); } .kv .v { font-size: 15px; }
.status { font-size: 14px; color: var(--text-2); margin-top: 14px; }
.second { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 0; margin-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 6px; }
.count div { border-top: 1px solid var(--line-2); padding-top: 10px; }
.count b { display: block; font: 400 34px/1 var(--display); } .count span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 16px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.timeline li:first-child { border-top: 0; }
.timeline .dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-2); transform: translateY(1px); }
.timeline li.done { color: var(--text); } .timeline li.done .dot { background: var(--verdigris); border-color: var(--verdigris); }
.timeline li.next .dot { border-color: var(--brass); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass) 22%, transparent); }
.timeline .d { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.timeline a { color: inherit; text-decoration-color: var(--line-2); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.feed li:first-child { border-top: 0; }
.feed .sub { font-size: 13px; color: var(--text-3); }
.feed a { font: 12px var(--mono); color: var(--text-2); white-space: nowrap; }
.jump { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.logos { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 6px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: 14px; text-decoration: none; transition: border-color .2s, color .2s; }
.logos:hover { color: var(--text); border-color: var(--text-3); }
.logos i { display: flex; } .logos img { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); margin-left: -8px; object-fit: cover; } .logos img:first-child { margin-left: 0; }
.more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.more:hover { color: var(--brass); }
.alerts { margin-top: 16px; }
.fly { margin-top: 16px; }
.fhead { display: flex; justify-content: space-between; align-items: start; gap: 16px 24px; flex-wrap: wrap; }
.fhead p { font-size: 14px; margin-top: 4px; max-width: 46em; }
.figures.sm { margin-top: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .figures.sm { grid-template-columns: 1fr; } .figures.sm > div { border-left: 0; border-top: 1px solid var(--line); } .figures.sm > div:first-child { border-top: 0; } } .figures.sm .v { font-size: clamp(20px, 2vw, 26px); } .figures.sm .v.mono { font: 400 15px var(--mono); padding-top: 6px; }
.fly .feed { margin-top: 14px; }
.ahead { display: flex; justify-content: space-between; align-items: start; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 6px; }
.ahead p { font-size: 14px; margin-top: 4px; max-width: 40em; }
.ahead .row { display: flex; gap: 8px; } .ahead .btn svg { margin-right: 7px; }
.alerts .feed li span { min-width: 0; }
.slice { margin: 14px 0 0; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--verdigris) 35%, var(--line)); border-radius: var(--r); background: color-mix(in srgb, var(--verdigris-deep) 14%, transparent); font-size: 14px; }
.slice b { font-weight: 600; color: var(--text); } .slice span { color: var(--text-2); }
.panel h3 + .feed, .panel h3 + .timeline { margin-top: 10px; }

/* Reserve */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 16px; }
.figures > div { padding: 22px 24px; border-left: 1px solid var(--line); min-width: 0; }
.figures > div:first-child { border-left: 0; }
.figures .k { font-size: 13px; color: var(--text-2); } .figures .v { display: block; font: 400 clamp(22px, 2.6vw, 38px)/1.1 var(--display); margin: 6px 0 4px; white-space: nowrap; }
.figures .s { font-size: 13px; color: var(--text-3); }
@media (max-width: 420px) { .figures .v { white-space: normal; overflow-wrap: anywhere; } }   /* a long symbol wraps instead of spilling out of its cell */
@media (max-width: 860px) { .figures { grid-template-columns: 1fr 1fr; } .figures > div:nth-child(3) { border-left: 0; } .figures > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.bar { display: flex; height: 8px; border-radius: 2px; overflow: hidden; background: var(--surface-2); margin: 16px 0 12px; }
.bar span { display: block; height: 100%; }
.legend { display: grid; gap: 8px; font-size: 14px; }
.legend div { display: flex; justify-content: space-between; gap: 12px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 8px; }
.split { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 14px 0; }
.split > div { padding: 14px 16px; } .split > div + div { border-left: 1px solid var(--line); }
.split .p { font: 400 30px/1 var(--display); } .split .s { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.split .res { background: color-mix(in srgb, var(--verdigris-deep) 24%, transparent); }
.notice { border: 1px solid color-mix(in srgb, var(--warn) 50%, var(--line)); border-radius: var(--r); padding: 12px 14px; font-size: 14px; color: var(--text-2); margin-top: 12px; }
.pending { padding: 26px; padding-right: max(26px, calc(100% - 38em)); border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--text-2); margin-bottom: 16px; background: var(--surface); }
.pending strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 6px; }

/* the name */
.origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; min-height: 86svh; }
.origin .year { font: 500 clamp(96px, 13vw, 190px)/.8 var(--display); color: var(--verdigris); letter-spacing: -.05em; margin: 0 0 28px -.07em; }   /* the 1 carries wide side bearing; pull it onto the text edge */
.origin p { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--text-2); }
.origin p + p { margin-top: 18px; } .origin p strong { color: var(--text); font-weight: 500; }
@media (max-width: 960px), (max-aspect-ratio: 7/5) { .origin { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-top: 46svh; } }

/* how */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; border-top: 1px solid var(--line); counter-reset: s; margin: 0; padding: 0; }
.steps li { list-style: none; padding: 24px 0 0; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font: 500 34px/1 var(--display); letter-spacing: -.03em; color: #B98452; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; } .steps p { color: var(--text-2); font-size: 15px; }
.steps.three { grid-template-columns: repeat(3, 1fr); } .steps li > .btn { margin-top: 16px; }
.routes { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps.three { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* redeem */
.redeem { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .redeem { grid-template-columns: 1fr; } }
.redeem > *, .grid2 > *, .head > * { min-width: 0; }
.field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px 6px 6px 14px; background: var(--ink); margin: 12px 0; }
.field input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; color: var(--text); font: 400 28px var(--ui); outline: none; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.receive { display: grid; gap: 6px; padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 16px; font-size: 15px; }

/* risks + faq */
#risks .head, #buy .head { grid-template-columns: 1fr; gap: 14px; }   /* the warning reads as one heading with its line under it, like every other section */
@media (max-width: 860px) { #risks .head { grid-template-columns: 1fr; } }
#risks .wrap { max-width: 860px; }                        /* the risks read as an accordion, like the FAQ: every title on show, the detail a tap away */
.risks summary { font-weight: 500; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 21px; font: 400 26px/1 var(--ui); color: var(--text-3); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-2); padding: 0 0 22px; max-width: 32em; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--text-3); }
footer .cols { display: grid; grid-template-columns: 2fr 1.3fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 12px; font: 600 12px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer .addr { overflow-wrap: anywhere; }
footer .addr.set { font-family: var(--mono); font-size: 13px; }
footer .disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
footer .disclaimer span { display: block; max-width: 38em; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--ink); padding: 12px 18px; border-radius: var(--r); font-size: 14px; z-index: 60; box-shadow: 0 20px 40px -20px #000; max-width: calc(100vw - 32px); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* figures that stack in columns or tick over keep their width */
.stats .v, .kv .v, .timeline .d, .legend, .figures .v, .split .p, .count b, .receive, .field input { font-variant-numeric: tabular-nums lining-nums; }

/* page transitions (transition.js): leaving, the page and its scene dissolve into the ink; arriving, they come up out of it.
   Opacity only: a transform on <main> would turn it into the containing block of the fixed canvas inside it. */
main, footer, #stage { transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
html.leaving main, html.leaving footer { opacity: 0; }   /* the nav is the same on both pages, so it stays put */
html.leaving #stage { opacity: 0; transition-duration: .55s; }
html.arriving:not(.arrived) main, html.arriving:not(.arrived) footer, html.arriving:not(.arrived) #stage { opacity: 0; transition: none; }
html.arrived main, html.arrived footer { transition-duration: .7s; transition-delay: .1s; }
html.arrived #stage { transition-duration: .8s; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { main, footer, #stage { transition: none; } }
/* "soon": a feature that is built but not open to everyone yet */
.chip-soon { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--brass) 16%, transparent); color: var(--brass); font: 500 11.5px/1.5 var(--ui); white-space: nowrap; vertical-align: 1px; }
/* a basket's dialog: its tokens, each with what this amount buys */
.blegs { list-style: none; margin: 10px 0 0; padding: 0; max-height: 236px; overflow: auto; }
.blegs li { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.blegs li:first-child { border-top: 0; }
.blegs .tl { width: 26px; height: 26px; }
.blegs .bn { flex: 1; min-width: 0; display: grid; line-height: 1.25; } .blegs .bn b { font-weight: 600; } .blegs .bn small { color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blegs .bo { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } .blegs .bo small { display: block; color: var(--text-3); font-size: 12px; }
.blegs li.done .bo { color: var(--up); }
