:root {
  color-scheme: light;
  --background: #f6f7f9;
  --surface: #ffffff;
  --text: #18202a;
  --muted: #566273;
  --accent: #175cd3;
  --border: #dfe3e8;
  --content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), 1040px);
  margin: 0 auto;
}

.site-header {
  min-height: 72px;
}

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

nav a,
footer a {
  font-size: 0.9rem;
}

main {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 54px auto 90px;
}

.hero {
  margin-bottom: 64px;
}

.hero.compact {
  margin-bottom: 48px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

section:not(.hero) {
  margin-top: 42px;
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

section p:last-child {
  margin-bottom: 0;
}

footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }

  main {
    margin-top: 34px;
  }

  section:not(.hero) {
    padding: 22px;
  }
}
