:root {
  color-scheme: light;
  background: #fff;
  color: #262626;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #27503e; text-underline-offset: 0.2em; }
a:hover { color: #122f20; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #27503e;
  outline-offset: 3px;
}

.wrap { width: min(calc(100% - 2rem), 52rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid #e8e8e8; }
.header-row, nav, .footer, .hero-links, .template-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
}
.header-row { justify-content: space-between; padding-block: 0.85rem; }
.brand { color: #262626; font-size: 1.1rem; font-weight: 600; text-decoration: none; }
nav, .footer { font-size: 0.9rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 1px solid #17362c;
  border-radius: 6px;
  background: #17362c;
  color: white;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #2b5143; border-color: #2b5143; color: white; }

h1, h2, h3 { font-weight: 600; line-height: 1.35; }
h1 { margin: 0; font-size: clamp(1.45rem, 4vw, 1.75rem); }
h2 { margin: 0 0 0.6rem; font-size: 1.2rem; }
h3 { margin: 0 0 0.35rem; font-size: 1rem; }
p { margin: 0.65rem 0 0; }
section.wrap { padding-block: 1.2rem; }
.hero { padding-block: 1.75rem 1.2rem; }
.hero-links { margin-top: 0.85rem; }
.section-heading { margin-bottom: 1rem; }
.text-link { display: inline-block; margin-top: 0.4rem; }
.steps > div + div, .cards article + article, .feature-list > div + div { margin-top: 1.4rem; }
.section-end { margin-top: 1rem; }
.closing { margin-top: 1rem; padding-block: 1.5rem; border-top: 1px solid #e8e8e8; }
.closing > .button { margin-top: 0.75rem; }
.footer { padding-block: 1rem 2rem; border-top: 1px solid #e8e8e8; }

.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 5; padding: 0.5rem 1rem; background: white; }
.skip-link:focus { top: 0.5rem; }
.reading-page { padding-top: 1rem; }
.breadcrumbs { gap: 0.35rem; color: #555; font-size: 0.85rem; }
.breadcrumbs span[aria-current] { overflow-wrap: anywhere; }
.article-header { margin-block: 1.5rem; }
.article-intro { font-size: 1rem; }
.article-body > section { margin-block: 1.75rem; }
.article-body li + li { margin-top: 0.5rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.example-note { margin-block: 1rem; padding-left: 1rem; border-left: 2px solid #d9e2d8; }
.example-note dl { margin: 0; }
.example-note dt { margin-top: 0.75rem; font-weight: 600; }
.example-note dd { margin: 0.15rem 0 0; }
pre[data-template] {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 1rem;
  border: 1px solid #dedede;
  font: inherit;
}
.template-controls { margin-top: 0.85rem; }
.template-controls [role=status] { font-size: 0.9rem; color: #555; }
.copy-template { padding: 0.4rem 0.7rem; border: 1px solid #ccc; border-radius: 3px; background: #f7f7f7; color: #262626; font: inherit; cursor: pointer; }
.copy-template:hover { background: #eee; }
.questions details { padding-block: 0.65rem; border-bottom: 1px solid #e8e8e8; }
.questions summary { cursor: pointer; font-weight: 600; }
.questions details p { margin-top: 0.5rem; }
.product-preview { margin: 1.25rem 0; }
.product-preview img { display: block; width: 100%; height: auto; }
figcaption { margin-top: 0.5rem; font-size: 0.85rem; color: #555; }
.related { padding-block: 1.25rem; border-top: 1px solid #e8e8e8; }
.related ul { margin-bottom: 0; padding-left: 1.3rem; }
.related li + li { margin-top: 0.4rem; }
