:root {
  --ink: #1b1f23;
  --muted: #5a636b;
  --line: #e2e6ea;
  --bg: #fbfbfa;
  --accent: #2f5d50;
}

* { box-sizing: border-box; }

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

.site-header,
main,
.site-footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -.01em;
}

.brand-mark { width: 22px; height: 22px; color: var(--accent); }

.site-header nav a {
  margin-left: 1.1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
}

.site-header nav a:hover { color: var(--ink); }

main { padding-top: 2.5rem; padding-bottom: 3rem; }

h1 { font-size: 1.9rem; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .8rem; }
h2 { font-size: 1.12rem; letter-spacing: -.01em; margin: 2rem 0 .5rem; }

.lead { font-size: 1.08rem; color: var(--muted); margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.cards article p { color: var(--muted); margin: 0; }

.note {
  margin-top: 2.75rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.note p { margin: .3rem 0; color: var(--muted); }

.contact { color: var(--accent); font-weight: 500; }

.site-footer {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaec;
    --muted: #9aa3ab;
    --line: #2b3034;
    --bg: #14171a;
    --accent: #7fb8a4;
  }
  .note { background: #1b1f23; }
}
