/* ─────────────────────────────────────────────────────────────────────────────
   DEBASE — styling B, "The entry"

   A different argument from styling A, not a reskin of it.

   A dresses the page as a LEDGER: warm paper, engraved serif, Roman numerals,
   tabular figures. It argues from the accounts.

   B dresses it as a DICTIONARY ENTRY and argues from the word. `debase` has five
   senses in ordinary English and four of them are things this token pointedly does
   NOT do — so the page prints the real definitions, strikes them through, and
   writes the correction underneath. The fifth, the archaic literal one (de- "down"
   + base "low"), is the only one left standing, and it is exactly what the contract
   does: it brings the supply down and nothing can raise it.

   That device only works on a hard, printed-looking ground, so: near-black, a
   condensed poster face for the headword, a serif with real italics for the senses,
   and mono for anything a machine produced.
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --ground: #0b0d10;
  --ground-2: #14171c; /* an inset block, one step up from the ground */
  --paper: #ece7dd;
  --paper-2: #a8a49a; /* secondary copy */
  --paper-3: #6f6d68; /* struck text, furniture, the quiet parts */
  --rule: #272b32;

  --flame: #2b7bff; /* the logo blue, lifted a little to hold up on a dark ground */
  --flame-true: #005cfe; /* the artwork's own value, kept for reference */
  --peak: #19c268; /* likewise the logo green */

  --measure: 66rem;
  --poster: "Anton", "Haettenschweiler", "Arial Narrow", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }

/* ── Masthead ─────────────────────────────────────────────────────────────── */

.masthead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap;
}
.wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--paper);
  font-family: var(--poster); font-size: 1.5rem; letter-spacing: 0.04em; }
.wordmark img { width: 32px; height: 32px; }
.masthead nav { display: flex; gap: 1.35rem; flex-wrap: wrap; font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }
.masthead nav a { color: var(--paper-3); text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--paper); }

/* ── The burn ticker ──────────────────────────────────────────────────────────
   Sits where the errata slip was and stays there: a burn counter is the one number
   on this page that is never finished, so it should not scroll away. Sticky, not
   fixed, so it cannot cover anything on a short viewport.

   It only ever counts UP. That is the entire argument of the site expressed as a
   widget, and it is why the increment below is `+=` with no branch that could
   subtract — a burn counter that ticked down would be describing a different token.

   `aria-live="off"` on purpose: a figure that changes every second or two would be
   read aloud continuously and make the page unusable with a screen reader. The same
   numbers sit in The ledger, static and announced normally. */
.ticker {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ground);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ticker-in {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 4vw, 2.75rem);
  flex-wrap: wrap;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.tick-item { display: flex; align-items: baseline; gap: 0.6rem; }
.tick-right { margin-left: auto; }
.tick-label {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--paper-3);
}
.tick-value {
  font-family: var(--mono); font-size: clamp(0.95rem, 2.2vw, 1.3rem); font-weight: 500;
  /* Tabular, or every tick shifts the digits sideways and the bar jitters. */
  font-variant-numeric: tabular-nums;
}
.tick-unit { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--paper-3); }
.tick-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--flame);
  display: inline-block; animation: tick-pulse 2.4s ease-in-out infinite;
}
@keyframes tick-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.tick-note { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--flame); }
/* Pre-launch. A pulsing flame dot beside the word NOT LAUNCHED would read as live no matter what
   the text said, so before launch the dot is hollow, grey and still. `.pre` is on the markup and
   ticker.js removes it when the counter is wired, so there is no live-looking flash either way. */
.ticker.pre .tick-dot { background: none; box-shadow: inset 0 0 0 1px var(--paper-3); animation: none; }
.ticker.pre .tick-note { color: var(--paper-3); }
.ticker.pre .tick-value { color: var(--paper-3); }
/* The bar is one line on a desktop and stacks on a phone. Without this the auto margin on the
   right-hand tag pushes it to its own row the moment the items no longer fit, which reads as a
   layout bug rather than as a wrap. */
