/* Reeve landing page.
   One ink, one paper, one accent. Instrument Sans, two weights (400/600).
   Type sizes and spacing come from the ruled scales below; nothing off-scale. */

: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: #1e5b41;     /* pressure only: the CTA and the passed check */
  --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;
  padding-top: var(--sp4);
  padding-bottom: var(--sp4);
}

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

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

.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(--s6);
  line-height: 1.12;
  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: #17492f; }

.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);
}

.filepath {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--ink-2);
}

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

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

.doc-label {
  font-size: var(--s0);
  font-weight: 600;
  margin-bottom: var(--sp2);
}

.doc-text {
  font-size: var(--s1);
  line-height: 1.6;
  color: var(--ink-2);
}

.doc-check {
  display: flex;
  gap: var(--sp3);
  align-items: flex-start;
  border-top: 1px solid var(--line);
  margin-top: var(--sp4);
  padding-top: var(--sp4);
}

.check-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.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);
}

/* how it works */

.steps {
  list-style: none;
  max-width: 720px;
}

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

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

.step-num {
  flex-shrink: 0;
  font-size: var(--s1);
  font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  width: 20px;
  padding-top: 2px;
}

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

.file {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: rgba(28, 25, 21, 0.05);
  border-radius: 4px;
  padding: 1px var(--sp1);
  color: var(--ink);
  white-space: nowrap;
}

/* 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);
}

.workflow-list {
  margin-top: var(--sp4);
  padding-left: 20px;
  columns: 2;
  column-gap: var(--sp7);
}

.workflow-list li {
  font-size: var(--s1);
  color: var(--ink-2);
  margin-bottom: var(--sp2);
  break-inside: avoid;
  padding-left: var(--sp1);
}

/* 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); }

/* faq */

.faq {
  border-top: 1px solid var(--line);
  max-width: 720px;
}

.faq:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  font-size: var(--s2);
  font-weight: 600;
  padding: var(--sp4) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp4);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--ink-3);
  flex-shrink: 0;
}

.faq[open] summary::after { content: "\2212"; }

.faq p {
  font-size: var(--s1);
  color: var(--ink-2);
  padding-bottom: var(--sp5);
  max-width: 62ch;
}

/* 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); }

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

  .file { white-space: normal; overflow-wrap: break-word; }

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

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

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

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

  .workflow-list { columns: 1; }

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