@font-face {
  font-family: "DM Sans";
  src: url(dm-sans.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url(mono.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #faf9f6;
  --ink: #25212b;
  --muted: #615d68;
  --rule: #dcd8db;
  --violet: #4f46e5;
  --button: #4f46e5;
  --pale: #eef2ff;
  --mono: Plex, ui-monospace, monospace;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body,
figure,
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
summary {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
button svg,
a svg {
  flex: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
pre:focus-visible {
  outline: 3px solid #7764dc;
  outline-offset: 3px;
}
::selection {
  background: #d5caff;
}
#content {
  min-height: 65vh;
}
.shell {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  clip-path: inset(50%);
  transform: translateY(-180%);
  background: white;
  padding: 12px;
  z-index: 8;
}
.skip:focus {
  clip-path: none;
  transform: none;
}
.sale {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 9px 16px;
  background: var(--violet);
  color: white;
  font-size: 14px;
  text-align: center;
}
.sale code {
  font-family: var(--mono);
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.18);
}
.sale-cta {
  font-weight: 600;
}
@media (max-width: 480px) {
  .sale {
    font-size: 13px;
    gap: 8px;
  }
  .sale code {
    font-size: 12px;
  }
}
.sale:hover .sale-cta {
  text-decoration: underline;
}
.mast {
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  letter-spacing: -0.065em;
  font-weight: 760;
  font-size: 21px;
  white-space: nowrap;
}
.brand img {
  width: 25px;
  height: 25px;
}
.head-inner > nav {
  display: none;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.mast nav a {
  padding-block: 12px;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.mast nav a[aria-current],
.mast nav a:hover,
.foot a:hover,
.back:hover {
  color: var(--violet);
}
.nav-menu {
  flex: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}
.nav-toggle::-webkit-details-marker {
  display: none;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.75px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.nav-menu[open] .nav-toggle span:nth-child(1) {
  transform: translateY(6.25px) rotate(45deg);
}
.nav-menu[open] .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-menu[open] .nav-toggle span:nth-child(3) {
  transform: translateY(-6.25px) rotate(-45deg);
}
.nav-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 12px 32px rgba(24, 21, 35, 0.08);
  padding-block: 6px 14px;
}
.nav-drawer nav {
  display: flex;
  flex-direction: column;
}
.nav-drawer nav a {
  padding: 12px 2px;
  font-size: 15px;
  font-weight: 540;
  border-bottom: 1px solid #edeae4;
}
.nav-drawer nav a:last-child {
  border-bottom: 0;
}
.nav-start {
  display: inline-flex;
  flex: none;
  background: var(--button);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-start:hover {
  background: #4338ca;
}
.button,
.nav-start {
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 580;
  font-size: 14px;
}
.button {
  display: inline-flex;
  background: var(--button);
  color: white;
  border-radius: 7px;
  padding: 15px 19px;
  box-shadow: inset 0 1px 0 #ffffff34;
}
.button:hover {
  background: #4338ca;
}
.eyebrow,
.back,
.neighbors small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.015em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--violet);
}
.eyebrow i {
  width: 8px;
  height: 8px;
  background: #7260d8;
  border-radius: 2px;
  box-shadow: 0 0 0 3px #eae5fb;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px clamp(10px, 2vw, 26px);
  margin-top: 22px;
}
.hero-actions .button {
  padding-inline: clamp(12px, 2vw, 19px);
}
.hero-actions a + a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 580;
}
.hero-actions a + a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.hero-panel {
  container-type: inline-size;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5cfe0;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 20px 44px -18px #2b214424,
    0 2px 8px #2b21440d;
}
.hp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 11px 14px;
  border-bottom: 1px solid #e6e2ee;
  background: #f8f7fb;
}
.hp-crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  min-width: 0;
}
.hp-crumb img {
  width: 18px;
  height: 18px;
  flex: none;
}
.hp-crumb span {
  color: var(--muted);
}
.hp-crumb i {
  font-style: normal;
  color: #aba4b8;
}
.hp-crumb strong {
  font-weight: 640;
  letter-spacing: -0.02em;
}
.hp-ready {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 99px;
  background: #e9f6ee;
  color: #256840 !important;
  font: 500 11px/1.3 var(--mono);
}
.hp-ready::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f8550;
}
.hp-meta {
  color: var(--muted);
  font: 400 11px/1.3 var(--mono);
}
.hp-body {
  display: grid;
}
.hp-main {
  padding: 14px;
  min-width: 0;
}
.hp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.hp-head strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.hp-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 400 11px/1.4 var(--mono);
}
.hp-cta {
  flex: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: #4f46e5;
  color: #fff;
  font-size: 12px;
  font-weight: 580;
}
.hp-sites {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e7e3ef;
  border-radius: 9px;
  overflow: hidden;
}
.hp-sites li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  background: #fff;
}
.hp-sites li + li {
  border-top: 1px solid #ece9f2;
}
.hp-sites li.is-active {
  background: #f4f2fc;
}
.hp-sites strong {
  display: block;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: -0.015em;
}
.hp-sites small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 400 11px/1.35 var(--mono);
}
.hp-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  font: 500 11px/1.3 var(--mono);
}
.hp-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.hp-ok {
  color: #2c6d45;
}
.hp-ok::before {
  background: #368755;
}
.hp-run {
  color: #b45309;
}
.hp-run::before {
  background: #ea580c;
  animation: hp-pulse 1.5s ease-in-out infinite;
}
.hp-drawer {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e6e2ee;
  background: #faf9fd;
  min-width: 0;
}
.hp-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.hp-drawer-head strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
}
.hp-drawer-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 400 11px/1.35 var(--mono);
}
.hp-branch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--pale);
  color: var(--violet);
  font: 500 11px/1.3 var(--mono);
  flex: none;
}
.hp-branch svg {
  width: 13px;
  height: 13px;
}
.hp-steps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hp-steps li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid #e4dff0;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
  font-weight: 560;
}
.hp-steps i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.hp-steps .is-done i {
  background: #368755;
}
.hp-steps .is-live i {
  background: #ea580c;
  animation: hp-pulse 1.5s ease-in-out infinite;
}
.hp-steps time {
  color: var(--muted);
  font: 400 11px/1.3 var(--mono);
}
.hp-log {
  margin: 0;
  padding: 11px 12px;
  border-radius: 8px;
  background: #1d1a27;
  color: #ddd7ec;
  font: 400 11px/1.6 var(--mono);
  overflow-x: auto;
}
.hp-log span {
  color: #8b7ec8;
}
.hp-log mark {
  background: none;
  color: #86efac;
}
@keyframes hp-pulse {
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hp-run::before,
  .hp-steps .is-live i {
    animation: none;
  }
}
@container (min-width: 500px) {
  .hp-body {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  }
  .hp-drawer {
    border-top: 0;
    border-left: 1px solid #e6e2ee;
  }
}
.docs-index h1 {
  font-size: clamp(50px, 7vw, 96px);
  font-weight: 590;
  letter-spacing: -0.08em;
  line-height: 0.99;
  margin: 20px 0;
}
.docs-index header p {
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 41ch;
}
.deploy-demo {
  container-type: inline-size;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d0cadb;
  border-radius: 14px;
  background: #faf9fc;
  color: var(--ink);
  box-shadow: 0 8px 28px #44315a09;
}
.deploy-demo figcaption,
.deploy-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 12px clamp(12px, 4cqw, 24px);
}
.deploy-demo figcaption {
  flex-wrap: wrap;
  border-bottom: 1px solid #ded8e5;
}
.deploy-demo figcaption strong {
  display: block;
  font-size: 14px;
  font-weight: 620;
}
.deploy-demo figcaption small {
  color: var(--muted);
  font-size: 12px;
}
.deploy-demo figcaption span,
.deploy-controls p,
.deploy-controls button {
  display: flex;
  align-items: center;
  gap: 8px;
}
.deploy-demo figcaption span {
  color: var(--violet);
  font: 11px/1.4 var(--mono);
}
.deploy-body {
  display: grid;
  gap: 12px;
  padding: clamp(12px, 4cqw, 20px);
  background: #f1eff5;
}
.deploy-steps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.deploy-steps li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid #ddd7e6;
  border-radius: 8px;
  background: #fff;
}
.deploy-steps strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.deploy-steps small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font: 11px/1.5 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deploy-steps time {
  color: var(--muted);
  font: 11px/1.4 var(--mono);
}
/* A step's dot: done (green, the default), running (violet, pulsing) or waiting (hollow). */
.deploy-steps i {
  width: 10px;
  height: 10px;
  justify-self: center;
  border-radius: 50%;
  background: #3f8a5a;
}
.deploy-demo[data-stage="fetch"] [data-step="fetch"] i,
.deploy-demo[data-stage="script"] [data-step="script"] i {
  background: #6d55d0;
  animation: deploy-pulse 1s ease-in-out infinite;
}
.deploy-demo[data-stage="fetch"] [data-step="script"] i {
  border: 1.5px solid #a79fb6;
  background: transparent;
}
.deploy-demo[data-stage="fetch"] [data-step] time,
.deploy-demo[data-stage="script"] [data-step="script"] time {
  visibility: hidden;
}
@keyframes deploy-pulse {
  50% {
    opacity: 0.35;
  }
}
.deploy-output {
  min-height: 11.5em;
  margin: 0;
  padding: 12px 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: 8px;
  color: #dcd6ea;
  background: #25212f;
  font: 11px/1.55 var(--mono);
}
.deploy-demo[data-stage="fetch"] [data-out="script"] {
  visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .deploy-steps i {
    animation: none !important;
  }
}
.deploy-controls {
  flex-wrap: wrap;
  border-top: 1px solid #d7d0df;
}
.deploy-controls p {
  font-size: 13px;
  font-weight: 520;
}
.deploy-controls i {
  width: 7px;
  height: 7px;
  flex: none;
  background: #407955;
  border-radius: 50%;
}
.deploy-demo:not([data-stage="live"]) .deploy-controls i {
  background: #7861c4;
}
.deploy-controls button {
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #c4b8d5;
  border-radius: 6px;
  color: var(--button);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.deploy-controls button:hover {
  background: var(--pale);
}
.deploy-controls button[aria-disabled="true"] {
  cursor: progress;
}
@container (max-width: 380px) {
  .deploy-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}
[hidden] {
  display: none !important;
}
.guide-cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.guide-cards a {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 21px;
  background: #fdfcfa;
}
.guide-cards a:hover {
  border-color: #ada0cb;
  background: #f5f2fb;
}
.guide-cards strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.guide-cards span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
footer {
  border-top: 1px solid var(--rule);
  margin-top: clamp(32px, 5vw, 56px);
}
.foot {
  display: grid;
  gap: 32px;
  padding-block: 40px 44px;
}
.foot-brand p {
  margin-top: 12px;
  max-width: 30ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.foot-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  color: var(--muted);
}
.foot-social a:hover {
  background: var(--pale);
  color: var(--violet);
}
.foot-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}
.foot-col h2 {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.foot-col a {
  display: inline-block;
  padding-block: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #3f3b46;
}
@media (min-width: 560px) {
  .foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 820px) {
  .foot {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
    gap: 56px;
    padding-block: 52px 56px;
    align-items: start;
  }
}
.docs-index {
  padding-block: 48px;
}
.guide-body {
  line-height: 1.75;
}
.docs-index header {
  max-width: 640px;
}
.docs-index h1,
.chapter h1 {
  font-size: clamp(40px, 6.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}
.docs-index header p {
  max-width: none;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0 15px;
  border-radius: 8px;
  background: white;
  border: 1px solid #bfb9c6;
}
.search input {
  min-width: 0;
  width: 100%;
  background: none;
  color: var(--ink);
  border: 0;
  padding: 13px 0;
}
.search:focus-within {
  outline: 2px solid var(--violet);
}
.search input:focus {
  outline: 0;
}
.docs-index section {
  margin-top: 36px;
}
.docs-index section h2 {
  font-size: 25px;
  letter-spacing: -0.04em;
}
.guide-cards {
  margin-top: 14px;
}
.guide-cards span {
  display: block;
  margin-top: 6px;
}
.guide-cards strong {
  font-size: 17px;
}
.docs-layout {
  padding-block: 26px 56px;
}
.chapter {
  min-width: 0;
  max-width: 760px;
}
.side {
  display: none;
}
.side nav a,
.mobile-chapters nav a,
.contents a {
  display: block;
  color: #585360;
  padding: 5px 0;
  font-size: 14px;
}
.side nav a:hover,
.mobile-chapters nav a:hover,
.contents a:hover {
  color: var(--violet);
  text-decoration: underline;
}
.side nav h2,
.mobile-chapters nav h2 {
  font-size: 13px;
  margin: 18px 0 5px;
}
.side nav [aria-current],
.mobile-chapters nav [aria-current] {
  color: var(--violet);
  font-weight: 700;
}
.back {
  display: inline-block;
  color: var(--muted);
  padding: 9px 0;
  margin: 8px 0;
}
.chapter h1 {
  font-weight: 610;
  margin-bottom: 24px;
}
.mobile-chapters,
.contents {
  border: 1px solid var(--rule);
  border-radius: 7px;
  padding: 10px 14px;
  background: #f4f2f1;
}
.mobile-chapters summary,
.contents summary {
  font-size: 14px;
  font-weight: 550;
}
.contents {
  margin-bottom: 20px;
}
.guide-body {
  overflow-wrap: anywhere;
  color: #35313c;
}
.guide-body h2,
.guide-body h3 {
  scroll-margin-top: 20px;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--ink);
  margin: 32px 0 11px;
}
.guide-body h2 {
  font-size: 28px;
}
.guide-body h3 {
  font-size: 21px;
}
.guide-body p {
  margin: 11px 0;
}
.guide-body .guide-shot {
  display: block;
  width: 100%;
  height: auto;
  margin: 18px 0 22px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(24, 21, 35, 0.06);
}
.guide-body a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-body ol,
.guide-body ul {
  padding-left: 23px;
}
.guide-body li {
  margin: 6px 0;
}
.guide-body code {
  font: 0.85em/1.4 var(--mono);
  background: #f1eff6;
  color: #3730a3;
  border: 1px solid #e2ddf0;
  padding: 0.14em 0.38em;
  border-radius: 5px;
}
.code-block {
  background: #272331;
  color: #f7f3ff;
  border-radius: 8px;
  overflow: hidden;
  margin: 14px 0;
}
.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 13px;
  border-bottom: 1px solid #514a5a;
  font: 12px var(--mono);
}
.code-bar button {
  font: inherit;
  border: 1px solid #736a82;
  border-radius: 4px;
  background: none;
  color: inherit;
  padding: 4px 8px;
}
.guide-body pre {
  overflow-x: auto;
  margin: 0;
  padding: 16px 13px;
}
.guide-body pre code {
  background: none;
  color: inherit;
  border: 0;
  padding: 0;
  border-radius: 0;
  line-height: 1.65;
}
.guide-table {
  overflow-x: auto;
}
.guide-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.guide-table th,
.guide-table td {
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  padding: 9px;
}
.guide-body blockquote,
.guide-body [role="note"] {
  border-left: 3px solid #988add;
  padding: 6px 15px;
  background: #f0edf7;
  margin: 16px 0;
}
.guide-body [role="note"] svg {
  display: none;
}
.neighbors {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  margin-top: 36px;
  padding-top: 15px;
}
.neighbors a {
  color: var(--violet);
  font-weight: 550;
}
.neighbors small {
  display: block;
  color: var(--muted);
  margin-bottom: 3px;
}
.neighbors svg {
  vertical-align: middle;
}
@media (min-width: 650px) {
  .shell {
    width: min(1220px, calc(100% - 88px));
  }
  .head-inner {
    min-height: 76px;
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .nav-start {
    padding: 9px 14px;
  }
  .guide-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .docs-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 38px;
    padding-block: 36px;
  }
  .side {
    display: block;
    align-self: start;
    position: sticky;
    top: 15px;
    max-height: calc(100svh - 30px);
    overflow: auto;
  }
  .side > a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 650;
    font-size: 15px;
  }
  .mobile-chapters {
    display: none;
  }
  .back {
    margin-top: 0;
  }
  .docs-index {
    padding-block: 68px;
  }
}
@media (min-width: 860px) {
  .head-inner {
    gap: 22px;
  }
  .brand {
    margin-right: 0;
  }
  .head-inner > nav {
    display: flex;
  }
  .nav-menu {
    display: none;
  }
}
@media (min-width: 900px) {
  .docs-layout {
    grid-template-columns: 210px minmax(0, 760px);
    gap: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The blog (Harbor's posts, website/blog.ts): the docs' index heading and article typography, cards like the guides'. */
.blog,
.blog-post {
  padding-block: clamp(36px, 6vw, 72px);
}
.blog h1 {
  font-size: clamp(40px, 6.6vw, 72px);
  font-weight: 590;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 18px 0;
}
.blog-post h1 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 14px 0 12px;
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}
.blog-categories a {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--muted);
}
.blog-categories a[aria-current] {
  border-color: var(--violet);
  background: var(--pale);
  color: var(--violet);
}
.blog-list {
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.blog-card a {
  display: grid;
  gap: 14px;
  height: 100%;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 21px;
  background: #fdfcfa;
  color: inherit;
}
.blog-card a:hover {
  border-color: #ada0cb;
  background: #f5f2fb;
}
.blog-card img,
.blog-cover {
  width: 100%;
  aspect-ratio: 1.91;
  object-fit: cover;
  border-radius: 8px;
}
.blog-card h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 8px 0;
}
.blog-card p,
.blog-post .lede {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 10px;
}
.blog-card small,
.blog-post header small {
  color: var(--muted);
}
.blog-empty {
  color: var(--muted);
  font-size: 18px;
}
.blog-pager {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}
.blog-post {
  max-width: 760px;
}
.blog-post header {
  margin: 18px 0 24px;
}
.blog-post .lede {
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.6;
}
.blog-cover {
  margin-bottom: 28px;
}
.blog-post .guide-body {
  font-size: 16.5px;
  line-height: 1.72;
}
.blog-post .guide-body h2 {
  font-size: clamp(21px, 2.2vw, 25px);
  margin: 36px 0 12px;
  letter-spacing: -0.03em;
}
.blog-post .guide-body h3 {
  font-size: 18.5px;
  margin: 26px 0 10px;
  letter-spacing: -0.02em;
}
.blog-post .guide-body p {
  margin: 14px 0;
}
.blog-post .guide-body strong {
  color: var(--ink);
  font-weight: 620;
}
.blog-post .guide-body pre {
  background: #231f2e;
  color: #f4f1fb;
  border: 1px solid #352f45;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 20px 0;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.65;
}
.blog-post .guide-body pre code {
  font-size: inherit;
}
.blog-table {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fdfcfa;
  -webkit-overflow-scrolling: touch;
}
.blog-post .guide-body table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
  line-height: 1.5;
}
.blog-post .guide-body thead th {
  background: #f4f2f8;
  color: var(--ink);
  font-weight: 620;
  font-size: 13px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--rule);
}
.blog-post .guide-body th,
.blog-post .guide-body td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid #eae6ec;
}
.blog-post .guide-body tbody tr:last-child td {
  border-bottom: 0;
}
.blog-post .guide-body tbody tr:nth-child(even) td {
  background: #faf8fc;
}
.blog-post .guide-body blockquote {
  border-left: 3px solid var(--violet);
  border-radius: 0 8px 8px 0;
  padding: 10px 16px;
  background: #f3f2fb;
  margin: 20px 0;
}
.blog-post .guide-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 28px 0;
}
.blog-post .guide-body h2[id] {
  scroll-margin-top: 28px;
}
.blog-main {
  min-width: 0;
}
.blog-toc {
  display: none;
}
.blog-toc-mobile {
  margin: 0 0 24px;
}
.blog-toc-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.blog-toc nav a {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.15s;
}
.blog-toc nav a:hover,
.blog-toc nav a[aria-current="location"] {
  color: var(--violet);
}
.blog-toc nav a[aria-current="location"] {
  font-weight: 560;
}
@media (min-width: 1040px) {
  .blog-post.has-toc {
    max-width: 1060px;
  }
  .blog-post.has-toc .blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 740px) 220px;
    gap: 56px;
    align-items: start;
  }
  .blog-toc-mobile {
    display: none;
  }
  .blog-toc {
    display: block;
    position: sticky;
    top: 32px;
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    border-left: 1px solid var(--rule);
    padding-left: 16px;
    margin-top: 18px;
  }
}

