/* =========================================================
   Exp1 — Polymarket-style redesign
   Palette: white, near-black, cool gray, vivid blue
   Type:    Inter (sans-serif)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --ivory:        #ffffff;
  --beige:        #f3f4f6;
  --beige-deep:   #e9ebee;
  --sand-line:    #e4e4e7;
  --ink:          #09090b;
  --ink-soft:     #71717a;
  --charcoal:     #18181b;
  --gold:         #2563eb;
  --gold-soft:    #3b82f6;
  --white:        #ffffff;

  --display: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body:    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin: 0 0 0.4em;
}

h1 { font-size: 3rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 600; }

/* ---- Seller flow step badges ---- */
.step-badge { margin: 0 0 2px; line-height: 1; }
.step-num { font-size: 3.6rem; font-weight: 700; color: var(--gold); letter-spacing: -3px; line-height: 1; font-family: var(--display); font-variant-numeric: lining-nums tabular-nums; }
.step-of { font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; letter-spacing: 0.04em; vertical-align: bottom; padding-bottom: 8px; display: inline-block; margin-left: 10px; }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.1em;
}
.eyebrow.light { color: var(--gold-soft); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  background: none;
  color: var(--ink);
}
.btn-solid {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}
.btn-solid:hover { background: #1d4ed8; border-color: #1d4ed8; color: #ffffff; }
.btn-outline {
  border-color: var(--sand-line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { border-color: var(--ink); background: transparent; }
.btn-ghost { color: var(--ink-soft); border-color: var(--sand-line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-light { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.7); color: #ffffff; }
.btn.full { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--sand-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  height: 64px;
}
.header-inner > .btn { margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  border: none;
  padding: 0;
  background: none;
}
.brand-mark.small { font-size: 0.95rem; }
.brand-name {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.main-nav { display: flex; align-items: center; gap: 0; margin-left: 32px; }
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
  padding: 0 16px;
}
.main-nav a + a { border-left: none; }
.main-nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background: #ffffff;
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--sand-line);
}
.hero-inner { max-width: 780px; }
.hero h1 { margin-bottom: 0.5em; letter-spacing: -1px; }
.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 2em;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.center-actions { justify-content: center; }

/* ---------- Stats ---------- */
.stats {
  background: var(--charcoal);
  color: #ffffff;
  padding: 40px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { padding: 0 10px; }
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  color: #60a5fa;
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

/* ---------- Generic section ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--beige); border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); }

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.two-col h2 { font-size: 2.2rem; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--sand-line);
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); border-color: #d4d4d8; }
.card h3 { color: var(--gold); margin-bottom: 0.5em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.925rem; }

/* ---------- Principles list ---------- */
.principles { list-style: none; margin: 0; padding: 0; }
.principles li {
  padding: 16px 0;
  border-bottom: 1px solid var(--sand-line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.principles li:last-child { border-bottom: none; }
.principles strong { color: var(--ink); font-family: var(--display); font-weight: 600; }

/* ---------- CSV upload & data window ---------- */
.upload-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}
.upload-bar label.btn { margin: 0; }
.upload-status {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.data-window {
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  background: var(--white);
  min-height: 160px;
  max-height: 360px;
  overflow: hidden;
  display: flex;
}
.data-empty {
  margin: auto;
  padding: 40px;
  color: var(--ink-soft);
  font-size: 0.925rem;
  text-align: center;
  width: 100%;
}
.data-scroll {
  width: 100%;
  max-height: 360px;
  overflow: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--sand-line);
  white-space: nowrap;
}
.data-table thead th {
  position: sticky;
  top: 0;
  background: var(--beige);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  z-index: 1;
}
.data-table tbody tr:nth-child(even) { background: var(--beige); }
.data-table tbody tr:hover { background: #eff6ff; }
.data-meta {
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}

/* ---------- Sortable columns & derived Type cell ---------- */
.data-table th.sortable { cursor: pointer; user-select: none; -webkit-user-select: none; }
.data-table th.sortable:hover { color: var(--gold); }
.data-table th.sorted { color: var(--gold); }
.data-table th .sort-ind { font-size: 0.72em; margin-left: 4px; }
.data-table td.cell-type { font-weight: 500; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.4px; color: var(--gold); }

/* ---------- Uploaded files list ---------- */
.file-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--sand-line);
  border-radius: 6px;
  background: var(--white);
  font-size: 0.875rem;
}
.file-row .file-name { color: var(--ink); font-weight: 500; }
.file-row .file-meta {
  margin-left: auto;
  color: var(--ink-soft);
}
.file-row .file-dup { color: var(--gold); }
.file-remove {
  background: none;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 4px;
  border-radius: 4px;
}
.file-remove:hover { color: #dc2626; background: #fef2f2; }

/* Duplicate rows */
.data-table tbody tr.dup-row { background: #eff6ff; color: var(--ink-soft); }
.data-table tbody tr.dup-row:hover { background: #dbeafe; }
.data-table tbody tr.dup-row td:first-child::before {
  content: "\21BB";
  color: var(--gold);
  margin-right: 6px;
  font-weight: bold;
}

/* ---------- Valuation panel ---------- */
.valuation {
  margin-top: 28px;
  border: 1px solid var(--sand-line);
  border-radius: 10px;
  background: var(--white);
  padding: 32px 30px;
}
.val-head { text-align: center; border-bottom: 1px solid var(--sand-line); padding-bottom: 22px; }
.val-figure {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  margin: 0;
  letter-spacing: -1px;
}
.val-sub { font-size: 0.875rem; color: var(--ink-soft); margin: 6px 0 0; }

.val-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin: 24px 0 28px;
  text-align: center;
}
.val-stat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.val-stat span {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.spend-control {
  margin: 0 0 22px;
  padding: 22px 24px;
  background: var(--beige);
  border: 1px solid var(--sand-line);
  border-radius: 8px;
}
.spend-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.spend-row label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.spend-amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: -0.5px;
}
input[type="range"]#spend-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--sand-line);
  outline: none;
  border-radius: 2px;
  margin: 6px 0;
}
#spend-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  cursor: pointer;
}
#spend-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  cursor: pointer;
}
.spend-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}
.spend-explainer { margin: 12px 0 0; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.65; }
.spend-explainer strong { color: var(--ink); font-weight: 600; }

.email-uplift {
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  padding: 22px 24px;
}
.email-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.925rem; font-weight: 500; }
.email-toggle input { width: 16px; height: 16px; accent-color: var(--gold); }
#email-input {
  margin: 12px 0 0;
  max-width: 340px;
  padding: 10px 13px;
  border: 1px solid var(--sand-line);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--body);
  font-size: 0.925rem;
}
#email-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.email-explainer { margin: 14px 0 0; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.65; }
.email-explainer strong { color: var(--ink); font-weight: 600; }
.email-result {
  margin: 14px 0 0;
  padding: 13px 16px;
  background: #eff6ff;
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-size: 0.925rem;
}

