/* Deliberately one stylesheet and no build step.
   The site is a handful of static pages on Cloudflare Pages; a framework here would be a
   toolchain to maintain in exchange for nothing. Type and colour follow the app so the
   product looks like one thing. */

:root {
  --brand: #2f7a52;
  --brand-lift: #5da47c;
  --brand-deep: #235e3e;
  --ink: #0a0a0a;
  --ink-muted: #555555;
  --ground: #fafafa;
  --surface: #ffffff;
  --line: #e3e3e3;
  --good: #2f7a52;
  --signal: #a56612;
  --measure: 62ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--measure); }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
a { color: var(--brand); }

.eyebrow {
  font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-muted); margin: 0 0 1rem;
}

.lead { font-size: 1.22rem; color: var(--ink-muted); }

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

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: inline-block; text-decoration: none; line-height: 0; }
.logo img { height: 30px; width: auto; display: block; }
header.site nav { margin-left: auto; display: flex; gap: 26px; }
header.site nav a { color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
header.site nav a:hover { color: var(--brand); }

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

.hero { padding: 86px 0 64px; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 54ch; font-size: 1.32rem; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-block; padding: 15px 26px; border-radius: 12px;
  font-weight: 700; text-decoration: none; border: 1.5px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }

.aside-note { font-size: .9rem; color: var(--ink-muted); margin-top: 14px; }

/* ---------- the before/after that carries the pitch ---------- */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 8px 0 0; }
.compare > div { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 26px 26px 12px; }
.compare h3 { margin-bottom: 14px; }
.compare ol { margin: 0; padding-left: 1.1em; color: var(--ink-muted); }
.compare li { margin-bottom: .55em; }
.compare .after { border-color: var(--brand); }
.compare .after ol { color: var(--ink); font-weight: 600; }

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

section { padding: 62px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 34px; }
.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 26px; }
section.alt .card { background: var(--ground); }
.card p { font-size: .97rem; color: var(--ink-muted); margin-bottom: 0; }
.card h3 { margin-bottom: .5em; }

.steps { counter-reset: step; margin-top: 34px; }
.step { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num {
  flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--brand);
  color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step p { margin: .35em 0 0; color: var(--ink-muted); font-size: .97rem; }

/* ---------- prose pages ---------- */

.prose { padding: 56px 0 80px; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-of-type { margin-top: 1em; }
.prose ul { max-width: var(--measure); color: var(--ink); padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose code {
  background: var(--surface); border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 6px; font-size: .88em;
}

.callout {
  border-left: 4px solid var(--brand); background: var(--surface);
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0; max-width: var(--measure);
}
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--signal); }

table { border-collapse: collapse; width: 100%; max-width: 760px; margin: 26px 0; font-size: .95rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); }

/* ---------- footer ---------- */

footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0; margin-top: 20px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; }
footer.site a { color: var(--ink-muted); text-decoration: none; font-size: .93rem; }
footer.site a:hover { color: var(--brand); }
footer.site .who { margin-left: auto; color: var(--ink-muted); font-size: .87rem; }

@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  header.site nav { gap: 16px; }
  header.site nav a { font-size: .88rem; }
  .hero { padding: 56px 0 40px; }
}

/* ---------- pricing ---------- */

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 36px; align-items: start; }
.tier { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 30px 28px; }
section.alt .tier { background: var(--ground); }
.tier.featured { border-color: var(--brand); border-width: 2px; }
.tier h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--ink-muted); font-weight: 800; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 14px 0 2px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--ink-muted); letter-spacing: 0; }
.per { color: var(--ink-muted); font-size: .95rem; margin: 0 0 20px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 6px; }
.tier li { padding: 7px 0 7px 26px; position: relative; font-size: .97rem; }
.tier li::before {
  content: ""; position: absolute; left: 2px; top: 14px; width: 11px; height: 6px;
  border-left: 2px solid var(--good); border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}
.tier li.muted { color: var(--ink-muted); }
.tier li.muted::before { border-color: var(--line); }
.tier .note { font-size: .88rem; color: var(--ink-muted); margin: 18px 0 0; }

.badge {
  display: inline-block; background: var(--brand); color: #fff; border-radius: 999px;
  padding: 5px 12px; font-size: .7rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 12px;
}
.was { color: var(--ink-muted); font-weight: 600; font-size: 1.15rem; text-decoration: line-through; margin-right: 10px; }
.then { color: var(--ink-muted); font-size: .93rem; margin: -14px 0 20px; }
