:root {
  color-scheme: light;
  --paper: #f8f3e9;
  --ink: #38312c;
  --secondary: #5e554d;
  --jade: #5d7468;
  --border: #c9bfb2;
  --red: #c84f3d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem / 1.8 -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 0.3em;
}
::selection {
  background: var(--jade);
  color: #fffdf8;
}
:focus-visible {
  outline: 3px solid var(--jade);
  outline-offset: 6px;
}
.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  z-index: 2;
  padding: 0.6rem 1rem;
  background: #fffdf8;
}
.skip-link:focus {
  top: 1rem;
}
.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.brand {
  display: block;
  line-height: 0;
}
.brand img {
  width: 205px;
  max-width: 100%;
  height: auto;
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  padding-block: 10px;
  text-decoration: none;
}
a:hover {
  color: var(--jade);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 600;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  line-height: 1.4;
}
h3 {
  font-size: 1.1rem;
  line-height: 1.6;
}
p {
  color: var(--secondary);
  max-width: 65ch;
}
p + p {
  margin-top: 16px;
}
.lead {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--ink);
  line-height: 1.65;
}
.introduction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 72px;
  padding-block: 100px 108px;
}
.intro-copy > p:nth-child(2) {
  margin-top: 26px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  margin-top: 32px;
  padding: 12px 24px;
  background: var(--jade);
  color: #fffdf8;
  border-radius: 8px;
  text-decoration: none;
}
.primary-link:hover {
  color: #fffdf8;
  background: #4d6257;
}
.primary-link span {
  margin-left: 26px;
}
.making {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  border-top: 1px solid var(--border);
  padding-block: 72px 80px;
}
.section-intro p {
  margin-top: 24px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.steps li {
  padding-block: 25px;
  border-bottom: 1px solid var(--border);
}
.steps li:first-child {
  padding-top: 0;
}
.steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.steps p {
  margin-top: 8px;
}
.progress {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  border-top: 1px solid var(--border);
  padding-block: 72px 90px;
}
.progress .lead + p {
  margin-top: 20px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-block: 30px 40px;
  font-size: 0.875rem;
}
.site-footer strong {
  font-size: 1.125rem;
  font-weight: 500;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.footer-links a,
.site-header > a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.document {
  max-width: 800px;
  padding-block: 50px 80px;
}
.document h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
.document .draft {
  padding-block: 16px;
  border-block: 1px solid var(--border);
  margin-bottom: 32px;
}
.document pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  color: var(--secondary);
}
@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 18px;
    gap: 16px;
  }
  .brand img {
    width: 150px;
  }
  nav {
    gap: 16px;
    font-size: 0.875rem;
  }
  .introduction {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 56px 64px;
  }
  h1 {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }
  .desktop-break {
    display: none;
  }
  .making,
  .progress {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 44px 56px;
  }
  .section-intro h2 br {
    display: none;
  }
  .section-intro p {
    margin-top: 16px;
  }
  .site-footer {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links {
    align-items: flex-start;
  }
}
@media (max-width: 380px) {
  .site-header {
    flex-wrap: wrap;
  }
  nav {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
