:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5c6961;
  --paper: #f5f7f2;
  --card: #ffffff;
  --line: #dce4dc;
  --green: #176b49;
  --green-dark: #0d4a32;
  --accent: #d9f26b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(217, 242, 107, .3), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }

.shell { width: min(100% - 2rem, 980px); margin-inline: auto; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 228, 220, .9);
  background: rgba(245, 247, 242, .9);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .75rem; font-weight: 800; text-decoration: none; }
.mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--green-dark); }
.links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; font-size: .92rem; }
.links a { text-decoration: none; }

main { padding: 4.5rem 0 5rem; }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 820px; margin: .45rem 0 1rem; font-size: clamp(2.25rem, 7vw, 4.7rem); line-height: 1.03; letter-spacing: -.055em; }
.lead { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.meta { margin-top: 1.4rem; color: var(--muted); font-size: .9rem; }

.document { margin-top: 3rem; padding: clamp(1.35rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: 0 24px 70px rgba(35, 53, 42, .08); }
.document section + section { margin-top: 2.4rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
h2 { margin: 0 0 .75rem; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.25; }
h3 { margin: 1.4rem 0 .45rem; font-size: 1.05rem; }
p, ul, ol { margin-top: .65rem; }
li + li { margin-top: .4rem; }
.notice { padding: 1rem 1.15rem; border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; background: #eef7ef; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.3rem; }
.card { min-height: 180px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; }
.card strong { display: block; margin-bottom: .45rem; font-size: 1.1rem; }
.card span { color: var(--muted); }
.card:hover { border-color: var(--green); transform: translateY(-2px); }

footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 720px) {
  .nav { align-items: flex-start; flex-direction: column; padding: .9rem 0; }
  .links { width: 100%; }
  main { padding-top: 3rem; }
  .cards { grid-template-columns: 1fr; }
}

@media print {
  header, footer { display: none; }
  body { background: white; }
  main { padding: 0; }
  .document { border: 0; box-shadow: none; padding: 0; }
}
