:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1c2420;
  --muted: #5d6862;
  --border: #dcdfd9;
  --accent: #1f5a43;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111513;
    --surface: #181d1a;
    --ink: #e6ebe8;
    --muted: #9aa6a0;
    --border: #2c3430;
    --accent: #6cc19c;
  }
}

* { box-sizing: border-box; }

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

a { color: var(--accent); }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

.site-header { border-bottom: 1px solid var(--border); }
.header-row { padding-top: 18px; padding-bottom: 18px; }
.wordmark { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }

.hero { padding: 72px 0 40px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 760px; }
.lead { font-size: 20px; color: var(--muted); margin: 0; max-width: 680px; }

.products { padding: 16px 0 72px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.card h2 { font-size: 24px; margin: 0 0 12px; }
.card p { margin: 0 0 12px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.fine { font-size: 14px; color: var(--muted); }
.link { font-weight: 600; text-decoration: none; }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0; }

/* Wider page: bands, three-card grid, principles */
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.narrow { max-width: 720px; }
section h2 { font-size: 26px; line-height: 1.2; margin: 0 0 20px; }
.band p { margin: 0 0 16px; }
.products .grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .products .grid { grid-template-columns: 1fr; } }
.card h3 { font-size: 22px; margin: 0 0 12px; }
.card-next { border-style: dashed; background: transparent; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }
.principles h3 { font-size: 17px; margin: 0 0 6px; }
.principles p { font-size: 15px; color: var(--muted); margin: 0; }
.hero .kicker { margin: 0 0 12px; }
