:root {
  --bg: #fbfbf8; --surface: #ffffff; --tint: #f1f3ef;
  --ink: #1d2320; --muted: #545d57; --line: #dde2dd;
  --brand: #1f4f46; --brand-dark: #163a33; --brand-ink: #ffffff;
  --green: #1e7a4f; --green-bg: #e6f3ec;
  --yellow: #8a5f10; --yellow-bg: #fbf1dc;
  --red: #a03a28; --red-bg: #f8e5e1;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid #e0a526; outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 2rem; margin: 0 0 16px; }
h2 { font-size: 1.45rem; margin: 48px 0 12px; }
h3 { font-size: 1.12rem; margin: 28px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 6px; }
code { background: var(--tint); padding: 1px 6px; border-radius: 4px; font-size: 0.92em; overflow-wrap: anywhere; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.prose { max-width: 65ch; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* header */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--brand); text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-left: auto; font-size: 0.95rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a.btn { color: var(--brand-ink); padding: 8px 14px; }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand);
  border-radius: var(--radius); padding: 12px 20px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--brand-dark); color: var(--brand-ink); }
.btn.light { background: var(--surface); color: var(--brand); }
.btn.light:hover { background: var(--tint); color: var(--brand-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.small { font-size: 0.9rem; color: var(--muted); }

/* hero */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.2rem; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.eyebrow { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 8px; }

/* mock dashboard */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(29, 35, 32, 0.07); overflow: hidden; }
.mock-top { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.mock-row:last-child { border-bottom: 0; }
.mock-row span:first-child { min-width: 0; }
.mock-row b { display: block; font-weight: 600; }
.chip { display: inline-block; white-space: nowrap; border-radius: 999px; padding: 2px 10px; font-size: 0.8rem; font-weight: 600; }
.chip.green { background: var(--green-bg); color: var(--green); }
.chip.yellow { background: var(--yellow-bg); color: var(--yellow); }
.chip.red { background: var(--red-bg); color: var(--red); }

/* sections */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0 40px; margin: 40px 0; }
.cards { display: grid; gap: 16px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.band .card { background: var(--bg); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 16px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-weight: 700; display: grid; place-items: center; font-size: 0.9rem; }
.callout { background: var(--yellow-bg); border-left: 4px solid #d9a441; border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; max-width: 65ch; }
.callout.plain { background: var(--tint); border-left-color: var(--brand); }
.callout p:last-child { margin-bottom: 0; }
.cta-box { background: var(--brand); color: var(--brand-ink); border-radius: 12px; padding: 28px 24px; margin: 48px 0; }
.cta-box h2, .cta-title { margin: 0 0 12px; color: var(--brand-ink); font-size: 1.45rem; font-weight: 700; line-height: 1.25; }
.cta-box p { max-width: 60ch; }
.cta-box .btn { background: var(--surface); color: var(--brand); border-color: var(--surface); }
.cta-box .btn:hover { background: var(--tint); }

/* articles */
.article > * { max-width: 65ch; }
.article > .full { max-width: none; }
.lede { font-size: 1.12rem; color: var(--muted); }
.article { padding: 40px 0 24px; }
.crumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; }
.dateline { font-size: 0.9rem; color: var(--muted); margin: -4px 0 24px; }
.answer { font-size: 1.06rem; border-left: 3px solid var(--brand); padding-left: 16px; }
.faq h3 { margin-top: 24px; }

/* tables */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--tint); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tr.ours td { background: #f3f8f5; }
.table-wrap.wide table { min-width: 760px; }

/* pricing */
.plans { display: grid; gap: 16px; margin: 32px 0; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); }
.plan h2, .plan h3 { margin: 0 0 4px; font-size: 1.2rem; }
.price { font-size: 2.2rem; font-weight: 700; margin: 8px 0 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 20px; flex: 1; }
.plan .btn { text-align: center; }

/* downloads */
.downloads { display: grid; gap: 12px; margin: 24px 0; max-width: 65ch; }
.download { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; text-decoration: none; color: var(--ink); }
.download:hover { border-color: var(--brand); color: var(--ink); }
.download b { color: var(--brand); }
pre { background: var(--tint); padding: 16px; border-radius: var(--radius); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.95rem; max-width: 65ch; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 64px; padding: 32px 0; font-size: 0.92rem; color: var(--muted); }
.foot-grid { display: grid; gap: 24px; }
.foot-h { font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.site-foot h2 { font-size: 0.95rem; margin: 0 0 8px; color: var(--ink); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot a { color: var(--muted); }

@media (max-width: 719px) {
  .site-nav { margin-left: 0; width: 100%; gap: 2px 14px; font-size: 0.9rem; }
}
@media (min-width: 720px) {
  h1 { font-size: 2.4rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero { padding: 72px 0 56px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .downloads { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 36px 40px; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
}
@media print {
  .site-head, .site-foot, .cta-box { display: none; }
}
