:root {
  color-scheme: light;
  --bg: #f8f3ea;
  --paper: #fffaf1;
  --ink: #202326;
  --muted: #746d64;
  --line: #eadfce;
  --accent: #ff6758;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf8 0, var(--bg) 58%, #f1e8db 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.document {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

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

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.document {
  padding: 56px 0 74px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h2 {
  margin: 38px 0 10px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

p + p {
  margin-top: 14px;
}

.document a {
  color: var(--ink);
  font-weight: 760;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  gap: 18px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .document {
    padding-top: 32px;
  }
}