.methodology { margin-top: 22px; }
.methodology summary {
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 0;
}
.methodology summary:hover { color: var(--ink); }
.methodology-body { padding: 10px 4px 0; font-size: 0.875rem; color: var(--ink-soft); }
.methodology-body code {
  background: var(--beige);
  border: 1px solid var(--sand-line);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.85rem;
}
.methodology-body ul { padding-left: 20px; }
.methodology-body li { margin-bottom: 10px; line-height: 1.6; }
.methodology-body a { color: var(--gold); text-decoration: underline; }
.methodology-body a:hover { color: #1d4ed8; }
.methodology-note { font-size: 0.85rem; margin-top: 8px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .val-breakdown { grid-template-columns: 1fr; gap: 18px; }
  .val-figure { font-size: 2.4rem; }
}

/* ---------- Credits & referral ---------- */
.low-credit-banner {
  padding: 12px 16px; background: #fef2f2;
  border-left: 3px solid #dc2626; border-radius: 0 6px 6px 0;
  font-size: 0.875rem; color: #991b1b;
}
.low-credit-banner a { color: #dc2626; text-decoration: underline; cursor: pointer; }

.credit-preview {
  margin-top: 10px; padding: 12px 16px;
  background: var(--beige); border: 1px solid var(--sand-line); border-radius: 6px;
  font-size: 0.875rem; color: var(--ink-soft);
}
.credit-preview.warn { border-color: #dc2626; background: #fef2f2; color: #991b1b; }
.credit-preview.warn strong { color: #dc2626; }
.credit-preview strong { color: var(--ink); font-weight: 600; }
.credit-preview a { color: var(--gold); text-decoration: underline; cursor: pointer; }

.topup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin-top: 22px; }
.topup-card { border: 1px solid var(--sand-line); border-radius: 10px; padding: 24px 20px; background: var(--white); text-align: center; transition: box-shadow 0.15s, border-color 0.15s; }
.topup-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); border-color: var(--gold); }
.topup-price { font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--gold); margin: 0 0 4px; letter-spacing: -0.5px; }
.topup-card h4 { color: var(--ink); margin-bottom: 0.3em; font-size: 1rem; font-weight: 600; }
.topup-card p { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.5; }

