@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&family=Montserrat:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

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

html {
  scroll-behavior: smooth;
  background: var(--surface-0);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--surface-0);
  color: var(--smoke-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Aurora mesh background — sits behind everything */
body::before {
  content: '';
  position: fixed;
  inset: -10% -5%;
  background: var(--grad-mesh);
  filter: blur(40px);
  opacity: 0.85;
  z-index: -2;
  pointer-events: none;
  animation: auroraDrift 28s var(--ease-in-out) infinite;
}

/* Subtle grid overlay for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 194, 213, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 194, 213, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.7), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.7), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

::selection {
  background: rgba(22, 194, 213, 0.35);
  color: var(--smoke-white);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--surface-0);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--teal-deep), var(--cyan-aviation));
  border-radius: var(--radius-pill);
  border: 3px solid var(--surface-0);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--cyan-aviation), var(--cyan-bright));
}

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

a {
  color: var(--cyan-bright);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover,
a:focus {
  color: var(--cyan-soft);
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', 'Montserrat', sans-serif;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  color: var(--smoke-white);
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
  color: rgba(244, 248, 251, 0.78);
}

small,
.text-small {
  font-size: 0.825rem;
  letter-spacing: 0.01em;
}

.text-muted {
  color: var(--gray-metallic);
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-aviation));
}

.section-title {
  margin-bottom: 18px;
}

.section-lead {
  max-width: 720px;
  margin-bottom: 40px;
  color: rgba(244, 248, 251, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

ul {
  padding-left: 18px;
}

ul li {
  margin-bottom: 6px;
  color: rgba(244, 248, 251, 0.78);
}

ul li::marker {
  color: var(--cyan-aviation);
}

:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}
