/*
 * -----------------------------------------------------------------------------
 * Icy Math Official Website
 * File: variables.css
 * Description: Global design tokens and CSS custom properties.
 * -----------------------------------------------------------------------------
 */

:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-width: 1160px;
  --header-height: 76px;

  --radius-xs: 14px;
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --shadow-soft: 0 18px 50px rgba(15, 13, 26, 0.14);
  --shadow-lift: 0 24px 70px rgba(15, 13, 26, 0.20);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --transition-fast: 150ms ease;
  --transition-medium: 250ms ease;
  --transition-slow: 360ms ease;

  --accent: #8b5cf6;
  --accent-strong: #7c3aed;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-very-soft: rgba(139, 92, 246, 0.08);

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --header-blur: 18px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}