.referral-box { background: var(--beige); border: 1px solid var(--sand-line); border-radius: 10px; padding: 28px 30px; margin-top: 28px; }
.referral-box h3 { color: var(--ink); margin-bottom: 0.3em; }
.referral-box p.sub { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 16px; }
.referral-link-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; margin: 12px 0; }
.referral-link {
  font-family: monospace; font-size: 0.85rem; padding: 10px 14px;
  border: 1px solid var(--sand-line); border-radius: 6px; background: var(--white);
  color: var(--ink-soft); flex: 1; min-width: 200px;
}
.referral-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 14px; margin-top: 20px; }
.ref-stat { text-align: center; padding: 16px 12px; background: var(--white); border: 1px solid var(--sand-line); border-radius: 8px; }
.ref-stat span { display: block; font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--gold); letter-spacing: -0.5px; }
.ref-stat small { font-size: 0.7rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }

.upgrade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 14px; margin-top: 22px; }
.upgrade-card { border: 1px solid var(--sand-line); border-radius: 8px; padding: 20px; background: var(--white); text-align: center; }
.upgrade-card h4 { color: var(--ink); margin-bottom: 0.2em; font-weight: 600; }
.upgrade-card .up-price { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--gold); margin: 0 0 6px; letter-spacing: -0.5px; }
.upgrade-card p { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.5; }
.change-plan-link { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gold); text-decoration: underline; cursor: pointer; background: none; border: none; padding: 0; }
.change-plan-link:hover { color: #1d4ed8; }

/* ---------- Audience Builder ---------- */
.builder-toggle-btn {
  width: 100%; text-align: left; margin: 16px 0 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; border-color: var(--sand-line); border-radius: 6px;
}
.builder-toggle-btn:hover { border-color: var(--gold); color: var(--gold); }
.sample-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--sand-line);
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
  border-radius: 4px;
  background: var(--beige);
}
tr.demo-row td { color: var(--ink-soft); }
tr.demo-row { background: var(--beige) !important; }

.upgrade-toggle {
  width: 100%; text-align: left; margin: 28px 0 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; border-color: var(--sand-line); border-radius: 6px;
}
.upgrade-toggle:hover { border-color: var(--gold); color: var(--gold); }
.upgrade-toggle .toggle-arrow { font-size: 0.8rem; transition: transform 0.2s; display: inline-block; }
.upgrade-drawer-panel {
  border: 1px solid var(--sand-line); border-top: none;
  border-radius: 0 0 8px 8px;
  background: var(--beige); padding: 22px 26px; margin-bottom: 8px;
}
.builder-panel {
  border: 1px solid var(--sand-line); border-top: none;
  border-radius: 0 0 8px 8px;
  background: var(--beige); padding: 26px 28px; margin-bottom: 20px;
}
.builder-panel h3 { color: var(--gold); margin-bottom: 0.3em; }
.builder-inputs { display: flex; flex-wrap: wrap; gap: 16px; margin: 18px 0; }
.builder-summary {
  margin-top: 16px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--sand-line); border-radius: 6px;
}
.builder-segment-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--sand-line);
  font-size: 0.875rem; gap: 12px;
}
.builder-segment-row:last-of-type { border-bottom: none; }
.builder-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 0 0; margin-top: 10px;
  border-top: 1px solid var(--sand-line);
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.builder-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.csv-note {
  margin-top: 10px; padding: 10px 14px;
  background: var(--charcoal); color: rgba(255,255,255,0.7);
  border-radius: 6px;
  font-family: monospace; font-size: 0.78rem; line-height: 1.7;
  overflow-x: auto; white-space: pre;
}

