/* ==========================================================================
   iCash design system
   ========================================================================== */

/* Black background, white text by default. data-theme="light" opts into the light look. */
:root {
  --bg: #000000;
  --bg-alt: #000000;
  --raised: #1c1c1e;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --alt-surface: #1c1c1e;
  --alt-surface-2: #2c2c2e;
  --band-surface: #2c2c2e;
  --band-surface-2: #3a3a3c;
  --fill: rgba(118, 118, 128, 0.24);
  --fill-2: rgba(118, 118, 128, 0.34);
  --thumb: #636366;
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --muted: #a1a1a6;
  --faint: #8e8e93;
  --line: #333336;
  --line-2: #48484a;

  --accent: #f5f5f7;
  --accent-2: #d2d2d7;
  --accent-ink: #f5f5f7;
  --accent-soft: rgba(255, 255, 255, 0.1);
  --accent-glow: rgba(255, 255, 255, 0.2);
  --on-accent: #000000;
  --bubble-in: #2c2c2e;
  --bubble-in-ink: #f5f5f7;
  --nav-bg: rgba(22, 22, 23, 0.8);

  --red: #ff453a;
  --red-soft: rgba(255, 69, 58, 0.14);

  /* highlight panels (claim section, Apple Cash tile): dark gray on the black page */
  --invert-bg: #1c1c1e;
  --invert-ink: #f5f5f7;
  --invert-muted: #a1a1a6;
  --invert-line: #3a3a3c;

  /* payout cards: silver on dark surfaces, graphite on light ones */
  --pay-bg: linear-gradient(150deg, #ffffff 0%, #e8e8ed 46%, #b4b4b9 100%);
  --pay-ink: #1d1d1f;
  --pay-bg-inv: linear-gradient(150deg, #ffffff 0%, #e8e8ed 46%, #b4b4b9 100%);
  --pay-ink-inv: #1d1d1f;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 30px 60px -20px rgba(0, 0, 0, 0.75);

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, 'Geist Mono', Consolas, monospace;

  --wrap: 1180px;
  --gutter: 24px;
  --nav-h: 52px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);

  color-scheme: dark;
}

:root[data-theme='light'] {
  --bg: #f5f5f7;
  --bg-alt: #ffffff;
  --raised: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --alt-surface: #f5f5f7;
  --alt-surface-2: #ffffff;
  --band-surface: #ffffff;
  --band-surface-2: #f5f5f7;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.2);
  --thumb: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #e3e3e8;
  --line-2: #d2d2d7;
  --accent: #1d1d1f;
  --accent-2: #3a3a3c;
  --accent-ink: #1d1d1f;
  --accent-soft: rgba(0, 0, 0, 0.06);
  --accent-glow: rgba(0, 0, 0, 0.18);
  --on-accent: #ffffff;
  --bubble-in: #e9e9eb;
  --bubble-in-ink: #1d1d1f;
  --nav-bg: rgba(251, 251, 253, 0.8);
  --red: #e30000;
  --red-soft: rgba(227, 0, 0, 0.08);
  --invert-bg: #000000;
  --invert-ink: #f5f5f7;
  --invert-muted: #a1a1a6;
  --invert-line: #3a3a3c;
  --pay-bg: linear-gradient(150deg, #4a4a4d 0%, #1d1d1f 48%, #000000 100%);
  --pay-ink: #ffffff;
  --pay-bg-inv: linear-gradient(150deg, #ffffff 0%, #e8e8ed 46%, #b4b4b9 100%);
  --pay-ink-inv: #1d1d1f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 12px 32px -12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.04), 0 34px 64px -24px rgba(0, 0, 0, 0.22);
  color-scheme: light;
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
#app:focus {
  outline: none;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--r-sm);
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: 112px 0;
}
.section-tight {
  padding: 72px 0;
}
/* full-bleed white band; cards inside flip to light gray */
.section-alt {
  background: var(--bg-alt);
  --surface: var(--alt-surface);
  --surface-2: var(--alt-surface-2);
}

.mono {
  font-family: var(--mono);
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.01em;
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.accent {
  color: var(--accent-ink);
  font-weight: 600;
}
a.accent {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.muted {
  color: var(--muted);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.015em;
}
.eyebrow > svg {
  width: 16px;
  height: 16px;
}
.display {
  font-size: clamp(44px, 6.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  font-weight: 600;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.022em;
  font-weight: 600;
  text-wrap: balance;
}
.h3 {
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.lede {
  font-size: clamp(19px, 1.7vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--muted);
  max-width: 580px;
  text-wrap: pretty;
}
.lede b {
  color: var(--ink);
  font-weight: 600;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  margin-bottom: 16px;
}
.section-head .lede {
  margin-top: 16px;
}

/* ---------- buttons ---------- */

.btn {
  --btn-h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--btn-h);
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
  user-select: none;
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.btn:active {
  transform: scale(0.97);
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}
.btn-sm {
  --btn-h: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-lg {
  --btn-h: 52px;
  padding: 0 28px;
  font-size: 17px;
}
.btn-block {
  width: 100%;
}
.btn-primary,
.btn-dark {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover,
.btn-dark:hover {
  background: var(--accent-2);
}
.btn-ghost {
  background: var(--fill);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--fill-2);
}
.btn-soft {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.btn-soft:hover {
  background: var(--fill-2);
}
.btn-text {
  height: auto;
  padding: 0;
  color: var(--accent-ink);
  font-weight: 400;
}
.btn-text:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-pill);
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}
.icon-btn:hover {
  background: var(--fill);
  color: var(--ink);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- notice ---------- */

.notice {
  background: var(--raised);
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.notice b {
  font-weight: 600;
  color: var(--ink);
}
.notice code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--fill);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-bg);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav-inner {
  height: var(--nav-h);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
/* the coin on its own (message preview) */
.brand-mark {
  width: 24px;
  height: 24px;
}
/* apple logo on a graphite disc — a pay-style mark, same look in both themes */
.logo-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2c2c2e, #111112);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.logo-apple img {
  width: 58%;
  height: 58%;
}
/* pay-style badge: the tree coin beside the name. Graphite in both themes, like a pay mark. */
.brand-badge {
  --h: 30px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--h) * 0.14);
  height: var(--h);
  padding: 0 calc(var(--h) * 0.3) 0 calc(var(--h) * 0.17);
  border-radius: calc(var(--h) * 0.22);
  background: linear-gradient(180deg, #2c2c2e, #111112);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
}
.brand-badge img {
  width: calc(var(--h) * 0.66);
  height: calc(var(--h) * 0.66);
}
.brand-word {
  font-weight: 600;
  font-size: calc(var(--h) * 0.52);
  line-height: 1;
  letter-spacing: -0.035em;
}
.footer-brand .brand-badge {
  --h: 36px;
}
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-2);
  padding: 8px 10px;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}
.nav-links a.active {
  font-weight: 600;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav .btn-sm {
  --btn-h: 32px;
  padding: 0 14px;
  font-size: 13px;
}
.nav .icon-btn {
  width: 32px;
  height: 32px;
}
.chip-ca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--fill);
  font-size: 13px;
  transition: background-color 0.2s;
}
.chip-ca:hover {
  background: var(--fill-2);
}
.chip-ca .tk {
  font-weight: 600;
  color: var(--ink);
  font-size: 12.5px;
}
.chip-ca .addr {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 12px;
}
.chip-ca svg {
  width: 14px;
  height: 14px;
  color: var(--faint);
}
.burger {
  display: none;
}
.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter) 20px;
  display: grid;
  gap: 2px;
  background: var(--bg);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu > a {
  padding: 9px 4px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mobile-menu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

/* ---------- avatars, badges ---------- */

.av {
  --s: 40px;
  width: var(--s);
  height: var(--s);
  flex: none;
  border-radius: 30%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-weight: 650;
  font-size: calc(var(--s) * 0.42);
  letter-spacing: -0.03em;
  /* --h1/--h2 are hashed per coin; mapped to graphite tones rather than hues */
  background: radial-gradient(120% 120% at 20% 10%, hsl(0 0% calc(34% + var(--h1) * 0.06%)), hsl(0 0% calc(5% + var(--h2) * 0.04%)));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  text-transform: uppercase;
}
.av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.av-sm {
  --s: 32px;
}
.av-lg {
  --s: 56px;
}
.av-xl {
  --s: 84px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-live {
  background: var(--fill);
  color: var(--ink);
}
.badge-queued {
  background: transparent;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.badge-queued::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.badge-failed {
  background: var(--red-soft);
  color: var(--red);
}
.badge-plain {
  background: var(--fill);
  color: var(--muted);
}
.badge-plain::before {
  display: none;
}

/* ---------- cards ---------- */

.card {
  background: var(--surface);
  border-radius: var(--r-lg);
}
.card-pad {
  padding: 28px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.card-head h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 112px;
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-copy .eyebrow {
  margin-bottom: 18px;
}
.hero-copy .display {
  max-width: 980px;
}
.hero-copy .lede {
  margin-top: 24px;
  max-width: 640px;
  font-size: clamp(19px, 2vw, 24px);
}
.hero-art {
  margin-top: 80px;
}

.quick {
  margin-top: 40px;
  width: 100%;
  max-width: 560px;
}
.quick-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quick-box:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.quick-box .seg {
  flex: none;
}
.quick-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  height: 44px;
  padding: 0 8px;
  font-size: 16px;
}
.quick-box input::placeholder {
  color: var(--faint);
}
.quick-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.quick-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.quick-note svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* segmented control */
.seg {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  background: var(--fill);
  border-radius: var(--r-pill);
}
.seg button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.seg button svg {
  width: 15px;
  height: 15px;
}
.seg button[aria-pressed='true'] {
  color: var(--ink);
}
.seg .seg-thumb {
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  left: 3px;
  border-radius: var(--r-pill);
  background: var(--thumb);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
}

/* ---------- message thread (hero illustration) ---------- */

.thread-wrap {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}
.thread {
  position: relative;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.thread-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 20px 16px;
  border-bottom: 1px solid var(--line);
}
.thread-top .who {
  font-size: 13px;
  font-weight: 600;
}
.thread-top .brand-mark {
  width: 44px;
  height: 44px;
}
.thread-body {
  height: 420px;
  padding: 18px 16px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0, #000 56px);
}
.thread-body > * {
  flex-shrink: 0;
}
.thread-stamp {
  align-self: center;
  font-size: 11.5px;
  color: var(--faint);
  margin: 4px 0 6px;
}
.bub {
  max-width: 78%;
  padding: 9px 14px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.35;
  animation: bub-in 0.42s var(--ease) both;
  transform-origin: bottom left;
}
.bub.in {
  align-self: flex-start;
  background: var(--bubble-in);
  color: var(--bubble-in-ink);
  border-bottom-left-radius: 6px;
}
.bub.out {
  align-self: flex-end;
  background: var(--accent);
  color: var(--on-accent);
  border-bottom-right-radius: 6px;
  transform-origin: bottom right;
}
.bub b {
  font-weight: 600;
}
.bub.typing {
  display: inline-flex;
  gap: 4px;
  padding: 13px 14px;
}
.bub.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  animation: blink 1.2s infinite;
}
.bub.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.bub.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.paycard {
  align-self: flex-start;
  width: 230px;
  border-radius: 22px;
  border-bottom-left-radius: 6px;
  padding: 16px 16px 14px;
  color: var(--pay-ink);
  background: var(--pay-bg);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: bub-in 0.5s var(--ease) both;
  transform-origin: bottom left;
  position: relative;
  overflow: hidden;
}
.paycard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 45%, transparent 60%);
  transform: translateX(-100%);
  animation: sheen 2.6s 0.4s var(--ease) both;
}
.paycard .pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}
.paycard .pc-top .coin-glyph {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.paycard .pc-amt {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 14px 0 2px;
  font-variant-numeric: tabular-nums;
}
.paycard .pc-sub {
  font-size: 12.5px;
  opacity: 0.85;
}
.thread-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--faint);
}
.thread-float {
  position: absolute;
  right: -210px;
  top: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  animation: float 6s ease-in-out infinite;
}
.thread-float.left {
  right: auto;
  left: -220px;
  top: 300px;
  animation-delay: -3s;
}
.thread-float .tf-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
}
.thread-float .tf-icon svg {
  width: 18px;
  height: 18px;
}
.thread-float .tf-k {
  font-size: 12px;
  color: var(--muted);
}
.thread-float .tf-v {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}

