@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('./plus-jakarta-sans-latin-5.3.0.woff2') format('woff2');
}

:root {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  color: oklch(0.245 0.025 255);
  background: oklch(0.978 0.009 238);
  font-synthesis: none;
  --surface: oklch(0.997 0.004 250);
  --text: oklch(0.245 0.025 255);
  --muted: oklch(0.46 0.025 255);
  --border: oklch(0.89 0.014 245);
  --primary: oklch(0.49 0.2 285);
  --primary-soft: oklch(0.95 0.035 285);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--primary);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  border-radius: 2px;
}
::selection {
  background: oklch(0.85 0.07 285);
}
.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 16px;
  padding: 12px 16px;
  color: var(--surface);
  background: var(--primary);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px;
  margin: auto;
  min-height: 84px;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--surface);
  font-size: 1.25rem;
  font-weight: 800;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: none;
}
.panel-link:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}
.layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 58px;
  max-width: 1160px;
  margin: auto;
  padding: 56px 32px 88px;
}
.document-nav {
  position: sticky;
  top: 32px;
}
.nav-label {
  margin: 0 0 14px 12px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.document-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.document-nav li + li {
  margin-top: 4px;
}
.document-nav a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.document-nav a:hover {
  background: var(--surface);
  color: var(--text);
}
.document-nav a[aria-current='page'] {
  background: var(--primary-soft);
  color: var(--primary);
}
.document {
  min-width: 0;
  max-width: 72ch;
}
.document:focus {
  outline: none;
}
.document-header {
  margin-bottom: 32px;
}
.date {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}
h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: -0.035em;
}
h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.22;
  font-weight: 750;
}
h2 {
  margin: 42px 0 14px;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 750;
}
h3 {
  margin: 26px 0 10px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 750;
}
p,
.document li {
  font-size: 1rem;
  line-height: 1.8;
}
p {
  margin: 0 0 18px;
}
p:last-child {
  margin-bottom: 0;
}
.document ul,
.document ol {
  padding-left: 1.4em;
  margin: 0 0 20px;
}
.document li {
  padding-left: 0.35em;
}
.document li + li {
  margin-top: 12px;
}
.document li::marker {
  color: var(--primary);
  font-weight: 700;
}
.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.responsible {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 0 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  line-height: 1.65;
}
.responsible dt {
  color: var(--muted);
}
.responsible dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-note {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.contact-note h2 {
  margin: 0 0 10px;
  font-size: 1.125rem;
}
.contact-note p {
  font-size: 0.875rem;
}
.email {
  overflow-wrap: anywhere;
}
.site-footer {
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1160px;
  margin: auto;
  padding: 26px 32px 34px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}
.footer-inner p {
  font-size: inherit;
  margin: 0;
}
.footer-inner a {
  color: inherit;
}
@media (max-width: 800px) {
  .header-inner {
    min-height: 72px;
    padding: 16px 24px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 26px 24px 56px;
  }
  .document-nav {
    position: static;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
  }
  .nav-label {
    margin: 0 0 10px;
  }
  .document-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .document-nav li + li {
    margin-top: 0;
  }
  .document-nav a {
    padding: 9px 11px;
  }
  .document {
    max-width: 72ch;
  }
  h1 {
    font-size: 1.875rem;
  }
  .footer-inner {
    padding: 24px;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 420px) {
  .header-inner {
    padding-inline: 18px;
    gap: 12px;
  }
  .layout {
    padding-inline: 18px;
  }
  .brand {
    gap: 8px;
  }
  .panel-link {
    padding-inline: 11px;
  }
  .responsible {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .responsible dd + dt {
    margin-top: 10px;
  }
  .contact-note {
    padding: 20px;
  }
}
@media print {
  :root {
    background: transparent;
    color: oklch(0.2 0.005 255);
  }
  .site-header,
  .document-nav,
  .site-footer,
  .skip-link {
    display: none;
  }
  .layout {
    display: block;
    padding: 0;
    max-width: none;
  }
  .document {
    max-width: none;
  }
  .contact-note {
    break-inside: avoid;
  }
  h2,
  h3 {
    break-after: avoid;
  }
}
