:root {
  color-scheme: light dark;
  --paper: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --blue: #0071e3;
  --page: min(100% - 40px, 760px);
  --text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

header,
main,
footer {
  width: var(--page);
  margin-inline: auto;
}

header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { border-radius: 8px; }
.back { color: var(--muted); font-size: 14px; text-decoration: none; }
.back:hover { color: var(--ink); }

main { padding: 74px 0 110px; }

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 620px;
  margin: 20px 0 64px;
  color: var(--muted);
  font-size: 19px;
}

.effective { color: var(--muted); font-size: 13px; }

section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

p { margin: 0 0 14px; }
ul, ol { margin: 12px 0 16px; padding-left: 22px; }
li + li { margin-top: 7px; }
.muted { color: var(--muted); }

.contact {
  display: inline-block;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b0b0c;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.14);
    --blue: #0a84ff;
  }
}

@media (max-width: 560px) {
  main { padding-top: 48px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}