/* ---------- just launched strip ---------- */

.launches-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.launches-title {
  margin-top: 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.lc-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.lc {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 22px;
  background: var(--surface);
  transition: transform 0.35s var(--ease);
}
a.lc:hover {
  transform: scale(1.02);
}
.lc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.lc-name {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-sub {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-sub .mono {
  font-size: 13px;
}
.lc-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.lc-foot b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.lc.fresh {
  animation: lc-new 3.5s var(--ease) both;
}
.lc-skel {
  height: 190px;
  border-radius: 22px;
}
.lc-empty {
  grid-column: 1 / -1;
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.step-n {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin-top: 10px;
  font-size: 24px;
  letter-spacing: -0.022em;
}
.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}
.step-art {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 8px;
}
.mini-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid transparent;
  font-size: 14px;
}
.mini-field svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.mini-field.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.mini-field .ph {
  color: var(--faint);
}
.mini-or {
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}
.mini-coin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-2);
}
.mini-coin .nm {
  font-weight: 600;
  font-size: 15px;
}
.mini-coin .tk {
  font-size: 13px;
  color: var(--muted);
}
.mini-coin .go {
  margin-left: auto;
}
.mini-pays {
  display: grid;
  gap: 6px;
}
.mini-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  white-space: nowrap;
  gap: 12px;
  width: 92%;
}
.mini-pay b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mini-pay:nth-child(2) {
  width: 82%;
  opacity: 0.7;
}
.mini-pay:nth-child(3) {
  width: 72%;
  opacity: 0.45;
}

