:root {
  color-scheme: light;
  --ink: #352e2c;
  --muted: #706764;
  --paper: #fffaf7;
  --surface: #ffffff;
  --accent: #df6d85;
  --accent-dark: #a83f58;
  --line: #eddcd6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

main,
header,
footer {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
}

header {
  padding: 56px 0 24px;
}

main {
  padding-bottom: 48px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

h1,
h2 {
  line-height: 1.4;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 7vw, 42px);
}

h2 {
  margin: 40px 0 8px;
  font-size: 21px;
}

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

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

.eyebrow,
.updated {
  color: var(--muted);
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent-dark);
}

code {
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
