:root {
  --color-background: #f8f4fb;
  --color-surface: #fffefe;
  --color-surface-soft: #fcf9fd;
  --color-text: #282334;
  --color-muted: #716a7d;
  --color-accent: #9360dc;
  --color-accent-strong: #7442c8;
  --color-accent-soft: #eee3fb;
  --color-pink: #e34f96;
  --color-peach: #ff9d58;
  --color-blue: #627ed1;
  --color-mint: #31a482;
  --color-border: #eadff0;
  --color-focus: #5132a1;

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

  --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;

  --radius-sm: 12px;
  --radius-md: 17px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-round: 999px;

  --shadow-card: 0 22px 65px rgba(87, 56, 112, 0.1);
  --shadow-soft: 0 8px 24px rgba(87, 56, 112, 0.07);
  --shadow-hover: 0 13px 30px rgba(87, 56, 112, 0.12);

  --content-width: 970px;
  --transition-fast: 160ms ease;
}

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

html {
  min-width: 320px;
  background: var(--color-background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
