/* ═══════════════════════════════════════════
   L&D без суеты — Base Styles
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

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

html { font-size: 100%; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 350;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin-bottom: var(--space-4); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-6); }
  h1 { font-size: clamp(2.2rem, 10vw, var(--text-5xl)); }
}