:root {
  --text: #1a1a1a;
  --muted: #555;
  --bg: #ffffff;
  --border: #e2e2e2;
  --link: #1a4d8f;
  --max-width: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

/* Hero */
.hero {
  margin-bottom: 3.5rem;
}

.hero .title {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero .summary {
  font-size: 1.1rem;
  max-width: 36rem;
}

.hero .links {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.hero .links .sep {
  color: var(--border);
  margin: 0 0.6rem;
}

/* Sections */
section {
  margin-bottom: 3.5rem;
}

/* Focus */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.focus-item p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.97rem;
}

/* Featured card */
.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card p:nth-child(2) {
  color: var(--muted);
}

/* Consulting */
.consulting p:last-child {
  margin-bottom: 0;
}

/* Footer */
footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 1.5rem 0 0;
}

/* Responsive */
@media (max-width: 640px) {
  main {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero {
    margin-bottom: 2.5rem;
  }

  section {
    margin-bottom: 2.5rem;
  }
}
