/* ═══════════════════════════════════════════════════════════
   Remode — base.css
   Reset, variables, typography, layout primitives
   ═══════════════════════════════════════════════════════════ */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background: #fbfbfd;
}

/* --- Design Tokens --- */
:root {
  /* Brand */
  --purple-primary: #9333EA;
  --purple-dark: #7C3AED;
  --purple-light: #A855F7;
  --gradient-primary: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);

  /* Pastels */
  --pastel-purple: #F6E6FF;
  --pastel-pink: #FFD6E0;
  --pastel-blue: #E3F2FD;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-dark: #1f2937;
  --text-gray: #6b7280;

  /* Surfaces */
  --bg-white: #ffffff;
  --bg-light: #f9fafb;

  /* Editorial overrides */
  --ink: #0E0E11;
  --paper: #FFFFFF;
  --warm-bg: #F6F5F3;
  --accent: #7C3AED;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Accessibility --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--purple-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-to-main:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--purple-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-video { display: none !important; }
  .hero-focus-cue { display: none !important; }
}

/* --- Layout --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Keyframes (shared) --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.85; transform: translateX(-50%) translateY(6px); }
}
