/* TrustThenVerify — Landing Page
   Dark blue palette. Blue accent. Trust shield brand. */

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

:root {
  --bg: #080b12;
  --surface: #0e1320;
  --surface-2: #141b2d;
  --border: #1a2440;
  --border-light: #1e2a4a;
  --text: #e8ecf4;
  --text-2: #8b95a8;
  --text-3: #556177;
  --accent: #3b9eff;
  --accent-dim: rgba(59, 158, 255, 0.10);
  --accent-glow: rgba(59, 158, 255, 0.25);
  --cyan: #5ef0e6;
  --mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Cascadia Code', monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain — breaks the "too clean" feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 9999;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code { font-family: var(--mono); }


/* ─── Nav ──────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; color: var(--text); }
.logo-mark { color: var(--text-3); flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; text-decoration: none !important; }

.nav-status { display: flex; align-items: center; gap: 0.4rem; }
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
}
.dot.down {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}


/* ─── Brand Logo ──────────────────────────────────────── */

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  flex-shrink: 0;
}


/* ─── Hero ─────────────────────────────────────────────── */

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero .eyebrow,
.hero h1,
.hero .hero-sub {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -40px;
  width: 600px;
  height: 340px;
  background: url('banner.jpg') center/cover no-repeat;
  opacity: 0.08;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.install-box {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text);
  user-select: all;
  cursor: text;
}

.text-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s;
}
.text-link:hover { color: var(--text); text-decoration: none; }


/* ─── Demo / Code ──────────────────────────────────────── */

.demo {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.demo-lead {
  margin-bottom: 2rem;
}
.demo-lead {
  text-align: center;
}
.demo-lead h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.demo-lead p {
  color: var(--text-2);
  font-size: 0.9375rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.code-window {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}

.code-chrome {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 38px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.file-tab {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-2);
  padding: 0 0.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--accent);
  margin-bottom: -1px;
}

.code-window pre {
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--text-2);
  tab-size: 2;
}

