/* Cashed. Greyscale, sentence case, full stops. No accent colour: state is white and motion. */
:root {
  --ink: #0a0a0a;
  --paper: #d9d9d9;
  --grey: #a9a9a9;
  --dim: #686868;
  --faint: #3a3a3a;
  --line: #1f1f1f;
  --chip: #232323;
  --white: #f4f4f4;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 4px;
}
* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 1.6rem/1.5 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a.ln { color: var(--white); border-bottom: 1px solid var(--faint); transition: border-color .2s; }
a.ln:hover { border-color: var(--white); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
button:disabled { cursor: default; opacity: .45; }
::selection { background: var(--white); color: var(--ink); }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.grey { color: var(--grey); }
.white { color: var(--white); }
[hidden] { display: none !important; }

/* ---- the dot ground ---- */
#dots { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#dots canvas { width: 100%; height: 100%; display: block; }
.above { position: relative; z-index: 2; }

/* ---- header: square chips, no bar ---- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px var(--gutter); pointer-events: none;
}
.chips { display: flex; gap: 1px; pointer-events: auto; }
.chip {
  display: inline-flex; align-items: center; gap: .6em; min-height: 40px; padding: 0 14px;
  background: var(--chip); color: var(--paper); font-size: 1.4rem; line-height: 1;
  border-radius: 0; transition: background .18s, color .18s; white-space: nowrap;
}
.chip:hover, .chip[aria-current="page"] { background: var(--white); color: var(--ink); }
.chip.brand { font-weight: 600; letter-spacing: -.02em; font-size: 1.6rem; padding: 0 16px 0 12px; gap: 9px; }
.chip.brand img { width: 20px; height: 20px; display: block; }
.chip.brand:hover { background: var(--chip); color: var(--paper); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.chip .dot.on { background: var(--white); }
.chip:hover .dot.on { background: var(--ink); }
.chips.nav { border: 0; }
@media (max-width: 720px) {
  .chip { padding: 0 11px; font-size: 1.3rem; min-height: 36px; }
  .chip.brand { font-size: 1.5rem; }
  .hide-sm { display: none; }
}

/* ---- type ---- */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; color: var(--white); }
h1 { font-size: clamp(3.8rem, 8vw, 9.2rem); line-height: .96; }
h2 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1.02; }
h3 { font-size: 2rem; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: clamp(1.7rem, 1.9vw, 2.1rem); line-height: 1.45; color: var(--grey); max-width: 60ch; }
.lede b, p b { color: var(--white); font-weight: 500; }
.small { font-size: 1.3rem; color: var(--dim); line-height: 1.5; }
.tag { display: inline-block; font-size: 1.25rem; color: var(--dim); letter-spacing: 0; margin-bottom: 1.4rem; }
.tag::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--faint); vertical-align: middle; margin-right: 10px; }