/* ---------- bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tile {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.tile.span-2 {
  grid-column: span 2;
}
.tile h3 {
  font-size: 24px;
  letter-spacing: -0.022em;
  line-height: 1.17;
  font-weight: 600;
  max-width: 360px;
}
.tile p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  max-width: 360px;
}
.tile-art {
  margin-top: auto;
  padding-top: 28px;
}
.tile-feature {
  background: var(--invert-bg);
  color: var(--invert-ink);
  --pay-bg: var(--pay-bg-inv);
  --pay-ink: var(--pay-ink-inv);
}
.tile-feature p {
  color: var(--invert-muted);
}
.tile-feature .tile-art {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.tile-feature .paycard {
  animation: none;
  width: 210px;
}
.tile-feature .paycard::after {
  animation: none;
}
.tile-feature .paycard.second {
  width: 180px;
  opacity: 0.55;
  transform: translateY(14px) scale(0.92);
  transform-origin: bottom left;
}
.ring {
  width: 120px;
  height: 120px;
  position: relative;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 9;
}
.ring .track {
  stroke: var(--fill);
}
.ring .bar {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.in .ring .bar,
.ring.in .bar {
  stroke-dashoffset: 72;
}
.ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.1;
}
.ring-label b {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  display: block;
}
.ring-label span {
  font-size: 11.5px;
  color: var(--muted);
}
.private-num {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.private-num .lock {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
}
.private-num .lock svg {
  width: 20px;
  height: 20px;
}
.private-num .dim {
  color: var(--line-2);
}
.spark {
  width: 100%;
  height: 90px;
}
.spark path.line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spark path.area {
  fill: url(#sparkFill);
}
.trade-pills {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.trade-pills span {
  flex: 1;
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  background: var(--fill);
  color: var(--muted);
}
.trade-pills span.buy {
  background: var(--accent);
  color: var(--on-accent);
}
.urlbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.urlbar svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.progress {
  margin-top: 14px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--fill);
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  width: var(--p, 0%);
  transition: width 1.2s var(--ease);
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- forms ---------- */

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.field + .field {
  margin-top: 18px;
}
.label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.label .opt,
.label .count {
  color: var(--faint);
  font-weight: 400;
}
.input {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.input > svg,
.input > span > svg {
  width: 17px;
  height: 17px;
  color: var(--faint);
  flex: none;
}
.input > span:has(> svg) {
  display: inline-grid;
  flex: none;
}
.input .prefix {
  color: var(--faint);
  font-weight: 500;
}
.input input,
.input textarea {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  height: 100%;
}
.input input::placeholder,
.input textarea::placeholder {
  color: var(--faint);
}
.input.textarea {
  height: auto;
  padding: 12px 16px;
}
.input textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.45;
}
.field.invalid .input {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.field-error {
  font-size: 13px;
  color: var(--red);
  display: none;
}
.field.invalid .field-error {
  display: block;
}
.hint {
  font-size: 13px;
  color: var(--faint);
}
.row-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.row-2 .field + .field {
  margin-top: 0;
}

.drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px dashed var(--line-2);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.drop:hover,
.drop.over {
  border-color: var(--ink);
  background: var(--accent-soft);
}
.drop-thumb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--fill);
  color: var(--muted);
  overflow: hidden;
  flex: none;
}
.drop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.drop-thumb svg {
  width: 20px;
  height: 20px;
}
.drop-text {
  font-size: 14px;
}
.drop-text small {
  display: block;
  color: var(--faint);
  font-size: 12.5px;
}
.drop .clear {
  margin-left: auto;
}

