:root {
  --bg: #08090d;
  --bg-secondary: #10131a;
  --bg-elevated: #151923;
  --bg-hover: #1a1f2b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5fa;
  --text-muted: #9aa3b5;
  --text-dim: #6c7486;
  --accent: #5b8cff;
  --accent-bright: #7ea5ff;
  --accent-violet: #a855f7;
  --accent-soft: rgba(91, 140, 255, 0.14);
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shell: min(1180px, calc(100% - 48px));
  --header-height: 78px;
  --section-gap: 112px;

  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(91, 140, 255, 0.28), 0 22px 70px rgba(24, 60, 150, 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open,
body.loader-active {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

::selection {
  background: rgba(91, 140, 255, 0.35);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #262c3a;
  border: 2px solid var(--bg);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: #353d50;
}

.icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.icon--sm {
  width: 15px;
  height: 15px;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-gap);
  position: relative;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section-head--split > div {
  max-width: 620px;
}

.section-head--split > p {
  max-width: 420px;
  margin-bottom: 4px;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.section-copy {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 640px;
}

.section-actions {
  margin-top: 40px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: gap 0.3s var(--ease-out), color 0.3s ease;
}

.text-link:hover {
  gap: 16px;
  color: #ffffff;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 999;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--text);
}