/* ---- layout ---- */
.wrap { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }
section.blk { padding-top: clamp(72px, 12vh, 150px); padding-bottom: clamp(72px, 12vh, 150px); border-top: 1px solid var(--line); }
section.blk.first { border-top: 0; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.two > .stick { position: sticky; top: 90px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .two > .stick { position: static; } }

/* ---- hero ---- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(40px, 6vh, 72px); }
.hero h1 .l { display: block; }
.hero .row { display: flex; gap: clamp(24px, 4vw, 64px); align-items: flex-end; flex-wrap: wrap; margin-top: clamp(28px, 4vh, 48px); }
.hero .lede { flex: 1 1 380px; }
.cta { display: flex; gap: 1px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .7em; min-height: 46px; padding: 0 18px;
  background: var(--white); color: var(--ink); font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em;
  transition: background .18s, color .18s, transform .18s;
}
.btn:hover { background: var(--paper); }
.btn.ghost { background: var(--chip); color: var(--paper); }
.btn.ghost:hover { background: var(--white); color: var(--ink); }
.btn .arr { font-family: var(--mono); font-weight: 400; }
.btn:disabled:hover { background: var(--white); color: var(--ink); }
.btn.ghost:disabled:hover { background: var(--chip); color: var(--paper); }

/* the live strip under the hero: figures read from the contract */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(40px, 7vh, 80px); background: var(--line); border: 1px solid var(--line); }
.strip > div { background: var(--ink); padding: 18px 18px 16px; }
.strip .v { font-size: clamp(2.2rem, 3vw, 3.2rem); font-weight: 600; letter-spacing: -.02em; color: var(--white); line-height: 1; }
.strip .v small { font-size: .5em; color: var(--dim); font-weight: 400; margin-left: .3em; letter-spacing: 0; }
.strip .k { font-size: 1.3rem; color: var(--dim); margin-top: 8px; }
@media (max-width: 720px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- the statement (ledger table) ---- */
.stmt { width: 100%; border-collapse: collapse; font-size: 1.45rem; }
.stmt th { text-align: left; font-weight: 400; color: var(--dim); font-size: 1.25rem; padding: 0 12px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stmt td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.stmt td.r, .stmt th.r { text-align: right; padding-right: 0; }
.stmt tr.tot td { border-bottom: 0; color: var(--white); padding-top: 18px; }
.stmt .h { color: var(--white); }
.stmt .sub { display: block; color: var(--dim); font-size: 1.25rem; margin-top: 2px; }
.stmt tr.line { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.stmt tr.line.in { opacity: 1; transform: none; }
.empty { padding: 34px 0; color: var(--dim); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .stmt .hide-sm { display: none; } }

/* ---- the followed trade: scroll-scrubbed split ---- */
.trace { --p: 1; }
.trace .steps { display: grid; gap: clamp(80px, 30vh, 260px); padding: 20vh 0 30vh; }
.trace .step { max-width: 46ch; }
.trace .step .n { font-family: var(--mono); font-size: 1.2rem; color: var(--dim); display: block; margin-bottom: 10px; }
.trace .step p { font-size: clamp(1.8rem, 2.2vw, 2.4rem); line-height: 1.35; color: var(--dim); transition: color .4s; }
.trace .step.lit p { color: var(--white); }
.trace .step .fig { font-family: var(--mono); font-size: .9em; color: var(--grey); }
.trace .step.lit .fig { color: var(--white); }

.bar { position: sticky; top: 90px; }
@media (max-width: 860px) { .bar { position: static; } .trace .steps { padding: 40px 0 0; gap: 48px; } }
.bar .rail { position: relative; height: 56px; background: var(--chip); overflow: hidden; }
.bar .seg { position: absolute; top: 0; bottom: 0; left: 0; transform-origin: left; }
.bar .seg.trade { width: 100%; background: #2c2c2c; }
.bar .seg.fee { background: #4a4a4a; width: 2%; }
.bar .seg.pons { background: #171717; }
.bar .seg.handle { background: var(--white); left: 15%; width: 68%; }
.bar .seg.burn { background: #7a7a7a; left: 83%; width: 17%; }
.bar .lbl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 1.2rem; color: var(--dim); margin-top: 10px; }
.bar .lbl span { transition: color .3s; }
.bar .lbl span.on { color: var(--white); }
.bar .zoom { margin-top: 26px; }
.bar .zoom .rail { height: 96px; }
.bar .zoom .cap { font-size: 1.25rem; color: var(--dim); margin-top: 8px; display: flex; justify-content: space-between; }
.bar .zoom .cap b { color: var(--white); font-weight: 500; }
.bar .out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1px; }
.bar .out > div { background: var(--chip); padding: 14px 16px; }
.bar .out .v { font-size: 2.2rem; font-weight: 600; color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bar .out .k { font-size: 1.25rem; color: var(--dim); margin-top: 4px; }
.bar .note { font-size: 1.25rem; color: var(--dim); margin-top: 14px; }

/* ---- steps / lists ---- */
.klist { list-style: none; margin: 0; padding: 0; counter-reset: k; }
.klist li { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: k; }
.klist li::before { content: counter(k, decimal-leading-zero); font-family: var(--mono); color: var(--dim); font-size: 1.3rem; padding-top: 4px; }
.klist li h3 { margin-bottom: 6px; grid-column: 2; }
.klist li p { grid-column: 2; }
.klist li p { color: var(--grey); max-width: 60ch; }
.klist li:last-child { border-bottom: 1px solid var(--line); }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 10px; color: var(--grey); }
.rules li b { color: var(--white); font-weight: 500; }
.rules li::before { content: attr(data-n); font-family: var(--mono); color: var(--dim); font-size: 1.3rem; padding-top: 2px; }
.rules li:last-child { border-bottom: 1px solid var(--line); }

/* the bio-code card used on the home page and the claim page */
.codecard { background: var(--chip); padding: 20px 22px; max-width: 420px; }
.codecard .c { font-family: var(--mono); font-size: 2.6rem; color: var(--white); letter-spacing: .04em; }
.codecard .w { font-size: 1.3rem; color: var(--dim); margin-top: 6px; }

/* ---- forms ---- */
.form { display: grid; gap: 1px; }
.field { background: var(--chip); padding: 14px 16px 12px; display: grid; gap: 6px; }
.field label { font-size: 1.25rem; color: var(--dim); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; color: var(--white); font: 500 1.7rem/1.3 var(--sans); letter-spacing: -.01em; outline: 0; padding: 0;
}
.field textarea { resize: vertical; min-height: 64px; font-weight: 400; font-size: 1.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field .hint { font-size: 1.25rem; color: var(--dim); }
.field.err { outline: 1px solid #6a3030; }
.seg { display: flex; gap: 1px; }
.seg button { flex: 1; min-height: 40px; background: var(--ink); color: var(--grey); font-size: 1.4rem; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.seg button:hover { color: var(--white); }
.seg button[aria-pressed="true"]:hover { color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.msg { font-size: 1.4rem; color: var(--grey); min-height: 1.4em; margin-top: 12px; }
.msg.ok { color: var(--white); }
.msg.bad { color: #d98a8a; }

/* key/value rows */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; font-size: 1.4rem; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; color: var(--paper); overflow-wrap: anywhere; }
.kv dd.w { color: var(--white); }

/* ---- the coin page figures ---- */
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.figs > div { background: var(--ink); padding: 16px 16px 14px; }
.figs .v { font-size: 2.2rem; font-weight: 600; color: var(--white); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.figs .v small { font-size: .55em; color: var(--dim); font-weight: 400; margin-left: .3em; }
.figs .k { font-size: 1.25rem; color: var(--dim); margin-top: 8px; }
.panel { background: var(--chip); padding: 20px 22px; }
.panel h3 { margin-bottom: 12px; }
.tabs { display: flex; gap: 1px; margin-bottom: 1px; }
.tabs button { min-height: 40px; padding: 0 16px; background: var(--ink); color: var(--grey); font-size: 1.4rem; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); }

/* trades list */
.trades { width: 100%; border-collapse: collapse; font-size: 1.4rem; }
.trades td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.trades td.r { text-align: right; padding-right: 0; }

/* ---- reveal on scroll ---- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.rv-in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
.lift { color: var(--faint); transition: color .9s ease; }
.lift.rv-in { color: var(--grey); }
@media (prefers-reduced-motion: reduce) { .rv, .lift, .stmt tr.line { transition: none; opacity: 1; transform: none; color: inherit; } }

/* the hero headline arrives a word at a time */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.hero.on h1 .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero h1 .w { opacity: 1; transform: none; } }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.fcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fcols h4 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 400; color: var(--dim); }
.fcols dl { margin: 0; display: grid; gap: 8px; font-size: 1.35rem; }
.fcols dt { color: var(--dim); }
.fcols dd { margin: 0 0 6px; color: var(--paper); overflow-wrap: anywhere; }
.fnote { margin-top: 40px; font-size: 1.3rem; color: var(--dim); max-width: 70ch; }
@media (max-width: 720px) { .fcols { grid-template-columns: 1fr; } }

/* ---- wallet modal ---- */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.72); display: grid; place-items: center; padding: 20px; }
.modal { background: var(--chip); width: min(420px, 100%); padding: 18px; }
.modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal-top .eyebrow { font-size: 1.3rem; color: var(--dim); }
.modal .x { font-size: 2rem; line-height: 1; color: var(--grey); }
.modal-list { display: grid; gap: 1px; }
.modal-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ink); color: var(--white); font-size: 1.5rem; text-align: left; }
.modal-item:hover { background: var(--white); color: var(--ink); }
.modal-item img { width: 28px; height: 28px; }
.modal-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--faint); }

/* wrong-network banner */
.banner { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--white); color: var(--ink); padding: 10px 16px; font-size: 1.4rem; display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); }
.banner button { text-decoration: underline; }
