* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #1f1f1f;
  background: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.7;
}

.top-notice {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 12px 20px;
  color: #ffffff;
  background: #b42318;
  font-family: "Onest", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.document {
  width: min(760px, calc(100% - 40px));
  margin: 64px auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  font-family: "Onest", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #111111;
  border-radius: 6px;
}

.brand-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

h1 {
  margin: 0 0 32px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

p {
  margin: 0 0 22px;
  font-size: 18px;
}

a {
  color: inherit;
}

code {
  padding: 2px 5px;
  border: 1px solid #e8e3dc;
  border-radius: 4px;
  background: #f8f6f2;
  font-family: "Onest", Arial, sans-serif;
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border: 1px solid #e8e3dc;
  border-radius: 6px;
  background: #f8f6f2;
}

pre code {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  white-space: pre;
}

.code-block {
  display: inline-block;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d8d1c8;
  border-radius: 6px;
  background: #f8f6f2;
  font-family: "Onest", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.reading-note {
  margin: 30px 0 8px;
  padding: 16px 18px;
  border-left: 3px solid #2f2f2f;
  background: #f8f6f2;
}

.reading-note p {
  margin: 0;
}

.checklist {
  margin: 34px 0 10px;
  padding: 22px 0 28px;
  border-top: 1px solid #e8e3dc;
}

.checklist h2 {
  margin-bottom: 16px;
}

.checklist-list {
  margin: 0;
  padding-left: 24px;
  font-size: 17px;
  color: #3d3d3d;
}

.checklist-list li {
  margin-bottom: 8px;
}

.checklist-list li:last-child {
  margin-bottom: 0;
}

.document-section {
  border-top: 1px solid #e8e3dc;
}

.document-section:last-child {
  border-bottom: 1px solid #e8e3dc;
}

.document-section > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 22px 0;
}

.document-section > summary::-webkit-details-marker {
  display: none;
}

.document-section > summary::before {
  content: ">";
  display: inline-block;
  width: 18px;
  color: #777777;
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

.document-section[open] > summary::before {
  transform: rotate(90deg);
}

.document-section > summary:hover {
  color: #000000;
}

.document-section > summary:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.section-body {
  margin: 0 0 26px 30px;
  color: #3d3d3d;
}

.document-section[open] .section-body {
  animation: reveal 160ms ease;
}

.section-note {
  margin-bottom: 22px;
  color: #5f5f5f;
  font-size: 17px;
}

.section-body article {
  margin-bottom: 26px;
}

.section-body article:last-child {
  margin-bottom: 0;
}

.section-body article p {
  margin-bottom: 14px;
  font-size: 17px;
}

.section-body article p:last-child {
  margin-bottom: 0;
}

.setup-block {
  margin: 20px 0 26px;
}

.setup-block:last-child {
  margin-bottom: 0;
}

.setup-block h4 {
  margin: 0 0 8px;
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.setup-block p {
  margin-bottom: 12px;
}

.callout {
  margin: 0 0 26px;
  padding: 14px 16px;
  border-left: 3px solid #2f2f2f;
  background: #f8f6f2;
}

.callout.muted {
  border-left-color: #a39a90;
  color: #514c47;
}

.callout p {
  margin: 0;
  font-size: 17px;
}

.simple-list {
  margin: 0;
  padding-left: 24px;
  font-size: 17px;
}

.simple-list li {
  margin-bottom: 8px;
}

.simple-list li:last-child {
  margin-bottom: 0;
}

.link-list {
  margin: 0;
  padding-left: 24px;
  font-size: 17px;
}

.link-list li {
  margin-bottom: 8px;
}

.link-list a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.link-list a:hover {
  color: #000000;
}

.muted-text {
  margin-left: 6px;
  color: #6f6962;
  font-family: "Onest", Arial, sans-serif;
  font-size: 14px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #2f2f2f;
  border-radius: 6px;
  background: #2f2f2f;
  color: #ffffff;
  font-family: "Onest", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button-link:hover {
  background: #1f1f1f;
}

.button-link:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.button-link:active {
  transform: translateY(1px);
}

.closing {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid #e8e3dc;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .document-section[open] .section-body {
    animation: none;
  }

  .document-section > summary::before {
    transition: none;
  }
}

strong {
  font-weight: 700;
}

@media (max-width: 560px) {
  .document {
    width: min(100% - 28px, 760px);
    margin: 40px auto;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 23px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 17px;
  }

  .section-body {
    margin-left: 24px;
  }

  .section-body article p,
  .callout p,
  .simple-list,
  .link-list,
  .checklist-list,
  .section-note {
    font-size: 16px;
  }
}

@media print {
  body {
    color: #111111;
    background: #ffffff;
  }

  .document {
    width: 100%;
    margin: 0;
  }

  .brand-logo,
  .button-link {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .document-section > summary {
    cursor: default;
  }

  .document-section > summary::before {
    display: none;
  }

  .document-section:not([open]) > .section-body,
  .document-section > .section-body {
    display: block !important;
  }

  .document-section,
  .checklist,
  .closing {
    break-inside: avoid;
  }

  a {
    text-decoration: underline;
  }
}