/* ---------- Seed audience progress panel ---------- */
.seed-progress-panel {
  margin-top: 20px; border: 1px solid var(--sand-line); border-radius: 10px;
  background: var(--white); padding: 24px 26px;
}
.seed-progress-header {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; flex-wrap: wrap;
}
.seed-count-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft);
}
.seed-count { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--gold); line-height: 1; letter-spacing: -1px; }
.threshold-row { margin-bottom: 14px; }
.threshold-row:last-of-type { margin-bottom: 0; }
.threshold-label {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-bottom: 5px;
}
.threshold-platform { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.threshold-status { font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; flex-shrink: 0; }
.threshold-status.met  { color: #16a34a; }
.threshold-status.unmet { color: var(--ink-soft); }
.threshold-track {
  background: var(--sand-line); height: 5px; border-radius: 3px; overflow: hidden; margin-bottom: 3px;
}
.threshold-fill { height: 5px; border-radius: 3px; background: var(--gold); transition: width 0.6s ease; }
.threshold-note { font-size: 0.78rem; color: var(--ink-soft); }
.seed-quality-note {
  margin-top: 18px; padding: 12px 16px;
  border-left: 2px solid var(--sand-line);
  font-size: 0.875rem; color: var(--ink-soft); line-height: 1.65;
}
.seed-quality-note strong { color: var(--ink); font-weight: 600; }

/* ---------- Listing key insight ---------- */
.ls-key-note {
  margin-top: 20px; padding: 16px 20px;
  background: #eff6ff; border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0;
  font-size: 0.875rem; color: var(--ink); line-height: 1.7;
}
.ls-key-note strong {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 1rem; color: var(--gold); margin-bottom: 5px;
}

/* ---------- Listing earnings ---------- */
.ls-score-earnings {
  display: block; font-size: 0.875rem;
  color: var(--gold-soft); margin-top: 6px; line-height: 1.5;
}
.ls-fee-note {
  margin-top: 20px; padding: 14px 18px;
  background: var(--beige); border-left: 3px solid var(--sand-line); border-radius: 0 6px 6px 0;
  font-size: 0.875rem; color: var(--ink-soft); line-height: 1.65;
}
.ls-fee-note strong { color: var(--ink); font-weight: 600; }
.ls-adblock-note {
  margin-top: 20px; padding: 16px 20px;
  background: #eff6ff; border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0;
  font-size: 0.875rem; color: var(--ink); line-height: 1.7;
}
.ls-adblock-note strong {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 1rem; color: var(--gold); margin-bottom: 5px;
}

/* ---------- Withdraw button tooltip ---------- */
.withdraw-wrap { position: relative; display: inline-block; }
.withdraw-wrap .withdraw-note {
  position: absolute; bottom: calc(100% + 9px);
  left: 50%; transform: translateX(-50%);
  width: 260px; background: var(--charcoal);
  color: rgba(255,255,255,0.85); font-size: 0.78rem;
  line-height: 1.55; padding: 10px 14px; border-radius: 6px;
  pointer-events: none; opacity: 0;
  transition: opacity 0.15s ease; z-index: 300;
  text-transform: none; letter-spacing: 0;
  font-family: var(--body);
}
.withdraw-wrap:hover .withdraw-note { opacity: 1; }

/* ---------- Listing summary ---------- */
.listing-score-block {
  display: grid; grid-template-columns: 190px 1fr;
  gap: 44px; align-items: start;
  margin-top: 28px; border: 1px solid var(--sand-line); border-radius: 10px;
  background: var(--white); padding: 32px 30px;
}
.ls-score-main { text-align: center; }
.ls-score-num {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: 4.5rem; line-height: 1; color: var(--gold); letter-spacing: -2px;
}
.ls-score-band {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 1.1rem; margin-top: 8px;
}
.ls-score-unlock {
  display: block; font-size: 0.8rem;
  color: var(--ink-soft); margin-top: 6px; line-height: 1.5;
}
.ls-signals { display: flex; flex-direction: column; gap: 12px; }
.ls-signal {
  display: grid; grid-template-columns: 155px 1fr 62px;
  gap: 12px; align-items: center;
}
.ls-signal-name { font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); }
.ls-signal-track {
  background: var(--sand-line); height: 5px;
  border-radius: 3px; overflow: hidden;
}
.ls-signal-fill {
  height: 5px; border-radius: 3px; background: var(--gold);
  transition: width 0.7s ease;
}
.ls-signal-pts {
  font-family: var(--display); font-weight: 600; font-size: 0.9rem;
  color: var(--ink); text-align: right; white-space: nowrap;
}
.ls-activity { list-style: none; margin: 10px 0 0; padding: 0; }
.ls-activity li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--sand-line);
  font-size: 0.875rem; color: var(--ink-soft);
}
.ls-activity li:last-child { border-bottom: none; }
.ls-activity-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 6px;
}
.ls-activity-label {
  color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 0.925rem;
}
@media (max-width: 860px) {
  .listing-score-block { grid-template-columns: 1fr; gap: 24px; }
  .ls-signal { grid-template-columns: 130px 1fr 52px; }
}

