/* ============================================
   KI ACADEMY PREMIUM - BASE STYLES
   ITCSS Layer: 01-base
   ============================================ */

/* ------------------------------------------
   1. Root & HTML
   ------------------------------------------ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------
   2. Body
   ------------------------------------------ */
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--academy-bg-void);
  color: var(--academy-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* ------------------------------------------
   3. Typography Helpers
   ------------------------------------------ */
.academy-section__eyebrow {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(244, 162, 97, 0.1);
  border: 1px solid rgba(244, 162, 97, 0.3);
  border-radius: var(--radius-full);
  color: var(--academy-apricot);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

.academy-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.academy-section__subtitle {
  color: var(--academy-text-secondary);
  line-height: 1.7;
}

/* ------------------------------------------
   4. Skip Link
   ------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: var(--academy-apricot);
  color: var(--academy-bg-void);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: calc(var(--z-preloader, 9999) + 1);
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ------------------------------------------
   5. Focus Visible
   ------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--academy-apricot);
  outline-offset: 2px;
}

/* ------------------------------------------
   6. Selection
   ------------------------------------------ */
::selection {
  background: rgba(244, 162, 97, 0.3);
  color: var(--academy-text-primary);
}
