:root {
  color-scheme: dark;
  --background: #090d11;
  --surface: #111920;
  --surface-raised: #18242d;
  --text: #f4f8fa;
  --muted: #a9b7c0;
  --cyan: #00efff;
  --teal: #17e6b8;
  --violet: #a855f7;
  --warning: #ffe999;
  --border: rgba(0, 239, 255, 0.18);
  --content-width: 72rem;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(0, 239, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(168, 85, 247, 0.1), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--cyan);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.wordmark {
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
}

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

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

main {
  padding-block: clamp(2rem, 6vw, 5rem);
}

.hero {
  max-width: 58rem;
  padding-block: clamp(2rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

.lede {
  max-width: 48rem;
  margin-block: 1.5rem 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--cyan), var(--teal));
  color: #021114;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.notice {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(17, 25, 32, 0.86);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.card h3 {
  margin-top: 0;
}

.notice {
  margin-block: 2rem;
  border-color: rgba(255, 233, 153, 0.28);
}

.notice strong {
  color: var(--warning);
}

.prose {
  max-width: 52rem;
}

.prose p,
.prose li {
  color: #d6e0e5;
}

.prose li + li {
  margin-top: 0.55rem;
}

.prose code {
  border-radius: 0.35rem;
  background: var(--surface-raised);
  padding: 0.1em 0.35em;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid var(--border);
  padding-block: 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 44rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

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