@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --chrome: #232323;
  --chrome-2: #2e2e2e;
  --chrome-3: #3a3a3a;
  --chrome-ink: #f2f2f2;
  --chrome-muted: #b9b9b9;
  --surface: #ffffff;
  --surface-alt: #f4f5f6;
  --line: #e3e5e8;
  --line-strong: #c9ced4;
  --ink: #1d1f22;
  --ink-soft: #3b4046;
  --muted: #5b6168;
  --icon: #6b7178;
  --avatar: #5c6269;
  --brand: #0077b6;
  --brand-hover: #005f92;
  --brand-tint: #e6f3fa;
  --accent: #0ba4e0;
  --ok: #1a7f37;
  --off: #c4262e;
  --neutral: #1d1f22;
  --presence-free: #3fb950;
  --sans: "Roboto", system-ui, sans-serif;
  --display: "Roboto", system-ui, sans-serif;
  --rail: 84px;
  --top: 64px;
  --maxw: 1240px;
  --pad: clamp(16px, 3vw, 32px);
  --r: 6px;
  --r-sm: 4px;
  --shadow: 0 1px 2px rgba(20, 24, 28, .06), 0 4px 14px rgba(20, 24, 28, .05);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--surface-alt); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}
::selection { background: var(--brand); color: var(--surface); }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Top bar --- */
.top {
  position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 0 clamp(12px, 2vw, 20px) 0 0;
  background: var(--chrome); color: var(--chrome-ink);
}
.brand {
  width: var(--rail); flex: none; display: grid; place-items: center;
  color: var(--chrome-ink); text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 21px;
}
.brand b { color: var(--accent); font-weight: 700; }
.brand:hover { color: var(--surface); }
.top__title { font-size: 15px; color: var(--chrome-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__title strong { color: var(--chrome-ink); font-weight: 500; }
.top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.callbtn {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 4px;
  border-radius: var(--r); background: var(--chrome-2); color: var(--chrome-ink);
  text-decoration: none; font-weight: 500; white-space: nowrap;
}
.callbtn__ico { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--brand); display: grid; place-items: center; color: var(--surface); }
.callbtn:hover { color: var(--surface); background: var(--chrome-3); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--avatar); color: var(--surface); font-size: 14px; font-weight: 500; position: relative;
}
.avatar::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--presence-free); box-shadow: 0 0 0 2px var(--chrome); }

/* --- Rail --- */
.rail {
  position: fixed; top: var(--top); bottom: 0; left: 0; width: var(--rail); z-index: 15;
  background: var(--chrome); padding: 6px 4px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px;
}
.rail a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 2px; border-radius: var(--r);
  color: var(--chrome-ink); text-decoration: none; font-size: 12.5px; line-height: 1.2; text-align: center;
  transition: background .2s var(--ease);
}
.rail a:hover { background: var(--chrome-2); color: var(--surface); }
.rail a[aria-current] { background: var(--brand); color: var(--surface); }
.rail__sep { height: 1px; margin: 4px 10px; background: var(--chrome-3); flex: none; }
.rail__spacer { flex: 1; }
.rail .rail__call { background: var(--brand); color: var(--surface); }
.rail .rail__call:hover { background: var(--brand-hover); }

/* --- Main --- */
main { margin-left: var(--rail); padding-top: var(--top); }
.wrap { max-width: var(--maxw); padding: 0 var(--pad); margin: 0 auto; }
.section { padding-block: clamp(28px, 4vw, 48px); }
.section + .section { border-top: 1px solid var(--line); }
.page-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px 0 14px; border-bottom: 1px solid var(--line);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* --- Head --- */
.head { padding-block: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 30px); display: grid; gap: 16px; }
.head h1 {
  font-family: var(--display); font-weight: 700; margin: 0;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); line-height: 1.06; letter-spacing: -.028em;
  max-width: 22ch; text-wrap: balance;
}
.head h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; margin: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px;
  border-radius: var(--r); font-weight: 500; text-decoration: none; font-size: 16px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--brand); color: var(--surface); }
.btn--primary:hover { background: var(--brand-hover); color: var(--surface); }

