/* Shared base for the landing and the cabinet: font, design tokens, reset. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  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;
}

/* Approved style: Manrope, «Сапфир» palette, medium corners. */
:root {
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --surface2: #E6ECF6;
  --ink: #0E1A33;
  --muted: #4F5B73;
  --muted2: #5F6B82;
  --accent: #1A47B8;
  --accent-hover: #163DA0;
  --accent-ink: #FFFFFF;
  --soft: #DCE6FA;
  --warm: #F2B544;
  --line: rgba(14, 26, 51, .11);

  --ok: #2E9A62;
  --ok-ink: #1B6340;
  --ok-bg: #DDF1E6;
  --err: #9C3424;
  --err-bg: #FBE7E4;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-body: 500;
  --w-head: 800;

  --r-xl: 22px;   /* big blocks */
  --r-lg: 16px;   /* cards */
  --r-md: 14px;   /* buttons */
  --r-sm: 10px;   /* small plaques */
  --r-xs: 6px;

  --shadow-float: 0 30px 60px -30px rgba(10, 20, 48, .45);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: var(--w-body);
  font-size: 17px;
  line-height: 1.55;
}

img, video, svg { display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

[hidden] { display: none !important; }
