/* Shared info-site theme.
   Tokens taken from https://vjednom.cz/assets/index-D4YGrBIA.css on 2026-10-29
   (light theme :root). The decorative photo /concept-bg.png is not copied.
   Roboto is the local Apache-2.0 font, not fonts.bitrix24.com. */

@font-face {
  font-family: Roboto;
  src: url("fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-text: #07124d;
  --page-bg: #fff;
  --text-muted: #5c6680;
  --text-soft: #273256;
  --text-subtle: #76809a;
  --text-strong: #07124d;
  --accent: #1267e8;
  --accent-text: #1267e8;
  --accent-contrast: #fff;
  --accent-teal: #9b0b36;
  --primary: #07124d;
  --primary-bright: #1b2b83;
  --border-soft: #1267e82e;
  --border-medium: #1267e84d;
  --header-bg: linear-gradient(135deg, #07124d 0%, #1b2b83 72%, #9b0b36 100%);
  --surface: #ffffffc7;
  --surface-raised: #fffffff0;
  --surface-ghost: #ffffff94;
  --panel-gradient: linear-gradient(145deg, #fffffffa, #eaf3ffc7);
  --shadow-header: 0 20px 60px #07124d47;
  --shadow-panel: 0 34px 90px #07124d1f;
  --shadow-accent: #1267e83d;
  --shadow-accent-hover: #1267e857;
  --soft: #eaf3ff;
  --soft-burgundy: #fff1f5;
  color: var(--page-text);
  background: var(--page-bg);
  font-family: Roboto, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { background: var(--page-bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--page-text);
  background: linear-gradient(#ffffffe0, #f8fbfff0);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-text); }
a:hover { color: var(--primary-bright); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text-strong); letter-spacing: 0; font-weight: 700; }
p { color: var(--text-muted); line-height: 1.7; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--primary);
  padding: .4rem .7rem;
  z-index: 30;
}
.skip:focus { top: .4rem; }

.site-header {
  z-index: 20;
  background: var(--header-bg);
  width: min(1180px, calc(100% - 2rem));
  box-shadow: var(--shadow-header);
  border-radius: .9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1rem auto 0;
  padding: .8rem 1rem;
  position: sticky;
  top: 1rem;
}
.brand { color: #fff; display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; max-width: 100%; }
.brand-logos { display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.brand-logo, .brand-byline { display: block; width: auto; max-width: none; flex: none; }
.brand-logo { height: 1.7rem; }
.brand-byline { height: 1.15rem; opacity: .95; }
.brand-name { color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.25; min-width: 0; }
.nav-links, .lang-switch { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1rem; color: #ffffffd1; font-size: .98rem; font-weight: 500; }
.nav-links a, .lang-switch a { color: #ffffffd1; text-decoration: none; padding: .45rem 0; }
.nav-links a:hover, .nav-links a[aria-current="page"], .lang-switch a:hover, .lang-switch a[aria-current="page"] { color: #fff; }
.nav-separator { color: #ffffff7a; }
.header-actions { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid #ffffff59;
  border-radius: .55rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex: none;
}
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: #ffffff24; }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  transition: top .15s ease, transform .15s ease, background-color .15s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-links[hidden] { display: none !important; }

.shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.home { display: block; padding: 1.75rem 0 3rem; }
.home > h1 { margin-bottom: .75rem; }
.home > h2 { margin: 2rem 0 .75rem; }
.home > h3 { margin: 1.15rem 0 .35rem; }
.home > p { margin: 0 0 .75rem; }
.home > ul, .home > ol { margin: 0 0 1rem; }
.home > .feature-grid, .home > .steps { margin: 0 0 .25rem; }
.hero h1 { max-width: 18em; font-size: clamp(1.8rem, 4.35vw, 3.5rem); line-height: 1.13; margin-bottom: 1rem; }
.hero-lead { max-width: 40rem; color: var(--text-soft); font-size: clamp(1.08rem, 2vw, 1.28rem); margin-bottom: 1.4rem; }
.eyebrow { color: var(--accent-text); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; font-size: .8rem; font-weight: 700; }
.section-heading { margin-bottom: 1.25rem; }
.section-heading h2, .prose h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.15; margin-bottom: .75rem; }

.button {
  border: 1px solid var(--accent);
  background: var(--accent);
  min-height: 3.15rem;
  color: var(--accent-contrast);
  box-shadow: 0 14px 38px var(--shadow-accent);
  border-radius: .7rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .85rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s, box-shadow .16s;
}
.button:hover { color: #fff; box-shadow: 0 20px 52px var(--shadow-accent-hover); transform: translateY(-2px); }
.button-ghost { border-color: var(--border-medium); background: var(--surface-ghost); color: var(--page-text); box-shadow: none; }
.button-ghost:hover { color: var(--primary); background: #fff; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1rem 0 0; }
.shot { margin: 1.5rem 0; }
.shot__zoom { display: block; color: inherit; }
.shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--border-medium); border-radius: 8px; box-shadow: 0 12px 32px #07124d1f; background: #fff; }
.shot figcaption { margin-top: .45rem; font-size: .875rem; line-height: 1.45; color: var(--text-muted); }
.shot-dialog { max-width: min(1280px, 96vw); padding: 0; border: 0; background: transparent; }
.shot-dialog::backdrop { background: #07124db8; }
.shot-dialog img { display: block; max-width: 96vw; max-height: 90vh; width: auto; height: auto; border-radius: 8px; }
.order-form { margin: 1.5rem 0 0; min-height: 8rem; }
.order-form__loading, .order-form__fallback, .order-form__noscript { color: var(--text-soft); }
.order-form__fallback { display: none; }
.order-form.is-loaded .order-form__loading { display: none; }
.order-form.is-failed .order-form__loading { display: none; }
.order-form.is-failed .order-form__fallback { display: block; }
.company-lookup { position: relative; box-sizing: border-box; max-width: 35rem; margin: 0 auto 1.5rem; padding: 1rem 1.1rem 1.05rem; border: 1px solid var(--border-soft); border-radius: 1.1rem; background: var(--surface-raised); }
.company-lookup[hidden] { display: none; }
.company-lookup__label { display: block; margin-bottom: .45rem; font-weight: 700; }
.company-lookup__box { position: relative; }
.company-lookup__input { box-sizing: border-box; width: 100%; min-height: 2.9rem; padding: .65rem .9rem; border: 1px solid var(--border-medium); border-radius: .7rem; background: #fff; color: inherit; font: inherit; font-size: 1rem; }
.company-lookup__input:focus { outline: 3px solid #1267e833; outline-offset: 0; border-color: var(--accent); }
.company-lookup__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .35rem); max-height: min(24rem, 60vh); overflow-y: auto; margin: 0; padding: .3rem; list-style: none; border: 1px solid var(--border-medium); border-radius: .8rem; background: #fff; box-shadow: 0 16px 40px #07124d29; }
.company-lookup__list[hidden] { display: none; }
.company-lookup__option { display: grid; gap: .1rem; padding: .55rem .7rem; border-radius: .55rem; cursor: pointer; }
.company-lookup__option:hover, .company-lookup__option.is-active { background: #1267e814; }
.company-lookup__option.is-active { box-shadow: inset 3px 0 0 var(--accent); }
.company-lookup__name { font-weight: 700; overflow-wrap: anywhere; }
.company-lookup__meta { color: var(--text-muted); font-size: .86rem; line-height: 1.4; overflow-wrap: anywhere; }
.company-lookup__hint { margin: .5rem 0 0; color: var(--text-muted); font-size: .86rem; line-height: 1.45; }
.company-lookup__status { margin: .35rem 0 0; min-height: 1.3em; color: var(--text-soft); font-size: .9rem; }
.company-lookup__status:empty { display: none; }
.company-lookup__status.is-ok { color: #0a7a45; }
.company-lookup__status.is-ok::before { content: "✓ "; font-weight: 700; }
.company-lookup__status.is-error { color: #a4372a; }

.card-grid, .feature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.info-card, .step-card {
  border: 1px solid var(--border-soft);
  background: var(--surface-raised);
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: none;
}
.info-card h3, .step-card h3 { margin-bottom: .4rem; font-size: 1.14rem; }
.info-card p, .step-card p { margin-bottom: 0; color: var(--text-soft); }
.soon { display: inline-block; margin-left: .35rem; color: var(--accent-teal); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.steps { display: grid; gap: 1rem; }
.step-card { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.step-no {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--soft); color: var(--accent); font-weight: 700;
}

.prose { width: min(52rem, calc(100% - 2rem)); margin-inline: auto; padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; font-size: 1rem; line-height: 1.8; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1rem; }
.prose h2 { margin: 2rem 0 .8rem; font-size: clamp(1.25rem, 2.5vw, 1.5rem); line-height: 1.35; }
.prose p, .prose li { color: var(--page-text); }
.prose ul, .prose ol { padding-inline-start: 1.3rem; }
.prose li + li { margin-top: .35rem; }
.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; background: var(--soft); padding: .05rem .3rem; border-radius: .3rem; }
.table-wrap { overflow-x: auto; max-width: 100%; margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border-bottom: 1px solid var(--border-soft); text-align: left; padding: .7rem .8rem; vertical-align: top; color: var(--text-soft); }
th { color: var(--text-strong); background: var(--soft); }
.back { margin: 0 0 1rem; }
.chapter-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.toc { border: 1px solid var(--border-soft); background: var(--surface-raised); border-radius: 1.1rem; padding: 1rem 1.2rem; margin: 1.2rem 0 2rem; }
.toc ol { margin: .4rem 0 0; }
.toc a { text-decoration: none; }
.toc a[aria-current="true"] { font-weight: 700; }

.draft-banner {
  width: min(1180px, calc(100% - 2rem));
  margin: .8rem auto 0;
  background: var(--accent-teal);
  color: #fff;
  border-radius: .7rem;
  padding: .75rem 1rem;
  font-weight: 700;
}
.draft-banner p { color: #fff; margin: .2rem 0 0; font-weight: 400; }
.todo {
  border-left: 4px solid var(--accent-teal);
  background: var(--soft-burgundy);
  color: var(--text-strong);
  border-radius: .4rem;
  padding: .75rem 1rem;
  margin: 1rem 0;
}
.todo strong { color: var(--accent-teal); margin-right: .35rem; }

.footer { background: var(--header-bg); color: #ffffffd1; margin-top: 2rem; padding: 3rem 0 2.5rem; box-shadow: var(--shadow-header); }
.footer-inner { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; display: grid; gap: 2rem; }
.footer h2 { color: #fff; text-transform: uppercase; font-size: 1.05rem; margin: 0 0 .4rem; }
.footer p, .footer li, .footer address { color: #ffffffbf; line-height: 1.65; font-style: normal; }
.footer a { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.legal-line { margin-top: 1.5rem; color: #ffffffbf; font-size: .92rem; }
.version-block { margin-top: 2rem; }
.version-block h2 { margin-top: 0; }
.version-date { color: var(--text-soft); font-size: .95rem; font-weight: 500; margin-left: .35rem; }
.status { display: inline-block; margin-left: .35rem; color: var(--accent); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }

@media (min-width: 760px) {
  .card-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
@media (min-width: 960px) {
  .site-header { flex-wrap: nowrap; }
  .brand { flex: 0 1 auto; }
  .nav-links { flex: 0 1 auto; justify-content: flex-end; margin-left: auto; min-width: 0; }
  .header-actions { border-left: 1px solid #ffffff59; padding-left: 1rem; }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .site-header { align-items: flex-start; }
  .brand { flex-wrap: wrap; align-items: center; width: 100%; row-gap: .2rem; }
  .brand-logos { align-items: center; min-height: 2.75rem; max-width: calc(100% - 4.75rem); }
  html.nav-ready .brand-logos { max-width: calc(100% - 8.15rem); }
  .brand-name { flex: 1 1 100%; font-size: .95rem; line-height: 1.3; }
  .header-actions {
    position: absolute;
    top: .8rem;
    right: 1rem;
    z-index: 2;
    gap: .35rem;
    height: 2.75rem;
  }
  .lang-switch { flex-wrap: nowrap; gap: .1rem .35rem; font-size: .92rem; }
  .lang-switch a { padding: .35rem .05rem; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: .1rem;
    width: 100%;
    margin-top: .35rem;
    padding-top: .45rem;
    border-top: 1px solid #ffffff38;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
  }
  .nav-links .nav-separator { display: none; }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .45rem .7rem;
    border-radius: .45rem;
  }
  .nav-links a:hover { background: #ffffff14; }
  .nav-links a[aria-current="page"] {
    color: #fff;
    font-weight: 700;
    background: #ffffff1f;
    box-shadow: inset 3px 0 0 #fff;
  }
  html.nav-ready .nav-toggle { display: inline-flex; }
  html.nav-ready .nav-links { display: none; }
  html.nav-ready .site-header.is-open .nav-links { display: flex; }
}
@media (max-width: 400px) {
  .brand-logo { height: 1.45rem; }
  .brand-byline { height: 1rem; }
}
@media (max-width: 340px) {
  .brand-logo { height: 1.2rem; }
  .brand-byline { height: .85rem; }
  .brand-logos { gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { transition: none; }
  html { scroll-behavior: auto; }
}

/* Cookie consent banner and the order page notice. Both choices share one style. */
.consent {
  position: fixed;
  z-index: 50;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent__inner {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: 64rem;
  width: 100%;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px #07124d33;
}
.consent__body { flex: 1 1 28rem; }
.consent__title { margin: 0 0 .3rem; font-size: 1rem; }
.consent__text { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--text-soft); }
.consent__actions { display: flex; flex: 0 0 auto; gap: .75rem; }
.consent__button {
  min-width: 8.5rem;
  padding: .7rem 1.2rem;
  border: 1px solid var(--primary);
  border-radius: .7rem;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.consent__button:hover { background: var(--primary-bright); border-color: var(--primary-bright); }
@media (max-width: 560px) {
  .consent { left: .5rem; right: .5rem; bottom: .5rem; }
  .consent__actions { width: 100%; }
  .consent__button { flex: 1 1 0; min-width: 0; }
}
.footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.order-consent {
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface-raised);
}
.order-consent[hidden] { display: none; }
.order-consent__text { margin-top: 0; color: var(--text-soft); }
.order-consent__actions { margin: 1rem 0; }
.order-consent .button { font: inherit; font-weight: 700; cursor: pointer; }
.order-consent__alt { margin-bottom: 0; font-size: .92rem; }
.order-form.is-waiting .order-form__loading { display: none; }