/* --- Panels --- */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 24px);
}
.panel__head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.panel__head h2, .panel__head h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.005em; }
.panel__head .i { color: var(--icon); }
.rows { display: grid; grid-template-columns: 1fr; margin: 0; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 46px; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row dt { color: var(--ink-soft); }
.row dd { margin: 0; text-align: right; font-weight: 500; display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.row small { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; }

.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 3px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  color: var(--surface); background: var(--neutral);
}
.badge--ok { background: var(--ok); }
.badge--off { background: var(--off); }
.badge--info { background: var(--brand); }
.badge--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* --- Article --- */
.doc { display: grid; gap: clamp(22px, 3vw, 40px); align-items: start; padding-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 1100px) {
  .doc { grid-template-columns: minmax(0, 1fr) 360px; }
  .doc aside { position: sticky; top: calc(var(--top) + 18px); grid-column: 2; grid-row: 1; }
}
.prose { max-width: 70ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); line-height: 1.2; letter-spacing: -.015em; margin: 1.9em 0 .5em; text-wrap: balance; }
.prose h3 { font-size: 1.1rem; margin: 1.5em 0 .3em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; color: var(--ink-soft); }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--icon); }
.prose strong { color: var(--ink); font-weight: 500; }
.note {
  margin: 1.4em 0; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: var(--r-sm); display: flex; gap: 12px; align-items: flex-start;
}
.note .i { color: var(--brand); margin-top: 2px; }
.note p { margin: 0; color: var(--ink-soft); }
.note strong { color: var(--ink); }

.tbl-wrap { overflow-x: auto; margin: 0 0 1.2em; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: 700; font-size: 14px; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-strong); }
td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--ink); font-weight: 500; }
td .sub { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; }

/* --- Topic list --- */
.topics { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.topics li { border-bottom: 1px solid var(--line); }
.topics a { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; color: var(--ink); text-decoration: none; }
.topics a:hover strong { color: var(--brand); text-decoration: underline; }
.topics .ico { width: 40px; height: 40px; border-radius: var(--r); background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.topics strong { display: block; font-weight: 500; }
.topics .d { color: var(--muted); font-size: 14.5px; }
.topics .go { color: var(--icon); transform: rotate(-90deg); }
.more { margin-top: clamp(8px, 2vw, 16px); }
.more .panel__head { margin-bottom: 4px; }
.more .topics { border-top: 0; }
.more .topics li:last-child { border-bottom: 0; }

/* --- Contact --- */
.contact {
  background: var(--chrome); color: var(--chrome-ink); border-radius: var(--r);
  padding: clamp(24px, 4vw, 44px); display: grid; gap: 28px; align-items: center;
}
@media (min-width: 900px) { .contact { grid-template-columns: 1fr auto; } }
.contact h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; }
.contact p { margin: 0; color: var(--chrome-muted); max-width: 54ch; }
.contact .bignum {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); font-weight: 700; color: var(--surface); text-decoration: none; letter-spacing: -.01em;
}
.contact .bignum .callbtn__ico { width: 48px; height: 48px; border-radius: var(--r); }
.contact .bignum:hover { color: var(--surface); }
.contact .bignum:hover .callbtn__ico { background: var(--brand-hover); }
.partner { display: flex; align-items: center; gap: 16px; }
.partner img { width: 120px; height: auto; border-radius: var(--r-sm); display: block; }
.partner small { display: block; color: var(--chrome-muted); font-size: 13.5px; }
.foot {
  grid-column: 1 / -1; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--chrome-3);
  color: var(--chrome-muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
}
.foot a { color: var(--chrome-ink); }
.foot a:hover { color: var(--surface); }
.foot nav { display: flex; gap: 16px; }
#kontakt { padding-bottom: clamp(24px, 3vw, 40px); }

/* --- Mobile --- */
@media (max-width: 860px) {
  :root { --rail: 0px; --top: 58px; }
  .brand { width: auto; padding-left: 16px; }
  .top__title { font-size: 13px; }
  .top__sub { display: none; }
  .callbtn__num { display: none; }
  .callbtn { padding: 0 4px; }
  .rail {
    top: auto; bottom: 0; width: 100%; height: 64px; flex-direction: row; padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
    overflow: hidden; gap: 0;
  }
  .rail a { flex: 1 1 0; min-width: 0; padding: 6px 0; font-size: 11px; letter-spacing: -.01em; }
  .rail__spacer, .rail__sep, .rail .rail__topic { display: none; }
  main { padding-bottom: 72px; }
  .row { align-items: flex-start; }
}
@media (max-width: 600px) {
  .crumbs ol { font-size: 14px; }
  .head { padding-block: 20px 16px; gap: 12px; }
  .lead { font-size: 1rem; line-height: 1.5; }
  .panel { padding: 14px 14px 6px; }
  .topics a { grid-template-columns: 40px 1fr; }
  .topics .go { display: none; }
  .row--stack { flex-direction: column; align-items: flex-start; gap: 2px; }
  .row--stack dd { justify-content: flex-start; text-align: left; }
}
