/* GENERATED by scripts/sync-72ag-theme.ps1. Edit shared/72ag-theme instead. */
@font-face {
  font-family: "Golos Text";
  src: url("./fonts/GolosText-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("./fonts/Oswald-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "PT Mono";
  src: url("./fonts/PTMono-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ag-bg: #15171a;
  --ag-panel: #1d2024;
  --ag-raised: #262a2f;
  --ag-inset: #181b1f;
  --ag-header: #101214;
  --ag-ink: #e8e6e1;
  --ag-ink-2: #a9aeb4;
  --ag-ink-3: #979da4;
  --ag-link: #8fb7da;
  --ag-link-hover: #b8d6ee;
  --ag-accent: #c8332b;
  --ag-accent-hover: #b02a23;
  --ag-on-accent: #fff;
  --ag-rule: #363b41;
  --ag-field: #767c84;
  --ag-radius: 2px;
  --ag-content: 1320px;
  --ag-reading: 640px;
  --ag-font: "Golos Text", Arial, sans-serif;
  --ag-heading-font: "Oswald", Arial, sans-serif;
  --ag-mono-font: "PT Mono", Consolas, monospace;
  --ag-fast: 120ms ease-out;
  --ag-header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  min-width: 320px;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ag-bg);
  color: var(--ag-ink);
  font: 400 16px/1.625 var(--ag-font);
  -webkit-font-smoothing: antialiased;
}
body.ag-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a {
  color: var(--ag-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ag-link-hover); }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
:focus-visible {
  outline: 2px solid var(--ag-link);
  outline-offset: 3px;
}
::selection { background: var(--ag-accent); color: var(--ag-on-accent); }
h1, h2, h3, h4 {
  color: var(--ag-ink);
  font-family: var(--ag-heading-font);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { margin: 0 0 16px; font-size: clamp(36px, 4vw, 52px); }
h2 { margin: 0 0 12px; font-size: 30px; }
h3 { margin: 0 0 10px; font-size: 22px; }
p { margin: 0 0 18px; }
code, .ag-num {
  font-family: var(--ag-mono-font);
  font-variant-numeric: tabular-nums;
}
[hidden] { display: none !important; }
.ag-container {
  width: min(var(--ag-content), 100%);
  margin-inline: auto;
  padding-inline: 24px;
}
.ag-reading { max-width: var(--ag-reading); }
.ag-muted { color: var(--ag-ink-2); }
.ag-skip-link {
  position: fixed;
  z-index: 1100;
  top: 8px;
  left: 16px;
  padding: 10px 16px;
  background: var(--ag-ink);
  color: var(--ag-bg);
  transform: translateY(-160%);
}
.ag-skip-link:focus { transform: translateY(0); }

@media (max-width: 767px) {
  :root { --ag-header-height: 56px; }
  .ag-container { padding-inline: 16px; }
  h1 { font-size: 36px; line-height: 1.16; }
  h2 { font-size: 26px; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.ag-button, .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--ag-accent);
  border-radius: var(--ag-radius);
  background: var(--ag-accent);
  color: var(--ag-on-accent);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  transition: background var(--ag-fast), border-color var(--ag-fast);
}
.ag-button:hover, .button:hover {
  border-color: var(--ag-accent-hover);
  background: var(--ag-accent-hover);
  color: #fff;
}
.ag-button--secondary, .button.secondary {
  border-color: var(--ag-ink-2);
  background: transparent;
  color: var(--ag-ink);
}
.ag-button--secondary:hover, .button.secondary:hover {
  border-color: var(--ag-ink);
  background: var(--ag-raised);
  color: #fff;
}
.ag-button--small { min-height: 40px; padding: 8px 14px; }
.ag-button:disabled, .button:disabled { opacity: .55; }
.ag-panel, .panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--ag-rule);
  border-radius: var(--ag-radius);
  background: var(--ag-panel);
  box-shadow: none;
}
.ag-card, .card {
  display: block;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--ag-rule);
  border-top: 2px solid var(--ag-accent);
  border-radius: var(--ag-radius);
  background: var(--ag-panel);
  color: inherit;
  text-decoration: none;
  transition: background var(--ag-fast), border-color var(--ag-fast);
}
.ag-card:hover, .card:hover {
  border-color: var(--ag-field);
  border-top-color: var(--ag-accent);
  background: var(--ag-raised);
  color: inherit;
}
.ag-card p, .card p { color: var(--ag-ink-2); }

.ag-site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  height: var(--ag-header-height);
  border-bottom: 2px solid var(--ag-accent);
  background: rgba(16, 18, 20, .97);
}
.ag-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.ag-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ag-ink);
  font-family: var(--ag-heading-font);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.ag-brand:hover { color: #fff; }
.ag-brand img { width: auto; height: 48px; }
.ag-nav { display: flex; justify-content: center; align-items: center; gap: 28px; }
.ag-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ag-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.ag-nav a:hover { color: #fff; }
.ag-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  background: var(--ag-accent);
}
.ag-header__actions { display: flex; align-items: center; gap: 12px; }
.ag-nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--ag-field);
  border-radius: var(--ag-radius);
  background: transparent;
  color: var(--ag-ink);
}
.ag-site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--ag-rule);
  background: var(--ag-header);
}
.ag-footer__inner {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.ag-footer__note { margin: 8px 0 0; color: var(--ag-ink-3); font-size: 13px; }
.ag-footer__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.ag-footer__nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ag-ink-2); font-size: 14px; }

@media (max-width: 1099px) {
  .ag-header__inner { grid-template-columns: auto 1fr; gap: 12px; }
  .ag-header__actions { justify-self: end; }
  .ag-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .ag-nav {
    display: none;
    position: absolute;
    inset: var(--ag-header-height) 0 auto;
    max-height: calc(100svh - var(--ag-header-height));
    overflow: auto;
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 2px solid var(--ag-accent);
    background: var(--ag-header);
  }
  .ag-nav a { min-height: 48px; }
  .ag-nav a[aria-current="page"]::after { inset: 12px auto 12px 0; width: 2px; height: auto; }
  .ag-site-header.is-menu-open .ag-nav { display: flex; }
  html:not(.js) .ag-site-header { position: relative; height: auto; }
  html:not(.js) .ag-header__inner { grid-template-columns: 1fr auto; height: auto; padding-block: 8px; }
  html:not(.js) .ag-nav { display: flex; position: static; grid-column: 1 / -1; grid-row: 2; max-height: none; }
  html:not(.js) .ag-nav-toggle { display: none; }
}
@media (max-width: 767px) {
  .ag-brand { font-size: 17px; gap: 8px; }
  .ag-brand img { height: 36px; }
  .ag-header__inner { padding-inline: 12px; gap: 8px; }
  .ag-header__actions { gap: 8px; }
  .ag-header__actions .ag-button { min-height: 44px; padding: 10px 12px; }
  .ag-site-footer { margin-top: 48px; }
  .ag-footer__inner { padding-block: 28px; align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 380px) {
  .ag-brand span { display: none; }
  .ag-header__actions .ag-button { font-size: 13px; padding-inline: 9px; }
}
