:root {
  color-scheme: dark;
  --bg: #070a0f;
  --surface: #10151d;
  --surface-deep: #0b0f15;
  --surface-strong: #17202b;
  --surface-raised: #1c2734;
  --text: #f8fafc;
  --muted: #b8c4d3;
  --line: rgba(184, 196, 211, 0.22);
  --line-accent: rgba(100, 223, 194, 0.58);
  --line-warm: rgba(228, 90, 85, 0.54);
  --accent: #64dfc2;
  --accent-strong: #e45a55;
  --focus: #ff837c;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  --max: 900px;
  --page-gutter: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18rem),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 1.25rem
    ),
    var(--bg);
  color: var(--text);
  font-family:
    "Avenir Next",
    "Trebuchet MS",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

.support-doc {
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--accent);
  color: #061016;
  border-radius: 0.35rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-footer,
.page {
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

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

.brand-icon {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 0.45rem 0.78rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer a:hover {
  border-color: var(--line);
  color: var(--accent-strong);
}

.page {
  padding: 1.25rem 0 3.25rem;
}

.hero {
  max-width: 720px;
}

.hero-brand {
  margin-bottom: 1.25rem;
}

.eyebrow,
.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 1rem;
}

h1 {
  max-width: 14ch;
  font-size: 3.35rem;
  overflow-wrap: anywhere;
}

h2 {
  font-size: 1.55rem;
}

h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 40rem;
}

@media (min-width: 920px) {
  :root {
    --page-gutter: 2rem;
  }

  .page {
    padding-top: 1.75rem;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 0.75rem;
  }

  .brand-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .site-footer a {
    font-size: 0.9rem;
    padding: 0.35rem 0.58rem;
  }

  .page {
    padding: 1rem 0 2.25rem;
  }

  h1 {
    max-width: none;
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .lead {
    font-size: 1rem;
  }
}
