:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5d6a62;
  --line: #dfe6e1;
  --paper: #ffffff;
  --wash: #f4f7f5;
  --brand: #176b45;
  --brand-dark: #0e4b30;
  --accent: #d9a441;
  --max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-dark);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  background: linear-gradient(135deg, #0d3d2a, #176b45 62%, #1e7d52);
}

.header-inner,
.page,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.header-inner {
  padding: 28px 0 34px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.home-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  text-decoration: none;
}

.home-link:hover {
  color: #ffffff;
}

.eyebrow {
  margin: 46px 0 8px;
  color: #f0c96f;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.subtitle {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.page {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding-block: 52px 72px;
}

.toc {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand);
}

main {
  min-width: 0;
}

.meta {
  margin: 0 0 30px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  background: #fffaf0;
  font-size: 0.94rem;
}

section {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

p,
ul,
ol {
  margin-block: 0 16px;
}

li + li {
  margin-top: 8px;
}

.callout {
  padding: 20px 22px;
  border: 1px solid #cce1d4;
  border-radius: 14px;
  background: #f0f8f3;
}

.steps {
  padding-left: 1.35rem;
}

.site-footer {
  color: #dce6df;
  background: #10251c;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-block: 30px;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .page,
  .footer-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .eyebrow {
    margin-top: 36px;
  }

  .page {
    display: block;
    padding-block: 34px 52px;
  }

  .toc {
    position: static;
    margin-bottom: 34px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media print {
  .site-header {
    color: #000000;
    background: #ffffff;
  }

  .brand,
  .home-link,
  .subtitle,
  .eyebrow {
    color: #000000;
  }

  .toc,
  .site-footer {
    display: none;
  }

  .page {
    display: block;
    width: 100%;
    padding: 24px 0;
  }
}
