/* --- nexxcite look for Material for MkDocs ------------------------------------------------------
   The colours, fonts and the dark chrome come from the nexxcite website (repository nexxcite-web,
   Styles/parts/tokens.css and stage.css), which in turn took them from the product. Like there, the
   header and footer are always dark, whatever the colour scheme of the page. */

/* Fonts ------------------------------------------------------------------------------------------
   Self-hosted (theme.font is false), so the documentation makes no request to Google Fonts. Each
   weight is split by unicode-range; the extended file loads only when a page needs one of its
   characters. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/space-grotesk-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/space-grotesk-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-grotesk-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Tokens -----------------------------------------------------------------------------------------
   The website's semantic tokens (--nx-*), mapped onto Material's variables. Light is the default
   scheme, dark is Material's "slate". */

:root {
  --nx-bg: #ffffff;
  --nx-bg-subtle: #f6f6fb;
  --nx-border: #e4e3ee;
  --nx-border-strong: #c6c4d8;
  --nx-text: #18142f;
  --nx-text-muted: #595873;
  --nx-brand: #4136cd;
  --nx-brand-strong: #352bab;
  --nx-brand-contrast: #ffffff;
  --nx-violet: #6d28d9;
  --nx-mint: #0b7d6d;
  --nx-rose: #e11d48;
  --nx-amber: #b45309;
  --nx-grad-text: linear-gradient(100deg, #4136cd 0%, #6d28d9 52%, #0b7d6d 100%);
  --nx-tint: rgba(65, 54, 205, 0.07);
  --nx-radius: 0.5rem;

  /* The chrome, dark in both schemes. */
  --nx-chrome-bg: #0b0a1a;
  --nx-chrome-deep: #070616;
  --nx-chrome-border: #262342;
  --nx-chrome-text: #f4f3fb;
  --nx-chrome-muted: #a4a2c0;
  --nx-seam: linear-gradient(90deg, transparent, rgba(140, 132, 242, 0.6), rgba(62, 226, 196, 0.5), transparent);

  --md-text-font: 'Inter';
  --md-code-font: 'JetBrains Mono';
}

[data-md-color-scheme='default'] {
  --md-default-fg-color: rgba(24, 20, 47, 0.87);
  --md-default-fg-color--light: rgba(24, 20, 47, 0.62);
  --md-default-fg-color--lighter: rgba(24, 20, 47, 0.32);
  --md-default-fg-color--lightest: rgba(24, 20, 47, 0.07);
  --md-default-bg-color: var(--nx-bg);
  --md-typeset-color: var(--nx-text);
  --md-code-bg-color: var(--nx-bg-subtle);
  --md-code-fg-color: #2a2340;
  --md-typeset-table-color: var(--nx-border);
  --md-shadow-z1: 0 1px 2px rgba(24, 20, 47, 0.05), 0 1px 3px rgba(24, 20, 47, 0.06);
  --md-shadow-z2: 0 6px 16px -4px rgba(24, 20, 47, 0.1), 0 2px 4px rgba(24, 20, 47, 0.05);
  --md-shadow-z3: 0 24px 48px -16px rgba(24, 20, 47, 0.2), 0 6px 12px -6px rgba(24, 20, 47, 0.08);
}

[data-md-color-scheme='slate'] {
  --nx-bg: #0b0a1a;
  --nx-bg-subtle: #14122b;
  --nx-border: #262342;
  --nx-border-strong: #3a3660;
  --nx-text: #f4f3fb;
  --nx-text-muted: #a4a2c0;
  --nx-brand: #8c84f2;
  --nx-brand-strong: #a8a2f7;
  --nx-brand-contrast: #0b0a1a;
  --nx-violet: #b59bff;
  --nx-mint: #3ee2c4;
  --nx-rose: #fb7185;
  --nx-amber: #fbbf24;
  --nx-grad-text: linear-gradient(100deg, #a39cff 0%, #c4a8ff 45%, #3ee2c4 100%);
  --nx-tint: rgba(140, 132, 242, 0.12);

  --md-hue: 246;
  --md-default-fg-color: rgba(244, 243, 251, 0.87);
  --md-default-fg-color--light: rgba(244, 243, 251, 0.62);
  --md-default-fg-color--lighter: rgba(244, 243, 251, 0.32);
  --md-default-fg-color--lightest: rgba(244, 243, 251, 0.08);
  --md-default-bg-color: var(--nx-bg);
  --md-default-bg-color--light: rgba(11, 10, 26, 0.54);
  --md-default-bg-color--lighter: rgba(11, 10, 26, 0.26);
  --md-default-bg-color--lightest: rgba(11, 10, 26, 0.07);
  --md-typeset-color: var(--nx-text);
  --md-code-bg-color: var(--nx-bg-subtle);
  --md-code-fg-color: #dedcf2;
  --md-typeset-table-color: var(--nx-border);
  --md-shadow-z1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --md-shadow-z2: 0 6px 16px -4px rgba(0, 0, 0, 0.5);
  --md-shadow-z3: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

/* primary: custom and accent: custom in mkdocs.yml - Material then leaves these to us. */
[data-md-color-primary='custom'] {
  --md-primary-fg-color: var(--nx-brand);
  --md-primary-fg-color--light: var(--nx-brand-strong);
  --md-primary-fg-color--dark: var(--nx-brand-strong);
  --md-primary-bg-color: var(--nx-chrome-text);
  --md-primary-bg-color--light: var(--nx-chrome-muted);
  --md-typeset-a-color: var(--nx-brand);
}

[data-md-color-accent='custom'] {
  --md-accent-fg-color: var(--nx-violet);
  --md-accent-fg-color--transparent: var(--nx-tint);
  --md-accent-bg-color: #ffffff;
  --md-accent-bg-color--light: rgba(255, 255, 255, 0.7);
}

/* Footer: dark in both schemes, like the website. */
:root {
  --md-footer-fg-color: var(--nx-chrome-text);
  --md-footer-fg-color--light: var(--nx-chrome-muted);
  --md-footer-fg-color--lighter: rgba(164, 162, 192, 0.6);
  --md-footer-bg-color: var(--nx-chrome-bg);
  --md-footer-bg-color--dark: var(--nx-chrome-deep);
}

/* Base -------------------------------------------------------------------------------------------- */

body {
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--nx-brand);
  color: var(--nx-brand-contrast);
}

/* Header ------------------------------------------------------------------------------------------ */

.md-header {
  background-color: var(--nx-chrome-bg);
  background-image:
    radial-gradient(40rem 8rem at 8% -60%, rgba(65, 54, 205, 0.55), transparent 70%),
    radial-gradient(34rem 8rem at 92% -80%, rgba(124, 58, 237, 0.45), transparent 70%);
  color: var(--nx-chrome-text);
}

/* The seam of light along the lower edge, instead of Material's drop shadow. */
.md-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--nx-seam);
  pointer-events: none;
}

