:root {
  --blue: #38b6ff;
  --blue-dim: rgba(56, 182, 255, 0.15);
  --blue-glow: rgba(56, 182, 255, 0.45);
  --black: #050508;
  --black-elevated: #0c0c10;
  --black-card: #101014;
  --white: #f5f5f7;
  --white-muted: #8a8f9a;
  --border: rgba(56, 182, 255, 0.15);
  --border-strong: rgba(56, 182, 255, 0.35);
  --clip-angle: 12px;
  --container: 1120px;
  --header-h: 72px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --heading-line-tight: 1.15;
  --heading-line-normal: 1.25;
  --heading-line-relaxed: 1.3;
  --page-gutter: 16px;
  --page-gutter-mobile: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --violet: #7b6bff;
  --violet-dim: rgba(123, 107, 255, 0.15);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.4s;
  --dur-slow: 0.7s;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

button,
.btn {
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: var(--heading-line-tight);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  line-height: var(--heading-line-normal);
  letter-spacing: 0;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  line-height: var(--heading-line-relaxed);
  letter-spacing: 0;
}

h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: var(--heading-line-relaxed);
}

p {
  margin: 0;
}

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

.container {
  width: min(100% - var(--page-gutter) * 2, var(--container));
  margin-inline: auto;
  padding-inline: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--black);
  padding: 8px 14px;
  font-weight: 600;
  z-index: 2000;
}

.skip-link:focus-visible {
  left: 12px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-num {
  color: var(--white-muted);
}

.section-lead {
  margin-top: 16px;
  max-width: 640px;
  color: var(--white-muted);
  font-size: 1.05rem;
}

@media (max-width: 679px) {
  .container {
    width: min(100% - var(--page-gutter-mobile) * 2, var(--container));
  }
}
