:root {
  --porcelain: #f8f5ef;
  --text: #4a463f;
  --muted: #6b655c;
  --line: #c6bcad;
  --magenta: #d6197f;
  --petal: #f2d0dc;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  border: 1px solid var(--line);
}

.brand span {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  margin: 40px 0 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 21px;
  font-weight: 600;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--magenta);
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 2px;
}

.lede {
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 32px;
}

.meta {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.links a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--magenta);
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
}

.links a:hover {
  background: var(--petal);
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer a {
  color: var(--muted);
}
