:root {
  color-scheme: dark;
  /* grounds */
  --background: #070b16;
  --background-raised: #090e1d;
  --surface: #0c1226;
  --surface-light: #111a34;
  /* hairlines */
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.09);
  /* text */
  --text: #e8eaf2;
  --text-soft: #c7ccdb;
  --text-muted: #a9b1c6;
  --text-faint: #6b7590;
  /* brand */
  --violet-bright: #a600ff;
  --violet: #5b32ff;
  --violet-soft: #b4a6ff;
  --blue: #009dff;
  --cyan: #7dd3fc;
  --green: #28c840;
  --red: #ff5f57;
  --grad: linear-gradient(105deg, var(--violet-bright), var(--violet) 50%, var(--blue));
  --grad-button: linear-gradient(120deg, #7a1bff, #5b32ff 60%, #2e7bff);
  --link: #8fb8ff;
  --link-hover: #c4b5fd;
  --code-accent: #c4b5fd;
  --font-sans: 'Sora', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --shadow-lg: 0 26px 80px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 120px rgba(91, 50, 255, 0.18);
  background: var(--background);
  font-family: var(--font-sans);
  font-synthesis: none;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

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

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

::selection {
  background: var(--violet);
  color: #fff;
}

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

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

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

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

pre,
code { font-family: var(--font-mono); }

:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 2px;
}

.section-shell {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-bright), var(--blue));
  vertical-align: 1px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-weight: 700;
  transition: filter 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button--primary {
  background: var(--grad-button);
  box-shadow: 0 8px 30px rgba(91, 50, 255, 0.4);
  color: #fff;
}

.button--primary:hover { filter: brightness(1.15); }

.button--quiet {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button--quiet:hover {
  background: rgba(255, 255, 255, 0.14);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 26px;
  color: var(--link);
  font-size: 14.5px;
  font-weight: 600;
}

.text-link:hover { color: var(--link-hover); }

.section-heading { max-width: 620px; }

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 14px 0;
  font-size: clamp(1.9rem, 3.4vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -1.2px;
  font-weight: 800;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

.page-hero {
  border-bottom: 1px solid var(--border-soft);
  background: var(--background-raised);
}

.page-hero__inner {
  padding-top: 88px;
  padding-bottom: 72px;
}

.page-hero h1 {
  max-width: 850px;
  margin: 16px 0;
  font-size: clamp(2.4rem, 5vw, 3.625rem);
  line-height: 1.06;
  letter-spacing: -2px;
  font-weight: 800;
}

.page-hero__lede {
  max-width: 640px;
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.surface-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 32px, 1140px); }

  .page-hero__inner {
    padding-top: 60px;
    padding-bottom: 52px;
  }

  .page-hero h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .page-hero__actions .button { width: 100%; }
}

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