/* launchdap. Dark, quiet chrome, loud numbers.
   Colour only carries meaning: green = open / met / earning. Everything else is greys. */

:root {
  color-scheme: dark;

  --bg: #09090b;
  --bg-alt: #0c0c0f;
  --surface: #111114;
  --surface-2: #16161a;
  --surface-3: #1e1e23;
  --line: #1d1d22;
  --line-2: #29292f;
  --line-3: #3a3a42;

  --fg: #f4f4f5;
  --fg-2: #b4b4bc;
  --fg-3: #94949e;
  --fg-mute: #6f6f79;
  --on-fg: #09090b;

  --green: #4ade80;
  --green-soft: rgb(74 222 128 / 0.1);
  --green-line: rgb(74 222 128 / 0.28);
  --red: #f87171;
  --red-soft: rgb(248 113 113 / 0.1);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 75rem;
  --gutter: 1.5rem;
  --r-sm: 0.625rem;
  --r: 0.875rem;
  --r-lg: 1.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 4rem;
}

@media (min-width: 1600px) { html { font-size: 17.5px; } :root { --container: 78rem; } }
@media (min-width: 2000px) { html { font-size: 19.5px; } }
@media (max-width: 640px) { :root { --gutter: 1rem; } }

/* Base ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.55 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg { display: block; }
code { font: inherit; }
::selection { background: var(--fg); color: var(--on-fg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 6px; }

[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--fg); }
.break { word-break: break-all; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--fg); color: var(--on-fg); padding: 0.5rem 0.75rem; border-radius: 8px; font-weight: 500;
}
.skip:focus { top: 0.75rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.i {
  width: 1rem; height: 1rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.i--fill { stroke: none; fill: currentColor; }

.label {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--fg-3);
}

.dot {
  position: relative;
  width: 0.4375rem; height: 0.4375rem; flex: none;
  border-radius: 50%;
  background: currentColor;
}
.dot--live { background: var(--green); }
.dot--live::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.5rem; padding: 0 1rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: 0.875rem; font-weight: 500; line-height: 1; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s, transform 0.15s;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--fg); color: var(--on-fg); }
.btn--primary:hover { background: #d9d9de; }
.btn--ghost { border-color: var(--line-2); color: var(--fg); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--line-3); }
.btn--sm { height: 2.125rem; padding: 0 0.8125rem; font-size: 0.8125rem; }
.btn--lg { height: 3rem; padding: 0 1.375rem; font-size: 0.9375rem; border-radius: 0.75rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn.is-busy { pointer-events: none; }
.btn .spinner { width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 2.125rem; height: 2.125rem; flex: none;
  border-radius: var(--r-sm);
  color: var(--fg-2);
  transition: background-color 0.15s, color 0.15s;
}
.icon-btn:hover { background: var(--surface-3); color: var(--fg); }
.icon-btn--line { border: 1px solid var(--line-2); color: var(--fg); }
.icon-btn--line:hover { background: var(--surface-2); border-color: var(--line-3); }
.icon-btn--line .i { width: 0.875rem; height: 0.875rem; }

/* Top strip ------------------------------------------------------------- */

.strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.8125rem;
  color: var(--fg-2);
}
.strip__inner {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  height: 2.25rem;
  white-space: nowrap;
}
.strip b { color: var(--fg); font-weight: 500; }
.strip__ticker { color: var(--fg); margin-left: 0.25rem; }
.strip__sep { width: 1px; height: 0.75rem; background: var(--line-3); }
.strip__link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-left: 0.25rem; color: var(--fg); font-weight: 500;
}
.strip__link .i { width: 0.875rem; height: 0.875rem; transition: transform 0.2s var(--ease); }
.strip__link:hover .i { transform: translateX(2px); }

/* Nav -------------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgb(9 9 11 / 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 2rem; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 0.625rem; flex: none; }
.brand__cube { display: block; height: 1.75rem; width: auto; }
.brand__logo { display: block; height: 1.75rem; width: auto; transform: translateY(0.2rem); }

.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__links a {
  padding: 0.4375rem 0.6875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-2);
  transition: color 0.15s, background-color 0.15s;
}
.nav__links a:hover { color: var(--fg); background: var(--surface-2); }
.nav__links a.is-active { color: var(--fg); }

.nav__actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.nav__burger { display: none; }

.wallet-wrap { position: relative; }
[data-wallet-btn].is-connected { background: var(--surface-2); color: var(--fg); border-color: var(--line-2); font-family: var(--mono); font-size: 0.75rem; gap: 0.5rem; }
[data-wallet-btn].is-connected:hover { background: var(--surface-3); }
[data-wallet-btn].is-connected::before { content: ""; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--green); }
.wallet-menu {
  position: absolute; right: 0; top: calc(100% + 0.5rem);
  min-width: 13.5rem;
  padding: 0.375rem;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 0 20px 50px -12px rgb(0 0 0 / 0.7);
}
.wallet-menu__addr { padding: 0.5rem 0.625rem 0.625rem; font-size: 0.75rem; color: var(--fg-3); border-bottom: 1px solid var(--line-2); margin-bottom: 0.25rem; }
.wallet-menu button {
  display: flex; align-items: center; gap: 0.625rem; width: 100%;
  padding: 0.5625rem 0.625rem; border-radius: 0.5rem;
  font-size: 0.875rem; color: var(--fg-2); text-align: left;
}
.wallet-menu button:hover { background: var(--surface-3); color: var(--fg); }

.drawer { border-top: 1px solid var(--line); background: var(--bg); }
.drawer__links { display: grid; gap: 0.125rem; padding-top: 0.75rem; padding-bottom: 1.25rem; }
.drawer__links a { padding: 0.8125rem 0; font-size: 1.0625rem; color: var(--fg-2); border-bottom: 1px solid var(--line); }
.drawer__links .btn { margin-top: 1rem; }

/* Hero ------------------------------------------------------------------- */