.md-header--shadow {
  box-shadow: none;
}

.md-header__button.md-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.2rem;
}

.md-header__button.md-logo .nx-wordmark {
  height: 1.05rem;
  width: auto;
}

/* The spark above the i carries the brand gradient, as the one accent in the white wordmark. */
.md-header__button.md-logo .nx-wordmark-spark {
  fill: #3ee2c4;
}

.nx-docs-badge {
  border: 1px solid rgba(244, 243, 251, 0.2);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  color: var(--nx-chrome-muted);
  font-family: var(--md-code-font-family);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* The wordmark already names the site. The first topic keeps only the version selector, which mike
   places next to the site name; the page title replaces it once the page has scrolled. */
.md-header__topic:first-child > .md-ellipsis {
  display: none;
}

.md-header__title {
  font-family: 'Space Grotesk', var(--md-text-font-family);
  font-weight: 600;
}

/* Material hides the logo on small screens; the wordmark stays, only the badge goes. */
@media screen and (max-width: 76.234375em) {
  .md-header__button.md-logo .nx-docs-badge {
    display: none;
  }
}

/* Version selector of mike */
.md-version__current {
  font-family: var(--md-code-font-family);
  font-size: 0.65rem;
  color: var(--nx-chrome-muted);
}

.md-version__list {
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  font-family: var(--md-code-font-family);
}

.md-version__link:is(:hover, :focus) {
  color: var(--nx-brand);
}

/* Search */
@media screen and (min-width: 60em) {
  .md-search__form {
    border: 1px solid rgba(244, 243, 251, 0.12);
    border-radius: 999px;
    background-color: rgba(244, 243, 251, 0.06);
    transition: border-color 150ms, background-color 150ms;
  }

  .md-search__form:hover {
    border-color: rgba(244, 243, 251, 0.24);
    background-color: rgba(244, 243, 251, 0.1);
  }

  [data-md-toggle='search']:checked ~ .md-header .md-search__form {
    border-radius: 0.6rem 0.6rem 0 0;
    border-color: transparent;
  }
}

.md-search__output {
  border-radius: 0 0 0.6rem 0.6rem;
}

/* The drawer on small screens starts with the dark chrome too. */
@media screen and (max-width: 76.234375em) {
  .md-nav--primary .md-nav__title[for='__drawer'] {
    background-color: var(--nx-chrome-bg);
    color: var(--nx-chrome-text);
  }

  .md-nav--primary .md-nav__title[for='__drawer'] .md-logo .nx-wordmark {
    height: 1.05rem;
    width: auto;
  }

  .md-nav--primary .md-nav__title[for='__drawer'] .md-logo .nx-wordmark-spark {
    fill: #3ee2c4;
  }
}

/* Navigation -------------------------------------------------------------------------------------- */

/* The section headings look like the eyebrows of the website: small, mono, spaced capitals. */
.md-nav--primary > .md-nav__list > .md-nav__item--section > .md-nav__link {
  margin-top: 1.25em;
  color: var(--nx-text-muted);
  font-family: var(--md-code-font-family);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.md-nav__link--active,
.md-nav__item .md-nav__link--active {
  color: var(--nx-brand);
  font-weight: 600;
}

.md-nav__link:is(:focus, :hover) {
  color: var(--nx-brand);
}

/* Table of contents */
.md-sidebar--secondary .md-nav__title {
  font-family: var(--md-code-font-family);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}

/* Content ----------------------------------------------------------------------------------------- */

.md-typeset {
  color: var(--nx-text);
}

.md-typeset :is(h1, h2, h3, h4) {
  font-family: 'Space Grotesk', var(--md-text-font-family);
  color: var(--nx-text);
  text-wrap: balance;
  /* Titles such as "POST /api/v1/records/{entityId}" are one long word. */
  overflow-wrap: break-word;
}

.md-typeset h1 {
  font-weight: 700;
  font-size: clamp(1.6em, 4vw, 2.1em);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.9em;
}

.md-typeset h2 {
  font-weight: 600;
  font-size: 1.45em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 2em;
}

.md-typeset h3 {
  font-weight: 600;
  font-size: 1.15em;
  letter-spacing: -0.01em;
}

.md-typeset h4 {
  font-weight: 600;
}

.md-typeset a {
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: color 150ms, text-decoration-color 150ms;
}

.md-typeset a:is(:hover, :focus) {
  color: var(--nx-brand-strong);
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.md-typeset .headerlink:is(:hover, :focus) {
  text-decoration: none;
}

/* A rule is the seam of the website: a line of light that fades out at both ends. */
.md-typeset hr {
  border: 0;
  height: 1px;
  margin: 2em 0;
  background: linear-gradient(90deg, transparent, var(--nx-brand) 30%, var(--nx-mint) 70%, transparent);
  opacity: 0.45;
}

.md-typeset strong {
  font-weight: 600;
}

/* Code */
.md-typeset code {
  border-radius: 0.3rem;
}

.md-typeset :not(pre) > code {
  border: 1px solid var(--nx-border);
  background-color: var(--nx-bg-subtle);
  padding: 0.05em 0.35em;
}

.md-typeset pre > code {
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
}

/* Tables */
.md-typeset table:not([class]) {
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  box-shadow: none;
  font-size: 0.7rem;
}

.md-typeset table:not([class]) th {
  background-color: var(--nx-bg-subtle);
  color: var(--nx-text);
  font-weight: 600;
  border-bottom: 1px solid var(--nx-border);
}

.md-typeset table:not([class]) td {
  border-top-color: var(--nx-border);
}

.md-typeset table:not([class]) tbody tr:hover {
  background-color: var(--nx-tint);
  box-shadow: none;
}

/* Admonitions: rounded like the cards of the website, the colour only in the edge and the title. */
.md-typeset :is(.admonition, details) {
  border-width: 1px;
  border-left-width: 3px;
  border-radius: var(--nx-radius);
  box-shadow: none;
  font-size: 0.7rem;
}

.md-typeset :is(.admonition, details):is(.note, .info, .abstract) {
  border-color: var(--nx-brand);
}

.md-typeset :is(.note, .info, .abstract) > :is(.admonition-title, summary) {
  background-color: var(--nx-tint);
}

.md-typeset :is(.note, .info, .abstract) > :is(.admonition-title, summary)::before {
  background-color: var(--nx-brand);
}

.md-typeset :is(.admonition, details):is(.tip, .hint, .success, .check) {
  border-color: var(--nx-mint);
}

.md-typeset :is(.tip, .hint, .success, .check) > :is(.admonition-title, summary) {
  background-color: color-mix(in srgb, var(--nx-mint) 10%, transparent);
}

.md-typeset :is(.tip, .hint, .success, .check) > :is(.admonition-title, summary)::before {
  background-color: var(--nx-mint);
}

/* Footer ------------------------------------------------------------------------------------------ */

.md-footer {
  position: relative;
}

.md-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--nx-seam);
}

.md-footer__title {
  font-family: 'Space Grotesk', var(--md-text-font-family);
  font-weight: 600;
}

.md-footer-meta {
  border-top: 1px solid var(--nx-chrome-border);
}

/* Home page stage --------------------------------------------------------------------------------- */

.nx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--nx-chrome-deep);
  color: var(--nx-chrome-text);
}