.more {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.more summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.more summary::-webkit-details-marker {
  display: none;
}
.more summary svg {
  width: 16px;
  height: 16px;
  color: var(--faint);
  transition: transform 0.25s var(--ease);
}
.more[open] summary svg {
  transform: rotate(45deg);
}
.more .field + .field,
.more .field {
  margin-top: 10px;
}

/* ---------- launch ---------- */

.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}
.launch-form {
  padding: 32px;
}
.launch-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.launch-step i {
  font-style: normal;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: var(--ink);
  color: var(--bg);
}
.launch-block + .launch-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.launch-block .seg {
  margin-bottom: 14px;
}
.launch-foot {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.launch-terms {
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}
.preview {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  gap: 16px;
}
.preview-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.preview-coin {
  padding: 24px;
}
.preview-coin .pc-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.preview-coin .pc-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  word-break: break-word;
}
.preview-coin .pc-tk {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 2px;
}
.preview-coin .pc-desc {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
  word-break: break-word;
}
.pc-rows {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.pc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.pc-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.pc-row .k {
  color: var(--muted);
}
.pc-row .v {
  font-weight: 500;
  text-align: right;
}

.split {
  display: grid;
  gap: 10px;
}
.split-bar {
  display: flex;
  height: 10px;
  border-radius: var(--r-pill);
  overflow: hidden;
  gap: 3px;
}
.split-bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
}
.split-bar .them {
  background: var(--accent);
}
.split-bar .us {
  background: var(--line-2);
}
.split-legend {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.split-legend b {
  color: var(--ink);
  font-weight: 600;
}
.preview-msg {
  padding: 18px;
  display: grid;
  gap: 6px;
}
.preview-msg .bub {
  animation: none;
  font-size: 14px;
}

/* ---------- live: lists & feed ---------- */

.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--fill);
  border-radius: var(--r-pill);
}
.tabs button {
  height: 32px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}