.hero { padding: 4.5rem 0 5rem; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 29rem);
  gap: 4.5rem;
  align-items: start;
}
.hero__copy { padding-top: 2.5rem; }

.pill {
  display: inline-flex; align-items: center; gap: 0.625rem;
  height: 2rem; padding: 0 0.875rem 0 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.8125rem; color: var(--fg-2);
  transition: border-color 0.15s, background-color 0.15s;
}
.pill:hover { border-color: var(--line-3); background: var(--surface); }
.pill .mono { color: var(--fg); }
.pill__sep { width: 1px; height: 0.75rem; background: var(--line-3); }

.hero__title {
  margin-top: 1.75rem;
  font-size: clamp(2.625rem, 1.1rem + 4.9vw, 5.375rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
  font-weight: 600;
  font-feature-settings: "cv11";
}
.hero__title span { color: var(--fg-mute); }

.hero__lede {
  margin-top: 1.75rem;
  max-width: 33rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--fg-2);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3.5rem;
  max-width: 34rem;
  border-top: 1px solid var(--line);
}
.facts > div { padding: 1.125rem 1rem 0 0; }
.facts > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.facts dt { font-size: 0.8125rem; color: var(--fg-3); }
.facts dd { margin-top: 0.25rem; font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; }

/* Live round card --------------------------------------------------------- */

.round {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.04),
    0 40px 90px -30px rgb(0 0 0 / 0.75);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.round > * + * { border-top: 1px solid var(--line); }

