@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

@font-face {
  font-family: "Gesco";
  src: url("/legal/fonts/Gesco.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf6e7;
  --paper-deep: #f2ead0;
  --ink: #1a2918;
  --muted: #4a5648;
  --line: #d9d0ac;
  --forest: #0f3d0f;
  --green: #2a7a2a;
  --gold: #e6b800;
  --gold-soft: #fff1b8;
  --white: #fffcec;
  --shadow: rgba(15, 61, 15, 0.13);
  --font-pixel: "Pixelify Sans", "Gesco", system-ui, sans-serif;
  --font-display: "Gesco", "Pixelify Sans", system-ui, sans-serif;
  --font-sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(216, 207, 170, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 207, 170, .22) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--forest);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 207, 170, .85);
  background: rgba(255, 250, 240, .94);
  backdrop-filter: blur(14px);
}

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

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-family: var(--font-pixel);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-pixel);
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--forest);
}

.page-shell { padding: 56px 0 84px; }
.hero {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--forest);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    var(--forest);
  background-size: 24px 24px;
  color: var(--white);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 10px 10px 0 var(--gold);
}
.hero::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -52px;
  bottom: -76px;
  border: 24px solid rgba(230, 184, 0, .2);
  transform: rotate(20deg);
}
.kicker {
  margin: 0 0 14px;
  color: #ffe36b;
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.title-vi {
  display: inline-block;
  font-size: .82em;
  white-space: nowrap;
}
.hero .summary {
  max-width: 760px;
  margin: 22px 0 0;
  color: #eef6e9;
  font-size: clamp(16px, 2vw, 20px);
}
.effective { margin: 18px 0 0; color: #cbdcc6; font-size: 14px; }

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 36px;
}
.jump-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  font-family: var(--font-pixel);
  font-weight: 700;
  padding: 8px 15px;
  text-decoration: none;
  box-shadow: 0 4px 12px var(--shadow);
}

.notice {
  border-left: 6px solid var(--gold);
  background: var(--gold-soft);
  color: var(--forest);
  margin: 0 0 28px;
  padding: 16px 18px;
  border-radius: 0 12px 12px 0;
}

.document {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 18px 45px var(--shadow);
}
.language-label {
  display: inline-block;
  margin-bottom: 26px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: #e5f0d6;
  color: var(--forest);
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 6px 11px;
  text-transform: uppercase;
}
.document h2 {
  margin: 38px 0 10px;
  color: var(--forest);
  font-family: var(--font-pixel);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.22;
}
.document h2:first-of-type { margin-top: 0; }
.document h3 { margin: 24px 0 8px; color: var(--forest); font-family: var(--font-pixel); }
.document p, .document li { color: #344033; }
.document ul { padding-left: 22px; }
.document li + li { margin-top: 8px; }
.document strong { color: var(--ink); }

.contact-card {
  margin-top: 42px;
  border: 2px solid var(--forest);
  border-radius: 16px;
  background: var(--paper-deep);
  padding: 22px;
}
.contact-card h2 { margin-top: 0; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--forest);
  color: #e8f1e4;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-size: 14px;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: #ffe36b; }

@media (max-width: 700px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .site-nav { width: 100%; }
  .site-nav a { flex: 1 1 130px; text-align: center; }
  .page-shell { padding-top: 30px; }
  .hero { border-radius: 15px; box-shadow: 6px 6px 0 var(--gold); }
  .title-vi { font-size: .78em; white-space: normal; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .jump-links { display: none; }
  body { background: white; }
  .page-shell { width: 100%; padding: 0; }
  .hero, .document { box-shadow: none; break-inside: avoid; }
  .site-footer { background: white; color: black; }
}
