:root {
  color-scheme: light;
  --color-primary: #5b6cff;
  --color-primary-deep: #4060f6;
  --color-primary-soft: #8b7bff;
  --color-primary-light: #eef0ff;
  --grad-brand: linear-gradient(135deg, #8b7bff 0%, #5b6cff 55%, #4b87f6 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 123, 255, 0.10), rgba(91, 108, 255, 0.10) 55%, rgba(75, 135, 246, 0.10));
  --color-background: #f4f6fc;
  --color-surface: #ffffff;
  --color-text: #1b2030;
  --color-muted-text: #6b7280;
  --color-border: #e9edf5;
  --color-focus: #4060f6;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-warm: #fb923c;
  --color-accent-blue: #3b82f6;
  --color-accent-rose: #f43f5e;
  --font-body: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-full: 999px;
  --space-unit: 0.25rem;
  --content-width: 70rem;
  --shadow-card: 0 1px 2px rgba(23, 32, 64, 0.04), 0 6px 22px rgba(23, 32, 64, 0.06);
  --shadow-pop: 0 10px 36px rgba(64, 96, 246, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  background: linear-gradient(180deg, #edf2fb 0%, #f4f6fc 260px, #f4f6fc 100%);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-body);
}

body {
  margin: 0;
  min-height: 100dvh;
}

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

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

.skip-link {
  left: 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-200%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

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