.round__head { display: flex; align-items: center; gap: 0.875rem; padding: 1.125rem 1.25rem; }
.round__id { min-width: 0; flex: 1; }
.round__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.round__meta { margin-top: 0.1875rem; font-size: 0.8125rem; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.round__meta .mono { color: var(--fg-2); }
.sep { margin: 0 0.375rem; color: var(--line-3); }

.status {
  display: inline-flex; align-items: center; gap: 0.4375rem; flex: none;
  height: 1.625rem; padding: 0 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem; font-weight: 500;
  background: var(--surface-3); color: var(--fg-2);
}
.status--live { background: var(--green-soft); color: var(--green); }
.status--off { background: var(--red-soft); color: var(--red); }

.round__nums {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.125rem;
}
.clock {
  margin-top: 0.375rem;
  font-size: clamp(2.375rem, 9vw, 3.375rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.06em;
}
.timebar { margin-top: 0.875rem; height: 2px; background: var(--surface-3); border-radius: 2px; overflow: hidden; max-width: 11rem; }
.timebar span { display: block; height: 100%; width: 40%; background: var(--fg-2); border-radius: inherit; transition: width 1s linear; }
.round__queued { text-align: right; }
.big { margin-top: 0.375rem; font-size: clamp(1.5rem, 5.6vw, 1.875rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.04em; }
.big small { margin-left: 0.3125rem; font-size: 0.8125rem; color: var(--fg-3); letter-spacing: 0; font-family: var(--font); font-weight: 500; }
.sub { margin-top: 0.375rem; font-size: 0.8125rem; color: var(--fg-3); }

.meter { padding: 1.5rem 1.25rem 1.125rem; }
.round > .meter { border-top: 0; padding-top: 0.25rem; }
.meter__track { position: relative; height: 0.5rem; border-radius: 999px; background: var(--surface-3); }
.meter__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; border-radius: inherit;
  background: var(--fg-2);
  transition: width 0.8s var(--ease), background-color 0.3s;
}
.meter.is-met .meter__fill { background: var(--green); }
.meter__mark {
  position: absolute; top: -0.375rem; bottom: -0.375rem;
  width: 2px; margin-left: -1px;
  background: var(--fg);
  border-radius: 2px;
  transition: left 0.8s var(--ease);
}
.meter__mark em {
  position: absolute; bottom: calc(100% + 0.3125rem); left: 50%;
  transform: translateX(-50%);
  font: 500 0.6875rem/1 var(--mono); font-style: normal;
  color: var(--fg-2);
  white-space: nowrap;
}
.round .meter__track { margin-top: 1.25rem; }
.meter__note { margin-top: 0.875rem; font-size: 0.8125rem; color: var(--fg-2); }
.meter.is-met .meter__note b { color: var(--green); font-weight: 500; }

.ca-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.875rem 1.25rem;
}
.ca-row__value {
  display: inline-flex; align-items: center; gap: 0.4375rem;
  padding: 0.3125rem 0.625rem;
  border: 1px dashed var(--line-3);
  border-radius: 0.4375rem;
  font-size: 0.75rem; color: var(--fg-3);
}
.ca-row__value .i { width: 0.8125rem; height: 0.8125rem; }

.join { padding: 1.125rem 1.25rem 1.25rem; display: grid; gap: 0.75rem; }
.join__top { display: flex; justify-content: space-between; gap: 1rem; }
.amount {
  display: flex; align-items: center;
  height: 3.25rem; padding: 0 1rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 0.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.amount:focus-within { border-color: var(--line-3); box-shadow: 0 0 0 3px rgb(255 255 255 / 0.05); }
.amount.is-bad { border-color: rgb(248 113 113 / 0.55); }
.amount input {
  flex: 1; min-width: 0; width: 100%; height: 100%;
  background: none; border: 0; outline: 0;
  font: 500 1.375rem/1 var(--mono); letter-spacing: -0.03em;
}
.amount span { font-size: 0.875rem; font-weight: 500; color: var(--fg-3); }

.chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.375rem; }
.chip-btn {
  height: 2.125rem;
  border: 1px solid var(--line-2);
  border-radius: 0.5rem;
  font: 500 0.8125rem/1 var(--mono);
  color: var(--fg-2);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip-btn:hover { background: var(--surface-2); color: var(--fg); }
.chip-btn.is-on { background: var(--surface-3); border-color: var(--line-3); color: var(--fg); }

.join__share { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.25rem 0 0.25rem; font-size: 0.8125rem; color: var(--fg-3); }
.join__share .mono { color: var(--fg); font-size: 0.875rem; }
.join__fine { font-size: 0.75rem; line-height: 1.45; color: var(--fg-3); text-align: center; text-wrap: balance; }

.feed { padding: 1rem 1.25rem 0.75rem; }
.feed__head { display: flex; justify-content: space-between; margin-bottom: 0.375rem; }
.feed__list { display: grid; }
.feed__list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 2.75rem; gap: 1rem; align-items: center;
  height: 2.25rem;
  font: 400 0.8125rem/1 var(--mono);
  color: var(--fg-2);
  border-top: 1px solid var(--line);
}
.feed__list li:first-child { border-top: 0; }
.feed__list li > :nth-child(2) { color: var(--fg); }
.feed__list li > :last-child { text-align: right; color: var(--fg-mute); font-size: 0.75rem; }
.feed__list li.is-new { animation: feed-in 0.6s var(--ease); }
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-6px); background: rgb(74 222 128 / 0.06); }
  to { opacity: 1; transform: none; background: transparent; }
}
.feed__empty { height: auto !important; padding: 0.75rem 0; font-family: var(--font) !important; color: var(--fg-3) !important; display: block !important; }

/* Coin art --------------------------------------------------------------- */

.coin-art {
  position: relative;
  display: block; flex: none;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.625rem;
  overflow: hidden;
  background: var(--surface-3);
}
.coin-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); pointer-events: none; }
.coin-art svg, .coin-art img { width: 100%; height: 100%; object-fit: cover; }
.coin-art--lg { width: 3.25rem; height: 3.25rem; border-radius: 0.8125rem; }
.coin-art--sm { width: 2rem; height: 2rem; border-radius: 0.5rem; }
.coin-art--xs { width: 1.25rem; height: 1.25rem; border-radius: 0.3125rem; }

/* Stats + tape ----------------------------------------------------------- */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; gap: 0.5rem; padding: 2.25rem 1.5rem 2.25rem 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat__value { font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); line-height: 1; font-weight: 500; letter-spacing: -0.05em; }
.stat__label { font-size: 0.8125rem; color: var(--fg-3); }

.tape {
  border-top: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.tape__track { display: flex; width: max-content; animation: tape 90s linear infinite; }
.tape:hover .tape__track { animation-play-state: paused; }
@keyframes tape { to { transform: translate3d(-50%, 0, 0); } }
.tape__item {
  display: inline-flex; align-items: center; gap: 0.625rem;
  height: 3.25rem; padding: 0 1.75rem;
  border-right: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--fg-3);
  white-space: nowrap;
}
.tape__item b { color: var(--fg); font-weight: 500; }
.tape__item .ok { color: var(--green); }

/* Sections --------------------------------------------------------------- */

