/* ============================================================
   BLYSKAVKA — Гранти: base styles
   Mirrors the design system of the main site (tokens.css):
   black base, white text, volt (#C8F14A) the only accent,
   sharp corners, hairline borders, no shadows.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
/* Components below set their own `display: flex/grid`, which otherwise
   overrides the browser's default `[hidden]{display:none}` rule (author
   styles beat user-agent styles regardless of specificity). Without this,
   toggling the `hidden` attribute/property from JS has no visual effect. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
::selection { background: var(--color-volt-400); color: #000; }
a { color: var(--color-volt-400); text-decoration: none; }
a:hover { color: var(--color-volt-300); }
h1, h2, h3, h4 { font-family: var(--font-heading); letter-spacing: -0.03em; margin: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; padding: 0 22px; min-height: 44px; text-align: center;
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s;
}
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 12.5px; }
.btn--lg { min-height: 48px; padding: 0 28px; }
.btn--primary { background: var(--action-fill); color: var(--action-text); }
.btn--primary:hover { background: var(--action-fill-hover); color: #000; }
.btn--primary:active { background: var(--action-fill-active); }
.btn--ghost { background: transparent; color: #fff; border-color: var(--border-default); }
.btn--ghost:hover { border-color: var(--color-volt-400); color: var(--color-volt-400); }
.btn:focus-visible { outline: none; box-shadow: var(--glow-focus); }

/* ---- Tag ---- */
.tag {
  display: inline-flex; align-items: center; white-space: nowrap; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border: 1px solid transparent;
}
.tag--volt { background: var(--color-volt-400); color: #000; }
.tag--outline { background: transparent; color: var(--color-neutral-300); border-color: var(--border-default); }
.tag--muted { background: transparent; color: var(--text-muted); border-color: var(--border-subtle); }