.tabs button[aria-selected='true'] {
  background: var(--thumb);
  color: var(--ink);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.04);
}
.list {
  display: grid;
}
.row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.15s;
}
.row:last-child {
  border-bottom: 0;
}
a.row:hover {
  background: var(--surface-2);
}
.rank {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  text-align: center;
}
.rank.top {
  color: var(--accent-ink);
  font-weight: 600;
}
.who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.who > div {
  min-width: 0;
}
.who .nm {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.who .sub {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.who .sub .mono {
  font-size: 12.5px;
}
.amt {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.amt b {
  display: block;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.amt span {
  font-size: 12.5px;
  color: var(--faint);
}
.card-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.live-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}
.live-dot.on {
  color: var(--accent-ink);
}
.live-dot.on::before {
  background: var(--accent);
  animation: pulse 2s infinite;
}
.feed {
  display: grid;
  max-height: 560px;
  overflow: auto;
  overscroll-behavior: contain;
}
.ev {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ev:last-child {
  border-bottom: 0;
}
.ev.fresh {
  animation: ev-in 0.6s var(--ease) both;
}
.ev-ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--fill);
  color: var(--muted);
}
.ev-ic svg {
  width: 16px;
  height: 16px;
}
.ev-payout .ev-ic {
  background: var(--accent);
  color: var(--on-accent);
}
.ev-sweep .ev-ic {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.ev-t {
  color: var(--ink-2);
  line-height: 1.4;
}
.ev-t b {
  font-weight: 600;
  color: var(--ink);
}
.ev-t .tk {
  color: var(--ink);
  font-weight: 600;
}
.ev-t .money {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.ev-at {
  font-size: 12.5px;
  color: var(--faint);
  white-space: nowrap;
}

.empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  display: grid;
  justify-items: center;
  gap: 10px;
}
.empty .empty-ic {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--fill);
  color: var(--faint);
}
.empty .empty-ic svg {
  width: 22px;
  height: 22px;
}
.empty h4 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.empty p {
  font-size: 14px;
  max-width: 320px;
}

.skel {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--fill) 25%, var(--line) 37%, var(--fill) 63%);
  background-size: 400% 100%;
  animation: skel 1.4s ease infinite;
}

