@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./assets/fonts/montserrat/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./assets/fonts/montserrat/montserrat-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;
}

:root {
  --paper: #e8e9e4;
  --paper-raised: #f2f2ee;
  --ink: #171816;
  --ink-soft: #5a5c56;
  --line: #c5c8c0;
  --signal: #a6463a;
  --signal-dark: #79332c;
  --signal-on-dark: #d47c6e;
  --dark: #23241f;
  --dark-soft: #aeb0a8;
  --white: #f8f8f4;
  --font: "Montserrat", Arial, sans-serif;
  --shell: 1280px;
  --gutter: clamp(1.125rem, 3vw, 3rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--font); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
::selection { color: var(--white); background: var(--signal); }

.shell { width: min(calc(100% - (var(--gutter) * 2)), var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  color: inherit;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: -.015em;
  text-decoration: none;
}
.brand-mark { width: 1.72rem; height: 1.72rem; flex: none; fill: var(--signal); }

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 52px;
  padding: .82rem 1rem;
  color: var(--white);
  background: var(--signal);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 170ms var(--ease), background-color 170ms var(--ease);
}
.action-link svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 170ms var(--ease); }
.action-link:hover, .action-link:focus-visible { color: var(--white); background: var(--signal-dark); }
.action-link:hover svg, .action-link:focus-visible svg { transform: translate(2px, -2px); }

.site-footer { color: var(--dark-soft); background: var(--dark); }
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: end;
  min-height: 220px;
  padding-block: 3.25rem 2rem;
}
.site-footer .brand { align-self: start; color: var(--white); }
.site-footer__meta { display: grid; gap: 1.25rem; justify-items: end; }
.site-footer__meta > span { font-size: .72rem; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem 1.25rem; }
.site-footer__links a, .site-footer__links button {
  min-height: 44px;
  padding: .65rem 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  font-size: .76rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms var(--ease);
}
.site-footer__links a:hover, .site-footer__links button:hover { color: var(--white); }

@media (max-width: 640px) {
  .brand { font-size: .7rem; }
  .brand-mark { width: 1.45rem; height: 1.45rem; }
  .site-footer__inner { grid-template-columns: 1fr; min-height: 270px; }
  .site-footer__meta { justify-items: start; }
  .site-footer__links { justify-content: flex-start; gap-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
