:root {
  color-scheme: light dark;
  --brand: #0d5c54;
  --brand-soft: #4aa89c;
  --text: #1a2124;
  --muted: #65737a;
  --surface: #faf8f1;
  --elevated: #fffdf8;
  --border: rgba(77, 99, 116, 0.16);
  --max-width: 960px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6bc7b8;
    --brand-soft: #a3b8c4;
    --text: #eff2ef;
    --muted: #adbab6;
    --surface: #14191b;
    --elevated: #20282b;
    --border: rgba(163, 184, 196, 0.18);
  }
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header,
.site-footer,
main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  display: block;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

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

.hero {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
  padding: 72px 0 48px;
}

.hero-copy {
  min-width: 0;
}

.hero-logo {
  border-radius: 28px;
  box-shadow: 0 20px 56px rgba(13, 92, 84, 0.18);
  display: block;
  height: auto;
  justify-self: end;
  max-width: 100%;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  margin: 22px 0 0;
  max-width: 680px;
}

.section {
  padding: 36px 0;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.card h2,
.card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

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

.content {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 48px;
  padding: 28px;
}

.content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}

.content h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
}

.content p,
.content li {
  color: var(--muted);
}

.content ul {
  padding-left: 1.2rem;
}

.meta {
  color: var(--muted);
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  padding: 24px 0 36px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 14px;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    display: block;
    padding: 44px 0 28px;
  }

  .hero-logo {
    margin-top: 28px;
    width: min(220px, 70vw);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 20px;
  }
}
