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

:root {
  --bg: #f4edde;
  --bg-strong: #efe1cb;
  --surface: rgba(255, 255, 255, 0.64);
  --surface-strong: #fff7ec;
  --surface-dark: #11161e;
  --surface-dark-soft: #1b2330;
  --line: rgba(20, 17, 15, 0.12);
  --line-strong: rgba(20, 17, 15, 0.24);
  --text: #14110f;
  --text-muted: #65584e;
  --text-faint: #8b7d73;
  --accent: #d0642f;
  --accent-strong: #b84d1d;
  --accent-soft: rgba(208, 100, 47, 0.12);
  --mint: #0f8b76;
  --mint-soft: rgba(15, 139, 118, 0.12);
  --danger: #ba3a33;
  --danger-soft: rgba(186, 58, 51, 0.12);
  --gold: #ad7c22;
  --gold-soft: rgba(173, 124, 34, 0.14);
  --shadow: 0 30px 90px rgba(42, 29, 17, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(208, 100, 47, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 139, 118, 0.14), transparent 25%),
    linear-gradient(180deg, #f7f0e5 0%, var(--bg) 30%, #f1e7d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 17, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 17, 15, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
  opacity: 0.25;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 20px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(244, 237, 222, 0.82), rgba(244, 237, 222, 0.58));
  border-bottom: 1px solid rgba(20, 17, 15, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand-mark-wrap {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 247, 236, 0.95), rgba(255, 232, 206, 0.88));
  border: 1px solid rgba(20, 17, 15, 0.08);
  box-shadow: 0 12px 40px rgba(42, 29, 17, 0.12);
  display: grid;
  place-items: center;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.brand-copy span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(20, 17, 15, 0.08);
  background: rgba(255, 255, 255, 0.52);
  color: var(--text-muted);
  font-size: 0.82rem;
  box-shadow: 0 10px 26px rgba(42, 29, 17, 0.08);
}

.status-chip::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(15, 139, 118, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-connect {
  min-height: 48px;
  padding: 0 20px;
  background: var(--surface-dark);
  color: #fff9f0;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(17, 22, 30, 0.2);
}

.btn-connect:hover { background: #202a38; }

.btn-connect.connected {
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  border: 1px solid rgba(20, 17, 15, 0.1);
  box-shadow: none;
}

.btn-primary {
  min-height: 52px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--accent), #ea8751);
  color: #fff8f1;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(208, 100, 47, 0.22);
}

.btn-primary:hover { box-shadow: 0 18px 42px rgba(208, 100, 47, 0.28); }

.btn-secondary {
  min-height: 52px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  border: 1px solid rgba(20, 17, 15, 0.1);
  font-weight: 700;
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.page-main {
  padding: 24px 0 72px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.hero-copy,
.hero-showcase {
  position: relative;
}

.hero-copy {
  display: grid;
  align-content: start;
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 248, 238, 0.88), rgba(255, 255, 255, 0.54));
  border: 1px solid rgba(20, 17, 15, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise-in 0.6s ease both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -12% 6% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 100, 47, 0.2), transparent 70%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: -20% auto auto -8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 139, 118, 0.14), transparent 72%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(20, 17, 15, 0.08);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(208, 100, 47, 0.16);
}

.hero-title {
  font-size: clamp(2.8rem, 4.7vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 9ch;
  position: relative;
  z-index: 1;
}

.hero-title span { color: var(--accent-strong); }

.hero-text {
  margin-top: 16px;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-tags {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(20, 17, 15, 0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-showcase {
  display: grid;
  gap: 16px;
  animation: rise-in 0.7s ease both;
}

.hero-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card--ledger {
  background: linear-gradient(155deg, #18212c, #11161e 70%);
  color: #f8ebd7;
}

.hero-card--ledger::after {
  content: "";
  position: absolute;
  inset: auto -16% -20% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 100, 47, 0.28), transparent 70%);
}

.hero-card-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfba97;
}

.hero-card-title {
  margin-top: 12px;
  font-size: 1.72rem;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

.hero-card-note {
  margin-top: 12px;
  color: rgba(248, 235, 215, 0.72);
  line-height: 1.6;
  max-width: 30ch;
}

.hero-card-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.hero-card-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8ebd7;
}

.hero-card-list span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ea8751, #d0642f);
  color: #fff8f1;
  font-weight: 700;
}

.hero-card--sample {
  background: linear-gradient(145deg, rgba(255, 251, 245, 0.94), rgba(255, 241, 224, 0.84));
  border: 1px solid rgba(20, 17, 15, 0.08);
}

.sample-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sample-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-pill--muted {
  background: rgba(17, 22, 30, 0.08);
  color: var(--text-muted);
}

.sample-market {
  margin-top: 14px;
  font-size: 1.16rem;
  line-height: 1.28;
  max-width: none;
}

.sample-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sample-stat {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 17, 15, 0.08);
}

