@font-face {
  font-family: "Onest";
  src: url("/static/fonts/onest-cyrillic-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest";
  src: url("/static/fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("/static/fonts/onest-latin-ext.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;
}
@font-face {
  font-family: "Onest";
  src: url("/static/fonts/onest-latin.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;
}

:root {
  --navy: #0f3a6e;
  --navy-deep: #0a2a52;
  --crimson: #c8143c;
  --crimson-deep: #a80f31;
  --blue: #1c6fc4;
  --steel: #2f6c9c;
  --teal: #12928f;
  --excel: #15774a;
  --excel-deep: #0f5f3a;
  --ink: #13263f;
  --muted: #54677f;
  --line: #cfdfef;
  --line-strong: #a9c2dc;
  --ice: #eef5fc;
  --ice-deep: #dcebf8;
  --rose: #fff1f4;
  --rose-line: #f6c9d3;
  --ok: #12714b;
  --ok-bg: #e7f6ef;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -28px rgb(15 58 110 / 0.38);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn--block { width: 100%; }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }
.btn--crimson { background: var(--crimson); color: var(--white); }
.btn--crimson:hover { background: var(--crimson-deep); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--white { background: var(--white); color: var(--crimson); }
.btn--white:hover { background: var(--rose); }
.btn--ghost { background: var(--white); border-color: var(--line-strong); color: var(--navy); }
.btn--ghost:hover { background: var(--ice); border-color: var(--navy); }
.btn--excel { background: var(--excel); color: var(--white); }
.btn--excel:hover { background: var(--excel-deep); }

/* Language switch */
.langs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.langs a {
  min-width: 38px;
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.langs a:hover { color: var(--navy); background: var(--ice); }
.langs a[aria-current] { background: var(--navy); color: var(--white); }

/* Form fields */
.field { display: grid; gap: 6px; }
.field label { color: var(--navy); font-size: 14px; font-weight: 650; }
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  background: var(--white);
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder { color: #7b8ca1; }
.field input:hover { border-color: var(--steel); }
.field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(28 111 196 / 0.18);
  outline: none;
}
.field input[aria-invalid="true"] {
  border-color: var(--crimson);
  background: var(--rose);
}
.field__err {
  color: var(--crimson-deep);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
}
.form__err {
  padding: 10px 12px;
  border: 1px solid var(--rose-line);
  border-radius: 10px;
  background: var(--rose);
  color: var(--crimson-deep);
  font-size: 14px;
  font-weight: 500;
}
