@font-face {
  font-family: "Albert Sans";
  src: url("fonts/albert-sans-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #ff6600;
  --ink: #1a1714;
  --cream: #e9dac6;
  --weight: 600; /* brand book: SemiBold 600 is the only weight */
  --track: -0.06em;
  --g: clamp(16px, 4.4vw, 64px); /* page gutter */
  --r: clamp(28px, 3.4vw, 56px); /* window radius */

  /* logo a: black wallet, cream coin, the gap takes the page colour.
     To use logo b instead, change <html class="logo-a"> to "logo-b" in index.html. */
  --wallet: var(--ink);
  --gap: var(--bg);
  --coin: var(--cream);
  --rim: #a89d8e; /* a darker cream */
  --word: var(--ink);
  --dot: #fff;
  --rim-hi: #f4ead9; /* lighter line along the middle of the rim */
  --pd: #fff; /* end-of-sentence full stop: white on orange, orange on black and on white */
  --ball: #fff;
  --cta-text: var(--cream);
}
/* logo b: the original dark file colours, untouched, inside a dark window */
.logo-b .hero {
  --wallet: #ffffff;
  --gap: var(--ink);
  --coin: #ff6600;
  --rim: #b84300;
  --rim-hi: #ff8f4d;
  --word: #ffffff;
  --dot: #ff6600;
  --pd: #fff;
  --ball: #fff;
}
/* white sections: the original light logo, ink wallet and an orange coin */
.on-white {
  background: #fff;
  --bg: #fff;
  --gap: #fff;
  --wallet: var(--ink);
  --coin: #ff6600;
  --rim: #b84300;
  --rim-hi: #ff8f4d;
  --pd: #ff6600;
  --ball: #ff6600;
  --cta-text: #fff;
  --field: #fff;
}
.on-ink {
  background: var(--ink);
  color: #fff;
  --pd: #ff6600;
}

* { box-sizing: border-box; }
*, *::before, *::after { letter-spacing: var(--track); } /* em is resolved per element: never inherit it from body */
[hidden] { display: none !important; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Albert Sans", system-ui, sans-serif;
  font-weight: var(--weight);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: var(--weight); }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--g); }
.chip {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.14em;
}
.kicker { margin-bottom: clamp(18px, 3vh, 30px); }
.lede { font-size: clamp(19px, 2.1vw, 28px); line-height: 1.16; max-width: 34ch; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0 var(--g);
}
.top { display: flex; justify-content: space-between; padding: clamp(18px, 3vh, 32px) 0 0; }
.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(22px, 4.2vh, 46px);
  padding: 24px 0 48px;
}
.lockup-wrap { position: relative; width: min(620px, 76vw); cursor: pointer; }
.logo-b .lockup-wrap {
  background: var(--ink);
  border-radius: var(--r);
  padding: clamp(22px, 3.2vw, 44px);
  width: min(680px, 86vw);
}
.lockup { display: block; width: 100%; height: auto; overflow: visible; }
.w-fill { fill: var(--wallet); }
.w-gap { fill: var(--gap); }
.coin-gap * { fill: var(--gap); stroke: var(--gap); stroke-width: 42; stroke-linejoin: round; }
.coin-body .face { fill: var(--coin); }
.coin-body .rim { fill: var(--rim); }
.coin-body .hi { fill: none; stroke: var(--rim-hi); stroke-width: 4.5; stroke-linecap: round; }
.coin-body .shade { fill: #000; }
.ink { fill: var(--word); }
.dot { fill: var(--dot); }

.tag {
  font-size: min(calc((100vw - 2 * var(--g)) / 6.9), 8.4rem);
  line-height: 0.94;
  letter-spacing: var(--track);
}
.tag .line { display: block; white-space: nowrap; }
.tag .w { display: inline-block; }
.pd { color: var(--pd); }

.sub {
  max-width: 30ch;
  font-size: clamp(18px, 2.05vw, 27px);
  line-height: 1.16;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
.cta {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cta-text);
  text-decoration: none;
  font: inherit;
  font-size: 21px;
  letter-spacing: var(--track);
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(.3, 1.6, .5, 1);
}
.cta:hover { transform: translateY(-3px); }
.cta:disabled, .cta[aria-disabled="true"] { opacity: 0.62; cursor: not-allowed; transform: none; }
.cta-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }

/* ---------- sections ---------- */
.zones, .points, .facts, .beta { padding: clamp(64px, 12vh, 140px) 0; }
.hl { font-size: clamp(44px, 7.6vw, 112px); line-height: 0.94; max-width: 13em; text-wrap: balance; }
h3.hl { font-size: clamp(36px, 3.7vw, 56px); }
.hl { position: relative; }
.hl .w { display: inline-block; }
.bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.zones .lede { margin-top: clamp(18px, 3vh, 30px); }

/* public / private flow */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 21vw) minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 2vw, 32px);
  margin-top: clamp(36px, 7vh, 72px);
}
.pane {
  position: relative;
  border-radius: var(--r);
  padding: clamp(18px, 2.2vw, 32px);
}
.pane-public { border: 3px solid var(--ink); }
.pane-private { background: var(--ink); color: #fff; }
.pane-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: clamp(10px, 2vh, 20px); }
.pane-private .chip { border-color: #fff; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 5em 1fr auto;
  align-items: center;
  gap: 16px;
  height: clamp(60px, 9.5vh, 88px);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: clamp(14px, 1.55vw, 22px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  will-change: transform, opacity;
}
.rows-private .row { border-bottom-color: #fff; grid-template-columns: 4.6em 1fr auto; }
.rows .row:last-child { border-bottom-color: transparent; }
.side {
  justify-self: start;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 0;
  width: 4.4em;
  text-align: center;
}
.side-buy { background: var(--ink); color: #fff; }
.amt { text-align: right; }
.mask { letter-spacing: 0.22em; color: #ff6600; }
.mask:nth-child(1) { justify-self: start; }
.mask:nth-child(2) { justify-self: start; }
.mask:nth-child(3) { justify-self: end; }
.flow-wallet { position: relative; z-index: 3; justify-self: center; width: 100%; max-width: 210px; }
.wallet-mark { display: block; width: 100%; height: auto; overflow: visible; }
.note-line { margin-top: clamp(22px, 4vh, 40px); max-width: 52ch; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.22; }

/* three points */
.point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.point { border-top: 3px solid var(--ink); padding-top: 22px; display: grid; gap: 18px; align-content: start; }
.point .chip { justify-self: start; }
.point p { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.16; max-width: 24ch; }
.fine { margin-top: clamp(28px, 5vh, 52px); max-width: 62ch; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.22; }

/* facts */
.facts { padding-top: 0; }
.fact { font-size: clamp(28px, 4.2vw, 60px); line-height: 0.98; max-width: 20em; margin-top: 0.34em; }
.fact:first-child { margin-top: 0; }

/* beta form */
.beta-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.beta-art { width: 100%; max-width: 440px; justify-self: center; }
/* sections */
.beta { position: relative; }
.flyer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; overflow: visible; }
.beta-copy .lede { margin-top: clamp(16px, 2.6vh, 26px); }
.form { margin-top: clamp(24px, 4vh, 40px); display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 10px; }
.field label.mono { display: block; }
.field input[type="email"], .field input[type="text"] {
  width: 100%;
  height: 62px;
  padding: 0 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--field, var(--cream));
  color: var(--ink);
  font: inherit;
  font-size: 21px;
  letter-spacing: var(--track);
}
.field input::placeholder { color: rgba(26, 23, 20, 0.62); }
.field input[aria-invalid="true"] { box-shadow: 0 0 0 4px var(--ink); }
.field-consent { grid-template-columns: auto 1fr; align-items: start; column-gap: 14px; }
.field-consent label { font-size: 17px; line-height: 1.2; padding-top: 2px; }
.field-consent .err { grid-column: 1 / -1; }
.field-consent input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}
.field-consent input[type="checkbox"]:checked { background: var(--ink); }
.field-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 8px;
  height: 15px;
  border: solid var(--cta-text);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}
.field-consent input[aria-invalid="true"] { box-shadow: 0 0 0 4px var(--ink); }
.err {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 10px 16px;
  font-size: 17px;
  line-height: 1.2;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts { min-height: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.beta-copy .actions { margin-top: clamp(22px, 3.6vh, 36px); }
.beta-copy .fine { margin-top: clamp(18px, 3vh, 28px); }
.status { min-height: 1.2em; font-size: 18px; line-height: 1.2; }
.status:empty { min-height: 0; }
.status.err { margin-top: -4px; }
.cta[aria-busy="true"]::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cta-text);
  animation: hop 0.55s cubic-bezier(.3, 0, .6, 1) infinite alternate;
}
@keyframes hop { from { transform: translateY(5px); } to { transform: translateY(-6px); } }
.done { margin-top: 0; }
.done .hl { font-size: clamp(36px, 4.6vw, 68px); max-width: 12em; }
.done .lede { margin-top: 18px; }
.done:focus { outline: none; }

