@font-face {
  font-family: Golos;
  src: url("./fonts/golos-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

@font-face {
  font-family: Golos;
  src: url("./fonts/golos-latin-ext.woff2") format("woff2");
  font-weight: 400 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;
}

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

:root {
  color-scheme: light;
  --paper: #f9faf7;
  --ink: #182920;
  --muted: #4a5951;
  --green: #173a32;
  --line: #d3ded5;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px / 1.6 Golos, system-ui, sans-serif;
}
p, h1 { margin: 0; }
.page {
  width: min(940px, 100% - 44px);
  margin-inline: auto;
  padding-block: clamp(24px, 5vw, 64px) 48px;
}
.header {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-weight: 610;
}
.mark {
  display: grid;
  flex: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  font-size: 13px;
}
.intro { padding-top: clamp(54px, 10vw, 142px); }
h1 {
  font-size: clamp(45px, 8.3vw, 102px);
  font-weight: 620;
  line-height: .99;
  letter-spacing: -.055em;
}
.credentials { margin-top: 20px; color: var(--green); font-weight: 600; }
.notice { margin-top: 30px; font-size: clamp(22px, 3.2vw, 34px); font-weight: 580; }
.translations { margin-top: 4px; color: var(--muted); }
.contact {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-inline: 16px;
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-weight: 600;
  text-decoration: none;
}
.contact:hover { background: #235044; }
.contact:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.analytics-privacy {
  width: min(940px, 100% - 44px);
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 14px;
}
.analytics-consent {
  max-width: 580px;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.analytics-consent h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 610;
}
.analytics-consent a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--green);
  text-underline-offset: .2em;
}
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.analytics-privacy button {
  min-height: 44px;
  background: transparent;
  color: var(--green);
  font: inherit;
  cursor: pointer;
}
.analytics-actions button {
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 600;
}
.analytics-actions button:hover { background: #e8eee8; }
.analytics-settings { padding: 0; border: 0; text-decoration: underline; text-underline-offset: .2em; }
.analytics-privacy :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
