:root {
  color-scheme: light;
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #e4ddd2;
  --paper: #f7f4ee;
  --card: #fffdf9;
  --accent: #0f6e56;
  --accent-ink: #084c3c;
  --warn: #8a3b12;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Candara, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: var(--accent-ink); }
img { max-width: 100%; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.site-header, .site-footer { border-bottom: 1px solid var(--line); background: var(--card); }
.site-footer { border-bottom: 0; border-top: 1px solid var(--line); }
.bar, .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand { font-weight: 700; text-decoration: none; color: var(--ink); letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 0.9rem 1.1rem; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.nav a.button, .nav a.button:hover { color: #fff; background: var(--accent); }
.button, button {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.button.secondary, button.secondary { background: transparent; color: var(--accent-ink); border: 1px solid var(--line); }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 0.8rem; }
h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.hero { padding: 4.5rem 0 2rem; }
.grid { display: grid; gap: 1rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
}
.card h2, .card h3 { margin-top: 0; }
.section { padding: 1.2rem 0 2.4rem; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }
ul.clean { padding-left: 1.1rem; }
table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.82rem; color: var(--muted); font-weight: 650; }
.note { color: var(--muted); font-size: 0.92rem; }
.error { color: var(--warn); min-height: 1.4rem; }
label { display: block; font-weight: 650; margin-bottom: 0.35rem; }
input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
}
form.stack { display: grid; gap: 0.8rem; max-width: 28rem; }
.foot { color: var(--muted); font-size: 0.9rem; align-items: flex-start; }
@media (max-width: 800px) {
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .bar, .foot { flex-direction: column; align-items: flex-start; }
}