.sample-stat strong {
  display: block;
  font-size: 1.22rem;
}

.sample-stat span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(20, 17, 15, 0.08);
  box-shadow: 0 18px 50px rgba(42, 29, 17, 0.08);
  animation: rise-in 0.75s ease both;
}

.stat-card .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.stat-card .value {
  margin-top: 14px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.stat-card .value.green { color: var(--mint); }

.section { margin-top: 28px; }

.story-strip,
.section-shell {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(20, 17, 15, 0.08);
  box-shadow: 0 22px 58px rgba(42, 29, 17, 0.08);
}

.story-strip { margin-bottom: 28px; }

#activeSection { scroll-margin-top: 120px; }

.intro-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.intro-strip__copy {
  display: grid;
  gap: 10px;
}

.intro-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 18ch;
}

.intro-copy {
  max-width: 58ch;
  color: var(--text-muted);
  line-height: 1.6;
}

.intro-strip__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.intro-dismiss {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(20, 17, 15, 0.12);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.intro-dismiss:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(20, 17, 15, 0.18);
  color: var(--text);
}

.is-hidden { display: none !important; }

.landing-cta .intro-strip__actions {
  justify-content: flex-start;
}

.story-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-dark);
  color: #fff7ec;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  letter-spacing: normal;
}

.story-title,
.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.story-copy,
.section-copy {
  max-width: 52ch;
  color: var(--text-muted);
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(20, 17, 15, 0.08);
  min-height: 190px;
  position: relative;
  overflow: hidden;
  animation: rise-in 0.8s ease both;
}

.step::after {
  content: "";
  position: absolute;
  inset: auto -14% -36% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 100, 47, 0.12), transparent 70%);
}

.step .num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-dark);
  color: #fff8f1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.16rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.step .desc {
  color: var(--text-muted);
  line-height: 1.55;
}

.section-shell { margin-bottom: 28px; }
.section-shell--muted { background: rgba(255, 251, 245, 0.64); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.signals-stack {
  display: grid;
  gap: 18px;
}

.card {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(20, 17, 15, 0.08);
  box-shadow: 0 26px 60px rgba(42, 29, 17, 0.1);
  overflow: hidden;
  animation: rise-in 0.55s ease both;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 45%);
}

.card-urgent {
  background: linear-gradient(160deg, rgba(255, 245, 243, 0.95), rgba(255, 234, 231, 0.74));
  border-color: rgba(186, 58, 51, 0.18);
}

.card-expiry {
  background: linear-gradient(160deg, rgba(255, 250, 241, 0.95), rgba(255, 241, 219, 0.75));
  border-color: rgba(173, 124, 34, 0.22);
}

.signal-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.signal-card__lead {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.signal-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.signal-card__eyebrow span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(17, 22, 30, 0.06);
  color: var(--text-muted);
}

.card-question {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 25ch;
}

.signal-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.signal-price {
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(17, 22, 30, 0.06);
  color: var(--text-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-urgent,
.badge--urgent {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge-expiry,
.badge--expiry {
  background: var(--gold-soft);
  color: var(--gold);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 17, 15, 0.08);
  color: var(--text-muted);
}

.meta-pill strong {
  color: var(--text);
  font-size: 1rem;
}

.meta-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.market-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 17, 15, 0.08);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  width: fit-content;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.market-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(20, 17, 15, 0.16);
}

.lock-area {
  margin-top: 22px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, #141a22, #1d2734);
  color: #fff4e2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.paywall-copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.lock-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.paywall-title {
  font-size: 1rem;
  font-weight: 700;
}

