:root {
  /* Surfaces */
  --bg:            #0a0a0a;
  --surface:       #111111;
  --border:        #1f1f1f;
  --border-bright: #2a2a2a;

  /* Accent (primary) */
  --accent:        #00ff87;
  --accent-dim:    rgba(0, 255, 135, 0.1);

  /* Semantic */
  --red:           #ff4444;
  --red-dim:       rgba(255, 68, 68, 0.08);
  --blue:          #7eb8ff;

  /* Text */
  --text:          #e0e0e0;
  --muted:         #555555;
  --muted-bright:  #777777;

  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #000; }

a { color: var(--text); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Grain overlay */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.03'/%3E%3C/svg%3E");
}

/* Layout */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .inner {
  height: 56px;
  padding: 18px 32px;
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo .bracket { color: var(--muted-bright); }
nav.primary {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav.primary a.nav-link {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-bright);
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
}
nav.primary a.nav-link:hover { color: var(--text); }
nav.primary .cta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 14px;
  transition: background 0.15s ease;
  letter-spacing: 0.05em;
}
nav.primary .cta:hover { background: var(--accent-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px 22px;
  border: 1px solid var(--border-bright);
  background: transparent;
  color: var(--text);
  transition: all 0.15s ease;
}
.btn:hover { border-color: var(--muted-bright); color: var(--text); }
.btn-primary {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Section labels ---------- */
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 32px 0;
}
.section-label .slash { color: var(--accent); margin-right: 8px; }

section { position: relative; }
.section-major { padding: 96px 0; border-bottom: 1px solid var(--border); }
.section-compact { padding: 48px 0; border-bottom: 1px solid var(--border); }

h2.heading {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
  color: var(--text);
  max-width: 720px;
}
p.lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  color: var(--muted-bright);
  margin: 0 0 48px 0;
  max-width: 600px;
  line-height: 1.6;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -250px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--border-bright);
  background: var(--surface);
  margin-bottom: 32px;
}
.ticker .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

h1.headline {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 24px 0;
}
h1.headline .stop { color: var(--accent); }
.hero p.sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  color: var(--muted-bright);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 40px 0;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 12px;
  color: var(--muted-bright);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stat-pill .num { color: var(--text); font-weight: 500; }
.stat-pill .accent { color: var(--accent); }

/* ---------- Terminal preview ---------- */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  font-family: var(--mono);
  font-size: 12px;
  overflow: hidden;
  position: relative;
}
.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #0d0d0d;
}
.terminal-bar .title {
  color: var(--muted-bright);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.terminal-bar .dots {
  display: flex; gap: 6px;
}
.terminal-bar .dots span {
  width: 8px; height: 8px;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
}
.terminal-bar .live {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.terminal-bar .live::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

.thread-table {
  width: 100%;
  border-collapse: collapse;
}
.thread-table thead th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #0d0d0d;
}
.thread-table thead th.right { text-align: right; }
.thread-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.12s ease;
}
.thread-table tbody tr:last-child { border-bottom: none; }
.thread-table tbody tr:hover {
  background: #0d0d0d;
  border-color: var(--border-bright);
}
.thread-table td {
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  vertical-align: middle;
}
.thread-table td.right { text-align: right; }
.slug {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.slug .ext { color: var(--muted); font-size: 10px; }
.trait {
  font-size: 11px;
  color: var(--blue);
  display: inline-block;
}
.trait .key { color: var(--muted-bright); }
.price { color: var(--text); }
.price .unit { color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid;
}
.badge-active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}
.badge-active::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
.badge-inactive {
  color: var(--muted-bright);
  border-color: var(--border-bright);
  background: var(--surface);
}
.badge-inactive::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--muted);
  border-radius: 50%;
}

.terminal-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: #0d0d0d;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.terminal-footer .accent { color: var(--accent); }

/* ---------- Dashboard prototypes (embedded) ---------- */
/* .proto = wrapper for the wide table-row protos (collection, token offers).
   Auto-lister .nft-card has its own card chrome — it does NOT use .proto. */
.proto {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  font-family: var(--mono);
  color: var(--text);
  align-self: stretch;
  width: 100%;
}
/* accent rail on the left, like a "running" thread */
.proto::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
}
.proto a { text-decoration: none; color: inherit; }