/* ---------- Field tooltips ---------- */
.tip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--sand-line);
  font-size: 0.6rem; font-weight: 600; color: var(--ink-soft);
  cursor: help; position: relative;
  vertical-align: middle; margin-left: 5px;
  flex-shrink: 0; text-transform: none; letter-spacing: 0;
  font-family: var(--body); background: var(--beige);
}
.tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  background: var(--charcoal); color: rgba(255,255,255,0.9);
  font-size: 0.78rem; line-height: 1.55;
  padding: 9px 13px; width: 230px; border-radius: 6px;
  white-space: normal; pointer-events: none;
  opacity: 0; transition: opacity 0.15s ease;
  z-index: 300; text-transform: none; letter-spacing: 0;
  font-family: var(--body);
}
.tip::before {
  content: '';
  position: absolute; bottom: calc(100% + 2px);
  left: 50%; transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--charcoal);
  pointer-events: none; opacity: 0;
  transition: opacity 0.15s ease; z-index: 300;
}
.tip:hover::after, .tip:hover::before { opacity: 1; }
.tip-wide::after { width: 380px; }

/* ---------- Seller flow ---------- */
.segment-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px;
}
.seg-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border: 1px solid var(--sand-line); border-radius: 20px;
  background: var(--white); font-size: 0.8rem; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--ink-soft); cursor: default;
}
.seg-chip .seg-count {
  font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--gold); line-height: 1;
}

.profile-form, .disclosures-form {
  margin-top: 28px; border: 1px solid var(--sand-line); border-radius: 10px;
  background: var(--white); padding: 28px 30px;
}
.profile-form h3, .disclosures-form h3 { color: var(--ink); margin-bottom: 0.3em; font-weight: 600; }
.profile-form p.sub, .disclosures-form p.sub {
  font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 20px;
}
.profile-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
}
.profile-field { display: flex; flex-direction: column; gap: 5px; }
.profile-field label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft);
}
.profile-field select, .profile-field input[type="text"],
.profile-field input[type="email"], .profile-field input[type="number"] {
  padding: 10px 13px; border: 1px solid var(--sand-line); border-radius: 6px;
  background: var(--white); font-family: var(--body); font-size: 0.925rem; color: var(--ink);
}
.profile-field select:focus, .profile-field input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.disclosures-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px;
}
.disc-field { display: flex; flex-direction: column; gap: 5px; }
.disc-field label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft);
}
.disc-field input[type="text"], .disc-field textarea {
  padding: 10px 13px; border: 1px solid var(--sand-line); border-radius: 6px;
  background: var(--white); font-family: var(--body); font-size: 0.925rem;
  color: var(--ink); resize: vertical;
}
.disc-field input:focus, .disc-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.disc-boost {
  margin-top: 12px; padding: 12px 14px; border-radius: 6px;
  background: #eff6ff; border-left: 3px solid var(--gold);
  font-size: 0.875rem; color: var(--ink-soft);
}
.disc-boost strong { color: var(--ink); font-weight: 600; }

.certify-block {
  margin-top: 20px; padding: 16px 18px; border-radius: 8px;
  border: 1px solid var(--sand-line); background: var(--beige);
}
.certify-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.925rem; cursor: pointer; color: var(--ink);
  text-transform: none; letter-spacing: 0; font-weight: 500;
}
.certify-label input { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; margin-top: 3px; }