/* ---------- claim band ---------- */

.band {
  background: var(--invert-bg);
  color: var(--invert-ink);
  --surface: var(--band-surface);
  --surface-2: var(--band-surface-2);
  border-radius: 32px;
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
}
.band .eyebrow,
.band .lede,
.band .muted {
  color: var(--invert-muted);
}
.claim-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.claim-steps {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}
.claim-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15px;
  color: var(--invert-muted);
}
.claim-steps li b {
  display: block;
  color: var(--invert-ink);
  font-weight: 500;
}
.claim-steps li i {
  font-style: normal;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--invert-line);
  color: var(--invert-ink);
}
ol.claim-steps {
  list-style: none;
  padding: 0;
}
.claim-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.claim-card h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.claim-card > p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 6px;
  margin-bottom: 22px;
}
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px dashed color-mix(in srgb, var(--accent), transparent 50%);
}
.code-box .code {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.post-preview {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.stack {
  display: grid;
  gap: 12px;
}
.done-state {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px 0;
}
.done-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 10px var(--accent-soft);
  margin-bottom: 10px;
  animation: pop 0.5s var(--ease) both;
}
.done-ic svg {
  width: 30px;
  height: 30px;
}
.done-state h3 {
  font-size: 22px;
}
.done-state p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 340px;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .pm {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fill);
  color: var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s;
}
.faq summary .pm svg {
  width: 14px;
  height: 14px;
}
.faq details[open] summary .pm {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--on-accent);
}
.faq details p {
  padding: 0 48px 26px 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
}

/* ---------- CTA ---------- */

.section.cta {
  text-align: center;
  padding-bottom: 16px;
}
.cta .h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(36px, 5.4vw, 64px);
}
.cta .lede {
  margin: 18px auto 0;
}
.cta .btn {
  margin-top: 32px;
}

/* ---------- footer ---------- */

.footer {
  margin-top: 96px;
  border-top: 1px solid var(--line-2);
  padding: 56px 0 40px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  color: var(--muted);
  margin-top: 14px;
  max-width: 300px;
}
.footer-ca {
  margin-top: 20px;
}
.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--muted);
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  color: var(--faint);
  font-size: 12.5px;
}
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 6px 6px 6px 14px;
  border-radius: var(--r-pill);
  background: var(--fill);
  font-size: 12.5px;
}
.ca-pill .mono {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}
.ca-pill button {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--raised);
  color: var(--ink);
}
.ca-pill button svg {
  width: 14px;
  height: 14px;
}

/* ---------- pages ---------- */