.nx-hero__aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.nx-hero__aurora > span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
}

.nx-hero__aurora > span:nth-child(1) {
  left: -8%;
  top: -60%;
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(65, 54, 205, 0.9) 0%, rgba(65, 54, 205, 0.35) 35%, transparent 68%);
  animation: nx-drift-a 22s ease-in-out infinite alternate;
}

.nx-hero__aurora > span:nth-child(2) {
  right: -10%;
  top: -50%;
  width: 40vw;
  height: 40vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.8) 0%, rgba(124, 58, 237, 0.3) 35%, transparent 68%);
  animation: nx-drift-b 26s ease-in-out infinite alternate;
}

.nx-hero__aurora > span:nth-child(3) {
  left: 35%;
  bottom: -80%;
  width: 38vw;
  height: 38vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(62, 226, 196, 0.8) 0%, rgba(62, 226, 196, 0.25) 35%, transparent 68%);
  opacity: 0.28;
  animation: nx-drift-c 30s ease-in-out infinite alternate;
}

@keyframes nx-drift-a { to { transform: translate3d(10vw, 3rem, 0) scale(1.15); } }
@keyframes nx-drift-b { to { transform: translate3d(-8vw, 4rem, 0) scale(0.9); } }
@keyframes nx-drift-c { to { transform: translate3d(-12vw, -2rem, 0) scale(1.2); } }