/* Landing pages (website/landing.ts): a hero, a comparison, points, the plans, and posts to read further. */
.landing-hero {
  padding-block: clamp(44px, 7vw, 96px) clamp(28px, 4vw, 48px);
  max-width: 880px;
}
.landing-hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 590;
  letter-spacing: -0.06em;
  line-height: 1.02;
  margin: 18px 0;
}
.landing-hero h1 em {
  font-style: normal;
  color: var(--violet);
}
.landing-hero p {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}
.landing-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 26px 0 12px;
}
.landing-hero small {
  color: var(--muted);
}
.landing-section-title,
.landing-points h2,
.landing-further h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: clamp(32px, 5vw, 56px) auto 18px;
}
.landing-compare {
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
}
.compare-table thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.compare-table thead th:nth-child(2),
.compare-table td:nth-child(2) {
  background: var(--pale);
}
.compare-table tbody th {
  font-weight: 600;
  width: 24%;
}
.compare-table td:nth-child(3) {
  color: var(--muted);
}
.compare-source {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.landing-points ul,
.landing-further ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 820px) {
  .landing-points ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.landing-points li {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px;
  background: #fdfcfa;
}
.landing-points strong {
  font-size: 18px;
}
.landing-points p {
  color: var(--muted);
  line-height: 1.55;
  margin: 6px 0 0;
}
.landing-further {
  padding-bottom: clamp(40px, 6vw, 72px);
}
.landing-further a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 550;
}
.landing-points {
  padding-bottom: clamp(36px, 5vw, 64px);
}

