:root {
  color-scheme: light dark;
  --canvas: #fff8f2;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #35272c;
  --muted: #6f5e64;
  --coral: #c94767;
  --coral-strong: #a92d4f;
  --coral-soft: #ffe1e7;
  --lavender: #eee7ff;
  --lavender-ink: #493d6b;
  --border: #eadbd8;
  --focus: #7048b5;
  --shadow: 0 18px 50px rgba(95, 54, 65, 0.1);
  --radius-large: 28px;
  --radius-medium: 18px;
  --content-width: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 12% 2%, rgba(255, 205, 213, 0.35), transparent 31rem), var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
a { color: var(--coral-strong); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { border-radius: 6px; outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 10;
  padding: 10px 14px; border-radius: 12px;
  background: var(--ink); color: var(--surface-strong); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer, .home-main, .document-main { width: min(100% - 32px, 1120px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand { color: var(--coral-strong); font-size: 26px; font-weight: 800; letter-spacing: -0.06em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.home-main { padding-block: 64px 96px; }
.hero { max-width: 820px; margin-bottom: 64px; }
.eyebrow { margin: 0 0 12px; color: var(--coral-strong); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.2; letter-spacing: -0.035em; }
h1 { margin-bottom: 24px; font-size: clamp(44px, 9vw, 78px); }
h2 { margin-bottom: 16px; font-size: clamp(26px, 5vw, 36px); }
h3 { margin-bottom: 10px; font-size: 20px; }
p, li, td, th { overflow-wrap: anywhere; }
.lead { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(18px, 3vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 12px 20px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 800; text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button-primary { background: var(--coral-strong); color: #ffffff; }
.button-primary:hover { background: #84213e; }
.button-secondary { border-color: var(--border); background: var(--surface-strong); color: var(--ink); }
.button-secondary:hover { border-color: var(--coral); }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.info-card, .english-summary, .document-card, .contact-card {
  border: 1px solid var(--border); border-radius: var(--radius-large);
  background: rgba(255, 253, 249, 0.88); box-shadow: var(--shadow);
}
.info-card { padding: clamp(24px, 5vw, 38px); }
.info-card.lavender { background: color-mix(in srgb, var(--lavender) 58%, var(--surface)); }
.card-number { display: block; margin-bottom: 32px; color: var(--coral-strong); font-weight: 800; }
.info-card p, .english-summary p { color: var(--muted); }
.text-link { display: inline-block; margin-top: 8px; font-weight: 800; }
.english-summary { margin-top: 20px; padding: clamp(24px, 5vw, 38px); }
.inline-links, .language-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.inline-links a, .language-links a { font-weight: 800; }
.document-main { padding-block: 48px 96px; }
.document-hero { width: min(100%, var(--content-width)); margin: 0 auto 32px; }
.document-hero h1 { font-size: clamp(38px, 8vw, 58px); }
.updated { color: var(--muted); font-weight: 650; }
.language-links { margin-top: 24px; }
.document-card { width: min(100%, var(--content-width)); margin: 0 auto 24px; padding: clamp(24px, 6vw, 48px); }
.document-card section + section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.document-card h2 { scroll-margin-top: 24px; }
.document-card ul, .document-card ol { padding-left: 24px; }
.document-card li + li { margin-top: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-medium); }
table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface-strong); }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--lavender-ink); background: var(--lavender); }
tr:last-child td { border-bottom: 0; }
.contact-card { width: min(100%, var(--content-width)); margin: 0 auto 24px; padding: 24px; background: var(--coral-soft); }
.contact-card p { margin: 0; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px; border-top: 1px solid var(--border); color: var(--muted); }
.site-footer p { margin: 0; }
@media (max-width: 680px) {
  .site-header { align-items: flex-start; padding-block: 20px; }
  nav { max-width: 190px; gap: 8px 16px; }
  .home-main { padding-block: 44px 72px; }
  .hero { margin-bottom: 44px; }
  .info-grid { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .document-main { padding-block: 32px 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #1d1719; --surface: #292124; --surface-strong: #30272a; --ink: #fff6f7;
    --muted: #d6c5ca; --coral: #ff8aa3; --coral-strong: #ff9ab0; --coral-soft: #482832;
    --lavender: #39304c; --lavender-ink: #e4d9ff; --border: #58474c; --focus: #c9adff;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  }
  body { background: radial-gradient(circle at 12% 2%, rgba(126, 55, 76, 0.28), transparent 31rem), var(--canvas); }
  .button-primary { background: #e95f80; color: #1d1115; }
  .button-primary:hover { background: #ff8ca5; }
  .info-card, .english-summary, .document-card { background: rgba(41, 33, 36, 0.92); }
}
