:root {
  --bg: #f4f7fb;
  --bg-soft: #eaf0f7;
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: #ffffff;
  --text: #0f172a;
  --muted: #5b6b84;
  --border: rgba(15, 23, 42, 0.1);
  --primary: #2563eb;
  --primary-light: rgba(37, 99, 235, 0.09);
  --primary-contrast: #ffffff;
  --success: #059669;
  --success-light: rgba(5, 150, 105, 0.1);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 28px;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 18px 36px rgba(15, 23, 42, 0.1);
  --shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  --radius: var(--radius-xl);
  --ring: rgba(37, 99, 235, 0.34);
  --container: 1280px;
  --transition: 180ms ease;
}

html[data-theme="dark"] {
  --bg: #07111f;
  --bg-soft: #101b2d;
  --card: rgba(12, 19, 34, 0.78);
  --card-strong: #0f172a;
  --text: #ecf3ff;
  --muted: #97a7c3;
  --border: rgba(148, 163, 184, 0.18);
  --primary: #60a5fa;
  --primary-light: rgba(96, 165, 250, 0.1);
  --primary-contrast: #08111e;
  --success: #34d399;
  --success-light: rgba(52, 211, 153, 0.12);
  --shadow-sm: 0 12px 26px rgba(2, 6, 23, 0.32);
  --shadow-md: 0 22px 44px rgba(2, 6, 23, 0.44);
  --shadow: 0 28px 56px rgba(0, 0, 0, 0.34);
  --ring: rgba(96, 165, 250, 0.36);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 12% 0%, rgba(96, 165, 250, 0.2), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(14, 165, 233, 0.14), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

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

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

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
