:root {
  --paper: #fbfcfd;
  --ink: #17202b;
  --ink-soft: #5b6674;
  --rule: #dfe4ea;
  --accent: #2447e6;
  --measure: 38rem;
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.wordmark:hover { text-decoration: none; }
.mark {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}
.mark::before,
.mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.mark::before { background: var(--accent); transform: scale(0.42); }
.mark::after  { border: 2px solid var(--accent); opacity: 0.55; }

/* Content */
main { padding: 3.5rem 0 4rem; }

h1 {
  font-size: clamp(2rem, 6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0 0 3rem;
  max-width: 32rem;
}

section + section { margin-top: 3rem; }

h2 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
p { margin: 0 0 1rem; }

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
footer a { color: var(--ink-soft); }
