:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #20343a;
  background: #f6f5f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --muted: #5c6b70;
  --line: #dce1dd;
  --accent: #245e56;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  color: #153f39;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #b35a38;
  outline-offset: 5px;
  border-radius: 4px;
}
img {
  max-width: 100%;
}
.container {
  width: min(1100px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 8px 16px;
  background: #fff;
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fcfcf9;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #20343a;
  flex-shrink: 0;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.4;
}
.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-nav a[aria-current='page'] {
  color: #20343a;
  font-weight: 700;
}
.button,
.site-nav .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.button:hover,
.site-nav .button:hover {
  background: #1b4c45;
  color: #fff;
}
.button.secondary {
  background: transparent;
  color: var(--accent);
  border-color: #b8c7c1;
}
.button.secondary:hover {
  background: #e7ede8;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-block: 80px 72px;
}
.eyebrow {
  margin: 0 0 20px;
  color: #985134;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
h1,
h2,
h3 {
  line-height: 1.4;
}
h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4.5vw, 54px);
  letter-spacing: -1.5px;
}
h2 {
  margin: 0 0 18px;
  font-size: 27px;
  letter-spacing: -0.4px;
}
h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
p {
  margin: 0 0 18px;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.fine {
  font-size: 13px;
  color: var(--muted);
}
.hero .fine {
  margin: 18px 0 0;
}
.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.product-highlights li {
  padding: 4px 12px;
  border: 1px solid #b8c7c1;
  border-radius: 24px;
  background: #e6ede7;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.product-highlights a {
  color: inherit;
}
.sample {
  position: relative;
  padding: 34px;
  border: 1px solid #e1e5df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 65px #263b3210;
  transform: rotate(1deg);
}
.sample-label {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
}
.sample-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid #b04432;
  color: #193549;
  font-size: 25px;
  font-weight: 700;
}
.sample-number {
  color: #b04432;
  font-size: 30px;
  font-family: Georgia, serif;
  font-weight: 400;
  margin-right: 8px;
}
.sample blockquote {
  margin: 20px 0;
  padding: 16px 18px;
  color: #59656e;
  background: #f7f0e9;
  border-left: 2px solid #b04432;
  font-size: 14px;
}
.sample p {
  font-size: 14px;
}
.sample .sample-foot {
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid #e5e9e6;
  color: #6b7c7e;
  font-size: 12px;
}
.section {
  padding-block: 56px;
  border-top: 1px solid var(--line);
}
.section-intro {
  max-width: 650px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcf9;
}
.card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.card .step {
  display: block;
  margin-bottom: 20px;
  color: #985134;
  font-size: 13px;
  font-weight: 700;
}
.card a {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  font-size: 13px;
}
.swatch i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--swatch);
}
.breadcrumbs {
  margin: 28px 0 32px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs span {
  margin-inline: 10px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) 240px;
  gap: 72px;
  align-items: start;
  padding-bottom: 72px;
}
.article-header {
  margin-bottom: 38px;
}
.article-header h1 {
  font-size: clamp(32px, 4vw, 44px);
}
.prose section {
  margin-top: 40px;
  scroll-margin-top: 24px;
}
.prose h2 {
  font-size: 24px;
}
.prose h3 {
  margin-top: 26px;
}
.prose ul,
.prose ol {
  margin: 16px 0 24px;
  padding-left: 24px;
}
.prose li {
  margin-block: 10px;
  padding-left: 4px;
}
.prose code {
  padding: 2px 6px;
  border-radius: 4px;
  background: #e9eee9;
  color: #245e56;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.prose pre {
  padding: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fcfcf9;
  line-height: 1.7;
}
.prose pre code {
  padding: 0;
  background: transparent;
  color: #20343a;
}
.note {
  padding: 20px 24px;
  border-left: 3px solid #b35a38;
  border-radius: 0 8px 8px 0;
  background: #f0ebe3;
  color: #624c3b;
  font-size: 14px;
}
.note p:last-child {
  margin-bottom: 0;
}
.toc {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcf9;
  font-size: 14px;
}
.toc strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
}
.toc a {
  display: block;
  padding-block: 6px;
  text-decoration: none;
}
.toc .button {
  margin-top: 18px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  color: #20343a;
  font-weight: 600;
}
details p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px;
  margin-top: 36px;
  border-radius: 12px;
  background: #e6ede7;
}
.cta h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px 36px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-inner p {
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  color: var(--muted);
}
.error-page {
  max-width: 680px;
  padding-block: 100px;
}
@media (max-width: 900px) {
  .header-inner {
    padding-block: 18px;
    flex-wrap: wrap;
  }
  .site-nav {
    gap: 18px;
  }
  .hero {
    gap: 32px;
    padding-block: 48px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .toc {
    grid-row: 1;
  }
  .toc a:not(.button) {
    display: inline-block;
    margin-right: 20px;
  }
  .toc .button {
    display: inline-flex;
    margin-top: 10px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    gap: 18px;
  }
  .site-nav {
    gap: 16px;
    font-size: 13px;
  }
  .site-nav .button {
    padding: 7px 12px;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sample {
    transform: none;
    padding: 26px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding-block: 36px;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }
  .prose pre {
    padding: 18px;
  }
}
