/* ===========================================================
   base.css — змінні, reset, типографіка, утиліти
   Візуальний напрям: "техно-графіт".
   Майже чорний графіт (корпус техніки) + чистий білий
   + електрик-жовтий і бурштин «нагріву» як акценти.
   =========================================================== */

:root {
  /* Кольори */
  --graphite-950: #0d0e11;
  --graphite-900: #15161a;
  --graphite-850: #1c1e24;
  --graphite-800: #23262d;
  --graphite-700: #2e323b;
  --steel-500:    #6b7280;
  --steel-400:    #8a909c;

  --yellow-500: #ffd400;   /* електрик-жовтий акцент */
  --yellow-400: #ffe24d;
  --amber-500:  #ff7a00;   /* бурштин «нагріву» */
  --amber-400:  #ff9836;

  --ink:    #15161a;
  --slate:  #555a64;
  --paper:  #f6f7f9;
  --paper-2:#eceef2;
  --white:  #ffffff;
  --line:   #e2e5ea;
  --line-dark: rgba(255,255,255,.1);

  /* Типографіка */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, sans-serif;

  /* Радіуси / тіні */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 4px 16px rgba(13, 14, 17, .08);
  --shadow-md: 0 14px 40px rgba(13, 14, 17, .14);
  --shadow-lg: 0 30px 70px rgba(13, 14, 17, .26);

  /* Сітка */
  --maxw: 1220px;
  --gap: clamp(16px, 3vw, 30px);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .45em;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Утиліти */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 42px);
}
.container--narrow { max-width: 840px; }
.center { text-align: center; }
.muted { color: var(--slate); font-weight: 500; }
.hl { color: var(--yellow-500); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: .7rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--amber-500);
  display: inline-block;
}

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--alt { background: var(--paper); }
.section--dark { background: var(--graphite-900); color: var(--paper); }

.section__head { max-width: 700px; margin: 0 auto clamp(34px, 5vw, 58px); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head p { color: var(--slate); font-size: 1.06rem; }
.section__head--light h2 { color: var(--white); }
.section__head--light p { color: rgba(246, 247, 249, .68); }