/* slug link */
.row-slug-link {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}
.row-slug-link:hover { color: var(--accent); }
.os-icon {
  font-size: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

/* type-badge (matches dashboard CSS: blue tint, white text) */
.type-badge {
  display: inline-block;
  width: fit-content;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(126,184,255,0.1);
  color: #fff;
  border: 1px solid rgba(126,184,255,0.2);
}

/* col-value */
.col-value {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.col-value.green { color: var(--accent); }
.col-value.red   { color: var(--red); }
.col-value.small { font-size: 11px; color: var(--muted-bright); font-weight: 400; }

/* col-trait-label (the duplicate-ish label column) */
.col-trait-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-bright);
}

/* row-trait (sub-text under slug) — matches dashboard CSS */
.row-trait {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-bright);
  display: flex;
  align-items: center;
  gap: 4px;
}
.row-trait .trait-val { color: var(--text); }
.row-trait .muted, .row-trait [style*="muted"] { color: var(--muted); }

/* badges */
.proto .badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.proto .badge-active {
  background: rgba(0,255,135,0.1);
  color: var(--accent);
  border: 1px solid rgba(0,255,135,0.2);
}
.proto .badge-inactive {
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* action buttons (hover in accent green per real dashboard) */
.col-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.action-btn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-bright);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.action-btn.danger:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-dim);
}

/* ── thread-row (collection offers) — mirrors public/collection/styles.css ──
   Self-contained: provides its own surface + accent rail, no .proto wrapper. */
.thread-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.7fr 0.7fr 0.8fr 180px;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  font-family: var(--mono);
  color: var(--text);
}
.thread-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
}
.thread-row .col-identity {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.thread-row .row-slug-link {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.thread-row .row-trait .trait-val { color: var(--blue); }

/* ── thread-card (token offers) — card-row + stats-bar stacked ── */
/* The .thread-card lives directly inside .proto and uses the full width.
   It does NOT need its own background — .proto provides it. */
.thread-card .card-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr 0.6fr 0.5fr 0.7fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}
.thread-card .col-identity {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

/* stats-bar */
.stats-bar {
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.progress-track {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.progress-label {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.progress-label .accent { color: var(--accent); }

.stat-chips {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.stat-chip {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(126,184,255,0.1);
  color: #fff;
  border: 1px solid rgba(126,184,255,0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}
.stat-chip .chip-val { font-weight: 600; }

/* ── nft-card (auto-lister) — standalone, NO .proto wrapper ── */
.nft-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  width: 260px;
  transition: border-color 0.15s ease;
}
.nft-card:hover { border-color: var(--border-bright); }
.nft-card.listed .listed-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(0,255,135,0.12);
  border: 1px solid rgba(0,255,135,0.3);
  color: var(--accent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nft-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nft-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}
.nft-collection {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-bright);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nft-token {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nft-prices {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-value {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.price-value.min-price { color: var(--accent); }
.btn-list {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted-bright);
  padding: 7px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
}
.btn-list:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.btn-list.edit {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-list.edit:hover {
  background: var(--accent-dim);
}


/* ---------- What it does ---------- */
.features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}
.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  padding: 40px 36px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
  align-items: center;
}
.feature:last-child { border-bottom: none; }
.feature:hover { background: #0d0d0d; }
.feature .copy { min-width: 0; }
.feature .label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin: 0 0 18px 0;
}
.feature h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 14px 0;
}
.feature p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted-bright);
  line-height: 1.6;
  margin: 0;
}
.feature p + .feature-bullets,
.feature .feature-bullets + p { margin-top: 8px; }
.feature-bullets {
  list-style: disc;
  padding: 0 0 0 20px;
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted-bright);
  line-height: 1.6;
}
.feature-bullets li::marker { color: var(--accent); }
.feature .demo {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature .demo-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px 0;
  display: flex;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
}
.feature .demo-label .right { color: var(--muted-bright); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.step {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }
.step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin: 0 0 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.step .num .arrow {
  color: var(--accent);
  font-family: var(--mono);
}
.step h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 10px 0;
}
.step p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted-bright);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.plan {
  padding: 40px 36px 44px;
  position: relative;
}
.plan + .plan { border-left: 1px solid var(--border); }
.plan.pro { background: linear-gradient(180deg, var(--accent-dim) 0%, transparent 35%); }
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.plan-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-bright);
}
.plan.pro .plan-name { color: var(--accent); }
.plan-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 8px;
  background: var(--accent-dim);
}
.price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  font-family: var(--mono);
}
.price-block .amount {
  font-size: 44px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.plan.pro .price-block .amount { color: var(--accent); }
.price-block .per {
  font-size: 13px;
  color: var(--muted-bright);
  letter-spacing: 0.05em;
}
.plan-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted-bright);
  margin: 0 0 32px 0;
  line-height: 1.5;
  min-height: 42px;
}
.plan ul {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
}
.plan li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
}
.plan li:last-child { border-bottom: none; }
.plan li .v {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-bright);
  letter-spacing: 0.05em;
}
.plan.pro li .v { color: var(--accent); }
.plan li .v.dim { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.15s ease;
}
.faq-item:hover { border-color: var(--border-bright); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 4px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q .marker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-bright);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.2s ease;
}
.faq-item.open .faq-q .marker {
  color: var(--accent);
  transform: rotate(45deg);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 4px 24px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted-bright);
  line-height: 1.65;
  max-width: 760px;
}
.faq-a-inner code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  color: var(--text);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--text);
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}
.cta-strip h2 .stop { color: var(--accent); }
.cta-strip p {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--muted-bright);
  margin: 0 0 32px 0;
  font-size: 15px;
}

