/* ==========================================================================
   Base — design tokens, reset, and bare element styles.
   ========================================================================== */

:root {
  --bg-0: #05050a;
  --bg-1: #0a0a16;
  --bg-2: #0f0f20;

  --violet: #7c5cff;
  --violet-soft: #9c8bff;
  --pink: #ff5cf1;
  --cyan: #5ce1ff;

  --text-0: #f5f5fa;
  --text-1: rgba(245, 245, 250, 0.72);
  --text-2: rgba(245, 245, 250, 0.46);

  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-bg-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.14);

  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-strong: 0 30px 90px -20px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text-0);
  background: var(--bg-0);
  overflow-x: hidden;
  cursor: default;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

kbd {
  font-family: inherit;
  font-size: 0.85em;
  padding: 0.15em 0.55em;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

img {
  max-width: 100%;
  display: block;
}

/* Progressive enhancement: JS adds this class only when GSAP/ScrollTrigger
   successfully load, so content stays visible by default otherwise. */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
}