/* The line grid, faded out towards the edges so it reads as depth and not as graph paper. */
.nx-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 75%);
}

.nx-hero__inner {
  padding: 3.2rem 0.8rem 3rem;
  text-align: center;
}

.nx-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  border: 1px solid rgba(244, 243, 251, 0.16);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  background-color: rgba(20, 18, 43, 0.62);
  color: var(--nx-chrome-muted);
  font-family: var(--md-code-font-family);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nx-hero__title {
  margin: 0;
  font-family: 'Space Grotesk', var(--md-text-font-family);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--nx-chrome-text);
}

.nx-grad {
  background: linear-gradient(100deg, #a39cff 0%, #c4a8ff 45%, #3ee2c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nx-hero__lead {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--nx-chrome-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.nx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.7rem;
  font-weight: 500;
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 150ms, border-color 150ms;
}

.nx-btn:hover {
  transform: translateY(-1px);
}

.nx-btn--light {
  background-color: #ffffff;
  color: #18142f;
  box-shadow: 0 10px 40px -10px rgba(255, 255, 255, 0.45);
}

.nx-btn--light:hover,
.nx-btn--light:focus {
  color: #18142f;
  box-shadow: 0 14px 50px -10px rgba(255, 255, 255, 0.6);
}

.nx-btn--glass {
  border: 1px solid #3a3660;
  background-color: rgba(20, 18, 43, 0.62);
  color: var(--nx-chrome-text);
}

.nx-btn--glass:hover,
.nx-btn--glass:focus {
  border-color: #8c84f2;
  color: var(--nx-chrome-text);
}

/* The page's own first heading repeats the stage title. */
.md-container:has(.nx-hero) .md-content .md-typeset > h1:first-child {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .nx-hero__aurora > span {
    animation: none;
  }

  .nx-btn {
    transition: none;
  }
}
