:root {
  --bg: #f8f7f0;
  --surface: #ffffff;
  --ink: #1f261b;
  --muted: #5f6858;
  --line: #e3e5d8;
  --accent: #3f7a2e;   /* Basil — Pesto's default theme */
  --soft: #e9f0dd;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11150f;
    --surface: #1a2016;
    --ink: #eef2e8;
    --muted: #a9b3a0;
    --line: #2d3527;
    --accent: #93cf76;
    --soft: #222b1d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

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

a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Header / footer */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav a {
  margin-left: 22px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 24px; padding: 28px 0 56px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: 14px;
}
.site-footer nav a { color: var(--muted); margin-right: 18px; text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* Landing */
.hero { text-align: center; padding: 36px 0 60px; }
.hero .icon {
  width: 136px; height: 136px; border-radius: 31px;
  box-shadow: 0 20px 44px rgba(46, 94, 34, 0.30);
}
.hero h1 {
  font-size: clamp(44px, 8vw, 64px); line-height: 1.02; letter-spacing: -0.025em;
  margin: 30px 0 14px;
}
.hero .lede { font-size: 21px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.availability {
  display: inline-block; margin-top: 30px; padding: 11px 20px; border-radius: 999px;
  background: var(--soft); font-size: 15px; font-weight: 600;
}

.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 16px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 24px;
}
.card svg { width: 28px; height: 28px; color: var(--accent); }
.card h3 { margin: 12px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.footnote { color: var(--muted); font-size: 13.5px; margin: 18px 4px 0; }

.promise {
  margin: 56px 0 24px; padding: 36px 28px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
}
.promise h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.015em; }
.promise p { margin: 0 auto; max-width: 540px; color: var(--muted); }

/* Documents (privacy, support) */
.doc { padding: 8px 0 40px; }
.doc h1 { font-size: clamp(34px, 6vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin: 10px 0 6px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 22px; letter-spacing: -0.01em; margin: 44px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc li { margin: 6px 0; }
.doc .muted { color: var(--muted); }

.summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 6px 24px;
}
.summary li { margin: 10px 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }

details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; margin: 10px 0;
}
details[open] { padding-bottom: 18px; }
summary { cursor: pointer; font-weight: 600; }
details p, details ol, details ul { margin: 10px 0 0; color: var(--muted); }

.contact {
  margin-top: 36px; padding: 26px; border-radius: 20px;
  background: var(--soft);
}
.contact h2 { margin-top: 0; }
.button {
  display: inline-block; margin-top: 8px; padding: 11px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
}
@media (prefers-color-scheme: dark) { .button { color: #0f160c; } }

@media (max-width: 560px) {
  .site-nav a { margin-left: 14px; }
  .hero { padding-top: 16px; }
  .hero .lede { font-size: 19px; }
}