.submit-block {
  margin-top: 28px; padding: 28px 30px; border-radius: 10px;
  border: 1px solid var(--sand-line); background: var(--charcoal);
}
.submit-block h3 { color: #60a5fa; margin-bottom: 0.4em; }
.submit-block p { color: rgba(255,255,255,0.7); font-size: 0.925rem; margin-bottom: 16px; }
.submit-block .standing-rules {
  list-style: none; margin: 0 0 20px; padding: 0;
}
.submit-block .standing-rules li {
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65); font-size: 0.875rem;
}
.submit-block .standing-rules li:last-child { border-bottom: none; }
.submit-block .standing-rules strong { color: #60a5fa; font-weight: 600; }
.submit-receipt {
  margin-top: 16px; padding: 14px 18px; border-radius: 0 6px 6px 0;
  background: #eff6ff; border-left: 3px solid var(--gold);
  font-size: 0.875rem; color: var(--ink);
}

.adblock-warning {
  margin-top: 16px; padding: 14px 18px; border-radius: 0 6px 6px 0;
  background: #1c0a0a; border-left: 3px solid #dc2626;
  font-size: 0.875rem; color: rgba(255,255,255,0.85);
}
.adblock-warning strong { color: #f87171; }

@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .disclosures-grid { grid-template-columns: 1fr; }
  .profile-form, .disclosures-form, .submit-block { padding: 20px 16px; }
}

/* ---------- Audience fork ---------- */
.fork { background: var(--beige); }
.path-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.path-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--sand-line); border-radius: 10px;
  padding: 28px 24px; transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.path-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); border-color: var(--gold); }
.path-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.path-card h3 { margin-bottom: 0.5em; }
.path-card p { color: var(--ink-soft); font-size: 0.925rem; flex: 1; margin-bottom: 0; }
.path-card .btn { margin-top: 22px; align-self: flex-start; }

/* role selector in login modal */
.role-select { border: none; padding: 0; margin: 0 0 20px; }
.role-select legend { font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; padding: 0; }
.role-select label { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 0.925rem; color: var(--ink); margin: 0 0 8px; cursor: pointer; }
.role-select input { width: 16px; height: 16px; accent-color: var(--gold); margin: 0; }

/* ---------- Package selection modal ---------- */
.pkg-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 4px; }
.pkg-card { border: 1px solid var(--sand-line); border-radius: 8px; padding: 20px; text-align: center; background: var(--white); }
.pkg-card:hover { border-color: var(--gold); box-shadow: 0 4px 12px rgba(37,99,235,0.1); }
.pkg-price { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); margin: 0 0 4px; letter-spacing: -0.5px; }
.pkg-card h3 { color: var(--gold); margin-bottom: 0.3em; font-size: 1rem; }
.pkg-card p { color: var(--ink-soft); font-size: 0.875rem; margin-bottom: 14px; line-height: 1.5; }
@media (max-width: 600px) { .pkg-cards { grid-template-columns: 1fr; } }

/* ---------- Unlock feedback ---------- */
.unlock-feedback-wrap { margin: 12px 0 0; }

