:root {
  --bg: #fbfaf7;
  --panel: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --rule: #e7e5e4;
  --accent: #15803d;
  --accent-ink: #ffffff;
  --accent-soft: #dcfce7;
  --dark: #14231a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { border-bottom: 1px solid var(--rule); background: var(--bg); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
nav.top { display: flex; align-items: center; gap: 24px; font-size: 15px; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a:hover { color: var(--ink); }
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink) !important; }
.btn-primary:hover { background: #166534; }
.btn-ghost { background: var(--panel); color: var(--ink) !important; border-color: var(--rule); }
@media (max-width: 720px) { nav.top a.hide-sm { display: none; } nav.top { gap: 14px; } }

/* Hero */
.hero { padding: 80px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; margin: 0 auto 18px; max-width: 760px; }
.hero h1 em { font-style: normal; background: var(--accent-soft); padding: 0 6px; border-radius: 6px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 36px; max-width: 640px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
section.alt .card { background: var(--bg); }
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-num { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }

/* Pricing */
.toggle { display: inline-flex; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; margin-bottom: 28px; background: var(--panel); }
.toggle button { border: 0; background: transparent; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.plan .tag { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; min-height: 18px; }
.plan .price { font-size: 38px; font-weight: 700; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan .billed { font-size: 13px; color: var(--muted); min-height: 20px; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 15px; flex: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { text-align: center; }

/* FAQ */
details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Closing band */
.band { background: var(--dark); color: #f0fdf4; text-align: center; padding: 64px 0; }
.band h2 { color: #fff; }
.band p { color: #bbf7d0; margin: 0 0 28px; }

/* Footer */
footer.site { padding: 40px 0; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--ink); }
.disclaimer { width: 100%; font-size: 12px; }

/* Legal pages */
.legal { max-width: 760px; padding: 56px 20px 80px; margin: 0 auto; }
.legal h1 { font-size: 36px; margin: 0 0 6px; letter-spacing: -0.01em; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { color: #292524; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--rule); padding: 10px 8px; vertical-align: top; }
.legal th { background: var(--panel); }
