:root {
  --ink: #173d35;
  --muted: #52756c;
  --mint: #e4f6ef;
  --mint-strong: #1f8a70;
  --sun: #f7c948;
  --paper: #ffffff;
  --line: #cde5dc;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: white; padding: .7rem 1rem; z-index: 5; }
.skip-link:focus { left: .75rem; top: .75rem; }
.site-header { max-width: 72rem; margin: auto; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: 1.2rem; font-weight: 800; }
.brand img { width: 2.25rem; height: 2.25rem; }
nav { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
nav a { color: var(--muted); font-size: .94rem; }
.language-toggle { border: 1px solid var(--line); border-radius: 999px; padding: .5rem .75rem; background: white; color: var(--ink); font: inherit; cursor: pointer; white-space: nowrap; text-decoration: none; }
main { max-width: 72rem; margin: auto; padding: 0 1.25rem 4rem; }
.hero { padding: clamp(3.5rem, 10vw, 7rem) clamp(1.3rem, 6vw, 5rem); border-radius: 2rem; background: linear-gradient(135deg, var(--mint), #f9fffc); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 16rem; height: 16rem; right: -5rem; bottom: -9rem; border: 1.1rem solid var(--mint-strong); border-radius: 50%; opacity: .18; }
.eyebrow { color: var(--mint-strong); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; font-size: .82rem; }
h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); max-width: 12ch; line-height: 1.04; margin: .3rem 0 1.1rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.2; margin-top: 3rem; }
h3 { margin-top: 0; }
.lead { font-size: 1.15rem; max-width: 45rem; color: var(--muted); }
.button { display: inline-block; background: var(--ink); color: white; padding: .72rem 1rem; border-radius: .8rem; text-decoration: none; font-weight: 700; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.25rem 0 2rem; }
.pillar, .card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 1.15rem; background: white; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 2rem; }
.card { display: block; text-decoration: none; }
.card:hover { border-color: var(--mint-strong); box-shadow: 0 .5rem 1.5rem rgba(23, 61, 53, .08); }
.pillar-icon { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--mint); margin-bottom: .6rem; font-size: 1.1rem; }
.pillar p, .card p { margin-bottom: 0; color: var(--muted); }
.local-note { padding: 1.25rem; border-left: .35rem solid var(--mint-strong); background: #f7fcfa; border-radius: .4rem; }
.legal { max-width: 48rem; margin: 1rem auto 0; }
.legal h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.4rem); }
.legal h2 { margin-top: 2.35rem; }
.legal li { margin: .55rem 0; }
.article { max-width: 48rem; margin: 1rem auto 0; }
.article h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.4rem); }
.article h2 { margin-top: 2.35rem; }
.article p { max-width: 44rem; }
.article details { border-top: 1px solid var(--line); padding: .8rem 0; }
.article details:last-child { border-bottom: 1px solid var(--line); }
.article summary { cursor: pointer; font-weight: 700; }
.updated { color: var(--muted); font-size: .94rem; }
.notice { background: #fff8dd; border: 1px solid #f1d56e; padding: 1rem; border-radius: .75rem; }
.site-footer { border-top: 1px solid var(--line); padding: 2rem 1.25rem; color: var(--muted); }
.footer-inner { max-width: 72rem; margin: auto; display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; justify-content: space-between; }
@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  nav { order: 3; width: 100%; justify-content: flex-start; }
  .pillars { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .hero { border-radius: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
