/* Base reset, typography and accessibility defaults. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(72, 167, 255, 0.12), transparent 28%),
    radial-gradient(circle at 10% 18%, rgba(140, 108, 255, 0.1), transparent 26%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

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

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

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

button {
  cursor: pointer;
}

/* Keep keyboard navigation obvious across every page and control type. */
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: rgba(72, 167, 255, 0.35);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  color: #06101d;
  background: #fff;
  border-radius: 10px;
  transition: 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.2vw, 5.05rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3.55rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.lead {
  max-width: 820px;
  color: #bdd0e3;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.68;
}

.muted {
  color: var(--muted);
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #e9f6ff 0%, #6acbff 48%, #9c83ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b9d9ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  width: 28px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #bfefff;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(84, 229, 255, 0.06);
  border: 1px solid rgba(84, 229, 255, 0.22);
  border-radius: 999px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(84, 229, 255, 0.9);
}

.section-tinted {
  background: rgba(255, 255, 255, 0.012);
}
