:root {
  --doc-body: "Nebula Sans", system-ui, sans-serif;
  --doc-head: "Nebula Sans", system-ui, sans-serif;
  --doc-head-weight: 500;
  --doc-track: -0.015em;
  --doc-paper: #ffffff;
  --doc-ink: #10131f;
  --doc-muted: #565b6c;
  --doc-line: #10131f24;
  --doc-accent: #1729ff;
}

:root {
  color-scheme: light;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  accent-color: var(--doc-accent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--doc-paper); color: var(--doc-ink); font: 400 1.0625rem/1.65 var(--doc-body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--doc-accent); color: #fff; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--doc-accent); outline-offset: 4px; }
h1, h2, p { margin: 0; }

.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: 0.75rem 1rem; background: var(--doc-ink); color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; padding-inline: var(--gutter); border-bottom: 1px solid var(--doc-line); }
.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; text-decoration: none; }
.wordmark img { display: block; width: 32px; height: 32px; }
.wordmark span { font-family: var(--doc-head); font-size: 1.3125rem; font-weight: var(--doc-head-weight); letter-spacing: var(--doc-track); line-height: 1; }
.navigation { display: flex; align-items: center; gap: 1.5rem; font-size: 1rem; }
.navigation-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.navigation-link:hover { color: var(--doc-accent); text-decoration: underline; }

.document { width: min(46rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-block: 3.5rem 4rem; }
.document-header { margin-bottom: 2.75rem; }
.document h1 { font-family: var(--doc-head); font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: var(--doc-head-weight); line-height: 1.08; letter-spacing: var(--doc-track); }
.document-header > p { margin-top: 1rem; color: var(--doc-muted); }
.document section + section { margin-top: 2.25rem; }
.document h2 { margin-bottom: 0.6rem; font-family: var(--doc-head); font-size: 1.375rem; font-weight: var(--doc-head-weight); line-height: 1.3; letter-spacing: calc(var(--doc-track) / 2); }
.document section p + p { margin-top: 0.75rem; }
.document ul { margin: 0; padding-left: 1.25rem; }
.document li + li { margin-top: 0.65rem; }
.document a { color: var(--doc-accent); }
.document .document-date { font-size: 0.9375rem; }
.document-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.75rem; padding: 0; border: 0; background: transparent; color: var(--doc-accent); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.document-action:hover { text-decoration-thickness: 2px; }
.document-anchor { display: block; }

.contact-email { display: inline-flex; align-items: center; gap: 0.7rem; max-width: 100%; min-height: 48px; margin-top: 0.75rem; padding: 0.5rem 0; border: 0; background: transparent; color: var(--doc-accent); cursor: pointer; }
.contact-email img { display: block; width: clamp(14rem, 25vw, 16.5rem); max-width: calc(100vw - 5.5rem); height: auto; }
.contact-email svg { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.document-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem 2rem; width: min(46rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-block: 1.5rem; border-top: 1px solid var(--doc-line); }
.document-footer nav { display: flex; flex-wrap: wrap; justify-self: end; gap: 1.25rem; font-size: 0.9375rem; }
.document-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.document-footer a:hover { color: var(--doc-accent); text-decoration: underline; }
.document-footer p, .document-footer address { color: var(--doc-muted); font-size: 0.875rem; font-style: normal; line-height: 1.5; }
.document-footer p { white-space: nowrap; }
.document-footer address { text-align: center; }

@media (max-width: 640px) {
  .navigation { gap: 1rem; font-size: 0.9375rem; }
  .wordmark span { font-size: 1.1875rem; }
  .document { padding-block: 2.5rem 3rem; }
  .document-footer { grid-template-columns: 1fr; }
  .document-footer address { text-align: left; }
  .document-footer nav { justify-self: start; }
}
