:root {
  --oz-motion-ease: cubic-bezier(.22, 1, .36, 1);
  --oz-motion-fast: 220ms;
}
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 36px; }
.oz-motion-height { box-sizing: border-box; overflow: hidden; min-height: 0; }
.courses__track, .teachers__track, .promotions__track {
  transition: transform 480ms var(--oz-motion-ease);
}
.oz-direction-promos__viewport { transition: height 320ms var(--oz-motion-ease); }
.oz-header__dropdown { transform-origin: top left; }
.oz-header__nav > a, .oz-header .oz-header__dropdown > a,
.oz-header__directions-toggle, .oz-header__cta-label, .oz-header__cta-arrow,
.faq-question, .oz-direction-faq__question,
.contact-form__fields input {
  transition: background-color var(--oz-motion-fast) ease, color var(--oz-motion-fast) ease,
    border-color var(--oz-motion-fast) ease, box-shadow var(--oz-motion-fast) ease;
}
.oz-header__socials a, .hero__button, .course-card__button, .trial-offer__button,
.promo-slide__button, .oz-direction-hero__cta, .oz-direction-formats__cta,
.oz-direction-promos__cta, .contact-form__footer button,
.courses__arrow, .teachers__arrow, .promotions__arrow, .oz-direction-promos__arrow {
  transition: translate var(--oz-motion-fast) var(--oz-motion-ease),
    transform var(--oz-motion-fast) var(--oz-motion-ease),
    box-shadow var(--oz-motion-fast) ease, background-color var(--oz-motion-fast) ease,
    color var(--oz-motion-fast) ease, opacity var(--oz-motion-fast) ease;
}
.oz-header__menu-art img, .oz-header__cta-arrow svg,
.oz-direction-formats__cta svg, .oz-direction-promos__cta > span:last-child {
  transition: translate 240ms var(--oz-motion-ease);
}
@media (hover: hover) and (pointer: fine) {
  .hero__button:hover, .course-card__button:hover, .trial-offer__button:hover,
  .promo-slide__button:hover, .oz-direction-hero__cta:hover, .oz-direction-formats__cta:hover,
  .oz-direction-promos__cta:hover, .contact-form__footer button:hover {
    translate: 0 -2px; box-shadow: 0 6px 16px #132e521a;
  }
  .oz-header__dropdown > a:hover .oz-header__menu-art img { translate: 0 -2px; }
  .oz-header__cta:hover .oz-header__cta-arrow svg,
  .oz-direction-formats__cta:hover svg,
  .oz-direction-promos__cta:hover > span:last-child { translate: 3px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { html { scroll-behavior: auto; } }
