:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --text: #1d1f24;
  --muted: #5d636e;
  --line: #e6e1d9;
  --accent: #2f6f6a;
  --accent-soft: #e3efed;
  --max: 720px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --surface: #1a1d21;
    --text: #ecebe8;
    --muted: #a1a6ae;
    --line: #2a2e34;
    --accent: #7cc4bc;
    --accent-soft: #1d2d2b;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent); text-underline-offset: 3px; }

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

header.site {
  padding: 28px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.brand img { width: 28px; height: 28px; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 20px;
}

nav a:hover { color: var(--text); }

main { flex: 1; }

.hero {
  padding: 72px 0 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
}

.lede {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--muted);
  margin: 0;
  max-width: 40ch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 56px;
}

.card h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 600;
}

.card p { margin: 0; }

.card .email {
  font-size: 20px;
  font-weight: 600;
}

/* Long-form pages (privacy) */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc .updated { color: var(--muted); margin-top: -8px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }

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

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}

footer.site a { color: var(--muted); }

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .card { padding: 22px; }
  nav a { margin-left: 14px; }
}
