:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #596662;
  --line: #dae3df;
  --surface: #ffffff;
  --wash: #f5f8f6;
  --teal: #0f766e;
  --coral: #b95043;
  --yellow: #d6a229;
  --blue: #3657c9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--wash);
  color: var(--ink);
  margin: 0;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
}

.brand {
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  margin: 0 auto;
  max-width: 1080px;
  min-height: 58vh;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 64px) 36px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 1.04;
  margin: 10px 0 18px;
  max-width: 850px;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 760px;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 720;
  min-height: 44px;
  padding: 11px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

.resource-section {
  margin: 0 auto;
  max-width: 1080px;
  padding: 20px clamp(18px, 5vw, 64px) 42px;
}

.resource-section h2 {
  border-top: 1px solid var(--line);
  margin: 0 0 18px;
  padding-top: 26px;
}

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

article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

article a {
  font-weight: 760;
}

article p {
  color: var(--muted);
  line-height: 1.62;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 24px;
}

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

  .nav {
    justify-content: flex-start;
  }

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