.section { padding: 8rem 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section + .section--alt, .section--alt + .section { border-top-color: var(--line); }
.section__head { max-width: 44rem; margin-bottom: 3.5rem; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-size: 0.8125rem; color: var(--fg-3);
}
.eyebrow .mono {
  display: inline-grid; place-items: center;
  height: 1.375rem; padding: 0 0.4375rem;
  border: 1px solid var(--line-2); border-radius: 0.375rem;
  font-size: 0.6875rem; color: var(--fg-2);
}
.section__title {
  margin-top: 1.125rem;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.375rem);
  line-height: 1.04;
  letter-spacing: -0.042em;
  font-weight: 600;
  font-feature-settings: "cv11";
  text-wrap: balance;
}
.section__lede { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.65; color: var(--fg-2); max-width: 38rem; text-wrap: pretty; }
.fineprint { margin-top: 1rem; font-size: 0.8125rem; line-height: 1.55; color: var(--fg-3); }

/* single-column grids never grow past their container */
.join, .hold, .calc__inputs, .dap__side, .ca, .start__fields, .field, .start__preview, .wallets,
.drawer__links, .ticks, .feed__list, .footer__col, .toasts, .cta__inner { grid-template-columns: minmax(0, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.step {
  display: flex; flex-direction: column;
  padding: 1.375rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.step__n { font-size: 0.75rem; color: var(--fg); }
.step__t { font-size: 0.6875rem; color: var(--fg-3); padding: 0.25rem 0.5rem; border: 1px solid var(--line-2); border-radius: 999px; }
.step h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.022em; font-weight: 600; text-wrap: balance; }
.step p { margin: 0.5rem 0 1.5rem; font-size: 0.875rem; line-height: 1.55; color: var(--fg-2); }

.mini {
  margin-top: auto;
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  font-size: 0.75rem;
}
.mini__coin { display: flex; align-items: center; gap: 0.625rem; }
.mini__coin b { display: block; font-size: 0.875rem; font-weight: 600; letter-spacing: -0.015em; }
.mini__coin .mono { font-size: 0.75rem; color: var(--fg-3); }
.mini__ca {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.75rem; padding: 0.4375rem 0.5625rem;
  border: 1px dashed var(--line-3); border-radius: 0.4375rem;
  color: var(--fg-3);
}
.mini--rows > div, .mini--tx > div { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.3125rem 0; color: var(--fg-2); }
.mini--rows > div > :last-child { color: var(--fg); }
.mini__total { margin-top: 0.25rem; padding-top: 0.5625rem !important; border-top: 1px solid var(--line); color: var(--fg-3) !important; }
.mini__total > :last-child { color: var(--fg-2) !important; }
.mini__txhead { color: var(--fg-3) !important; padding-bottom: 0.4375rem !important; margin-bottom: 0.1875rem; border-bottom: 1px solid var(--line); }
.mini--tx .k { color: var(--fg-3); }
.mini--tx > div:not(.mini__txhead):not(.mini__ok) > :last-child { color: var(--fg); }
.mini__ok { justify-content: flex-start !important; align-items: center; gap: 0.375rem !important; margin-top: 0.25rem; color: var(--green) !important; }
.mini__ok .i { width: 0.875rem; height: 0.875rem; }

.branch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 22rem);
  gap: 1.25rem 1.5rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.375rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.branch__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--surface-3); color: var(--fg); }
.branch__icon .i { width: 1.25rem; height: 1.25rem; }
.branch h3 { font-size: 1.125rem; letter-spacing: -0.022em; font-weight: 600; }
.branch p { margin-top: 0.25rem; font-size: 0.9375rem; color: var(--fg-2); }
.branch__demo { padding: 0.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: 0.75rem; font-size: 0.75rem; }
.branch__demo > div { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.25rem 0; color: var(--fg-2); }
.branch__demo > div:first-child > :first-child { color: var(--fg); }
.branch__out { margin-top: 0.375rem; padding-top: 0.625rem !important; border-top: 1px solid var(--line); }
.branch__out > :last-child { color: var(--fg); }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: center; }
.split__copy .section__lede { max-width: 32rem; }

.ticks { display: grid; gap: 0.875rem; margin-top: 2rem; }
.ticks li { display: flex; gap: 0.75rem; font-size: 0.9375rem; color: var(--fg-2); line-height: 1.5; }
.ticks .i { margin-top: 0.1875rem; color: var(--green); }

/* Chart */
.chart { padding: 1.25rem; }
.chart__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.seg {
  display: inline-flex; gap: 0.125rem;
  padding: 0.1875rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 0.6875rem;
}
.seg button {
  height: 2rem; padding: 0 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem; font-weight: 500; color: var(--fg-3);
  transition: background-color 0.15s, color 0.15s;
}
.seg button:hover { color: var(--fg); }
.seg button[aria-selected="true"] { background: var(--surface-3); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-3); }

