:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --surface: #fff;
  --ink: #202329;
  --muted: #595e65;
  --line: #deded9;
  --accent: #b9222e;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 10; padding: .6rem 1rem; background: white; }
.skip-link:focus { top: .5rem; }
.site-header { background: #12161f; color: white; }
.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .8rem; color: white; text-decoration: none; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.brand img { display: block; width: 64px; height: 64px; border-radius: 6px; }
.site-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #f5f3ee; font-size: .9rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: #ec5862; text-decoration-thickness: 2px; }
main { max-width: 940px; margin: 2.5rem auto; padding: 3rem 3.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.eyebrow { color: var(--accent); letter-spacing: .14em; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.language-nav { display: flex; justify-content: flex-end; gap: 1rem; margin-bottom: 1.5rem; font-size: .9rem; }
.language-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.document h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.3; letter-spacing: -.035em; margin: .5rem 0 1.25rem; }
.document h2 { font-size: 1.2rem; line-height: 1.55; margin: 2.5rem 0 .9rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.document h3 { font-size: 1.1rem; margin-top: 1.75rem; }
.document p { margin: .85rem 0; }
.document ul, .document ol { padding-left: 1.5rem; }
.document li { margin: .4rem 0; }
.document li p { margin: .2rem 0; }
.document .date { color: var(--muted); font-size: .9rem; margin-bottom: 1.75rem; }
.document footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.home h1 { max-width: 640px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.home h2 { color: var(--muted); font-size: .85rem; letter-spacing: .12em; }
.home h3 { font-size: 1.65rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0; }
.button { display: inline-flex; min-height: 44px; align-items: center; padding: .65rem 1.1rem; border: 1px solid var(--accent); border-radius: 5px; text-decoration: none; font-weight: 600; }
.button-primary { background: var(--accent); color: white; }
.site-footer { max-width: 1100px; margin: auto; padding: 0 2rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; color: var(--muted); font-size: .85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
@media (max-width: 700px) {
  .header-inner { padding: 1rem 1.25rem; flex-direction: column; align-items: flex-start; gap: .5rem; }
  .brand img { width: 52px; height: 52px; }
  .site-nav { gap: .2rem 1rem; }
  main { margin: 1rem .75rem 1.5rem; padding: 1.75rem 1.25rem; border-radius: 6px; }
  .site-footer { padding: 0 1.25rem 1.5rem; }
}
@media print {
  body { background: white; font-size: 11pt; }
  .site-header, .site-footer, .language-nav, .contact-actions, .skip-link { display: none; }
  main { max-width: none; margin: 0; padding: 0; border: 0; }
  h2, h3 { break-after: avoid; }
}
