@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyr.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-lat.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2019, U+2212;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-cyr.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;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-lat.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2019, U+2026, U+2212;
}

:root {
  --ink: #15233b;
  --text: #1f2a3c;
  --muted: #5a6678;
  --turf: #2c6e4f;
  --turf-2: #347c5a;
  --amber: #e3a72f;
  --page: #eef1f4;
  --surface: #ffffff;
  --line: #d5dbe2;
  --link: #22603f;
  --display: "Unbounded", "Arial Black", Arial, sans-serif;
  --body: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 72rem;
  --measure: 44rem;
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--turf); text-decoration-thickness: 2px; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 40px; height: 40px; }
.brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand-tag {
  display: block;
  font-size: .8rem;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }

.menu-toggle { display: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.4rem;
}
.site-nav a {
  display: block;
  padding: .45rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }

@media (max-width: 900px) {
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink);
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .45rem .8rem;
    cursor: pointer;
  }
  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }
  .menu-icon { position: relative; }
  .menu-icon::before,
  .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

  .site-nav { flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: .8rem 0; border-bottom: 0; border-left: 3px solid transparent; padding-left: .75rem; }
  .site-nav a[aria-current="page"] { border-left-color: var(--amber); }
}

/* Page head: mown-pitch band */
.page-head {
  background-color: var(--turf);
  background-image: repeating-linear-gradient(90deg, var(--turf) 0 88px, var(--turf-2) 88px 176px);
  color: #fff;
}
.page-head-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.4rem 1.25rem 2.2rem;
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2.45rem);
  line-height: 1.22;
  margin: 0;
  overflow-wrap: break-word;
}
.page-meta {
  margin: 1rem 0 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .82);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: .9rem;
}
.breadcrumbs li + li::before {
  content: "/";
  margin: 0 .55rem;
  color: rgba(255, 255, 255, .6);
}
.breadcrumbs a { color: #fff; }
.breadcrumbs [aria-current="page"] { color: rgba(255, 255, 255, .85); }

/* Article */
.content {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.2rem 1.25rem 3.5rem;
}
.content > p:first-child { font-size: 1.14rem; line-height: 1.65; color: var(--ink); }
.content p { margin: 0 0 1.15rem; }

.content h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.6rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 2.8rem 0 1rem;
  padding-top: 1.1rem;
  border-top: 3px solid var(--ink);
}
.content h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 .6rem;
}
.content h2 + h3 { margin-top: 1.2rem; }

.content ul,
.content ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.content li { margin-bottom: .45rem; }
.content li::marker { color: var(--turf); font-weight: 700; }

figure { margin: 2rem 0; }
figure img { width: 100%; border-radius: 10px; background: #dfe4ea; }

/* Tables */
.table-wrap {
  margin: 1.6rem 0;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.table-wrap:focus-visible { outline-offset: 3px; }
table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: .96rem;
  line-height: 1.5;
}
caption {
  text-align: left;
  padding: .85rem 1rem .6rem;
  font-weight: 700;
  color: var(--ink);
}
thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: .7rem 1rem;
}
tbody th,
tbody td {
  padding: .7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
tbody tr:nth-child(even) { background: #f6f8fa; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c9d1dc;
  font-size: .94rem;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 2.4rem 1.25rem;
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 .5rem;
}
.footer-note { margin: 0 0 .6rem; max-width: 34rem; }
.age-badge {
  display: inline-block;
  margin-right: .4rem;
  padding: 0 .45rem;
  border: 2px solid var(--amber);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: .35rem; }
.footer-nav a { color: #fff; }
.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: #9aa6b6;
  font-size: .86rem;
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .content > p:first-child { font-size: 1.06rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  table { font-size: .92rem; }
}

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