.code-window .kw { color: #a78bfa; }
.code-window .fn { color: #5ef0e6; }
.code-window .str { color: #7eb8f7; }
.code-window .num { color: #b5cea8; }
.code-window .cm { color: #3d4c66; }


/* ─── Flow (How it works) ──────────────────────────────── */

.flow {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  border-top: 1px solid var(--border);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.flow-step {
  padding: 2rem 2rem 2rem 0;
  border-left: 1px solid var(--border-light);
  padding-left: 1.5rem;
}
.flow-step:first-child {
  border-left: 1px solid var(--accent);
}

.sn {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-3);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.flow-step h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.flow-step p {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
}


/* ─── Capabilities ─────────────────────────────────────── */

.capabilities {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  border-top: 1px solid var(--border);
}

.capabilities h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.cap {
  padding: 1.75rem 2rem 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.cap:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}
/* Remove bottom border on last row */
.cap:nth-last-child(-n+2) {
  border-bottom: none;
}

.cap h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.cap p {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
}

.cap code {
  font-size: 0.75rem;
  background: var(--surface-2);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: var(--text);
}


/* ─── Numbers ──────────────────────────────────────────── */

.numbers {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  border-top: 1px solid var(--border);
}

.num-row {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.num-item {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.big {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}


/* ─── Footer ───────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-3);
}
.footer-left svg { color: var(--text-3); }

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.75rem;
  color: var(--text-3);
  font-weight: 500;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-2); text-decoration: none; }


/* ─── Hamburger Button ────────────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─── Responsive ───────────────────────────────────────── */

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(8, 11, 18, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 2rem;
    z-index: 105;
    overflow-y: auto;
  }
  .nav-links.nav-open {
    display: flex;
  }
  .nav-links a {
    padding: 0.75rem 0;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: auto;
    border-bottom: none;
  }

  .hero { padding: 4rem 1.5rem 3rem; }
  .hero h1 { font-size: 2rem; }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .flow-step {
    padding: 1.25rem 0 1.25rem 1.25rem;
    border-left: 1px solid var(--border-light);
  }
  .flow-step:first-child {
    border-left: 1px solid var(--accent);
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap {
    padding: 1.25rem 0;
    border-left: none !important;
  }
  .cap:nth-child(even) {
    padding-left: 0;
  }
  .cap:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
  .cap:last-child {
    border-bottom: none;
  }

  .num-row {
    gap: 2rem;
  }
  .big { font-size: 2rem; }

  .demo { padding: 1rem 1.5rem 4rem; }
  .flow, .capabilities, .numbers { padding-left: 1.5rem; padding-right: 1.5rem; }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .install-box { font-size: 0.75rem; }
  .demo, .flow, .capabilities, .numbers { padding-left: 1rem; padding-right: 1rem; }
}


/* ─── Badges ──────────────────────────────────────────── */

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  line-height: 1;
}
.badge-proposed { background: var(--accent-dim); color: var(--accent); }
.badge-active { background: rgba(94, 240, 230, 0.12); color: var(--cyan); }
.badge-delivered { background: rgba(167, 139, 250, 0.12); color: #a78bfa; }
.badge-released { background: rgba(52, 211, 153, 0.12); color: #34d399; }
.badge-failed { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.badge-disputed { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.badge-resolved { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }


/* ─── Tab Bar ─────────────────────────────────────────── */

.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.tab {
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }


/* ─── Filter Pills ────────────────────────────────────── */

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.pill {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.pill:hover { border-color: var(--accent); color: var(--text); }
.pill.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }


/* ─── Card Grid ───────────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--accent); }
.card-clickable { cursor: pointer; }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: var(--mono);
}

.card-body {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}


/* ─── Stats Bar ───────────────────────────────────────── */

.stats-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.stat {
  text-align: center;
}
.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  font-weight: 500;
}


/* ─── Page Container ──────────────────────────────────── */

.page-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
.page-container h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.page-subtitle {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}


/* ─── Form Controls (shared) ──────────────────────────── */

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 80px; font-family: var(--sans); }


/* ─── Env Toggle (shared) ─────────────────────────────── */

.env-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}
.env-toggle select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  color: var(--text);
  font-size: 0.8125rem;
}


/* ─── Escrow Detail Panel ─────────────────────────────── */

.escrow-detail {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 0.75rem;
}
.escrow-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
}
.escrow-detail-label { color: var(--text-3); }
.escrow-detail-value { color: var(--text); font-family: var(--mono); font-size: 0.75rem; }

.escrow-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}


/* ─── Capability Tags ─────────────────────────────────── */

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.625rem;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }


/* ─── Loading / Empty States ──────────────────────────── */

.loading-spinner {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}
.loading-spinner::after {
  content: '';
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-3);
  font-size: 0.875rem;
}
.empty-state a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ─── Buttons (shared with onboard) ───────────────────── */

.btn-page {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}
.btn-page:hover { opacity: 0.85; text-decoration: none; }
.btn-page:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-outline-page {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text);
  border-radius: 6px;
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s;
}
.btn-outline-page:hover { border-color: var(--accent); }

.btn-sm-page { padding: 0.35rem 0.75rem; font-size: 0.75rem; }

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.25); }


/* ─── Status Message (shared) ─────────────────────────── */

.msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-family: var(--mono);
  display: none;
  word-break: break-all;
}
.msg.show { display: block; }
.msg.ok { background: rgba(52, 211, 153, 0.1); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.2); }
.msg.err { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.msg.info { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(59, 158, 255, 0.2); }


/* ─── Step Wizard ─────────────────────────────────────── */

.step { display: none; }
.step.active { display: block; }
.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  flex-shrink: 0;
}
.step.active .step-num { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.step-title { font-size: 1rem; font-weight: 600; }


/* ─── Responsive: New Components ──────────────────────── */

@media (max-width: 768px) {
  .card-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 1.25rem; }
  .page-container { padding: 4rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
  .page-container { padding: 3rem 1rem 2.5rem; }
  .stats-bar { flex-direction: column; gap: 1rem; }
  .escrow-actions { flex-direction: column; }
  .tab { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
}
