:root {
  color-scheme: light;
  --ink: #173d3a;
  --muted: #58716f;
  --paper: #fffaf2;
  --paper-strong: #fffefb;
  --teal: #0a6c67;
  --teal-deep: #064c49;
  --teal-soft: #dcefeb;
  --apricot: #f4a261;
  --line: rgba(23, 61, 58, 0.14);
  --shadow: 0 24px 70px rgba(6, 76, 73, 0.13);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(244, 162, 97, 0.22), transparent 25rem),
    radial-gradient(circle at 94% 18%, rgba(78, 183, 173, 0.2), transparent 27rem),
    var(--paper);
  line-height: 1.65;
}

a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-deep); }

.shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.nav {
  min-height: 72px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 750; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 10px; box-shadow: 0 5px 16px rgba(6, 76, 73, 0.18); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 650; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--teal-deep); }

.language-switch {
  display: flex;
  order: 3;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.62);
}
.language-switch button {
  min-width: 46px;
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}
.language-switch button[aria-pressed="true"] { color: white; background: var(--teal); }

main { min-height: calc(100vh - 190px); }
.hero { padding: 96px 0 64px; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 0; font-size: clamp(2.55rem, 6.2vw, 5.4rem); line-height: 0.98; letter-spacing: -0.052em; }
.lede { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-icon { width: min(100%, 320px); justify-self: center; border-radius: 28%; box-shadow: var(--shadow); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; color: white; background: var(--teal); font-weight: 750; text-decoration: none; box-shadow: 0 10px 24px rgba(10,108,103,.18); }
.button.secondary { color: var(--teal-deep); background: rgba(255,255,255,.68); border: 1px solid var(--line); box-shadow: none; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px 0 88px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.68); box-shadow: 0 14px 38px rgba(6,76,73,.06); }
.card h2, .card h3 { margin-top: 0; line-height: 1.2; }
.card p:last-child { margin-bottom: 0; }
.mark { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 13px; color: var(--teal-deep); background: var(--teal-soft); font-weight: 850; }

.document { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 78px 0 100px; }
.document-header { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.document h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.document h2 { margin: 48px 0 12px; font-size: 1.45rem; letter-spacing: -0.02em; }
.document h3 { margin: 28px 0 8px; font-size: 1.08rem; }
.document p, .document li { color: #395957; }
.document ul, .document ol { padding-left: 1.3rem; }
.meta { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.notice { margin: 30px 0; padding: 20px 22px; border-left: 4px solid var(--apricot); border-radius: 0 16px 16px 0; background: rgba(244,162,97,.12); }
.contact-card { margin-top: 44px; padding: 26px; border-radius: 22px; color: white; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); }
.contact-card a { color: white; font-weight: 750; }

.lang-panel[hidden] { display: none; }

footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 18px; }

:focus-visible { outline: 3px solid var(--apricot); outline-offset: 4px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1100px); }
  .nav { min-height: auto; padding: 12px 0; flex-wrap: wrap; }
  .nav-links { order: 2; justify-content: flex-end; gap: 10px; padding-bottom: 3px; }
  .language-switch button { min-width: 40px; padding: 6px 8px; font-size: 0.76rem; }
  .hero { padding: 62px 0 44px; grid-template-columns: 1fr; gap: 38px; }
  .hero-icon { width: 210px; order: -1; }
  .grid { grid-template-columns: 1fr; padding-bottom: 64px; }
  .document { width: min(100% - 28px, 820px); padding-top: 56px; }
  .footer-inner { padding: 24px 0; align-items: flex-start; flex-direction: column; }
}

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

@media print {
  .site-header, footer, .language-switch { display: none; }
  body { background: white; }
  .document { width: 100%; padding: 0; }
  .lang-panel[hidden] { display: block; }
}
