* {
  box-sizing: border-box;
}

:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #1f2a2e;
  --muted: #657174;
  --border: #d8d1c4;
  --accent: #16795c;
  --accent-strong: #0f5f49;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121716;
    --surface: #1b2220;
    --text: #edf2ef;
    --muted: #aeb9b4;
    --border: #34413c;
    --accent: #57c79f;
    --accent-strong: #7cddb9;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.brand {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.tagline {
  margin: 8px 0 0;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
}

.hero,
.section {
  margin-top: 28px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.hero h2,
.section h2,
.section h3 {
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero p,
.section p,
.section ul {
  margin-top: 0;
}

.section li + li {
  margin-top: 6px;
}

.muted {
  color: var(--muted);
}

.contact-box {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  font-weight: 600;
  text-decoration: none;
}

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

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 920px);
    padding-top: 28px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    font-size: 26px;
  }

  .hero,
  .section {
    padding: 18px;
  }
}
