:root {
  --green: #10a249;
  --green-dark: #087337;
  --lime: #e2ff1a;
  --ink: #101314;
  --muted: #56615b;
  --paper: #fffdf4;
  --white: #ffffff;
  --line: #101314;
  --shadow: 8px 8px 0 #101314;
  --soft: #f1f4ec;
  --radius: 8px;
  --max: 860px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 244, .94);
  border-bottom: 3px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 950;
  text-decoration: none;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  box-shadow: 4px 4px 0 var(--line);
}
.logo-mark span {
  width: 17px;
  height: 20px;
  border-radius: 10px;
  background: var(--white);
  position: relative;
}
.logo-mark span:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 3px;
  height: 8px;
  background: var(--white);
  transform: translateX(-50%);
  border-radius: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2e3731;
  font-size: 15px;
  font-weight: 800;
}
.nav-links a { text-decoration: none; }
.nav-links a.active { color: var(--green-dark); }

.doc-head { padding: 56px 0 8px; }
.doc-head h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 950;
  letter-spacing: -0.5px;
}
.doc-head .stamp {
  display: inline-block;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--line);
  padding: 4px 12px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.doc-card {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 44px);
  margin: 28px 0 72px;
}
.doc-card h2 {
  font-size: 20px;
  font-weight: 900;
  margin: 34px 0 8px;
  padding-top: 22px;
  border-top: 3px solid var(--soft);
}
.doc-card h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.doc-card p, .doc-card li { color: #2e3731; font-weight: 500; }
.doc-card strong { color: var(--ink); }
.doc-card ul { padding-left: 22px; }
.doc-card .lead { font-size: 17px; font-weight: 600; color: var(--ink); }

.license-note {
  margin: 14px 0 0;
  padding: 12px 16px;
  background: var(--soft);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.55;
}
.license-note, .doc-card .license-note p { color: var(--muted); font-weight: 500; }
.license-note p { margin: 0; font-size: inherit; }

footer { background: var(--ink); color: var(--white); padding: 34px 0 26px; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.76);
  font-weight: 700;
  font-size: 14px;
}
.foot-bottom a { color: rgba(255,255,255,.76); }

@media (max-width: 560px) {
  .nav-links { gap: 14px; font-size: 14px; }
}
