/* Elektrobest — workshop sheet, not a SaaS mint kit. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-primary: #1a8754;
  --color-ink: #141c18;
  --color-cta: #0f6b3e;
  --color-paper: #f3f1ea;
  --color-steel: #3e4743;
  --color-white: #fffcf7;
  --color-mint: #e4eee6;
  --color-leaf: #2a7a52;
  --color-copper: #8d5b38;
  --color-danger: #8b1e1e;
  --font-sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --font-display: var(--font-sans);
  --space: 8px;
  --radius: 0;
  --radius-sm: 0;
  --radius-pill: 0;
  --header-h: 68px;
  --measure: 64ch;
  --shadow: 0 24px 48px color-mix(in srgb, var(--color-ink) 10%, transparent);
  --hairline: color-mix(in srgb, var(--color-ink) 7%, transparent);
  --fill-quiet: color-mix(in srgb, var(--color-white) 72%, var(--color-paper));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --trace: url("../assets/traces.svg");
  --trace-size: 112px;
  --trace-opacity: 0.14;
  --accent: color-mix(in srgb, var(--color-leaf) 58%, var(--color-mint));
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  hanging-punctuation: first allow-end last;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.55;
  font-size: 1.0625rem;
  overflow-x: clip;
  max-width: 100%;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-cta); }

:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 3px; }

h1, h2, h3, .btn, .brand, .nav a, .jump a, .index-go, .lede, .lead,
.kicker, .crumbs, label, summary, th, td, .index-body strong, .header-phone {
  hyphens: none;
  overflow-wrap: normal;
}

h1, h2, .lede {
  text-wrap: pretty;
}

h1, h2 {
  line-height: 1.15;
  font-weight: 600;
}

strong, b { font-weight: 600; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  z-index: 1000;
  background: var(--color-white);
  padding: 8px 12px;
  color: var(--color-ink);
}

.container {
  width: min(1280px, calc(100% - 40px), calc(100vw - 40px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.01em;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn-primary {
  background: var(--color-cta);
  color: var(--color-white);
}

.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn-ghost {
  background: color-mix(in srgb, var(--color-ink) 6%, var(--color-paper));
  color: var(--color-ink);
  border: 0;
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--color-cta) 12%, var(--color-paper));
  color: var(--color-cta);
}

.btn-on-dark {
  background: var(--color-cta);
  color: var(--color-white);
}

.btn-on-dark-ghost {
  color: var(--color-white);
  border: 0;
  background: color-mix(in srgb, var(--color-white) 14%, transparent);
}

.btn-on-dark-ghost:hover {
  background: color-mix(in srgb, var(--color-white) 22%, transparent);
  color: var(--color-white);
}

[data-form-status].is-error { color: var(--color-danger); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 389px) {
  .container { width: min(1280px, calc(100% - 28px), calc(100vw - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