.page {
  padding: 56px 0 24px;
}
.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.page-head .h2 {
  font-size: clamp(34px, 4vw, 48px);
}
.page-head p {
  color: var(--muted);
  margin-top: 10px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  min-width: 260px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid transparent;
}
.search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.search svg {
  width: 16px;
  height: 16px;
  color: var(--faint);
}
.search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  min-width: 0;
}
.table-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 140px 120px 110px;
  gap: 14px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.table-head .r {
  text-align: right;
}
.coin-row {
  grid-template-columns: 28px minmax(0, 1fr) 140px 120px 110px;
}
.coin-row .status-cell {
  text-align: right;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.back:hover {
  color: var(--ink);
}
.back svg {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}
.coin-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.coin-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-weight: 600;
  word-break: break-word;
}
.coin-hero .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.coin-hero .actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.coin-layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mtile {
  padding: 20px 22px;
}
.mtile .k {
  font-size: 13px;
  color: var(--muted);
}
.mtile .v {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.mtile .s {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 2px;
}
.chart {
  margin-top: 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.chart iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.side-stack {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.sweep-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sweep-row:last-child {
  border-bottom: 0;
}
.sweep-row a {
  color: var(--accent-ink);
}
.sweep-row a:hover {
  text-decoration: underline;
}

.status-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}
.owed {
  padding: 36px;
}
.owed .k {
  color: var(--muted);
  font-size: 14px;
}
.owed .v {
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.owed .progress {
  height: 10px;
  margin-top: 28px;
}
.kv {
  display: grid;
  gap: 0;
}
.kv > div {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.kv > div:last-child {
  border-bottom: 0;
}
.kv .k {
  color: var(--muted);
}
.kv .v {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.admin-item {
  display: grid;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.admin-item:last-child {
  border-bottom: 0;
}
.admin-item .line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-item form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-item input {
  flex: 1;
  min-width: 120px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--surface-2);
  font-size: 14px;
  outline: none;
}
.admin-item input:focus {
  border-color: var(--ink);
}
.ca-admin {
  max-width: calc(680px + var(--gutter) * 2);
}
.ca-now {
  display: grid;
  gap: 8px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.ca-current {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  font-size: 17px;
}
.ca-current .mono {
  font-size: 15px;
  word-break: break-all;
}
.ca-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.ca-result {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.ca-result:empty {
  display: none;
}
/* the nav chip and footer pill pulse when the address changes live */
.flash {
  animation: flash 1.6s var(--ease);
}
@keyframes flash {
  0%,
  30% {
    box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px var(--accent-soft);
  }
  100% {
    box-shadow: 0 0 0 2px transparent, 0 0 0 7px transparent;
  }
}

.notfound {
  text-align: center;
  padding: 120px 0 40px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

/* ---------- dialog (review sheet) ---------- */

dialog.sheet {
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
dialog.sheet[open] {
  animation: sheet-in 0.35s var(--ease) both;
}
dialog.sheet::backdrop {
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in 0.25s ease both;
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 0 24px;
}
.sheet-head h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.sheet-body {
  padding: 16px 24px 24px;
}
.receipt {
  position: relative;
  margin-top: 4px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 24px 20px 18px;
}
.receipt-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1.5px dashed var(--line-2);
  position: relative;
}
.receipt-top::before,
.receipt-top::after {
  content: '';
  position: absolute;
  bottom: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}
.receipt-top::before {
  left: -31px;
}
.receipt-top::after {
  right: -31px;
}
.receipt-top .nm {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  word-break: break-word;
}
.receipt-top .tk {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.receipt .pc-rows {
  border-top: 0;
  margin-top: 8px;
}
.sheet-actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.sheet-fine {
  font-size: 12.5px;
  color: var(--faint);
  text-align: center;
  margin-top: 4px;
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

/* ---------- toasts ---------- */

.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 200;
  display: grid;
  gap: 8px;
  justify-items: center;
  pointer-events: none;
}
.toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.35s var(--ease) both;
}
.toast svg {
  width: 16px;
  height: 16px;
}
.toast.out {
  animation: toast-out 0.3s ease both;
}
.toast.err svg {
  color: #ff453a;
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* mobile sticky launch */
.sticky-cta {
  display: none;
}

/* ---------- keyframes ---------- */

@keyframes bub-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@keyframes sheen {
  to {
    transform: translateX(100%);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  70% {
    box-shadow: 0 0 0 7px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
@keyframes ev-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
    background: var(--accent-soft);
  }
}
@keyframes lc-new {
  0% {
    opacity: 0;
    transform: scale(0.94);
    box-shadow: 0 0 0 2px var(--accent);
  }
  12% {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 2px var(--accent);
  }
  100% {
    box-shadow: 0 0 0 2px transparent;
  }
}
@keyframes skel {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav-links a[href='/#how'] {
    display: none;
  }
  .lc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile.span-2 {
    grid-column: span 2;
  }
  .coin-layout {
    grid-template-columns: 1fr;
  }
  .side-stack {
    position: static;
  }
}

@media (max-width: 920px) {
  :root {
    --gutter: 20px;
  }
  .nav-links,
  .chip-ca,
  #walletBtn,
  .nav-launch {
    display: none;
  }
  .burger {
    display: inline-grid;
  }
  .section {
    padding: 80px 0;
  }
  .hero {
    padding: 56px 0 80px;
  }
  .hero-art {
    margin-top: 56px;
  }
  .launch-grid,
  .live-grid,
  .claim-grid,
  .faq-grid,
  .status-hero,
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .thread-float {
    right: -110px;
  }
  .thread-float.left {
    left: -110px;
  }
  .lc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    min-height: 0;
  }
  .preview {
    position: static;
  }
  .band {
    padding: 48px 28px;
    border-radius: 28px;
  }
  .faq-grid {
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .section-head {
    flex-direction: column;
    align-items: start;
  }
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }
  .sticky-cta.hide {
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
  }
  .sticky-cta .btn {
    width: 100%;
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  .display {
    font-size: clamp(40px, 11.5vw, 56px);
  }
  .quick-box {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 8px;
  }
  .quick-box .seg {
    width: 100%;
  }
  .quick-box input {
    flex-basis: 100%;
    padding: 0 10px;
  }
  .quick-box .btn {
    width: 100%;
  }
  .thread-body {
    height: 380px;
  }
  .thread-float {
    display: none;
  }
  .lc-grid {
    gap: 10px;
  }
  .lc {
    padding: 14px;
    border-radius: 18px;
  }
  .lc .av-lg {
    --s: 40px;
  }
  .lc-name {
    margin-top: 12px;
    font-size: 16px;
  }
  .lc-sub {
    font-size: 12.5px;
  }
  .lc-foot {
    margin-top: 12px;
    padding-top: 10px;
    font-size: 12px;
  }
  .lc-more {
    display: none;
  }
  .lc-skel {
    height: 150px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile.span-2 {
    grid-column: auto;
  }
  .tile {
    min-height: 0;
  }
  .tile-feature .paycard.second {
    display: none;
  }
  .launch-form,
  .claim-card {
    padding: 22px;
  }
  .row-2 {
    grid-template-columns: 1fr;
  }
  .row-2 .field + .field {
    margin-top: 18px;
  }
  .row {
    padding: 14px 16px;
    gap: 10px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
  }
  .row .hide-sm {
    display: none;
  }
  .card-head {
    padding: 16px;
  }
  .ev {
    padding: 12px 16px;
  }
  .table-head {
    display: none;
  }
  .coin-row {
    grid-template-columns: 22px minmax(0, 1fr) auto;
  }
  .coin-row .status-cell {
    display: none;
  }
  .page-head .toolbar {
    width: 100%;
  }
  .search {
    min-width: 0;
    flex: 1 1 100%;
  }
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
  .tiles .mtile:last-child {
    grid-column: 1 / -1;
  }
  .coin-hero .actions {
    margin-left: 0;
    width: 100%;
  }
  .coin-hero .actions .btn {
    flex: 1;
  }
  .faq details p {
    padding-right: 0;
  }
  .footer-grid {
    gap: 28px;
  }
  .owed {
    padding: 26px;
  }
}
