:root {
  color-scheme: dark;
  --background: #090b0e;
  --surface: #13161b;
  --surface-raised: #1b1e24;
  --surface-soft: #101b18;
  --border: #2b3039;
  --border-soft: rgb(255 255 255 / 7%);
  --text: #f7f8fa;
  --muted: #a5abb5;
  --muted-dim: #777e89;
  --accent: #6be0ab;
  --accent-strong: #83ebbb;
  --accent-ink: #07130e;
  --blue: #61b3ff;
  --purple: #ad8cff;
  --orange: #ffa64d;
  --radius-large: 30px;
  --radius-medium: 20px;
  --max-width: 980px;
  --document-width: 780px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 86% 2%, rgb(107 224 171 / 11%), transparent 30rem),
    radial-gradient(circle at 7% 94%, rgb(97 179 255 / 6%), transparent 25rem),
    var(--background);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(107 224 171 / 70%);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: var(--accent-ink);
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgb(107 224 171 / 26%);
  border-radius: 14px;
  background: linear-gradient(145deg, #1c2924, #101713);
  box-shadow: 0 12px 32px rgb(107 224 171 / 15%);
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 900;
}

.brand-mark::after {
  position: absolute;
  right: -7px;
  bottom: -9px;
  width: 23px;
  height: 23px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  content: "";
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

main {
  padding: 52px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 9vw, 6.6rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

p {
  margin: 0 0 18px;
}

code {
  padding: 0.12em 0.38em;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-raised);
  color: var(--text);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.lede {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.34rem);
}

.hero {
  padding: 42px 0 62px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-raised);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  box-shadow: 0 14px 34px rgb(107 224 171 / 18%);
  color: var(--accent-ink);
}

.button:hover {
  border-color: rgb(107 224 171 / 38%);
  color: var(--text);
  transform: translateY(-1px);
}

.button.primary:hover {
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 236px;
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, rgb(255 255 255 / 2.5%), transparent), var(--surface);
  box-shadow: 0 24px 76px rgb(0 0 0 / 20%);
}

a.card {
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

a.card:hover {
  border-color: rgb(107 224 171 / 38%);
  background: linear-gradient(145deg, rgb(107 224 171 / 4%), transparent), var(--surface);
  color: var(--text);
  transform: translateY(-3px);
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 44px;
  place-items: center;
  border: 1px solid rgb(107 224 171 / 14%);
  border-radius: 17px;
  background: var(--surface-soft);
  color: var(--accent);
  font-size: 1.38rem;
}

.card:nth-child(2) .card-icon {
  border-color: rgb(173 140 255 / 14%);
  background: rgb(173 140 255 / 8%);
  color: var(--purple);
}

.card:nth-child(3) .card-icon {
  border-color: rgb(255 166 77 / 14%);
  background: rgb(255 166 77 / 8%);
  color: var(--orange);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.document-header {
  max-width: var(--document-width);
  padding: 44px 0 42px;
}

.document-header h1 {
  font-size: clamp(3.15rem, 8vw, 5.4rem);
}

.updated {
  margin-top: 24px;
  color: var(--muted-dim);
  font-size: 0.92rem;
  font-weight: 700;
}

.document {
  max-width: var(--document-width);
  padding: 36px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 24px 76px rgb(0 0 0 / 16%);
}

.document section + section {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  margin-top: 30px;
}

.document ul {
  padding-left: 1.3rem;
  margin: 12px 0 18px;
}

.document li + li {
  margin-top: 8px;
}

.notice {
  padding: 21px 23px;
  border: 1px solid rgb(107 224 171 / 24%);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.notice.warning {
  border-color: rgb(255 166 77 / 22%);
  background: rgb(255 166 77 / 7%);
}

.notice p:last-child,
.document section > :last-child {
  margin-bottom: 0;
}

.support-list {
  display: grid;
  gap: 14px;
}

.support-item {
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-medium);
  background: var(--surface-raised);
}

.support-item p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 30px 0 46px;
  border-top: 1px solid var(--border);
  color: var(--muted-dim);
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 22px 0;
  }

  .site-nav {
    gap: 14px;
    padding-top: 8px;
  }

  main {
    padding-top: 28px;
  }

  .hero {
    padding-top: 30px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .card-icon {
    margin-bottom: 30px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    display: block;
  }

  .site-nav {
    justify-content: space-between;
    margin-top: 22px;
  }

  .document {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
