@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/files/fonts/OpenSans-Variable.woff2) format('woff2');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
}

.skiptranslate {
  display: none;
  height: 0;
}

h1,
h2,
p,
dl,
dd {
  margin: 0;
}

svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

button {
  font: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  color: #2f3c33;
  font:
    14px/1.6 'Open Sans',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #be1229;
  outline-offset: 5px;
  border-radius: 4px;
}

h1,
h2 {
  font-family: Raleway, sans-serif;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 19px;
}

.skip {
  position: absolute;
  top: -100px;
  inset-inline-start: 12px;
  z-index: 10;
  padding: 12px;
  background: white;
}

.skip:focus {
  top: 8px;
}

.site-header {
  background: white;
  border-bottom: 1px solid #e3e4e3;
}

.header-inner,
.footer-inner {
  width: 100%;
  max-width: 832px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font:
    800 23px Raleway,
    sans-serif;
  letter-spacing: -0.7px;
  text-decoration: none;
}

.brand img {
  display: block;
  flex-shrink: 0;
  width: 220px;
  height: auto;
}

.brand-domain {
  font-weight: 500;
}

.home-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #647067;
  text-decoration: none;
}

.home-link {
  min-height: 40px;
  font-size: 13px;
}

.back-link {
  min-height: 32px;
  margin-bottom: 18px;
  gap: 8px;
  font-size: 11px;
}

.home-link svg,
.back-link svg {
  font-size: 13px;
}

.compact-main {
  flex: 1;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 21px 32px 0;
}

.page-intro {
  position: relative;
  margin-bottom: 32px;
}

.service-line {
  margin-top: 13px;
  color: #647067;
}

.service-line a {
  font-weight: 600;
  text-decoration: underline;
}

.edition {
  position: absolute;
  inset-inline-end: 0;
  bottom: 1px;
  font-size: 10px;
  color: #647067;
}

.compact-contact,
.compact-sheet {
  background: white;
  border: 1px solid #e3e4e3;
  border-radius: 20px;
}

.compact-contact {
  padding: 25px 28px;
  margin-bottom: 18px;
}

.compact-contact h2 {
  margin-bottom: 22px;
}

.contact-items {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  border-radius: 12px;
  text-decoration: none;
}

.contact-item > span:last-child {
  min-width: 0;
}

.contact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e3e4e3;
  border-radius: 12px;
}

.contact-icon svg {
  font-size: 18px;
}

.contact-label {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  color: #647067;
}

.contact-value {
  display: block;
  font-weight: 600;
}

.contact-item:hover .contact-value {
  text-decoration: underline;
}

.compact-sheet > section {
  padding: 28px;
}

.compact-sheet > section + section {
  border-top: 1px solid #e3e4e3;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 25px;
}

.section-number {
  color: #849087;
  font-size: 11px;
}

.detail-row {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid #edf0ed;
}

.detail-row:first-child {
  padding-top: 0;
}

.detail-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dt {
  color: #647067;
  font-size: 12px;
}

dd {
  font-weight: 500;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.numeric {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.045em;
}

.copy-area {
  margin-top: 22px;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #dce0dc;
  border-radius: 12px;
  background: white;
  color: #2f3c33;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.copy-button:hover {
  background: #f5f5f5;
  border-color: #849087;
}

.copy-status {
  display: block;
  color: #48524b;
  font-size: 11px;
}

.copy-status:not(:empty) {
  margin-top: 10px;
}

.compact-support {
  margin-top: 27px;
  padding: 0 5px;
}

.support-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.support-header h2 {
  font-size: 18px;
}

.support-header svg {
  color: #647067;
  font-size: 18px;
}

.support-text {
  color: #48524b;
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.support-text a {
  font-weight: 600;
  text-decoration: underline;
}

.site-footer {
  margin-top: 35px;
  background: #e3e4e3;
  color: #48524b;
}

.footer-inner {
  min-height: 80px;
  justify-content: flex-start;
  gap: 28px;
  padding: 20px 32px;
  font-size: 11px;
}

.footer-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: underline;
}

.footer-brand {
  margin-inline-start: auto;
  color: #647067;
}

@media (max-width: 600px) {
  /* Компактные отступы и одна колонка на телефоне. */

  .header-inner {
    min-height: 70px;
    padding: 0 20px;
  }

  .brand {
    font-size: 21px;
    gap: 9px;
  }

  .brand img {
    width: 190px;
    height: auto;
  }

  .home-link {
    font-size: 11px;
    gap: 6px;
  }

  .compact-main {
    padding: 15px 20px 0;
  }

  .back-link {
    margin-bottom: 15px;
  }

  h1 {
    font-size: 29px;
  }

  .page-intro {
    margin-bottom: 25px;
  }

  .service-line {
    font-size: 12px;
  }

  .edition {
    position: static;
    margin-top: 12px;
  }

  .compact-contact {
    padding: 22px 20px;
  }

  .contact-items {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-item {
    gap: 11px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .desktop-break {
    display: none;
  }

  .compact-sheet > section {
    padding: 24px 20px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .section-heading {
    margin-bottom: 23px;
  }

  .copy-button {
    width: 100%;
  }

  .compact-support {
    padding: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 11px;
    padding: 23px 20px;
  }

  .footer-brand {
    margin-inline-start: 0;
  }
}