/* footer */
.foot { padding: clamp(40px, 8vh, 80px) 0 clamp(32px, 6vh, 56px); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.foot-links { display: flex; gap: 28px; }
.foot-links a, .foot a { text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.foot :focus-visible { outline-color: #fff; }
.stage-line { margin-top: 28px; max-width: 70ch; line-height: 1.5; }

/* privacy page */
.doc { padding: clamp(28px, 6vh, 64px) 0 clamp(64px, 12vh, 140px); }
.doc h1 { font-size: clamp(56px, 10vw, 140px); line-height: 0.92; margin: clamp(32px, 6vh, 64px) 0 clamp(28px, 5vh, 48px); }
.doc h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1; margin: clamp(32px, 5vh, 52px) 0 12px; }
.doc p, .doc li { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.22; max-width: 60ch; }
.doc ul { padding-left: 1.1em; margin: 10px 0 0; display: grid; gap: 8px; }
.doc .back { display: inline-block; }

/* ---------- intro states (only when script runs, so no-JS shows the final page) ---------- */
.js .tag .w, .js .hl-ready .w { opacity: 0; transform: translateY(0.16em); }
.js .tag .w.on, .js .hl-ready .w.on { opacity: 1; transform: none; transition: opacity 0.14s ease-out, transform 0.18s ease-out; }
.js .tag .pd, .js .hl-ready .pd { visibility: hidden; }
.js .tag .pd.on, .js .hl-ready .pd.on { visibility: visible; }
.js .top, .js .sub, .js .cta-row { opacity: 0; transform: translateY(10px); }
.js .hero[data-state="sub"] .top, .js .hero[data-state="ready"] .top,
.js .hero[data-state="ready"] .sub, .js .hero[data-state="ready"] .cta-row { opacity: 1; transform: none; transition: opacity 0.4s ease-out, transform 0.5s cubic-bezier(.2, .9, .3, 1); }
.js .hero[data-state="ready"] .cta-row { transition-delay: 0.14s; }
.js #wallet, .js #word, .js #wDot { visibility: hidden; }
.js .hero.started #wallet, .js .hero.started #word, .js .hero.started #wDot { visibility: visible; }
.js .beta-art [data-role="coinPos"] { visibility: hidden; }
.js .beta-art.coin-in [data-role="coinPos"] { visibility: visible; }

.ball { position: absolute; left: 0; top: 0; border-radius: 50%; background: var(--ball); pointer-events: none; transform-origin: 50% 100%; will-change: transform; z-index: 4; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .flow-wallet { max-width: 124px; margin: 2px 0; }
  .point-grid { grid-template-columns: minmax(0, 1fr); }
  .beta-grid { grid-template-columns: minmax(0, 1fr); }
  .beta-art { max-width: min(300px, 80vw); justify-self: center; }
  .beta-copy { text-align: center; }
  .beta-copy .hl, .beta-copy .lede { margin-left: auto; margin-right: auto; }
  .form { margin-left: auto; margin-right: auto; text-align: left; }
  .row { height: 60px; gap: 10px; font-size: 14px; }
}
@media (max-width: 420px) {
  .cta { height: 54px; padding: 0 24px; font-size: 19px; }
  .actions .cta { width: 100%; }
  .field input[type="email"] { height: 58px; font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .tag .w, .js .hl-ready .w, .js .top, .js .sub, .js .cta-row { opacity: 1; transform: none; transition: none; }
  .js .tag .pd, .js .hl-ready .pd { visibility: visible; }
  .js #wallet, .js #word, .js #wDot { visibility: visible; }
  .js .beta-art [data-role="coinPos"] { visibility: visible; }
  .cta { transition: none; }
  .cta[aria-busy="true"]::before { animation: none; }
}

/* the grainpad mark that the coin becomes after signing up */
[data-role="gpWord"] { visibility: hidden; }
.logo-final [data-role="gpWord"] { visibility: visible; }

/* ---------- the window: a dark rectangle that drifts at random over the stage and inverts what it covers ---------- */
.sec-head, .beta-intro, .stage { position: relative; }
.win {
  position: absolute;
  left: calc(var(--m) * -1);
  top: calc(var(--m) * -1);
  width: calc(100% + var(--m) * 2);
  height: calc(100% + var(--m) * 2);
  background: var(--ink);
  color: #fff;
  --wallet: #fff;
  --gap: var(--ink);
  --coin: #ff6600;
  --rim: #b84300;
  --rim-hi: #ff8f4d;
  --word: #fff;
  --dot: #ff6600;
  --pd: #ff6600; /* on black the full stop is orange */
  --ball: #ff6600;
  --cta-text: var(--ink);
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  z-index: 3;
  clip-path: inset(50% 50% 50% 50%);
  will-change: clip-path;
}
.win-in { position: absolute; left: var(--m); right: var(--m); top: var(--m); bottom: var(--m); }
.win .cta { background: #fff; color: var(--ink); }
.win .mono, .win p, .win h1, .win h2, .win h3 { color: #fff; }
.win .pd { color: #ff6600; visibility: visible; }
.win .w { opacity: 1; transform: none; }
.win .lockup-wrap { cursor: default; }
.on-ink { --pd: #ff6600; }

/* ======================================================================
   product information: hero links, coins strip, steps, trust, faq, docs.
   Additive only. Nothing above this line is changed, and the window,
   the hero intro and the wallet animations are not touched.
   ====================================================================== */

/* ---------- hero: small secondary links (a third grid row, outside the stage and its window) ---------- */
/* the window may reach 24px past the stage box, so the row keeps 28px clear of it */
.hero-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; margin-top: 28px; padding: 0 0 clamp(12px, 2vh, 20px); text-align: center; }
.hero-links > .mono:first-child { text-wrap: balance; }
/* wide screens: the same links sit in the top bar, in the first view; the bottom row is for narrow screens */
.top-nav { display: none; }
.top-nav a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 1100px) {
  .top-nav { display: flex; align-items: baseline; gap: 12px 28px; }
  .hero-links { display: none; }
}
.hero-nav { display: inline-flex; gap: 28px; }
.hero-links a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; border-bottom: 2px solid currentColor; }
.js .hero-links { opacity: 0; transform: translateY(10px); }
.js .hero[data-state="ready"] .hero-links { opacity: 1; transform: none; transition: opacity 0.4s ease-out 0.24s, transform 0.5s cubic-bezier(.2, .9, .3, 1) 0.24s; }

/* ---------- coins: centred rows on wide screens, a ruled two-column grid on phones ---------- */
.coins { padding: clamp(56px, 10vh, 120px) 0 clamp(40px, 7vh, 84px); border-top: 3px solid var(--ink); overflow: hidden; }
.coins .hl { font-size: clamp(40px, 6vw, 88px); }
.coins .lede { margin-top: clamp(16px, 2.6vh, 26px); }
.coin-strip { margin-top: clamp(28px, 5vh, 56px); }
.coin-field { border-block: 3px solid var(--ink); padding: clamp(16px, 3vh, 28px) 0; }
.coin-set { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(20px, 3vw, 44px); margin: 0; padding: 0 var(--g); list-style: none; }
.coin-group { display: none; }
.coin-break { flex-basis: 100%; height: 0; margin: 0; padding: 0; list-style: none; }
.coin {
  --coin-fs: clamp(26px, 2.8vw, 42px);
  display: inline-flex;
  align-items: center;
  gap: 0.36em;
  padding: 0.3em 0.5em; /* room for the hover highlight, so nothing shifts */
  border-radius: 999px;
  font-size: var(--coin-fs);
  line-height: 1;
  white-space: nowrap;
}
/* the small text is centred on the middle of the big text's letter height (x-height), not on the line box */
.coin-tick { opacity: 0.86; transform: translateY(calc(var(--coin-fs) * 0.098)); }
.coin-next .coin-tick { opacity: 1; border: 2px solid currentColor; border-radius: 999px; padding: 5px 10px; } /* same outlined tag as the "coming" chips */
/* one-colour mark in the text colour; the full-colour mark fades in on hover */
/* every round mark is the same circle (1.1em); other shapes are sized by optical weight, not by their bounding box */
.coin-ico { position: relative; flex: none; width: calc(var(--iw, 1.1em) * var(--k, 1)); height: calc(var(--ih, 1.1em) * var(--k, 1)); }
.coin-ico::before, .coin-ico::after { content: ""; position: absolute; inset: 0; }
.coin-ico::before { background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.coin-ico::after { background: var(--h) center / contain no-repeat; opacity: 0; }
.coin-sol { --iw: 1.12em; --ih: 0.88em; --m: url("coins/sol-main.svg"); --h: url("coins/sol-hover.svg"); }
.coin-usdc { --m: url("coins/usdc-main.svg"); --h: url("coins/usdc-hover.svg"); }
.coin-xmr { --m: url("coins/xmr-main.svg"); --h: url("coins/xmr-hover.svg"); }
.coin-grain { --m: url("coins/grain-main.svg"); --h: url("coins/grain-hover.svg"); }
.coin-zec { --m: url("coins/zec-main.svg"); --h: url("coins/zec-hover.svg"); }
.coin-btc { --m: url("coins/btc-main.svg"); --h: url("coins/btc-hover.svg"); }
.coin-eth { --iw: 0.7em; --ih: 1.14em; --m: url("coins/eth-main.svg"); --h: url("coins/eth-hover.svg"); }
.coin-base { --iw: 0.9em; --ih: 0.9em; --m: url("coins/base-main.svg"); --h: url("coins/base-hover.svg"); }
.coin-bnb { --iw: 0.96em; --ih: 1.08em; --m: url("coins/bnb-main.svg"); --h: url("coins/bnb-hover.svg"); }
.coin-robinhood { --m: url("coins/robinhood-main.svg"); --h: url("coins/robinhood-hover.svg"); }
@media (hover: hover) {
  .coin:hover { background: #fff; }
  .coin:hover .coin-ico::before { opacity: 0; }
  .coin:hover .coin-ico::after { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .coin, .coin-ico::before, .coin-ico::after { transition: background-color 0.18s ease-out, opacity 0.18s ease-out; }
}
.coin-foot .note-line { margin-top: clamp(18px, 3vh, 30px); }
/* phones and small tablets: two ruled columns, each cell a mark over its name; group labels span both columns, the last network spans the row */
@media (max-width: 860px) {
  .coin-field { padding: 0; }
  .coin-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0 var(--g); background: linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; }
  .coin-break { display: none; }
  .coin-group { display: block; grid-column: 1 / -1; padding: 16px 0 12px; border-top: 3px solid var(--ink); background: var(--bg); }
  .coin-group:first-child { border-top: 0; }
  .coin { --coin-fs: 22px; --k: 1.8; flex-direction: column; gap: 12px; padding: 22px 8px; border-radius: 0; border-top: 2px solid var(--ink); text-align: center; }
  .coin-next .coin-tick { display: none; } /* the group label says planned */
  .coin { justify-content: flex-start; }
  .coin-ico { margin-block: calc((2em - var(--ih, 1.1em) * var(--k, 1)) / 2); } /* every mark sits in the same 2em slot, so names line up across a row */
  .coin-swap { white-space: normal; }
}

/* ---------- how it works: three ruled steps under the flow (outside the heading window box) ---------- */
.steps { list-style: none; margin: clamp(44px, 8vh, 88px) 0 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: minmax(0, 4em) minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center; /* number, heading and text all sit at the middle of the row's height */
  gap: clamp(12px, 3vw, 48px);
  padding: clamp(20px, 3.4vh, 34px) 0;
  border-top: 3px solid var(--ink);
}
.step:last-child { border-bottom: 3px solid var(--ink); }
.step h3.hl { font-size: clamp(30px, 3.2vw, 48px); max-width: 9em; }
.step .mono { line-height: 1; }
.step p { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.18; max-width: 46ch; }
.steps-note { margin-top: clamp(22px, 4vh, 40px); }

/* ---------- preview slot: shown only when the page is opened at #preview (review), never to visitors ---------- */
.preview { display: none; padding: clamp(56px, 10vh, 120px) 0; }
.preview:target { display: block; }
.preview h2 { font-size: clamp(40px, 6vw, 88px); line-height: 0.94; }
.shot { margin: clamp(24px, 4vh, 44px) 0 0; display: grid; gap: 14px; }
.shot-frame { display: grid; place-items: center; text-align: center; aspect-ratio: 16 / 9; padding: clamp(20px, 4vw, 56px); border: 3px dashed var(--ink); border-radius: var(--r); }
.shot-frame p { max-width: 44ch; line-height: 1.5; }

/* ---------- trust: before the form ---------- */
.trust { --ball: #ff6600; padding: clamp(64px, 12vh, 140px) 0; }
.trust .hl { font-size: clamp(40px, 6vw, 88px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(36px, 6vh, 64px); }
.trust-item { border-top: 3px solid #fff; padding-top: 20px; }
.trust-item h3.hl { font-size: clamp(28px, 2.4vw, 36px); max-width: none; }
.trust-item p { margin-top: 14px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.22; }
.trust-stage { margin-top: clamp(32px, 6vh, 60px); max-width: 52ch; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.16; }
.trust :focus-visible { outline-color: #fff; }

/* ---------- faq ---------- */
.faq { padding: clamp(64px, 12vh, 140px) 0; }
.faq .hl { font-size: clamp(40px, 6vw, 88px); }
.faq-list { margin-top: clamp(28px, 5vh, 52px); border-bottom: 3px solid var(--ink); }
.faq details { border-top: 3px solid var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(18px, 3vh, 28px) 0; cursor: pointer; list-style: none; font-size: clamp(22px, 2.6vw, 38px); line-height: 1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.2em; transition: transform 0.2s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { max-width: 62ch; padding: 0 0 clamp(20px, 3.6vh, 32px); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.2; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } .js .hero-links { opacity: 1; transform: none; transition: none; } }

/* ---------- docs page ---------- */
.doc .lead { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.14; max-width: 40ch; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: clamp(24px, 4vh, 40px) 0 0; padding: 0; list-style: none; }
.doc .toc a { text-decoration: none; border-bottom: 2px solid currentColor; }
.doc h2 { scroll-margin-top: 24px; }
.doc ul + p, .doc ol + p, .doc p + p { margin-top: 14px; }
.doc ol { padding-left: 1.3em; margin: 10px 0 0; display: grid; gap: 8px; }
.doc .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: 18px; }
.doc .card { border: 3px solid var(--ink); border-radius: var(--r); padding: clamp(18px, 2.2vw, 32px); }
.doc .card.dark { background: var(--ink); color: #fff; }
.doc .card h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1; margin-bottom: 12px; }
.doc .card p, .doc .card li { font-size: clamp(16px, 1.4vw, 19px); }
.doc .card.dark :focus-visible { outline-color: #fff; }

@media (max-width: 1100px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; }
  .doc .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* the token name links to its public chart */
.fact a.tok { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.fact a.tok:hover { color: #fff; }

/* trust pages: status, changelog, security, source (and the unrouted glass box shell) */
.doc .stamp { margin-top: 12px; }
.doc code { overflow-wrap: anywhere; }
.doc .facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; }
.doc .facts li { display: grid; grid-template-columns: minmax(0, 14ch) minmax(0, 1fr); gap: 8px 24px; border-top: 3px solid var(--ink); padding-top: 16px; max-width: none; }
.doc .log { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 24px; }
.doc .log li { display: grid; gap: 8px; border-top: 3px solid var(--ink); padding-top: 16px; max-width: none; }
.doc .log h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.04; }
.doc .ph { border: 2px dashed var(--ink); padding: 0 8px; }
.foot-links.trust-links { flex-wrap: wrap; gap: 0 24px; }
.foot-links.trust-links a { display: inline-block; padding: 15px 0 12px; }
@media (max-width: 640px) { .doc .facts li { grid-template-columns: minmax(0, 1fr); } }

/* live status lines */
.doc .state { display: inline-block; padding: 2px 8px; border: 2px solid var(--ink); text-transform: uppercase; font-size: 0.8em; margin-right: 8px; }
.doc .state.s-live { background: #fff; border-color: #ff6600; color: var(--ink); }
.doc .state.s-down { background: var(--ink); color: #fff; }
.doc .state.s-unknown, .doc .state.s-stale { border-style: dashed; }
.doc .state.s-planned, .doc .state.s-not_live { border-style: dotted; }
.doc .when { display: inline-block; margin-top: 4px; opacity: 0.75; }
