/* Reseller bookkeeping + profit tracker landing page.
   Same hand as the Reeve page: Instrument Sans, two weights (400/600), the
   same ruled type and spacing scales, the same paper. This product's accent
   is a ledger blue; it appears on the CTA and the net profit row only. */

:root {
  /* color: one ink, one paper, one accent */
  --paper: #faf8f4;
  --surface: #ffffff;
  --ink: #1c1915;
  --ink-2: #57524a;      /* secondary text, 7.3:1 on paper */
  --ink-3: #736d63;      /* micro text, 4.9:1 on paper */
  --line: #e7e2d9;
  --accent: #23577e;     /* pressure only: the CTA and the net profit row */
  --on-accent: #ffffff;

  /* type scale (ruled) */
  --s0: 13px;
  --s1: 15px;
  --s2: 17px;
  --s3: 21px;
  --s4: 26px;
  --s5: 34px;
  --s6: 44px;

  /* spacing scale (ruled) */
  --sp1: 4px;
  --sp2: 8px;
  --sp3: 12px;
  --sp4: 16px;
  --sp5: 24px;
  --sp6: 32px;
  --sp7: 48px;
  --sp8: 64px;
  --sp9: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: var(--s2);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--sp5);
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp4);
  padding-top: var(--sp4);
  padding-bottom: var(--sp4);
}

.wordmark {
  font-size: var(--s2);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.crumb {
  font-size: var(--s1);
  color: var(--ink-3);
  text-decoration: none;
  flex-shrink: 0;
}

.crumb:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  padding-top: var(--sp8);
  padding-bottom: var(--sp8);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp7);
  align-items: start;
}

.eyebrow {
  font-size: var(--s1);
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: var(--sp4);
}

h1 {
  font-size: var(--s5);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp5);
  text-wrap: balance;
}

.lede {
  font-size: var(--s2);
  color: var(--ink-2);
  margin-bottom: var(--sp4);
  max-width: 52ch;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp4);
  margin-top: var(--sp5);
  margin-bottom: var(--sp2);
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--s1);
  font-weight: 600;
  text-decoration: none;
  padding: var(--sp3) 20px;
  border-radius: 6px;
  letter-spacing: -0.005em;
}

.button:hover { background: #1b4463; }

.cta-note {
  font-size: var(--s1);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.micro {
  font-size: var(--s0);
  color: var(--ink-3);
}

/* ---------- hero artifact (the one loud toy) ---------- */

.artifact-wrap { margin: 0; }

.artifact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(28, 25, 21, 0.04), 0 12px 32px rgba(28, 25, 21, 0.06);
  overflow: hidden;
}

.artifact-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp3);
  padding: var(--sp3) var(--sp6);
  border-bottom: 1px solid var(--line);
}

.tab-name {
  font-size: var(--s0);
  font-weight: 600;
}

.artifact-tag {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

.artifact-body {
  padding: var(--sp6);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.dash-table th,
.dash-table td {
  text-align: right;
  font-size: var(--s1);
  font-weight: 400;
  padding: var(--sp2) 0 var(--sp2) var(--sp4);
  border-bottom: 1px solid var(--line);
}

.dash-table th[scope="row"],
.dash-table thead th:first-child {
  text-align: left;
  padding-left: 0;
}

.dash-table thead th {
  font-size: var(--s0);
  color: var(--ink-3);
  font-weight: 600;
}

.dash-table tbody th { color: var(--ink-2); }

.dash-table td { color: var(--ink); }

.net-row th,
.net-row td {
  font-weight: 600;
  border-top: 1px solid var(--ink);
  border-bottom: none;
}

.net-row th { color: var(--ink); }

.net-row td { color: var(--accent); }

.dash-stats {
  margin-top: var(--sp5);
  border-top: 1px solid var(--line);
  padding-top: var(--sp4);
}

.dash-stats p {
  display: flex;
  justify-content: space-between;
  gap: var(--sp4);
  font-size: var(--s1);
  color: var(--ink-2);
  padding: var(--sp1) 0;
}

.stat-num {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.artifact-caption {
  font-size: var(--s0);
  color: var(--ink-3);
  margin-top: var(--sp3);
  padding-left: var(--sp1);
}

/* ---------- sections ---------- */

.section {
  padding-top: var(--sp8);
  padding-bottom: var(--sp8);
  border-top: 1px solid var(--line);
}

h2 {
  font-size: var(--s4);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp5);
}

h3 {
  font-size: var(--s2);
  font-weight: 600;
  margin-bottom: var(--sp2);
}

.section-lede {
  font-size: var(--s2);
  color: var(--ink-2);
  margin-top: calc(-1 * var(--sp4));
  margin-bottom: var(--sp6);
}

/* what's inside */

.inside-rows { max-width: 840px; }

.inside-row {
  display: flex;
  gap: var(--sp5);
  padding: var(--sp5) 0;
  border-top: 1px solid var(--line);
}

.inside-row:first-child { border-top: none; padding-top: 0; }

.inside-count {
  flex-shrink: 0;
  width: 40px;
  font-size: var(--s3);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.inside-row p {
  font-size: var(--s1);
  color: var(--ink-2);
}

.tab-list {
  list-style: none;
  margin-top: var(--sp3);
}

.tab-list li {
  font-size: var(--s1);
  color: var(--ink-2);
  margin-bottom: var(--sp3);
  max-width: 64ch;
}

.tab-list li:last-child { margin-bottom: 0; }

.tab-list strong { color: var(--ink); font-weight: 600; }

/* what this is not */

.not-block {
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: var(--sp6);
  max-width: 840px;
}

.not-block h2 { margin-bottom: var(--sp3); }

.not-block p {
  color: var(--ink-2);
  max-width: 64ch;
}

/* price */

.price-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp7);
  align-items: start;
}

.price-amount {
  font-size: var(--s6);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.price-term {
  font-size: var(--s1);
  color: var(--ink-3);
  margin-top: var(--sp2);
}

.price-copy { max-width: 560px; }

.price-copy p {
  font-size: var(--s1);
  color: var(--ink-2);
  margin-bottom: var(--sp4);
}

.price-copy strong { color: var(--ink); font-weight: 600; }

.price-copy .cta-row { margin-top: var(--sp5); }

/* footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--sp6) 0;
}

.site-footer p {
  font-size: var(--s0);
  color: var(--ink-3);
}

.site-footer p + p { margin-top: var(--sp1); }

/* ---------- narrow ---------- */

@media (max-width: 880px) {
  .hero { padding-top: var(--sp7); padding-bottom: var(--sp7); }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp7);
  }

  .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp1);
  }

  h1 { font-size: var(--s4); }

  .artifact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp1);
  }

  .artifact-body { padding: var(--sp5); }

  .section { padding-top: var(--sp7); padding-bottom: var(--sp7); }

  .price-grid {
    grid-template-columns: 1fr;
    gap: var(--sp5);
  }

  .not-block { padding: var(--sp5); }
}