/* ---------- Footer ---------- */
footer.site {
  padding: 48px 0 56px;
}
footer.site .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
footer.site .brand {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
footer.site .tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
footer.site .links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
footer.site .links a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-bright);
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
}
footer.site .links a:hover { color: var(--accent); }
footer.site .meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site .meta .accent { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; gap: 48px; }
  .features { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--border); }
  .pricing { grid-template-columns: 1fr; }
  .plan + .plan { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  header.site .inner { padding: 14px 20px; }
  nav.primary { gap: 14px; }
  nav.primary a.nav-link { display: none; }
  .section-major { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .thread-table thead th:nth-child(2),
  .thread-table tbody td:nth-child(2) { display: none; }
  .terminal { font-size: 11px; }
  footer.site .meta { flex-direction: column; align-items: flex-start; }
}

/* Page-load reveal */
.reveal { opacity: 0; transform: translateY(8px); animation: reveal 0.6s ease forwards; }
.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.15s; }
.reveal.d3 { animation-delay: 0.25s; }
.reveal.d4 { animation-delay: 0.35s; }
.reveal.d5 { animation-delay: 0.45s; }
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .ticker .dot, .badge-active::before, .terminal-bar .live::before { animation: none; }
}

/* ---------- Subscribe modal ---------- */
.sub-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sub-modal[hidden] { display: none; }
.sub-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sub-modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 32px 28px 28px;
  font-family: var(--mono);
  color: var(--text);
  animation: subModalIn 0.18s ease;
}
@keyframes subModalIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sub-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--muted-bright);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}
.sub-modal-close:hover { color: var(--text); }

.sub-modal-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.sub-modal-tier {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-bright);
}
.sub-modal-tier span { color: var(--accent); }
.sub-modal-title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.1;
  margin: 6px 0 4px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.sub-price-unit {
  font-size: 13px;
  color: var(--muted-bright);
  letter-spacing: 0.1em;
}
.sub-modal-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.sub-modal-meta span span { color: var(--text); }

.sub-step-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px 0;
}
.sub-step-label-done { color: var(--accent); }
.sub-step-label-error { color: var(--red); }
.sub-step-copy {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted-bright);
  line-height: 1.55;
  margin: 0 0 16px 0;
}
.sub-step-copy a { color: var(--accent); }
.sub-step-copy a:hover { text-decoration: underline; }

.sub-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  position: relative;
}
.sub-field-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sub-field-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  word-break: break-all;
  display: block;
}
.sub-field-amount { color: var(--accent); font-weight: 500; }
.sub-field-address { font-size: 12px; padding-right: 64px; }
.sub-copy-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted-bright);
  cursor: pointer;
  transition: all 0.15s;
}
.sub-copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.sub-copy-btn.copied { border-color: var(--accent); color: var(--accent); }

.sub-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  width: 100%;
}
.sub-cta:hover { background: rgba(0, 255, 135, 0.18); }
.sub-cta:disabled { opacity: 0.5; cursor: not-allowed; }

.sub-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.sub-or {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.sub-progress {
  margin: 10px 0 18px;
}
.sub-progress-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.sub-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.4s ease;
}
.sub-progress-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-bright);
}
.sub-progress-label span { color: var(--accent); }

