/*
 * Skript — formation pages UI/UX polish, loaded after formation.html's own <style>
 * (and therefore in every generated formation/<slug>/index.html).
 * design-taste-frontend guidance: the home page's two faces instead of Inter + Montserrat 800/900,
 * nothing drifting or appearing on scroll, quiet hovers, visible focus. Layout and copy unchanged.
 */
:root {
  --font-title: 'Syne', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Headings carried by size and tracking, not black weights */
h1, h2 { font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
h3 { font-weight: 600; letter-spacing: -.01em; }
.hero .tagline, .stat b, .hero-price strong { font-weight: 600; }
.btn { font-weight: 600; }

/* Still background: the blurred blobs no longer drift */
html.fx .hero::before, html.fx .hero::after { animation: none !important; }

/* Content is there from the first paint (no fade-in on scroll) */
html.js .reveal, html.js .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Buttons step 1px and press; no jump or glow */
.btn { transition: background-color 150ms var(--ease), transform 150ms var(--ease), border-color 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: none; }
}
.btn:active:not(:disabled) { transform: translateY(1px) scale(.985); transition-duration: 90ms; }

/* Keyboard focus ring */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
}
