:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body { background-attachment: fixed; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
button:hover:not(:disabled), a:hover { transform: translateY(-2px); }
button:active:not(:disabled) { transform: translateY(0) scale(.98); }
:focus-visible { outline: 2px solid #f2d38d; outline-offset: 3px; }
.card, .hero, .learning-tutor-rail { box-shadow: 0 14px 38px #02081724; }
.card, .hero { animation: arrive .42s ease both; }
.card:nth-child(2) { animation-delay: .06s; }
.card:nth-child(3) { animation-delay: .12s; }
.bubble { animation: arrive .22s ease both; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1180px) { .app { min-width: 0; } .card, .hero { min-width: 0; } }
@media (max-width: 760px) {
  html { scroll-padding-bottom: 86px; }
  button, .btn, .cta, .secondary { min-height: 42px; }
  input, select, textarea { max-width: 100%; font-size: 16px; }
  .card { border-radius: 18px; }
  .learning-tutor-rail { overflow-y: auto; overscroll-behavior: contain; }
  .tutor-popup-toggle { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
