:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: #1d2733;
  background: #f5f7f8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0, #f5f7f8 360px);
}

a { color: inherit; }

.wrap {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid #e2e7eb;
  background: rgba(255,255,255,.92);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: .01em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: #52606d;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #18212b;
}

.hero {
  padding: 96px 0 52px;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b7785;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.lead {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: 1.18rem;
  color: #556371;
}

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

.card,
.note {
  border: 1px solid #e0e5e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(21, 34, 48, .05);
}

.card {
  padding: 24px;
}

.card h2,
.note h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.card p,
.note p,
.prose p {
  color: #596775;
}

.note {
  padding: 28px;
  margin-bottom: 72px;
}

.prose {
  max-width: 760px;
  padding-top: 88px;
  padding-bottom: 88px;
}

.prose h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.prose p {
  font-size: 1.06rem;
}

.centered {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #1d2733;
  color: #fff;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  border-top: 1px solid #e2e7eb;
  color: #6d7883;
  font-size: .92rem;
}

@media (max-width: 760px) {
  .header-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .hero { padding-top: 64px; }
  .grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