/* A phone: each row of a comparison is a card of its own, labelled, rather than a table to scroll sideways. */
@media (max-width: 640px) {
  .compare-table {
    min-width: 0;
  }
  .compare-table thead {
    display: none;
  }
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
  }
  .compare-table tr {
    border-bottom: 1px solid var(--rule);
    padding-block: 8px;
  }
  .compare-table th,
  .compare-table td {
    border: 0;
    padding: 6px 12px;
  }
  .compare-table tbody th {
    width: auto;
  }
  .compare-table td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--ink);
  }
  .compare-table td:nth-child(2) {
    border-radius: 8px;
  }
}
@media (max-width: 350px) {
  .head-inner {
    gap: 8px;
  }
  .nav-start {
    padding: 7px 9px;
    font-size: 13px;
  }
  .brand {
    font-size: 18px;
    gap: 6px;
  }
  .brand img {
    width: 21px;
    height: 21px;
  }
}

/* Recorded demos (website/video.ts): our poster and a play button, the YouTube player only once pressed. */
.demo-section {
  padding-block: clamp(8px, 2vw, 24px) clamp(40px, 6vw, 80px);
  max-width: 1040px;
}
.demo-section h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 590;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}
.demo-section > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 62ch;
  margin: 0 0 24px;
}
.demo-video {
  margin: 0;
}
.demo-video-frame,
.demo-video iframe {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 1px 2px rgb(37 33 43 / 0.04),
    0 18px 48px -24px rgb(37 33 43 / 0.25);
}
.demo-video-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--violet);
  box-shadow: 0 10px 30px -8px rgb(79 70 229 / 0.6);
  transition: transform 0.15s ease;
}
.demo-video-play svg {
  margin-left: 4px;
}
.demo-video-frame:hover .demo-video-play,
.demo-video-frame:focus-visible .demo-video-play {
  transform: scale(1.07);
}
.demo-video-frame:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}
.demo-tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.demo-tablist[hidden] {
  display: none;
}
.demo-tablist button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.demo-tablist button:hover {
  border-color: rgb(79 70 229 / 0.35);
}
.demo-tablist button[aria-selected="true"] {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgb(79 70 229 / 0.12), 0 12px 28px -18px rgb(79 70 229 / 0.6);
}
.demo-tablist button:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}
.demo-tab-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 11px;
  background: #f4f4f6;
  color: #3f3f46;
}
.demo-tablist button[aria-selected="true"] .demo-tab-logo {
  background: rgb(79 70 229 / 0.1);
  color: var(--violet);
}
.demo-tablist strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.demo-tablist small {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--muted);
}
.demo-panel + .demo-panel {
  margin-top: 28px;
}
.demo-tablist:not([hidden]) ~ .demo-panel + .demo-panel {
  margin-top: 0;
}
@media (max-width: 640px) {
  .demo-tablist {
    gap: 6px;
  }
  .demo-tablist button {
    flex-direction: column;
    gap: 8px;
    padding: 12px 6px;
    text-align: center;
  }
  .demo-tab-logo {
    width: 36px;
    height: 36px;
  }
  .demo-tablist strong {
    font-size: 15px;
  }
  .demo-tablist small {
    display: none;
  }
}
.demo-video figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 640px) {
  .demo-video-play {
    width: 56px;
    height: 56px;
  }
  .demo-video-play svg {
    width: 22px;
    height: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-video-play {
    transition: none;
  }
}

/* Home hero: a night sky of servers (site.js draws it on the canvas), an aurora drifting behind. */
.sky {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, #1b1640 0%, #0c0a1f 55%, #07061a 100%);
  color: #f4f3ff;
}
.sky-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.sky-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  z-index: -2;
  opacity: 1;
  pointer-events: none;
}
/* Soft by their gradient, not a blur filter: a moving blur costs every frame. */
.sky-aurora i {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  animation: aurora 22s ease-in-out infinite alternate;
}
.sky-aurora i:nth-child(1) {
  left: 8%;
  top: 0;
  width: 46%;
  height: 70%;
  background: radial-gradient(closest-side, rgb(99 91 255) 0%, rgb(79 70 229 / 0.55) 45%, rgb(79 70 229 / 0) 100%);
}
.sky-aurora i:nth-child(2) {
  left: 42%;
  top: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(closest-side, rgb(147 81 247) 0%, rgb(124 58 237 / 0.5) 45%, rgb(124 58 237 / 0) 100%);
  animation-duration: 28s;
  animation-delay: -9s;
}
.sky-aurora i:nth-child(3) {
  left: 62%;
  top: 10%;
  width: 34%;
  height: 55%;
  background: radial-gradient(closest-side, rgb(14 165 233 / 0.75) 0%, rgb(14 165 233 / 0.3) 45%, rgb(14 165 233 / 0) 100%);
  animation-duration: 34s;
  animation-delay: -17s;
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6%, 8%, 0) scale(1.12); }
  100% { transform: translate3d(-8%, 2%, 0) scale(0.94); }
}
.sky::after {
  /* Darker behind the words, so they read over the stars. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(46% 40% at 50% 44%, rgb(7 6 26 / 0.72), transparent 75%);
}
.sky-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(56px, 7.5vw, 104px) clamp(44px, 5.5vw, 76px);
}
.sky h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(44px, 8.4vw, 96px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #fff;
  text-wrap: balance;
}
.sky h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #a5b4fc 0%, #c4b5fd 40%, #f0abfc 75%, #a5b4fc 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 28px rgb(139 92 246 / 0.45));
}
@keyframes shimmer {
  to { background-position: 100% 0; }
}
.sky-inner > p:not(.hero-note) {
  max-width: 40ch;
  margin-top: 24px;
  color: #c7c5dd;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
}
.sky .hero-actions {
  justify-content: center;
  margin-top: 32px;
}
.sky .hero-actions .button {
  padding: 16px 22px;
  font-size: 15px;
  box-shadow: inset 0 1px 0 #ffffff40, 0 10px 40px -8px rgb(99 102 241 / 0.8);
}
.sky .hero-actions a + a {
  color: #fff;
  font-size: 15px;
}
.sky .hero-note {
  margin-top: 18px;
  color: #9d9ab8;
}
.sky-providers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(16px, 3vw, 36px);
  margin: clamp(36px, 4.5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  color: #a8a5c4;
  font-size: 14px;
  font-weight: 500;
}
.sky-providers li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sky-providers svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) {
  .sky-aurora i,
  .sky h1 em {
    animation: none;
  }
}

/* Home: the header sits on the sky, which slides up under it (by the header's height: 64px or 76px, and its border). */
.is-home {
  --mast: 65px;
}
@media (min-width: 650px) {
  .is-home {
    --mast: 77px;
  }
}
.is-home .mast {
  z-index: 3;
  border-bottom-color: rgb(255 255 255 / 0.08);
}
.is-home .mast + main {
  margin-top: calc(-1 * var(--mast));
}
.is-home .sky-inner {
  padding-top: calc(var(--mast) + clamp(40px, 6vw, 84px));
}
.is-home .head-inner > .brand,
.is-home .head-inner > nav a {
  color: #fff;
}
.is-home .head-inner > nav a {
  color: #cfcde6;
}
.is-home .head-inner > nav a:hover,
.is-home .head-inner > nav a[aria-current] {
  color: #fff;
}
.is-home .nav-toggle {
  border-color: rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.06);
}
.is-home .nav-toggle span {
  background: #fff;
}
.sky-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 760px);
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgb(165 180 252 / 0.18);
  border-radius: 16px;
  overflow: hidden;
  background: rgb(165 180 252 / 0.14);
}
.sky-stats a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px 16px;
  background: rgb(12 10 31 / 0.72);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.sky-stats a:hover {
  background: rgb(30 27 75 / 0.8);
}
.sky-stats strong {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 620;
  letter-spacing: -0.03em;
  color: #fff;
}
.sky-stats span {
  font-size: 13.5px;
  line-height: 1.4;
  color: #a8a5c4;
}
@media (max-width: 640px) {
  /* On a phone the numbers are quiet lines, not cards. */
  .sky-stats {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 28px;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .sky-stats a {
    display: block;
    padding: 3px 0;
    background: none;
    backdrop-filter: none;
    text-align: center;
  }
  .sky-stats a:hover {
    background: none;
  }
  .sky-stats strong {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0;
  }
  .sky-stats span {
    font-size: 13px;
  }
  .sky-stats strong + span::before {
    content: " ";
  }
  /* The docs link goes under the main button, quieter. */
  .sky .hero-actions {
    flex-direction: column;
    gap: 6px;
  }
  .sky .hero-actions a + a {
    min-height: 36px;
    color: #c7c5dd;
    font-size: 13px;
    font-weight: 500;
  }
}
.sky.is-pointing {
  cursor: pointer;
}
.sky-tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid rgb(165 180 252 / 0.3);
  border-radius: 9px;
  background: rgb(15 13 40 / 0.85);
  backdrop-filter: blur(6px);
  color: #e0e7ff;
  font: 500 12.5px/1 var(--mono);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.sky-tip.on {
  opacity: 1;
}