@media (max-width: 46rem) {
  .tick-right { margin-left: 0; }
  .ticker-in { gap: 0.5rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .tick-dot { animation: none; } }

.errata { margin: 1.25rem 0 0; padding: 0.7rem 1rem; border: 1px solid var(--flame);
  color: var(--flame); font-size: 0.84rem; }

/* ── The entry ────────────────────────────────────────────────────────────── */

.entry { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.headword {
  font-family: var(--poster);
  font-size: clamp(4rem, 17vw, 12rem);
  line-height: 0.82;
  letter-spacing: -0.015em;
  text-transform: lowercase;
  margin: 0;
}
/* The syllable break, set quieter than the word it interrupts. */
.headword span { color: var(--paper-3); }
.pron {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: var(--paper-2);
  margin: 1.25rem 0 0;
}
.pron em { font-style: italic; }
.pron b { font-weight: 400; color: var(--paper); font-style: normal; }
.etym {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--paper-2);
  max-width: 54ch;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.etym em { font-style: italic; color: var(--paper); }

/* The mark, at the largest size that still sits BESIDE the headword.
 *
 * The ceiling is arithmetic, not taste: `.wrap` caps the content at 66rem (960px of usable width
 * at this padding), the headword is ~588px once its font-size clamp tops out at 12rem, and the
 * gap is 32px. That leaves ~340px — so 22rem (352px) is the first size that wraps, and when it
 * wraps `justify-content: space-between` drops it to the LEFT of an empty row, where it reads as
 * an orphan rather than a hero. 18rem (288px) keeps ~100px of slack, which is the margin needed
 * for the fallback face: if Anton fails to load, "de·base" is set in Arial Narrow at a different
 * width and a tighter fit would wrap in the wild but never here.
 *
 * If it ever needs to be bigger than this, the answer is a different composition — mark centred
 * ABOVE the word — not a larger number in this rule. */
.entry-mark { width: clamp(9rem, 22vw, 18rem); height: auto; }
.entry-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
/* Below this the two genuinely cannot share a line, so stack on purpose rather than letting the
   flex wrap decide — an intentional stack looks like a layout, a wrapped one looks like a bug. */
@media (max-width: 60rem) {
  .entry-top { flex-direction: column; align-items: flex-start; gap: clamp(1.5rem, 5vw, 2.5rem); }
  .entry-mark { width: clamp(9rem, 38vw, 17rem); }
}

/* ── The senses ───────────────────────────────────────────────────────────── */

section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--rule); }
.kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--paper-3); margin: 0 0 2rem; }

.senses { list-style: none; margin: 0; padding: 0; counter-reset: sense; }
.sense {
  display: grid;
  gap: 0.35rem 1.5rem;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
}
.sense:first-child { border-top: 0; }
.sense::before {
  counter-increment: sense;
  content: counter(sense) ".";
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--paper-3);
  grid-row: 1 / span 3;
  padding-top: 0.2rem;
}
/* The real definition, as a dictionary would print it — then taken away. */
.def {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  color: var(--paper-3);
  margin: 0;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--paper-3);
}
/* …and the correction, which is what the contract actually does. */
.fix { margin: 0.6rem 0 0; color: var(--paper); max-width: 58ch; }
.fix b { font-weight: 600; }
.tag {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--paper-3); margin: 0.75rem 0 0;
}
.tag a { color: var(--flame); text-decoration: none; border-bottom: 1px solid rgba(43, 123, 255, 0.35); }
.tag a:hover { border-bottom-color: var(--flame); }

/* The one sense that survives. Not struck, and marked as standing. */
.sense.stands .def {
  text-decoration: none;
  color: var(--paper);
  font-style: italic;
}
.sense.stands { border-left: 2px solid var(--peak); padding-left: 1.5rem; }
.sense.stands::before { color: var(--peak); }
.stands-note { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--peak); margin: 0.75rem 0 0; }

/* ── Figures ──────────────────────────────────────────────────────────────── */

h2 { font-family: var(--poster); font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 0.95;
  letter-spacing: 0.005em; text-transform: lowercase; margin: 0 0 1.75rem; }
.lede { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--paper-2); max-width: 56ch; margin: 0 0 1.1rem; }
.note { margin-top: 1.75rem; }