.curve { width: 100%; height: auto; overflow: visible; }
.curve .c-grid { stroke: var(--line); stroke-width: 1; }
.curve .c-base { stroke: var(--line-3); stroke-width: 1; }
.curve .c-tick { font: 400 10.5px var(--mono); fill: var(--fg-mute); }
.curve .c-axis { font: 400 11px var(--font); fill: var(--fg-3); }
.curve .c-curve { fill: none; stroke: var(--fg-3); stroke-width: 1.5; transition: opacity 0.6s, stroke-dasharray 0.6s; }
.curve .c-area { fill: rgb(255 255 255 / 0.025); transition: opacity 0.6s; }
.curve .c-flat { stroke: var(--green); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) 0.25s; }
.curve .c-flat-label { font: 500 11px var(--mono); fill: var(--green); opacity: 0; transition: opacity 0.4s 0.8s; }
.curve .c-dot { transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.curve .c-dot circle { fill: var(--fg-mute); stroke: var(--surface); stroke-width: 2; transition: fill 0.4s; }
.curve .c-dot.is-tagged circle { fill: var(--fg-2); }
.curve .c-dot text { font: 500 11px var(--font); fill: var(--fg-2); transition: opacity 0.3s; }
.curve .c-dot.is-you circle { fill: var(--fg); }
.curve .c-dot.is-you text { fill: var(--fg); font-weight: 600; }
.curve[data-mode="dap"] .c-dot { transform: translateY(var(--dy)); }
.curve[data-mode="dap"] .c-dot circle { fill: var(--green); }
.curve[data-mode="dap"] .c-dot.is-you circle { fill: var(--fg); }
.curve[data-mode="dap"] .c-dot.is-tagged text { opacity: 0; }
.curve[data-mode="dap"] .c-curve { opacity: 0.35; stroke-dasharray: 3 4; }
.curve[data-mode="dap"] .c-area { opacity: 0; }
.curve[data-mode="dap"] .c-flat { stroke-dashoffset: 0; }
.curve[data-mode="dap"] .c-flat-label { opacity: 1; }

.chart__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0.75rem; border-top: 1px solid var(--line); }
.chart__foot > div { display: grid; gap: 0.25rem; padding: 0.875rem 0.75rem 0 0; }
.chart__foot > div + div { padding-left: 0.875rem; border-left: 1px solid var(--line); }
.chart__foot .mono { font-size: 1rem; font-weight: 500; letter-spacing: -0.03em; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.calc__inputs { display: grid; gap: 2rem; align-content: start; padding: 2rem; border-right: 1px solid var(--line); }
.calc__fine { font-size: 0.8125rem; line-height: 1.55; color: var(--fg-3); }
.calc__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc__out > div { display: grid; align-content: space-between; gap: 1.5rem; padding: 2rem; min-height: 10rem; }
.calc__out > div:nth-child(odd) { border-right: 1px solid var(--line); }
.calc__out > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.calc__out dt { font-size: 0.8125rem; color: var(--fg-3); }
.calc__out dd { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.calc__out dd small { margin-left: 0.5rem; font: 500 0.8125rem/1 var(--font); letter-spacing: 0; color: var(--fg-3); }

.slider__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.875rem; }
.slider__top label { font-size: 0.9375rem; color: var(--fg-2); }
.slider__top output { font-size: 1rem; font-weight: 500; }
.slider__ends { display: flex; justify-content: space-between; margin-top: 0.5rem; font-size: 0.6875rem; color: var(--fg-mute); }

.range {
  --p: 50%;
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 1.25rem; margin: 0;
  background: transparent; cursor: pointer;
}
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 99px;
  background: linear-gradient(to right, var(--fg) 0 var(--p), var(--surface-3) var(--p) 100%);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 1.125rem; height: 1.125rem; margin-top: calc(2px - 0.5625rem);
  border-radius: 50%;
  background: var(--fg);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line-3);
  transition: box-shadow 0.15s;
}
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--fg), 0 0 0 5px rgb(255 255 255 / 0.12); }
.range::-moz-range-track { height: 4px; border-radius: 99px; background: var(--surface-3); }
.range::-moz-range-progress { height: 4px; border-radius: 99px; background: var(--fg); }
.range::-moz-range-thumb { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--fg); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line-3); }

