:root {
  color-scheme: dark;
  --primary: #2563eb;
  --secondary: #1e40af;
  --accent: #38bdf8;
  --success: #10b981;
  --background: #0f172a;
  --surface: #1e293b;
  --surface-soft: rgba(30, 41, 59, 0.72);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(203, 213, 225, 0.14);
  --glass: rgba(15, 23, 42, 0.58);
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.42);
  --soft-shadow: 0 18px 50px rgba(37, 99, 235, 0.18);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Inter", "Manrope", "Montserrat", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: var(--font);
  letter-spacing: 0;
}

body.is-loading {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  color: var(--text);
  background: var(--primary);
}

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

button {
  border: 0;
  font: inherit;
}

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

svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

body.is-ready .page-shell {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

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