:root {
  --ink: #0d1512;
  --body: #45524d;
  --muted: #6b7a74;
  --brand: #087f6d;
  --brand-dark: #04564a;
  --surface: #ffffff;
  --page: #f4f7f5;
  --line: #dde5e1;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--body);
  background: var(--page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 2.6rem; letter-spacing: -.02em; }
h2 { font-size: 1.75rem; margin-top: 2.5rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); }

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

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.brand span { color: var(--brand); }
.site-nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--body); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--brand-dark); }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--brand);
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand-dark); }
.btn.ghost:hover { background: rgba(8, 127, 109, .08); }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero p.lead { font-size: 1.2rem; max-width: 640px; margin: 0 auto 1.75rem; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 8px 0 48px; }
.section-title { text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 32px; }

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--body); font-size: .95rem; }

/* Pricing */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.billing-toggle button {
  font: inherit;
  font-size: .95rem;
  padding: 9px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--body);
  cursor: pointer;
  border-radius: 999px;
}
.billing-toggle button[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  align-items: start;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan.featured { border-color: var(--brand); border-width: 2px; }
.plan .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: rgba(8, 127, 109, .1);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.plan .price { font-size: 2.1rem; font-weight: 800; color: var(--ink); }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan .period { color: var(--muted); font-size: .88rem; min-height: 1.4em; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; }
.plan li { padding: 6px 0 6px 24px; position: relative; font-size: .93rem; }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.plan .btn { margin-top: auto; text-align: center; }

.tax-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 22px; }

/* Legal pages */
.legal { background: var(--surface); }
.legal-body { padding: 48px 0 64px; }
.legal-body h1 { font-size: 2.1rem; }
.effective { color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.legal-body h2 { font-size: 1.3rem; margin-top: 2.25rem; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: .4rem; }
.legal-body table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .93rem; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.legal-body th { background: var(--page); color: var(--ink); }

.callout {
  border-left: 3px solid var(--brand);
  background: rgba(8, 127, 109, .06);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 1.25rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #b8c6c0;
  padding: 44px 0 32px;
  margin-top: 40px;
}
.site-footer a { color: #e4ecea; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
  margin-bottom: 30px;
}
.footer-cols h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 12px;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 8px; font-size: .93rem; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
  font-size: .87rem;
  color: #92a49d;
}
.footer-legal p { margin: 0 0 .5rem; }

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  .hero { padding: 48px 0 36px; }
}