/* Fees */
.splitbar { display: grid; grid-template-columns: 7fr 3fr; gap: 0.25rem; margin-top: 2.25rem; }
.splitbar > div { display: grid; align-content: space-between; gap: 1.25rem; min-height: 7.5rem; padding: 1rem; border-radius: var(--r); }
.splitbar b { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.splitbar span { font-size: 0.8125rem; line-height: 1.4; }
.splitbar__a { background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-line); color: var(--green); }
.splitbar__a span { color: rgb(187 247 208 / 0.85); }
.splitbar__b { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.splitbar__b span { color: var(--fg-3); }

.hold { padding: 1.5rem; display: grid; gap: 1.75rem; }
.hold__head { display: flex; align-items: center; gap: 0.875rem; }
.hold__title { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }
.hold__sub { margin-top: 0.125rem; font-size: 0.8125rem; color: var(--fg-3); }
.hold__half { color: var(--fg-2); }
.hold .range::-webkit-slider-runnable-track {
  background:
    linear-gradient(to right, transparent calc(50% - 1px), var(--fg-3) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 50% / 100% 10px no-repeat,
    linear-gradient(to right, var(--fg) 0 var(--p), var(--surface-3) var(--p) 100%);
}
.hold__state {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.125rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.hold__state > div { display: grid; gap: 0.375rem; }
.hold__num { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.hold__note { margin-top: -0.75rem; font-size: 0.8125rem; color: var(--fg-3); }

/* Rounds table */
.table-card { overflow-x: auto; overscroll-behavior-x: contain; }
.show-xs { display: none; }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th {
  height: 2.75rem; padding: 0 1.25rem;
  text-align: left; font-weight: 400; font-size: 0.75rem; color: var(--fg-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { height: 4.25rem; padding: 0 1.25rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color 0.15s; }
.table tbody tr:hover { background: rgb(255 255 255 / 0.015); }
.table .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.table th.num { font-family: var(--font); }
.table .muted { color: var(--fg-3); }
.table tr.is-new td { animation: row-in 1.2s var(--ease); }
@keyframes row-in { from { background: rgb(74 222 128 / 0.07); } to { background: transparent; } }
.coin { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.coin b { display: block; font-weight: 500; letter-spacing: -0.01em; }
.coin .mono { font-size: 0.75rem; color: var(--fg-3); white-space: nowrap; }
.tag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  height: 1.5rem; padding: 0 0.5625rem;
  border-radius: 999px;
  font-size: 0.75rem; font-weight: 500;
  background: var(--surface-3); color: var(--fg-2);
}
.tag .i { width: 0.75rem; height: 0.75rem; }
.tag--ok { background: var(--green-soft); color: var(--green); }
.tag--live { background: var(--green-soft); color: var(--green); }

/* DAP */
.dap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 1.5rem;
}
.dap__brand { display: flex; align-items: center; gap: 2rem; }
.dap__brand .section__title { margin-top: 0.75rem; font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem); letter-spacing: -0.05em; }
.dap__brand .section__lede { margin-top: 0.5rem; }
.dap__tile {
  display: grid; place-items: center; flex: none;
  width: 8.5rem; height: 8.5rem;
  border-radius: 2rem;
  background: #000;
  box-shadow: inset 0 0 0 1px var(--line-3), 0 30px 60px -25px rgb(0 0 0 / 0.9);
  color: #fff;
}
.dap__tile img { width: auto; height: 4.75rem; }
.dap__side { display: grid; gap: 1.25rem; }
.ca { display: grid; gap: 0.5rem; }
.ca__row {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4375rem 0.4375rem 0.4375rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 0.75rem;
}
.ca__row code { flex: 1; min-width: 0; font-size: 0.875rem; color: var(--fg); overflow-wrap: anywhere; line-height: 1.45; }
.ca__row code.is-pending { padding: 0.4375rem 0; color: var(--fg-3); }
.footer__note { font-size: 0.875rem; line-height: 1.5; color: var(--fg-2); }
.dap__links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dap__links .i { width: 0.875rem; height: 0.875rem; }
.dap .fineprint { margin-top: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4.5rem; }
.faq__head { align-self: start; position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.375rem 0;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.015em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--fg-3); transition: transform 0.25s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq summary:hover .i { color: var(--fg); }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--fg-2); line-height: 1.65; max-width: 40rem; }

/* CTA */
.cta { padding: 8rem 0; border-top: 1px solid var(--line); text-align: center; }
.cta__inner { display: grid; justify-items: center; }
.cta__clock {
  margin-top: 1.25rem;
  font-size: clamp(4.5rem, 2rem + 11vw, 10.5rem);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.07em;
}
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.75rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr);
  gap: 2.5rem;
  padding-top: 3.5rem; padding-bottom: 3rem;
}
.footer__brand p { margin-top: 1rem; font-size: 0.875rem; color: var(--fg-3); }
.footer__col { display: grid; align-content: start; gap: 0.625rem; }
.footer__col p { font-size: 0.8125rem; color: var(--fg-mute); margin-bottom: 0.25rem; }
.footer__col a { font-size: 0.875rem; color: var(--fg-2); width: fit-content; }
.footer__col a:hover { color: var(--fg); }
.ca-copy {
  display: flex; align-items: flex-start; gap: 0.625rem;
  text-align: left; font-size: 0.75rem; line-height: 1.5; color: var(--fg-2);
  overflow-wrap: anywhere;
}
.ca-copy:hover { color: var(--fg); }
.ca-copy span { min-width: 0; }
.ca-copy .i { margin-top: 0.125rem; color: var(--fg-3); }
.footer__base {
  display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  padding-top: 1.5rem; padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--fg-mute);
}

/* Modals ------------------------------------------------------------------ */

