:root {
  --bg: #030303;
  --raise: #0b0b0a;
  --line: rgba(233, 229, 220, 0.1);
  --line-strong: rgba(233, 229, 220, 0.26);
  --text: #e9e5dc;
  --muted: #a9a49a;
  --faint: #7a756c;
  --mono: 'Cascadia Mono', 'Cascadia Code', Consolas, ui-monospace, 'SF Mono', Menlo, 'Liberation Mono', monospace;
  --page: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 13px/1.65 var(--mono);
  -webkit-font-smoothing: antialiased;
}

/* Soft CRT texture and a slow phosphor pass. */
body::before, body::after { content: ''; position: fixed; inset: 0; z-index: 50; pointer-events: none; }
body::before { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 3px); }
body::after { opacity: 0.05; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

h1, h2, h3, p, ol, ul, dl, dd, figure, pre { margin: 0; }
h1, h2, h3 { font-size: inherit; font-weight: 600; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
::selection { background: var(--text); color: var(--bg); }

.wrap { width: min(var(--page), 100% - 48px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.mono { letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.keep { text-transform: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(3, 3, 3, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: inline-flex; gap: 8px; font-weight: 600; letter-spacing: 0.04em; }
.brand span { color: var(--faint); }
.nav { display: flex; gap: 22px; margin-right: auto; text-transform: lowercase; }
.nav a { color: var(--faint); transition: color 0.15s; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); }
.top-side { display: flex; align-items: center; gap: 16px; }

.ready { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); font-size: 11.5px; text-transform: lowercase; white-space: nowrap; }
.ready::before { content: ''; width: 6px; height: 6px; border: 1px solid var(--faint); }
.ready[data-on='true'] { color: var(--muted); }
.ready[data-on='true']::before { border-color: var(--text); background: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  text-transform: lowercase;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.btn[disabled]:hover { border-color: var(--line-strong); background: transparent; color: var(--muted); }
.btn-accent, .btn-accent[disabled]:hover { border-color: var(--text); color: var(--text); }
.btn-quiet { border-color: transparent; color: var(--faint); }
.btn-lg { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn-sm { min-height: 26px; padding: 0 9px; font-size: 11.5px; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--text); }
.blink { font-style: normal; animation: blink 1.1s steps(1) infinite; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 53px); min-height: calc(100svh - 53px); padding: 72px 0 48px; text-align: center; }
.mark-box { width: 100%; max-width: 880px; height: 189px; overflow: hidden; }
.mark { width: max-content; margin: 0 auto; color: #d8d4ca; font: 400 9px/1 var(--mono); white-space: pre; transform-origin: 0 0; text-shadow: 0 0 14px rgba(233, 229, 220, 0.16); user-select: none; }
.type { margin-top: 40px; min-height: 1.65em; font-size: clamp(15px, 2vw, 19px); font-weight: 600; }
.type::after { content: ''; display: inline-block; width: 0.6em; height: 1.1em; margin-left: 4px; vertical-align: -0.18em; background: var(--text); animation: blink 1.1s steps(1) infinite; }
.hero-sub { margin-top: 14px; max-width: 58ch; color: var(--faint); font-size: 12.5px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.official-ca { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 100%; margin-top: 24px; font-size: 11px; }
.official-ca a { overflow-wrap: anywhere; }
.official-ca[hidden] { display: none; }
.boot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-top: 64px; color: var(--faint); font-size: 11px; }
.late { animation: fade 0.9s ease 0.5s both; }

/* Section prompts */
.eyebrow, .section-head h2, .faq h2, .proc-label { color: var(--muted); font-size: 12px; font-weight: 400; text-transform: lowercase; }
.section-head h2::before, .faq h2::before, .proc-label::before { content: '> '; color: var(--faint); }
.eyebrow::before { content: '// '; color: var(--faint); }

/* Process strip */
.proc { padding: 40px 0 56px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border: 1px solid var(--line); counter-reset: step; }
.steps li { padding: 20px 22px; counter-increment: step; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before { content: '0' counter(step); display: block; margin-bottom: 10px; color: var(--faint); font-size: 11px; }
.steps h3 { text-transform: lowercase; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 12.5px; }

/* Tags, bars, chips */
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 1px 7px; border: 1px solid var(--line); color: var(--faint); font-size: 11px; text-transform: lowercase; white-space: nowrap; }
.tag-live { border-color: var(--line-strong); color: var(--text); }
.tag-live::before { content: ''; width: 5px; height: 5px; background: currentColor; animation: blink 1.6s steps(1) infinite; }
.tag-sample { border-style: dashed; border-color: var(--line-strong); color: var(--muted); }

.bar { position: relative; height: 7px; overflow: hidden; background: repeating-linear-gradient(90deg, var(--line) 0 3px, transparent 3px 5px); }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: repeating-linear-gradient(90deg, var(--text) 0 3px, transparent 3px 5px); transition: width 0.7s steps(20); }
.bar-lg { height: 12px; }

.chip { display: inline-flex; color: var(--muted); font-size: 11.5px; text-transform: lowercase; white-space: nowrap; }
.chip::before { content: '['; color: var(--faint); }
.chip::after { content: ']'; color: var(--faint); }
.chip[data-state='funded'], .chip[data-state='awaiting_integration'], .chip[data-state='purchasing'], .chip[data-state='verifying'], .chip[data-state='reconciling'] { color: var(--text); }
.chip[data-state='reconciling']::before { content: '[! '; }
.chip[data-state='paid'] { padding: 0 7px; background: var(--text); color: var(--bg); }
.chip[data-state='paid']::before, .chip[data-state='paid']::after { content: none; }

/* Tally strip */
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.tally div { padding: 16px 22px; }
.tally div + div { border-left: 1px solid var(--line); }
.tally dt { color: var(--faint); font-size: 11px; text-transform: lowercase; }
.tally dd { margin-top: 4px; font-size: 18px; }
.tally dd small { margin-left: 6px; color: var(--faint); font-size: 11px; }

/* Browse */
.browse { padding: 64px 0 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 24px; margin-bottom: 20px; }
.section-head p { margin-top: 6px; color: var(--faint); font-size: 12.5px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.field { position: relative; }
.input, .select, .textarea { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); transition: border-color 0.15s, background 0.15s; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { background: var(--raise); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--text); background: var(--raise); }
.textarea { height: auto; min-height: 96px; padding: 9px 12px; resize: vertical; }
.select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 15px, calc(100% - 11px) 15px; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: var(--raise); }
.search { width: 260px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); }
.seg button { height: 34px; padding: 0 11px; border: 0; background: transparent; color: var(--faint); font-size: 12px; text-transform: lowercase; transition: color 0.15s, background 0.15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed='true'] { background: var(--text); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.coin { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); transition: border-color 0.18s, background 0.18s; }
.coin:hover { border-color: var(--line-strong); background: var(--raise); }
.coin-top { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; }
.avatar { width: 42px; height: 42px; border: 1px solid var(--line); background: var(--raise); object-fit: cover; filter: grayscale(1); transition: filter 0.2s; }
.coin:hover .avatar, .coin-head:hover .avatar { filter: none; }
.coin-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-sub { color: var(--faint); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-fig { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.coin-fig b { color: var(--text); font-size: 15px; font-weight: 600; }
.coin-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11.5px; }

.empty { padding: 56px 24px; border: 1px dashed var(--line-strong); text-align: center; }
.empty h3 { text-transform: lowercase; }
.empty p { margin: 8px auto 20px; max-width: 52ch; color: var(--muted); font-size: 12.5px; }
.more { display: flex; justify-content: center; margin-top: 20px; }

/* Questions, as a transcript */
.faq { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); gap: 56px; padding: 80px 0 96px; }
.faq-side p { margin-top: 14px; max-width: 36ch; color: var(--faint); font-size: 12.5px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; gap: 12px; padding: 15px 0; color: var(--muted); cursor: pointer; list-style: none; transition: color 0.15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '[+]'; flex: none; color: var(--faint); }
.faq details[open] summary::before { content: '[-]'; }
.faq summary:hover, .faq details[open] summary { color: var(--text); }
.faq details p { max-width: 72ch; margin-left: 9px; padding: 0 0 16px 25px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.faq details p:last-child { margin-bottom: 18px; padding-bottom: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--faint); font-size: 11.5px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.foot nav { display: flex; gap: 20px; text-transform: lowercase; }
.foot a:hover { color: var(--text); }

/* Page heads */
.page-head { padding: 56px 0 32px; }
.page-head h1 { margin-top: 12px; font-size: 20px; line-height: 1.3; text-transform: lowercase; }
.page-head h1::after { content: '_'; color: var(--muted); animation: blink 1.1s steps(1) infinite; }
.page-head p { margin-top: 12px; max-width: 72ch; color: var(--muted); }

/* Panels */
.panel { border: 1px solid var(--line); padding: 22px; }
.panel + .panel { margin-top: 12px; }
.panel h2 { text-transform: lowercase; }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-sub { margin-top: 4px; color: var(--faint); font-size: 12px; }

/* Launch */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; padding-bottom: 96px; align-items: start; }
.side { position: sticky; top: 68px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin-bottom: 7px; font-size: 12px; text-transform: lowercase; }
.label span { color: var(--faint); }
.hint { margin-top: 8px; color: var(--faint); font-size: 12px; }
.drop { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border: 1px dashed var(--line-strong); }
.drop-preview { width: 64px; height: 64px; border: 1px solid var(--line); background: var(--raise); object-fit: cover; }
.drop input[type='file'] { width: 100%; color: var(--muted); font-size: 12px; }
.drop input[type='file']::file-selector-button { height: 28px; margin-right: 12px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 12px; pointer-events: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.form-grid + .notice { margin-top: 18px; }
.notice { padding: 10px 14px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 12.5px; }
.notice strong { color: var(--text); font-weight: 600; }
.notice-warn { border-color: var(--muted); }
.notice-bad { border: 1px solid var(--text); color: var(--text); }
.notice-bad::before { content: 'error: '; color: var(--muted); }
.notice ul { margin-top: 6px; padding-left: 18px; list-style: '- '; }

.rows { display: grid; }
.rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.rows > div:first-child { border-top: 0; }
.rows dt { color: var(--muted); }
.rows dd { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.rows .total dt, .rows .total dd { color: var(--text); font-weight: 600; }
.check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 16px; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--text); }

.addr { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 1px solid var(--line-strong); }
.addr code { flex: 1; min-width: 0; font: inherit; overflow-wrap: anywhere; }
.bigfig { font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.bigfig small { margin-left: 10px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }

.track { display: grid; margin-top: 4px; }
.track li { display: grid; grid-template-columns: 3ch minmax(0, 1fr); gap: 12px; padding-bottom: 14px; color: var(--faint); }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: '[ ]'; content: '[ ]' / ''; white-space: pre; }
.track li[data-step='done'] { color: var(--muted); }
.track li[data-step='done']::before { content: '[x]'; content: '[x]' / ''; }
.track li[data-step='now'] { color: var(--text); }
.track li[data-step='now']::before { content: '[>]'; content: '[>]' / ''; }
.track li small { display: block; margin-top: 2px; color: var(--faint); font-size: 12px; }

.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }

/* Coin detail */
.coin-head { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 48px 0 28px; }
.coin-head .avatar { width: 68px; height: 68px; }
.coin-head h1 { font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.coin-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.coin-links { display: flex; flex-wrap: wrap; gap: 8px; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; padding-bottom: 96px; align-items: start; }
.fund-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.fund-scale { display: flex; justify-content: space-between; margin-top: 8px; color: var(--faint); font-size: 11.5px; }
.fund-text { margin-top: 18px; max-width: 72ch; color: var(--muted); }
.table-scroll { overflow-x: auto; margin: 0 -8px; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th { padding: 8px; color: var(--faint); font-size: 11px; font-weight: 400; text-align: left; text-transform: lowercase; white-space: nowrap; }
td { padding: 10px 8px; border-top: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
td.r, th.r { text-align: right; }
td.wrap-cell { white-space: normal; min-width: 220px; }
.none { padding: 16px 0 4px; color: var(--faint); font-size: 12.5px; }

/* Terms */
.prose { max-width: 76ch; padding-bottom: 96px; }
.prose h2 { margin: 40px 0 10px; }
.prose p, .prose li { color: var(--muted); line-height: 1.8; }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 10px; padding-left: 18px; list-style: '- '; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 600; }

/* Admin */
.admin { padding-bottom: 96px; }
.login { max-width: 380px; margin: 72px auto; }
.login form { display: grid; gap: 16px; margin-top: 20px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { text-align: right; overflow-wrap: anywhere; min-width: 0; }
.yes { color: var(--text); }
.no { color: var(--faint); }
.no::before { content: '! '; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; max-width: calc(100% - 32px); transform: translateX(-50%); padding: 9px 14px; border: 1px solid var(--text); background: var(--bg); font-size: 12.5px; animation: fade 0.2s ease both; }
.toast::before { content: '> '; color: var(--faint); }

/* Motion */
@keyframes fade { from { opacity: 0; } }
@keyframes terminal-enter { from { opacity: 0; transform: translateY(14px); filter: blur(2px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes phosphor-pass { from { transform: translateY(-20vh); } to { transform: translateY(115vh); } }
@keyframes grain-drift { 0%, 100% { background-position: 0 0; } 33% { background-position: -42px 24px; } 66% { background-position: 30px -18px; } }
[data-motion='entered'] { animation: terminal-enter .65s cubic-bezier(.16, 1, .3, 1) var(--enter-delay, 0ms) both; }
.phosphor-sweep { position: fixed; top: 0; left: 0; right: 0; height: 12vh; z-index: 49; pointer-events: none; background: linear-gradient(transparent, rgba(233, 229, 220, .025), transparent); animation: phosphor-pass 17s linear infinite; }
body::after { animation: grain-drift 1.8s steps(1) infinite; }
body[data-motion-paused='true']::after, body[data-motion-paused='true'] .phosphor-sweep { animation-play-state: paused; }
.btn { transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.btn:not(:disabled):hover { transform: translateY(-2px); }
.btn:not(:disabled):active { transform: translateY(0); }
.faq details[open] p { animation: terminal-enter .35s ease both; }
.faq summary { transition: color .2s ease, padding-left .2s ease; }
.faq summary:hover { padding-left: 4px; }
.motion-toggle { border: 0; background: none; color: var(--faint); padding: 0; font-size: inherit; }
.motion-toggle:hover { color: var(--text); }
body[data-motion-mode='off'] *, body[data-motion-mode='off']::before, body[data-motion-mode='off']::after { animation: none !important; transition: none !important; }
@keyframes blink { 50% { opacity: 0; } }
.rise, .grid > * { animation: fade 0.5s ease both; }
.rise-2 { animation-delay: 0.08s; }
.rise-3 { animation-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not([data-motion-mode='on']) *, body:not([data-motion-mode='on']) *::before, body:not([data-motion-mode='on']) *::after, body:not([data-motion-mode='on'])::before, body:not([data-motion-mode='on'])::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 1040px) {
  .launch, .detail { grid-template-columns: 1fr; }
  .side { position: static; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--page), 100% - 32px); }
  .top-in { gap: 12px; }
  .nav { display: none; }
  .top-side { margin-left: auto; }
  .ready span { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally div:nth-child(3) { border-left: 0; }
  .tally div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .tools, .search, .tools .field, .tools .select { width: 100%; }
  .seg { width: 100%; overflow-x: auto; }
  .seg button { flex: 1 0 auto; }
  /* 16px keeps iOS from zooming the page when a field is focused. */
  .input, .select, .textarea { height: 42px; font-size: 16px; }
  .textarea { height: auto; }
  .btn { min-height: 40px; }
  .btn-sm { min-height: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 16px; }
  .coin-head { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding-top: 32px; }
  .coin-head .avatar { width: 56px; height: 56px; }
  .coin-links { grid-column: 1 / -1; }
  .faq details p { padding-left: 16px; }
  .bigfig { font-size: 24px; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .mark-box { max-width: 300px; height: 300px; }
  .boot { margin-top: 48px; }
}
