/* База набора: сброс, типографика, сетка секций. Цвета и шрифты — из theme-*.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--font-text); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- сетка --- */
.kit-container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto; padding: 0 var(--gutter); }
.kit-section { padding: var(--section-y) 0; position: relative; }
.kit-section--alt { background: var(--bg-alt); }
.kit-section--tight { padding: calc(var(--section-y) * .5) 0; }
.kit-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .kit-grid--2, .kit-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .kit-grid { gap: 24px; }
  .kit-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .kit-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) { .kit-grid--3 { grid-template-columns: repeat(2, 1fr); } }

/* --- типографика --- */
.kit-h1, .kit-h2, .kit-h3 { font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .01em; margin: 0; line-height: .95; }
.kit-h2 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: clamp(24px, 4vw, 48px); }
.kit-h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1; margin-bottom: 12px; }
/* рукописное слово внутри заголовка — главный приём главной («СТАРЫЕ МЕТОДЫ … мертвы») */
.kit-hand { font-family: var(--font-hand); font-weight: 500; text-transform: none;
  color: var(--mint); letter-spacing: 0; font-size: 1.08em; line-height: 1; }
.kit-lead { font-size: clamp(16px, 1.6vw, 20px); color: var(--text-2); max-width: 760px; margin: 0 0 24px; }
.kit-caps { font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
.kit-small { font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (min-width: 1024px) { .kit-small { font-size: 14px; } }
.kit-muted { color: var(--muted); }
.kit-center { text-align: center; }
.kit-center .kit-lead { margin-left: auto; margin-right: auto; }
.kit-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
.kit-sky { color: var(--sky); } .kit-mint { color: var(--mint); } .kit-coral { color: var(--coral); }
/* у Bebas узкий пробел — рукописное слово рядом с ним слипается («иБИЗНЕСУ») */
.kit-h1 .kit-hand, .kit-h2 .kit-hand, .kit-h3 .kit-hand { margin: 0 .1em; }
