:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --text: #16202a;
  --muted: #55626f;
  --border: #dde3e9;
  --accent: #0b6e4f;
  --accent-text: #ffffff;

  color-scheme: light dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --bg-alt: #161d24;
    --text: #e6ebef;
    --muted: #9aa7b3;
    --border: #2a343e;
    --accent: #3ccf97;
    --accent-text: #0f1419;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 22ch;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.15rem;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

nav a {
  margin-left: 1.25rem;
  color: var(--muted);
  text-decoration: none;
}

nav a:first-child {
  margin-left: 0;
}

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

.hero {
  padding: 5rem 0 4rem;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 60ch;
  margin: 0 0 2rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.card p {
  margin: 0 0 0.75rem;
}

.meta,
.role {
  color: var(--muted);
  font-size: 0.9rem;
}

.role {
  font-weight: 600;
}

.certs {
  color: var(--muted);
  margin: 2rem 0 0;
  max-width: 70ch;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  padding-block: 1.5rem;
}
