:root {
  --ink: #14211c;
  --muted: #596760;
  --paper: #fffdf7;
  --moss: #194f3c;
  --green: #4ca878;
  --yellow: #f2c94c;
  --coral: #ed765c;
  --blue: #dceef5;
  --line: rgba(20, 33, 28, 0.15);
  --card: #ffffff;
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper);
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: var(--moss);
  border-radius: 8px;
}
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--moss); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 56px;
  align-items: center;
  min-height: 560px;
  padding: 52px 0 58px;
}
.hero > * { min-width: 0; }
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 11px;
  color: #173a2e;
  font-size: 0.82rem;
  font-weight: 750;
  background: #e2f2e9;
  border-left: 4px solid var(--green);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.hero-copy { max-width: 700px; color: var(--muted); font-size: 1.18rem; line-height: 1.75; }
.hero-art {
  position: relative;
  min-height: 360px;
  padding: 28px;
  background: #e9f4ef;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.document-sheet {
  min-height: 300px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 14px 14px 0 #f4d97f;
}
.document-sheet strong { display: block; margin-bottom: 26px; color: var(--moss); }
.line { height: 9px; margin: 12px 0; background: #d8e2dd; }
.line.short { width: 66%; }
.check { display: flex; gap: 12px; align-items: center; margin-top: 28px; font-weight: 700; }
.check span { display: grid; width: 28px; height: 28px; place-items: center; color: white; background: var(--moss); border-radius: 50%; }
.language-switcher {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 5px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}
.language-switcher a {
  padding: 7px 9px;
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  white-space: nowrap;
}
.language-switcher a[aria-current="page"] { color: white; background: var(--moss); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 58px;
  padding: 64px 0 100px;
  border-top: 1px solid var(--line);
}
.article-body { min-width: 0; font-size: 1.04rem; line-height: 1.82; }
.article-body h2 { margin: 58px 0 18px; font-family: var(--serif); font-size: 2.2rem; line-height: 1.13; letter-spacing: 0; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 30px 0 10px; font-size: 1.2rem; }
.article-body p, .article-body li { color: #35443d; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: #126244; font-weight: 650; }
.callout { margin: 32px 0; padding: 24px; background: #eef6f2; border-left: 5px solid var(--green); }
.callout strong { display: block; margin-bottom: 8px; color: var(--moss); }
.callout p { margin-bottom: 0; }
.warning { background: #fff5d8; border-left-color: var(--yellow); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.app-card { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.app-card img { width: 58px; height: 58px; border-radius: 12px; }
.app-card h3 { margin: 16px 0 8px; }
.app-card p { font-size: 0.93rem; line-height: 1.6; }
.article-side { align-self: start; position: sticky; top: 24px; }
.side-card { margin-bottom: 16px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.side-card h2, .side-card h3 { margin-bottom: 14px; font-size: 1rem; }
.toc-list { margin: 0; padding: 0; list-style: none; }
.toc-list li { margin: 10px 0; }
.toc-list a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.toc-list a:hover { color: var(--moss); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 16px; color: white; font-weight: 750; text-decoration: none; background: var(--moss); border-radius: 6px; }
footer { padding: 38px 0; color: var(--muted); background: #e7f0ec; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-grid p { margin: 8px 0 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); }
@media (max-width: 860px) {
  .hero, .article-layout { grid-template-columns: 1fr; }
  .hero { gap: 34px; min-height: 0; }
  .article-side { position: static; }
  .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1120px); }
  .nav-links a:first-child { display: none; }
  h1 { font-size: 2.75rem; }
  .hero { gap: 24px; padding: 32px 0 40px; }
  .hero-art { min-height: 200px; padding: 14px; }
  .document-sheet { min-height: 170px; padding: 16px; box-shadow: 8px 8px 0 #f4d97f; }
  .document-sheet strong { margin-bottom: 16px; }
  .line { height: 7px; margin: 9px 0; }
  .check { margin-top: 16px; }
  .article-body h2 { font-size: 1.82rem; }
  .footer-grid { display: block; }
  .footer-links { margin-top: 18px; }
}
