@import url("https://fonts.bunny.net/css?family=archivo:400,500,600,700,800&display=swap");

:root {
  --land: #E8EEE7;
  --land-deep: #DCE5DB;
  --ink: #16233F;
  --ink-soft: #46536B;
  --road: #F2BE22;
  --road-deep: #D9A40A;
  --water: #B9D6E8;
  --park: #2F6F4F;
  --white: #FFFFFF;
  --line: rgba(22, 35, 63, 0.14);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--land);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--road-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { padding: 1.25rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand svg { width: 28px; height: 34px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) { .nav .nav-link { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 1rem/1 var(--font);
  padding: .95rem 1.4rem; border-radius: 999px;
  text-decoration: none; border: 2px solid var(--ink);
  cursor: pointer; transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #22325a; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn-road { background: var(--road); border-color: var(--road); color: var(--ink); }
.btn-road:hover { background: var(--road-deep); border-color: var(--road-deep); }
.btn-small { padding: .7rem 1.05rem; white-space: nowrap; font-size: .93rem; }

/* ---------- Legal pages ---------- */
.legal { background: var(--white); padding: 3.5rem 0 5rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 .5rem; }
.legal h2 { font-size: 1.3rem; margin: 2.25rem 0 .5rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { font-size: .95rem; margin-bottom: 2rem; }
.fill { background: #FFF3C4; padding: 0 .25rem; border-radius: 3px; color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C8D0DE; padding: 3rem 0 2.5rem; font-size: .95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-grid .brand { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 0; }
.footer-note { margin-top: 2rem; color: #8F9AB0; font-size: .88rem; }