.figure { font-family: var(--mono); font-size: clamp(1.9rem, 6.5vw, 3.8rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1; margin: 0.4rem 0 0; font-variant-numeric: tabular-nums; }
.arc { display: flex; align-items: center; gap: 0.6rem; margin: 1.6rem 0; }
.arc-kept { flex: 4; border-top: 1px solid var(--flame); }
.arc-gone { flex: 1; border-top: 1px dotted var(--paper-3); }

.cells { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 46rem) { .cells { grid-template-columns: 1fr 1fr; } }
@media (min-width: 70rem) { .cells { grid-template-columns: repeat(4, 1fr); } }
.cell { padding: 1.3rem 1.5rem 1.3rem 0; border-top: 1px solid var(--rule); }
.cell dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper-3); margin: 0 0 0.45rem; }
.cell dd { margin: 0; font-family: var(--mono); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.cell p { margin: 0.45rem 0 0; font-size: 0.84rem; color: var(--paper-3); line-height: 1.5; }
.flame { color: var(--flame); }
.peak { color: var(--peak); }

/* ── The toll ─────────────────────────────────────────────────────────────── */

.toll { width: 100%; border-collapse: collapse; }
.toll th { text-align: left; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--paper-3); font-weight: 400; padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--paper-3); }
.toll th:last-child, .toll td:last-child { text-align: right; }
.toll td { padding: 1.3rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.toll .name { font-family: var(--poster); font-size: 1.35rem; text-transform: lowercase;
  white-space: nowrap; padding-right: 2rem; letter-spacing: 0.02em; }
.toll .what { color: var(--paper-2); font-size: 0.92rem; }
.toll .share { font-family: var(--mono); font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Blocks ───────────────────────────────────────────────────────────────── */

.block { background: var(--ground-2); padding: clamp(1.6rem, 4vw, 2.5rem); }
.terms { margin: 1.75rem 0 0; }
.terms div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0;
  border-top: 1px solid var(--rule); flex-wrap: wrap; }
.terms dt { font-weight: 600; margin: 0; }
.terms dd { margin: 0; color: var(--paper-2); text-align: right; }

.addresses { margin: 0; }
.addresses div { padding: 1rem 0; border-top: 1px solid var(--rule); }
.addresses dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--paper-3); margin: 0 0 0.35rem; }
.addresses dd { margin: 0; font-family: var(--mono); font-size: 0.84rem; overflow-wrap: anywhere; }
.addresses a { color: var(--flame); text-decoration: none; border-bottom: 1px solid rgba(43, 123, 255, 0.35); }
.addresses a:hover { border-bottom-color: var(--flame); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.btn { display: inline-block; padding: 0.8rem 1.5rem; font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--paper); color: var(--paper); background: transparent;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease; }
.btn:hover { background: var(--paper); color: var(--ground); }
.btn-solid { background: var(--paper); color: var(--ground); }
.btn-solid:hover { background: var(--flame); border-color: var(--flame); color: #fff; }
/* The one link that leaves for somewhere it can actually be traded. */
.btn-out::after { content: " ↗"; }
/* A button shape that is not a link, because there is nowhere to send you yet. Keeps the outline
   so the row still composes, drops the hover and the pointer so it never pretends to be clickable
   — a dead <a href="#"> would look identical and lie about it. */
.btn-dead { display: inline-block; padding: 0.8rem 1.5rem; font-family: var(--mono);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px dashed var(--rule); color: var(--paper-3); background: transparent;
  cursor: default; }

/* ── Redaction ────────────────────────────────────────────────────────────────
   The launchpad is not named until the token is live. The bar is the point: it says
   "a name belongs here and is being withheld", which on a page built out of struck-through
   dictionary senses reads as part of the argument rather than as a gap.

   Deliberately still legible — a true blackout would leave sentences unparseable, and the
   sentences around it are doing real work explaining the tax and the vault. */
.redacted {
  font-family: var(--mono); font-size: 0.86em; letter-spacing: 0.06em;
  padding: 0.12em 0.42em; border-radius: 2px;
  background: var(--paper-3); color: var(--ground);
  /* Sits on a baseline shared with body serif; the nudge keeps the bar optically centred. */
  vertical-align: baseline; white-space: nowrap;
}
/* On the masthead the bar would out-shout the nav, so it thins out to a rule-and-text mark. */
.masthead nav .redacted { background: none; color: var(--paper-3);
  border: 1px dashed var(--rule); padding: 0.1em 0.4em; }
/* Inside a filled button the bar has to invert or it disappears into the fill. */
.btn-dead .redacted { background: var(--paper-3); color: var(--ground); }

footer { border-top: 1px solid var(--rule); padding: 2.25rem 0 4rem; color: var(--paper-3); font-size: 0.83rem; }
footer a { color: var(--paper-2); }

a:focus-visible, .btn:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
