:root {
  --bg: #f3f8ff;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --ink: #102a44;
  --ink-soft: #173b58;
  --muted: #587186;
  --line: #d8e5f0;
  --line-strong: #bfd1e2;
  --primary: #1e88e5;
  --primary-deep: #155fa8;
  --accent: #15937f;
  --accent-soft: rgba(21, 147, 127, 0.12);
  --success: #166534;
  --danger: #b91c1c;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 16px 34px rgba(16, 42, 68, 0.08);
  --shadow-card: 0 18px 42px rgba(16, 42, 68, 0.1);
  --shadow-lift: 0 24px 54px rgba(16, 42, 68, 0.14);
  --transition-base: 0.24s ease;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Open Sans", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 84% 16%, rgba(30, 136, 229, 0.12) 0%, rgba(30, 136, 229, 0) 34%),
    radial-gradient(circle at 15% 10%, rgba(21, 147, 127, 0.12) 0%, rgba(21, 147, 127, 0) 36%),
    linear-gradient(180deg, #f6fbff 0%, var(--bg) 52%, #f3f8ff 100%);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Inter", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p,
dl,
dd {
  margin: 0;
}

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

::selection {
  color: #fff;
  background: rgba(30, 136, 229, 0.84);
}

@keyframes surfaceFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

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

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