.doc-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.doc-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}
.doc-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tx-3);
  transition: color .15s var(--ease);
}
.doc-hero .back-link:hover {
  color: var(--tx-2);
}
.doc-hero h1.display {
  font-size: clamp(34px, 4.2vw, 50px);
  margin: 0 0 18px;
}
.doc-hero .updated {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--tx-3);
}
.doc {
  padding: 4px 0 130px;
}
.doc .lede {
  font-size: 18.5px;
  line-height: 1.68;
  color: var(--tx-2);
  margin: 44px 0 0;
}
.doc h2 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -.012em;
  color: var(--tx);
  margin: 58px 0 18px;
  scroll-margin-top: 90px;
}
.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--tx-2);
  margin: 0 0 18px;
}
.doc strong {
  color: var(--tx);
  font-weight: 600;
}
.doc em {
  color: var(--tx);
  font-style: italic;
}
.doc a {
  color: var(--glow-2);
  text-decoration: underline;
  text-decoration-color: rgba(121, 174, 255, .35);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s var(--ease);
}
.doc a:hover {
  text-decoration-color: var(--glow-2);
}
.doc ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.doc li {
  margin-bottom: 11px;
  padding-left: 4px;
}
.doc li::marker {
  color: var(--tx-3);
}
.doc li:last-child {
  margin-bottom: 0;
}
.doc code {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-size: .87em;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .12em .4em;
  color: var(--tx-2);
}
.doc .card {
  padding: 22px 24px 6px;
  margin: 20px 0 28px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
}
.doc .card ul {
  margin-bottom: 18px;
}
@media (max-width: 720px) {
  .doc-hero {
    padding: 44px 0 32px;
  }
  .doc h2 {
    margin: 46px 0 16px;
  }
}
.fb-switch {
  display: inline-flex;
  gap: 4px;
  margin: 44px 0 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--pg-2);
}
.fb-switch-btn {
  appearance: none;
  border: 0;
  border-radius: 9px;
  padding: 9px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  color: var(--tx-3);
  background: transparent;
  cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.fb-switch-btn:hover {
  color: var(--tx-2);
}
.fb-switch-btn.is-on {
  background: var(--tx);
  color: #0A0C10;
}
.fb-prompt {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tx-2);
  max-width: 60ch;
}
.fb-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 30px 0 56px;
  max-width: 560px;
}
.fb-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fb-field label {
  font-size: 13px;
  font-weight: 550;
  color: var(--tx-2);
}
.fb-form input[type=email],
.fb-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--pg-2);
  color: var(--tx);
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  transition: border-color .15s var(--ease);
}
.fb-form textarea {
  resize: vertical;
  min-height: 150px;
}
.fb-form input[type=email]:focus,
.fb-form textarea:focus {
  outline: 0;
  border-color: var(--tx-3);
}
.fb-form input[type=email]::placeholder,
.fb-form textarea::placeholder {
  color: var(--tx-3);
}
.fb-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--tx-3);
}
.fb-note.is-over {
  color: #F0796C;
}
.fb-turnstile {
  min-height: 65px;
}
.fb-form .btn {
  align-self: flex-start;
  padding: 12px 24px;
}
.fb-form .btn:disabled {
  opacity: .55;
  cursor: default;
}
@media (max-width: 560px) {
  .fb-switch {
    display: flex;
    width: 100%;
  }
  .fb-switch-btn {
    flex: 1 1 0;
    padding: 10px 8px;
  }
  .fb-form .btn {
    align-self: stretch;
    width: 100%;
  }
}