.lock-hint {
  margin-top: 4px;
  color: rgba(255, 244, 226, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.btn-unlock {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ea8751, #d0642f);
  color: #fff9f0;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(208, 100, 47, 0.28);
  white-space: nowrap;
}

.btn-unlock:hover { box-shadow: 0 20px 46px rgba(208, 100, 47, 0.34); }

.btn-unlock:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-unlock.loading {
  position: relative;
  color: transparent;
}

.btn-unlock.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border: 2px solid #fff8f1;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.direction {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.direction.yes {
  background: var(--mint-soft);
  color: var(--mint);
}

.direction.no {
  background: var(--danger-soft);
  color: var(--danger);
}

.result-bar {
  background: rgba(17, 22, 30, 0.05);
  color: var(--text);
}

.pnl {
  font-size: 1.02rem;
  font-weight: 700;
}

.pnl.positive { color: var(--mint); }
.pnl.negative { color: var(--danger); }

.track-direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  white-space: nowrap;
}

.track-direction.yes {
  background: var(--mint-soft);
  color: var(--mint);
}

.track-direction.no {
  background: var(--danger-soft);
  color: var(--danger);
}

.empty {
  padding: 52px 24px;
  border-radius: 24px;
  border: 1px dashed rgba(20, 17, 15, 0.18);
  background: rgba(255, 255, 255, 0.42);
  text-align: center;
  color: var(--text-muted);
  line-height: 1.7;
}

.empty .icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: rgba(17, 22, 30, 0.07);
  color: var(--text);
  font-size: 1.5rem;
}

.token-picker {
  width: 100%;
  display: grid;
  gap: 18px;
}

.picker-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.picker-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 244, 226, 0.62);
}

.picker-title {
  margin-top: 6px;
  font-size: 1.08rem;
  font-weight: 700;
}

.picker-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.picker-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.btn-pay {
  min-height: 74px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff4e2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-pay:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-pay:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.btn-pay .pay-token {
  font-weight: 700;
  font-size: 1rem;
}

.btn-pay .pay-amount {
  font-size: 0.82rem;
  color: rgba(255, 244, 226, 0.66);
}

.btn-pay.loading {
  position: relative;
  color: transparent;
}

.btn-pay.loading .pay-amount,
.btn-pay.loading .pay-token {
  color: transparent;
}

.btn-pay.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border: 2px solid #fff4e2;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.other-token {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.receiver-addr {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #fff4e2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  word-break: break-all;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.receiver-addr:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.hash-row {
  display: flex;
  gap: 10px;
}

.hash-input {
  flex: 1;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff4e2;
  padding: 0 16px;
  font-family: "IBM Plex Mono", monospace;
  outline: none;
}

.hash-input::placeholder { color: rgba(255, 244, 226, 0.42); }

.hash-input:focus {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.btn-verify {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff4e2;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-verify:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-verify:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(17, 22, 30, 0.94);
  color: #fff4e2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(17, 22, 30, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.toast.error { background: rgba(123, 29, 24, 0.96); }

footer {
  padding: 4px 0 40px;
  color: var(--text-muted);
}

.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(20, 17, 15, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-copy {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-note {
  max-width: 44ch;
  line-height: 1.6;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-panel { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar { padding: 14px 0; }
  .topbar-inner, .topbar-actions { align-items: flex-start; }
  .brand-mark-wrap {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
  .hero-copy,
  .hero-card,
  .story-strip,
  .section-shell,
  .card,
  .footer-card {
    padding: 22px;
    border-radius: 24px;
  }
  .hero-title { max-width: none; }
  .sample-stats { grid-template-columns: 1fr; }
  .signal-card__head,
  .section-head,
  .story-head,
  .intro-strip,
  .lock-area {
    flex-direction: column;
    align-items: stretch;
  }
  .intro-strip__actions { justify-content: flex-start; }
  .signal-card__side { align-items: flex-start; }
  .lock-area { gap: 14px; }
  .btn-unlock,
  .btn-verify { width: 100%; }
  .hash-row { flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: min(100vw - 24px, 100%); }
  .stats-bar { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn,
  .hero-actions a,
  .intro-strip__actions .btn,
  .intro-dismiss { width: 100%; }
  .topbar-actions { width: 100%; }
  .status-chip,
  .btn-connect {
    width: 100%;
    justify-content: center;
  }
  .card-question { max-width: none; }
  .picker-options { grid-template-columns: 1fr 1fr; }
}