/* ---------- Buyer filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin: 22px 0 16px; padding: 20px 22px; background: var(--beige); border: 1px solid var(--sand-line); border-radius: 10px; }
.filter-field { display: flex; flex-direction: column; gap: 5px; }
.filter-field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }
.filter-field select, .filter-field input[type="text"] { padding: 9px 12px; border: 1px solid var(--sand-line); border-radius: 6px; background: var(--white); font-family: var(--body); font-size: 0.875rem; color: var(--ink); }
.filter-field input[type="text"]:focus, .filter-field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.filter-field input[type="range"] { width: 170px; accent-color: var(--gold); }
.filter-meta { margin-left: auto; align-self: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }

/* illustrative-preview banner */
.preview-banner { padding: 13px 16px; background: #eff6ff; border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; font-size: 0.875rem; color: var(--ink-soft); margin: 0 0 8px; }
.preview-banner strong { color: var(--ink); font-weight: 600; }

/* quality score badges */
.qscore { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.qscore.high { color: #16a34a; }
.qscore.mid  { color: #d97706; }
.qscore.low  { color: #dc2626; }

/* macro-context panel (institutional) */
.macro-panel { margin-top: 28px; border: 1px solid var(--sand-line); border-radius: 10px; background: var(--white); padding: 28px 30px; }
.macro-panel h3 { color: var(--ink); margin-bottom: 0.5em; font-weight: 600; }
.macro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 16px; }
.macro-stat { text-align: center; }
.macro-stat span { display: block; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--ink); letter-spacing: -0.5px; }
.macro-stat small { font-size: 0.7rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }

@media (max-width: 860px) {
  .path-cards { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-meta { margin-left: 0; }
}

/* ---------- Dark section ---------- */
.section-dark { background: var(--charcoal); }
.contact-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.light { color: #ffffff; }
.muted { color: rgba(255,255,255,0.6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.5); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-inner .brand-mark { color: rgba(255,255,255,0.85); border-color: transparent; }
.footer-note { font-size: 0.8rem; margin: 0; line-height: 1.7; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  padding: 44px 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  animation: rise 0.2s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.modal-title { text-align: center; margin-bottom: 1.4em; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.6rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
  border-radius: 6px; padding: 2px 8px;
}
.modal-close:hover { color: var(--ink); background: var(--beige); }
.modal-foot {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 20px 0 0;
}

form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--sand-line);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
}
form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }

.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.2em;
  margin: -8px 0 14px;
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.faq-item { padding: 24px; border: 1px solid var(--sand-line); border-radius: 10px; background: var(--white); }
.faq-item h4 { color: var(--ink); margin-bottom: 0.5em; font-size: 0.975rem; font-weight: 600; }
.faq-item p  { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* ---------- Waitlist form ---------- */
.waitlist-form { display: flex; flex-direction: column; gap: 14px; }
.wl-input {
  width: 100%; padding: 13px 16px; font-size: 0.975rem; font-family: var(--body);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; background: rgba(255,255,255,0.1);
  color: #ffffff; box-sizing: border-box;
}
.wl-input::placeholder { color: rgba(255,255,255,0.35); }
.wl-input:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,0.2); }
.wl-role-group { border: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.wl-role-group legend { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 8px; width: 100%; }
.wl-radio { color: rgba(255,255,255,0.8); font-size: 0.875rem; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.wl-radio input { accent-color: #60a5fa; width: 15px; height: 15px; }

@media (max-width: 860px) {
  h1 { font-size: 2.2rem; }
  .main-nav { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .faq-grid { grid-template-columns: 1fr; }
  .step-num { font-size: 2.6rem; }
}

/* ---------- Glow perimeter effect ---------- */
.glow {
  --glow-line-color: rgba(255, 255, 255, 0.95);
  --glow-line-thickness: 2px;
  --glow-line-length: 18;
  --glow-blur-color: rgba(255, 255, 255, 0.7);
  --glow-blur-size: 12px;
  --animation-speed: 1500ms;
  --container-offset: 80px;
  position: relative;
  overflow: visible;
}

.glow-container {
  pointer-events: none;
  position: absolute;
  inset: calc(var(--container-offset) / -2);
  width: calc(100% + var(--container-offset));
  height: calc(100% + var(--container-offset));
  overflow: visible;
  opacity: 0;
}

.glow-blur,
.glow-line {
  width: calc(100% - var(--container-offset));
  height: calc(100% - var(--container-offset));
  x: calc(var(--container-offset) / 2);
  y: calc(var(--container-offset) / 2);
  fill: transparent;
  stroke: transparent;
  stroke-width: 5px;
  stroke-dasharray: var(--glow-line-length) calc(50 - var(--glow-line-length));
}

.glow-line {
  stroke: var(--glow-line-color);
  stroke-width: var(--glow-line-thickness);
}

.glow-blur {
  filter: blur(var(--glow-blur-size));
  stroke: var(--glow-blur-color);
  stroke-width: var(--glow-blur-size);
}

/* Auto-play once: JS adds .glow-play, animations run once and stop */
.glow.glow-play .glow-container {
  animation: glow-visibility var(--animation-speed) ease-in forwards;
}

.glow.glow-play .glow-blur,
.glow.glow-play .glow-line {
  animation: glow-travel var(--animation-speed) ease-in-out forwards;
}

@keyframes glow-visibility {
  0%        { opacity: 0; }
  15%, 80%  { opacity: 1; }
  100%      { opacity: 0; }
}

@keyframes glow-travel {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -160px; }
}

@keyframes glow-travel-ccw {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 160px; }
}

/* ---------- Counter-clockwise lime glow (on notice dismiss) ---------- */
.glow.glow-play-ccw {
  --glow-line-color: rgba(132, 255, 0, 0.95);
  --glow-blur-color: rgba(132, 255, 0, 0.7);
}
.glow.glow-play-ccw .glow-container {
  animation: glow-visibility var(--animation-speed) ease-in forwards;
}
.glow.glow-play-ccw .glow-blur,
.glow.glow-play-ccw .glow-line {
  animation: glow-travel-ccw var(--animation-speed) ease-in-out forwards;
}
