:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --ink: #233b2f;
  --muted: #536052;
  --line: #d6d8c9;
  --accent: #284c38;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    18px/1.95 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #98742c;
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: white;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
  z-index: 10;
}
.site-header {
  max-width: 1120px;
  margin: auto;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header > a:last-child {
  font-size: 14px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font:
    32px Georgia,
    serif;
  text-decoration: none;
}
main {
  max-width: 800px;
  margin: auto;
  padding: 32px 32px 72px;
}
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 62px;
}
.guide-hero {
  padding-bottom: 44px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}
h1,
h2,
h3 {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
h1 {
  font-size: 38px;
  font-weight: 600;
  margin: 20px 0 28px;
  letter-spacing: 0.025em;
}
h1 span {
  display: block;
  font-size: 22px;
  margin-top: 16px;
  font-weight: 400;
}
h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 20px;
}
h3 {
  font-size: 20px;
  margin-top: 30px;
}
p {
  margin: 16px 0;
}
.lead {
  font-size: 19px;
}
.byline,
.small {
  font-size: 14px;
  color: var(--muted);
}
.quick-start,
.template-section,
.closing {
  background: #e9ecdf;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.quick-start h2 {
  font-size: 21px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.6;
  cursor: pointer;
}
.text-link {
  display: block;
  margin-top: 16px;
  font-size: 15px;
}
.contents {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.contents h2 {
  font-size: 19px;
}
.contents ol {
  padding-left: 24px;
  font-size: 16px;
}
.contents li {
  padding: 5px 0;
}
.chapter {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}
.chapter-number {
  margin: 0 0 12px;
  color: #536052;
  font:
    18px Georgia,
    serif;
}
.template-section {
  margin: 48px 0;
}
.template-section pre {
  background: #fdfbf5;
  border-left: 2px solid #9aa98b;
  padding: 20px;
  font-family: inherit;
  font-size: 16px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.copy-status {
  font-size: 14px;
  min-height: 24px;
}
details {
  font-size: 16px;
}
summary {
  cursor: pointer;
  min-height: 44px;
}
.reference {
  font-size: 15px;
  margin: 40px 0;
}
.reference h2 {
  font-size: 18px;
}
.closing {
  margin: 48px 0;
  text-align: center;
  padding: 46px 32px;
}
.closing h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: 500;
}
.related h2 {
  font-size: 23px;
}
.related > a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
footer {
  max-width: 800px;
  margin: auto;
  padding: 28px 32px 64px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer p {
  flex-basis: 100%;
  margin: 0;
}
@media (max-width: 540px) {
  .site-header {
    padding: 20px;
  }
  .wordmark {
    font-size: 27px;
  }
  .site-header > a:last-child {
    font-size: 12px;
  }
  main {
    padding: 22px 22px 48px;
  }
  .breadcrumb {
    margin-bottom: 40px;
  }
  h1 {
    font-size: 29px;
  }
  h1 span {
    font-size: 20px;
  }
  h2 {
    font-size: 24px;
  }
  .lead {
    font-size: 18px;
  }
  .quick-start,
  .template-section,
  .closing {
    padding: 24px 20px;
  }
  .button {
    width: 100%;
    font-size: 16px;
  }
  .template-section pre {
    padding: 14px;
    font-size: 15px;
  }
  .chapter {
    padding: 36px 0;
  }
  .closing h2 {
    font-size: 29px;
  }
  footer {
    padding: 24px 22px 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
