/* HonestFill landing — dark dev-tool aesthetic, system fonts, no dependencies. */

:root {
  --bg: #0b0d10;
  --bg-raised: #12151a;
  --border: #23282f;
  --text: #e6e9ee;
  --text-dim: #9aa4b0;
  --accent: #4ade80;
  --accent-dim: #166534;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 13, 16, 0.9);
  backdrop-filter: blur(8px);
}

.wordmark { font-family: var(--mono); font-weight: 700; color: var(--accent); }

nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}
nav a:hover { color: var(--text); }
nav .nav-cta { color: var(--accent); }

main { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

.hero { text-align: left; padding-top: 4.5rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.subhead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #052e12;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
}
.button:hover { filter: brightness(1.1); }

h2 { font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.proof p { color: var(--text-dim); max-width: 700px; }
.proof strong { color: var(--text); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.stat .num {
  display: block;
  font-family: var(--mono);
  font-size: 1.6rem;
  color: var(--accent);
}

.stat .label { font-size: 0.85rem; color: var(--text-dim); }

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

.grid article {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.grid p { color: var(--text-dim); font-size: 0.95rem; }

.badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  vertical-align: middle;
  white-space: nowrap;
}

.waitlist p { color: var(--text-dim); max-width: 640px; margin-bottom: 1rem; }
.waitlist strong { color: var(--text); }
.tally-slot { margin: 1.5rem 0; }

.fine { font-size: 0.8rem; color: var(--text-dim); opacity: 0.8; }

/* --- Sample report page --- */
.hero-extra { margin-top: 1rem; }
.hero-extra a { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); text-decoration: none; }
.hero-extra a:hover { text-decoration: underline; }

.report-page .kicker { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.report-page .sub { color: var(--text-dim); max-width: 700px; }
.report-head { padding-bottom: 0; }

.verdict { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; }
.card .card-label { font-family: var(--mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 0.5rem; }
.card .big { font-family: var(--mono); font-size: 1.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.card.lie .big { color: var(--text-dim); text-decoration: line-through; }
.card.truth .big { color: #f87171; }
.card.drag .big { color: var(--accent); }
.card .dim, .report-page .dim { color: var(--text-dim); font-size: 0.9rem; }
.card .tag { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); margin-top: 0.5rem; opacity: 0.85; }

.report-page table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.8rem; }
.report-page th, .report-page td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.report-page th { color: var(--text-dim); font-weight: 500; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.06em; }
.table-wrap { overflow-x: auto; }
.pos { color: var(--accent) !important; }
.neg { color: #f87171 !important; }

.cta-band { text-align: center; }
.cta-band p { color: var(--text-dim); margin-bottom: 1.25rem; }

.site-footer {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 3rem; }
}

/* Tally inline embed */
.tally-embed iframe { border-radius: 12px; background: #fff; margin-top: 1.5rem; }
.tally-slot { margin-top: 0.9rem; font-size: 0.85rem; }
.tally-slot a { color: var(--text-dim); }

/* Report page */
.report-stats { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.stats-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem 1.1rem; }
.stats-card .big { display: block; font-weight: 700; font-size: 1.05rem; }
.stats-card .label { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; }

.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.5rem 0 0.5rem; }
.verdict { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.4rem; }
.verdict .v-head { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.verdict .v-num { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.v-num.neg { color: #ef6a6a; }
.v-num.pos { color: #3fbf6f; }
.v-head.neg { color: #ef6a6a; }
.v-head.pos { color: #3fbf6f; }
.verdict .fine { color: var(--text-dim); font-size: 0.85rem; margin-top: 0.5rem; }
.verdict.trade-list ul { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--text-dim); font-size: 0.9rem; }
.strike .v-num { text-decoration: line-through; text-decoration-color: #ef6a6a; text-decoration-thickness: 3px; opacity: 0.8; }
.verdict.delta { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.delta-tag { display: inline-block; margin-top: 0.6rem; font-size: 0.75rem; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0.2rem 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; }

.ledger { margin-top: 3rem; }
.folds-section { margin-top: 3rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.92rem; }
th, td { text-align: right; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.82rem; color: var(--text-dim); }
tbody tr:last-child td { border-bottom: none; }
td { color: var(--text); }
footer td { font-weight: 700; color: var(--text); }
.pos { color: #3fbf6f; }
.neg { color: #ef6a6a; }

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.rule { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; }
.rule h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.rule p { color: var(--text-dim); font-size: 0.85rem; }

.folds-note, .ledger-note { margin-top: 0.9rem; }
.signal-strong { color: #3fbf6f; }
.signal-warn { color: #efb35a; }
.source { margin-top: 2.5rem; color: var(--text-dim); font-size: 0.8rem; }
.source code { color: var(--text-dim); }

.ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 3rem; padding: 1.75rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.ctas h3 { width: 100%; margin: 0 0 0.25rem; }
.ctas .sub { width: 100%; color: var(--text-dim); font-size: 0.9rem; margin: 0 0 0.75rem; }
.button.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }

/* Tally inline embed */
.tally-embed iframe { border-radius: 12px; background: #fff; margin-top: 1.5rem; }
.tally-slot { margin-top: 0.9rem; font-size: 0.85rem; }
.tally-slot a { color: var(--text-dim); }

/* Report page */
.report-stats { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.stats-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem 1.1rem; }
.stats-card .big { display: block; font-weight: 700; font-size: 1.05rem; }
.stats-card .label { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; }

.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.5rem 0 0.5rem; }
.verdict { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.4rem; }
.verdict .v-head { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.verdict .v-num { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.v-num.neg { color: #ef6a6a; }
.v-num.pos { color: #3fbf6f; }
.v-head.neg { color: #ef6a6a; }
.v-head.pos { color: #3fbf6f; }
.verdict .fine { color: var(--text-dim); font-size: 0.85rem; margin-top: 0.5rem; }
.verdict.trade-list ul { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--text-dim); font-size: 0.9rem; }
.strike .v-num { text-decoration: line-through; text-decoration-color: #ef6a6a; text-decoration-thickness: 3px; opacity: 0.8; }
.verdict.delta { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.delta-tag { display: inline-block; margin-top: 0.6rem; font-size: 0.75rem; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0.2rem 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; }

.ledger { margin-top: 3rem; }
.folds-section { margin-top: 3rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.92rem; }
th, td { text-align: right; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.82rem; color: var(--text-dim); }
tbody tr:last-child td { border-bottom: none; }
td { color: var(--text); }
footer td { font-weight: 700; color: var(--text); }
.pos { color: #3fbf6f; }
.neg { color: #ef6a6a; }

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.rule { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; }
.rule h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.rule p { color: var(--text-dim); font-size: 0.85rem; }

.folds-note, .ledger-note { margin-top: 0.9rem; }
.signal-strong { color: #3fbf6f; }
.signal-warn { color: #efb35a; }
.source { margin-top: 2.5rem; color: var(--text-dim); font-size: 0.8rem; }
.source code { color: var(--text-dim); }

.ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 3rem; padding: 1.75rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.ctas h3 { width: 100%; margin: 0 0 0.25rem; }
.ctas .sub { width: 100%; color: var(--text-dim); font-size: 0.9rem; margin: 0 0 0.75rem; }
.button.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