.modal {
  width: min(27rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 1.375rem;
  overflow: auto;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 100px -20px rgb(0 0 0 / 0.85);
}
.modal[open] { animation: modal-in 0.28s var(--ease); }
.modal::backdrop { background: rgb(0 0 0 / 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open]::backdrop { animation: fade-in 0.25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
@keyframes fade-in { from { opacity: 0; } }
.modal--wide { width: min(54rem, calc(100% - 2rem)); padding: 1.5rem; }

.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -0.25rem -0.375rem 0 0; }
.modal__head h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; }
.modal__lede { margin-top: 0.5rem; font-size: 0.875rem; color: var(--fg-2); line-height: 1.55; }
.modal__fine { margin-top: 1rem; font-size: 0.75rem; color: var(--fg-3); text-align: center; }

.wallets { display: grid; gap: 0.375rem; margin-top: 1.25rem; }
.wallets button {
  display: flex; align-items: center; gap: 0.875rem; width: 100%;
  height: 3.5rem; padding: 0 0.875rem 0 0.625rem;
  border: 1px solid var(--line-2);
  border-radius: 0.75rem;
  text-align: left;
  transition: background-color 0.15s, border-color 0.15s;
}
.wallets button:hover { background: var(--surface-2); border-color: var(--line-3); }
.wallets .w-tile {
  display: grid; place-items: center; flex: none;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.625rem;
  background: var(--surface-3);
  font-weight: 600; font-size: 0.9375rem; color: var(--fg);
}
.wallets .w-name { flex: 1; font-weight: 500; font-size: 0.9375rem; }
.wallets .w-state { font-size: 0.75rem; color: var(--fg-3); }
.wallets .w-state.is-ok { color: var(--green); }

.review__coin {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1.25rem; padding: 0.875rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.review__coin b { display: block; font-weight: 600; letter-spacing: -0.015em; }
.review__coin .mono { font-size: 0.75rem; color: var(--fg-3); white-space: nowrap; }
.review__coin > div { flex: 1; min-width: 0; }
.review__amt { font-size: 1.125rem !important; color: var(--fg) !important; font-weight: 500; }

.kv { margin: 0.75rem 0 1.25rem; }
.kv > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6875rem 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.kv dt { color: var(--fg-3); }
.kv dd { text-align: right; }

.notice {
  display: flex; gap: 0.75rem;
  margin-bottom: 1rem; padding: 0.875rem;
  background: var(--red-soft);
  border: 1px solid rgb(248 113 113 / 0.25);
  border-radius: var(--r);
  font-size: 0.8125rem; line-height: 1.5;
}
.notice[hidden] { display: none; }
.notice .i { color: var(--red); margin-top: 0.125rem; }
.notice b { display: block; font-weight: 500; color: var(--fg); }
.notice span { color: var(--fg-2); }

/* Start a round form */
.start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.start__fields { display: grid; gap: 1rem; align-content: start; }
.field { display: grid; gap: 0.4375rem; }
.field > span:first-child { font-size: 0.8125rem; color: var(--fg-2); }
.field em { font-style: normal; color: var(--fg-mute); margin-left: 0.25rem; }
.field input, .field textarea {
  width: 100%;
  padding: 0 0.875rem;
  height: 2.75rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 0.625rem;
  outline: 0;
  font-size: 0.9375rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { height: auto; padding: 0.6875rem 0.875rem; resize: vertical; min-height: 4.25rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); }
.field input:focus, .field textarea:focus { border-color: var(--line-3); box-shadow: 0 0 0 3px rgb(255 255 255 / 0.05); }
.field input.is-bad { border-color: rgb(248 113 113 / 0.55); }
.field__prefix { position: relative; display: block; }
.field__prefix em { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); margin: 0; color: var(--fg-3); font-family: var(--mono); }
.field__prefix input { padding-left: 1.75rem; font-family: var(--mono); text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; }

.drop {
  display: grid; justify-items: center; gap: 0.375rem;
  padding: 1.25rem 1rem;
  border: 1px dashed var(--line-3);
  border-radius: 0.75rem;
  background: var(--bg);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.drop:hover, .drop.is-over { border-color: var(--fg-3); background: var(--surface-2); }
.drop:focus-within { border-color: var(--fg-2); }
.drop .i { width: 1.25rem; height: 1.25rem; color: var(--fg-2); }
.drop__text { font-size: 0.875rem; font-weight: 500; }
.drop__hint { font-size: 0.75rem; color: var(--fg-3); }

.start__preview { display: grid; gap: 0.75rem; align-content: start; }
.pcard { padding: 1rem; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); }
.pcard__head { display: flex; align-items: center; gap: 0.75rem; }
.pcard__head > div { min-width: 0; }
.pcard__head b { display: block; font-weight: 600; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__head .mono { font-size: 0.75rem; color: var(--fg-3); }
.pcard__desc { margin: 0.875rem 0 0.375rem; font-size: 0.8125rem; color: var(--fg-2); line-height: 1.5; overflow-wrap: anywhere; }
.pcard__desc.is-empty { color: var(--fg-mute); }
.pcard__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.75rem; color: var(--fg-3); }
.pcard__row .mono { color: var(--fg-2); }
.meter--mini { padding: 1.5rem 0 0.25rem; }
.meter--mini .meter__track { height: 0.375rem; }
.start__rules { display: grid; gap: 0.5rem; padding: 0.25rem 0.125rem; }
.start__rules li { position: relative; padding-left: 0.875rem; font-size: 0.75rem; line-height: 1.5; color: var(--fg-3); }
.start__rules li::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--fg-mute); }
.start__foot { grid-column: 1 / -1; display: grid; justify-items: end; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.start__foot .notice { width: 100%; }

/* Toasts */
.toasts { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; display: grid; gap: 0.5rem; width: min(23rem, calc(100% - 2rem)); pointer-events: none; }
.toast {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 0 20px 50px -15px rgb(0 0 0 / 0.75);
  font-size: 0.8125rem; line-height: 1.5; color: var(--fg-2);
  pointer-events: auto;
  animation: toast-in 0.35s var(--ease);
}
.toast b { color: var(--fg); font-weight: 500; }
.toast .i { margin-top: 0.125rem; color: var(--green); }
.toast.is-out { animation: toast-out 0.25s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2) { transition-delay: 0.06s; }
.steps .reveal:nth-child(3) { transition-delay: 0.12s; }
.steps .reveal:nth-child(4) { transition-delay: 0.18s; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1160px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-grid; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 3rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch { grid-template-columns: auto minmax(0, 1fr); }
  .branch__demo { grid-column: 1 / -1; }
  .split, .faq { gap: 3rem; }
}

@media (max-width: 960px) {
  .hero { padding-top: 3rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .hero__copy { padding-top: 0; }
  .round { max-width: 34rem; }
  .split, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .dap { grid-template-columns: minmax(0, 1fr); padding: 2rem; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start { grid-template-columns: minmax(0, 1fr); }
  .start__preview { order: -1; }
  .start__preview .start__rules { display: none; }
}

@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .section { padding: 5rem 0; }
  .cta { padding: 5.5rem 0; }
  .section__head { margin-bottom: 2.5rem; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero__lede { font-size: 1.0625rem; }
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; }
  .facts > div, .facts > div + div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.875rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts dd { margin-top: 0; text-align: right; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step__top { margin-bottom: 1.25rem; }
  .branch { grid-template-columns: minmax(0, 1fr); }
  .chart { padding: 1rem; }
  .chart__foot { grid-template-columns: minmax(0, 1fr); }
  .chart__foot > div, .chart__foot > div + div { display: flex; justify-content: space-between; padding: 0.75rem 0 0; border-left: 0; }
  .calc__inputs, .calc__out > div { padding: 1.5rem; }
  .calc__out > div { min-height: 7.5rem; }
  .splitbar { grid-template-columns: 1fr; }
  .splitbar > div { min-height: 0; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; }
  .hold { padding: 1.25rem; }
  .table th, .table td { padding: 0 0.875rem; }
  .table td { height: 3.75rem; }
  .dap { padding: 1.5rem; gap: 2rem; }
  .dap__brand { gap: 1.25rem; }
  .dap__tile { width: 5.5rem; height: 5.5rem; border-radius: 1.375rem; }
  .dap__tile img { height: 3rem; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .start__foot .btn { width: 100%; }
  .modal--wide { padding: 1.25rem; }
  .toasts { right: 1rem; bottom: 1rem; }
}

@media (max-width: 480px) {
  .hide-xs { display: none !important; }
  .show-xs { display: inline; }
  .tag .i { display: none; }
  .table td { white-space: normal; }
  .table td.num { white-space: nowrap; }
  .coin b { line-height: 1.25; }
  .table th, .table td { padding: 0 0.75rem; }
  .table th:first-child, .table td:first-child { padding-left: 1rem; }
  .table th:last-child, .table td:last-child { padding-right: 1rem; }
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 1.375rem 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .stat:last-child { border-bottom: 0; }
  .stat__label { text-align: right; }
  .round__head, .round__nums, .ca-row, .join, .feed, .meter { padding-left: 1rem; padding-right: 1rem; }
  .ca-row .label { display: none; }
  .ca-row { justify-content: center; }
  .feed__list li { gap: 0.625rem; }
  .faq details p { padding-right: 0; }
}

@media (max-width: 400px) {
  .wide-only { display: none; }
  .brand { gap: 0.5rem; }
  .brand__cube, .brand__logo { height: 1.5rem; }
  .nav__inner { gap: 0.75rem; }
}

@media (max-width: 360px) {
  .hide-xxs { display: none; }
  .brand__cube, .brand__logo { height: 1.375rem; }
  .strip__inner { gap: 0.5rem; font-size: 0.75rem; }
  .round__nums { grid-template-columns: minmax(0, 1fr); }
  .round__queued { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .tape { overflow-x: auto; }
}
