:root {
  color-scheme: light;
  --canvas: #fafafa;
  --panel: #fff;
  --text: #18181b;
  --muted: #52525b;
  --accent: #4338ca;
  --line: #dedee5;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--canvas);
  font-size: 17px;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.04em;
  margin: 0 0 0.65em;
}
h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 650;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 620;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
p {
  margin: 0 0 1.15em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  padding: 0.5rem 1rem;
  color: var(--accent);
  min-height: 44px;
}
input {
  padding: 0.75rem 1rem;
  border: 1px solid #85858f;
  border-radius: 6px;
  width: 100%;
  max-width: 36rem;
  background: #fff;
  color: var(--text);
  min-height: 44px;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
p code,
li code {
  background: #efeff5;
  padding: 0.12em 0.25em;
  border-radius: 3px;
}
pre {
  position: relative;
  background: #18181b;
  color: #fafafa;
  padding: 1.4rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: auto;
  line-height: 1.7;
  max-width: 100%;
}
pre code {
  overflow-wrap: normal;
  white-space: pre;
}
.code-block {
  min-width: 0;
  margin: 1.5rem 0;
  background: #18181b;
  border-radius: 8px;
}
.code-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 0.6rem;
}
.code-block pre {
  margin: 0;
  border-radius: 0 0 8px 8px;
}
.copy {
  font-size: 0.82rem;
  min-height: 44px;
  padding: 0.25rem 0.7rem;
  background: #303036;
  color: #fff;
  border-color: #686874;
}
.copy:focus-visible,
.code-block pre:focus-visible {
  outline: 3px solid #c7d2fe;
  outline-offset: 3px;
}
.code-block pre:focus-visible {
  outline-offset: -4px;
}
.copy-status {
  font-size: 0.85rem;
  min-height: 1em;
}
.wrap,
.header,
footer {
  width: min(76rem, calc(100% - 3rem));
  margin-inline: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.mark {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: white;
  padding: 0.13rem 0.55rem;
  border-radius: 7px;
  font-family: ui-monospace, monospace;
  font-size: 1.05rem;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.desktop-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.6rem 0;
  text-decoration: none;
}
.desktop-nav a[aria-current] {
  color: var(--accent);
  text-decoration: underline;
}
.mobile-nav {
  display: none;
}
.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10;
  background: white;
  padding: 1rem;
}
.skip:focus {
  top: 0;
}
.hero {
  padding-top: 5rem;
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  font-weight: 750;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 42rem;
}
.scope {
  font-size: 0.9rem;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid #cacad5;
  background: #fff;
  color: var(--text);
  padding: 0.65rem 1.15rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.button:hover {
  box-shadow: 0 2px 8px #18181b12;
}
.hero-image {
  background: #eaeaf7;
  padding: 1.3rem;
  border-radius: 12px;
  min-width: 0;
}
.hero-image figure {
  margin: 0;
}
.hero-image figcaption {
  margin-top: 0.9rem;
}
figure {
  margin: 0;
  min-width: 0;
}
figure img {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  box-shadow: 0 10px 30px #18181b0b;
}
figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}
figcaption a {
  white-space: nowrap;
}
.flow-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-block: 1px solid var(--line);
  padding: 1.7rem 1rem;
  gap: 1rem;
}
.flow-strip p {
  margin: 0;
}
.flow-strip strong {
  display: block;
  font-weight: 650;
}
.flow-strip span {
  font-size: 0.85rem;
  color: var(--muted);
}
.console-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding-block: 6rem;
  align-items: center;
}
.console-section p {
  max-width: 28rem;
  color: var(--muted);
}
.peering-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 4rem;
  align-items: center;
  padding-top: 5rem;
}
.peering-section > div { min-width: 0; }
.peering-section p { color: var(--muted); }
.peer-diagram {
  padding: 1.75rem 2rem;
  background: #f0effa;
  border: 1px solid #dedbea;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.peer-diagram ol {
  margin: 0;
  padding-left: 1.5rem;
}
.peer-diagram li { padding-left: 0.5rem; }
.peer-diagram li + li { margin-top: 1.25rem; }
.peer-diagram li::marker { color: var(--accent); font-weight: 650; }
.peer-diagram strong, .peer-diagram span, .peer-diagram small { display: block; }
.peer-diagram small { color: var(--muted); font-size: 0.82rem; margin-top: 0.3rem; }
.peer-diagram > p { font-size: 0.82rem; margin: 1.5rem 0 0; border-top: 1px solid #d0cbdf; padding-top: 1rem; }
@media (max-width: 64rem) {
  .peering-section { gap: 2rem; grid-template-columns: 1fr; }
}
@media (max-width: 44rem) {
  .peering-section { padding-top: 3rem; }
  .peer-diagram { padding: min(1.25rem, 5vw); }
  .peer-diagram li { padding-left: 0.25rem; }
}
.section {
  padding-block: 4rem;
}
.section-heading {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: end;
}
.section-heading h2 {
  max-width: 29rem;
}
.text-link {
  font-weight: 600;
  text-decoration: underline;
}
.plugin-preview,
#plugin-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.plugin {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 1.3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.plugin:last-child {
  border-bottom: 1px solid var(--line);
}
.plugin h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.plugin p {
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.plugin small {
  font-size: 0.78rem;
  color: var(--muted);
}
.plugin > a {
  font-size: 0.85rem;
  max-width: 13rem;
}
.plugin-symbol {
  background: #eeeef8;
  border: 1px solid #dadaef;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
}
.installs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  margin: 2rem 0;
}
.installs > a {
  display: block;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.installs a:hover h3 {
  text-decoration: underline;
  color: var(--accent);
}
.installs p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}
.installs .meta {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}
.installs .text-link {
  font-size: 0.85rem;
  color: var(--accent);
}
.author-callout {
  border-top: 1px solid var(--line);
  padding-block: 3rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.author-callout h2 {
  font-size: 1.8rem;
}
.author-callout p {
  margin: 0;
}
.author-callout .button {
  flex-shrink: 0;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 2rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
}
footer .brand {
  font-size: 1rem;
}
footer p {
  margin: 0;
  flex: 1;
  color: var(--muted);
}
footer > a {
  overflow-wrap: anywhere;
}
.plugin,
.license-article {
  overflow-wrap: anywhere;
  min-width: 0;
}
.plugin > div,
.plugin > a {
  min-width: 0;
}
.docs-layout {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 2.8rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
  align-items: start;
}
.docs-layout article {
  min-width: 0;
  max-width: 68ch;
  overflow-wrap: anywhere;
}
.doc-reader {
  min-width: 0;
}
.docs-layout article h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-top: 0.5rem;
}
.docs-layout article h2 {
  font-size: 1.65rem;
  margin-top: 2.4rem;
  scroll-margin-top: 1.5rem;
}
.docs-layout article h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
}
.docs-layout article img {
  margin-top: 1.5rem;
}
.docs-layout article li {
  margin-bottom: 0.65rem;
}
.docs-sidebar {
  position: sticky;
  top: 1.5rem;
}
.docs-sidebar summary,
.toc summary {
  font-size: 0.85rem;
  font-weight: 650;
  padding: 0.4rem 0;
}
.docs-sidebar nav,
.toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.docs-sidebar a,
.toc a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}
.docs-sidebar a[aria-current] {
  background: #ecebf9;
  color: var(--accent);
  font-weight: 600;
}
.docs-sidebar a:hover,
.toc a:hover {
  background: #eeeef5;
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
}
.toc {
  display: block;
  margin-bottom: 1.5rem;
}
.guide-index {
  display: grid;
  gap: 0;
}
.guide-index a {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}
.docs-layout blockquote {
  margin: 1.5rem 0;
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1rem;
  background: #f0effa;
}
.docs-layout blockquote p {
  margin: 0;
}
.search-box {
  margin: 2rem 0;
}
.search-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.search-box button {
  margin: 0.7rem 0;
}
.search-box p {
  font-size: 0.88rem;
  margin-top: 0.6rem;
}
.freshness {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
[hidden] {
  display: none !important;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem;
  vertical-align: top;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}
summary {
  min-height: 44px;
}
section {
  scroll-margin-top: 1rem;
}
@media (min-width: 80rem) {
  .docs-layout {
    grid-template-columns: 12rem minmax(0, 1fr) 10rem;
    gap: 2.5rem;
  }
  .toc {
    display: block;
    position: sticky;
    top: 1.5rem;
    grid-column: 3;
    grid-row: 1;
  }
  .doc-reader {
    display: contents;
  }
  .docs-layout article {
    grid-column: 2;
    grid-row: 1;
  }
  .docs-sidebar {
    grid-column: 1;
    grid-row: 1;
  }
  .toc a {
    font-size: 0.78rem;
  }
}
@media (max-width: 64rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3rem;
  }
  .hero-copy {
    max-width: 40rem;
  }
  .hero-image {
    max-width: 48rem;
  }
  .console-section {
    gap: 2rem;
    grid-template-columns: 1fr 1.4fr;
  }
  .desktop-nav {
    gap: 1rem;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .docs-sidebar {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }
  .docs-sidebar nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .docs-layout article {
    max-width: 68ch;
  }
  .docs-layout .installs {
    grid-template-columns: 1fr;
  }
  .toc {
    display: block;
  }
}
@media (max-width: 44rem) {
  .wrap,
  .header,
  footer {
    width: calc(100% - 2rem);
  }
  .header {
    min-height: 76px;
    position: relative;
    gap: 1rem;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav summary {
    display: flex;
    align-items: center;
    padding: 0.5rem;
  }
  .mobile-nav nav {
    position: absolute;
    z-index: 5;
    right: 0;
    top: 4.2rem;
    min-width: 14rem;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px #18181b15;
  }
  .mobile-nav nav a {
    padding: 0.6rem;
  }
  .hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-image {
    padding: 0.6rem;
  }
  .flow-strip {
    align-items: start;
    padding: 1.5rem 0.5rem;
    flex-direction: column;
    gap: 0.6rem;
  }
  .flow-strip > span {
    display: none;
  }
  .flow-strip p {
    display: flex;
    flex-direction: column;
  }
  .console-section {
    grid-template-columns: 1fr;
    padding-block: 3.5rem;
  }
  .section {
    padding-block: 2.5rem;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.5rem;
  }
  .plugin {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 1rem;
  }
  .plugin-symbol {
    width: 38px;
    height: 38px;
  }
  .plugin > a {
    grid-column: 2;
    max-width: none;
  }
  .installs {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }
  .author-callout {
    flex-direction: column;
    align-items: start;
  }
  .docs-sidebar nav {
    grid-template-columns: 1fr 1fr;
  }
  .docs-layout {
    padding-top: 1.5rem;
  }
  .docs-layout article h1 {
    font-size: 2.2rem;
  }
  footer {
    align-items: start;
    gap: 1rem;
  }
  footer p {
    flex-basis: 100%;
  }
  pre {
    padding-inline: 1rem;
  }
  h1,
  h2,
  h3,
  a {
    overflow-wrap: anywhere;
  }
  .lead {
    font-size: 1.1rem;
  }
  .button {
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .button,
  .mark,
  .plugin-symbol,
  input {
    border: 1px solid ButtonText;
  }
}

.license-article {
  max-width: 68ch;
  margin-inline: auto;
}

@media (max-width: 44rem) {
  .header {
    flex-wrap: wrap;
  }
  .header .brand {
    flex-wrap: wrap;
    max-width: 100%;
  }
  .mark {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
