/* Static reading pages share the application's self-hosted Outfit and palette. */
.guide-page { background: #080808; }
.guide-page .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.guide-navigation { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 20px max(32px, calc((100vw - 1320px) / 2)); border-bottom: 1px solid #303030; color: #c1c1c1; font-size: 14px; }
.guide-navigation a { padding-block: 6px; text-underline-offset: 6px; }
.guide-navigation a:hover, .guide-navigation a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: #7373ff; }
.guide-page .guide-main { max-width: 1320px; margin-inline: auto; padding: 0 32px; }
.guide-hero { max-width: 980px; padding: 72px 0 54px; }
.guide-hero h1 { margin: 15px 0 24px; font-size: clamp(42px, 6vw, 76px); font-weight: 400; letter-spacing: -.045em; line-height: 1.07; }
.guide-hero .guide-lede { max-width: 760px; margin: 0; font-size: 21px; line-height: 1.6; color: #c8c8c8; }
.guide-hero .eyebrow { color: #b6b6ff; }
.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 64px; border-top: 1px solid #303030; }
.guide-sidebar { position: sticky; top: 24px; padding-top: 28px; }
.guide-sidebar h2 { margin: 0 0 18px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; color: #a9a9a9; }
.guide-toc { display: grid; gap: 12px; font-size: 14px; line-height: 1.5; }
.guide-toc a { color: #bdbdbd; }
.guide-toc a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.guide-article { min-width: 0; max-width: 880px; padding-top: 26px; font-size: 17px; line-height: 1.8; color: #c9c9c9; overflow-wrap: break-word; }
.guide-article h2, .guide-article h3, .guide-article h4 { color: #fff; font-weight: 450; line-height: 1.25; letter-spacing: -.025em; scroll-margin-top: 32px; }
.guide-article h2 { font-size: 32px; margin: 8px 0 24px; }
.guide-article h3 { font-size: 27px; margin: 48px 0 20px; padding-top: 25px; border-top: 1px solid #303030; }
.guide-article h4 { font-size: 22px; margin: 36px 0 16px; }
.guide-article p { margin: 0 0 22px; }
.guide-article a, .guide-text-link { color: #c1c1ff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.guide-article a:hover, .guide-text-link:hover { color: #fff; }
.guide-article strong { color: #eee; font-weight: 600; }
.guide-article ul, .guide-article ol { padding-left: 24px; margin: 0 0 26px; }
.guide-article li { padding-left: 5px; margin-bottom: 10px; }
.guide-article li::marker { color: #a6a6ff; }
.guide-article code { padding: 2px 5px; background: #1b1b1b; color: #e0e0ff; border: 1px solid #303030; border-radius: 3px; font: .83em ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.guide-article pre { margin: 26px 0; padding: 22px; background: #141414; border: 1px solid #333; border-left: 3px solid #0000fe; border-radius: 3px; max-width: 100%; overflow-x: auto; line-height: 1.75; }
.guide-article pre code { display: block; padding: 0; background: none; border: 0; overflow-wrap: normal; }
.guide-article blockquote { margin: 24px 0; padding: 20px 24px; border-left: 3px solid #7272ff; background: #141414; }
.guide-article blockquote p:last-child { margin-bottom: 0; }
.guide-table { max-width: 100%; overflow-x: auto; margin: 26px 0; border: 1px solid #333; }
.guide-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65; }
.guide-table th, .guide-table td { padding: 17px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #333; }
.guide-table th { background: #171717; color: #fff; font-weight: 500; }
.guide-table th:first-child, .guide-table td:first-child { min-width: 165px; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-source { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid #303030; font-size: 13px; color: #aaa; }
.guide-source a { color: #c1c1ff; text-decoration: underline; text-underline-offset: 4px; }
.guide-four-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #3a3a3a; margin: 4px 0 56px; }
.guide-step { padding: 30px 24px; border-right: 1px solid #3a3a3a; background: #121212; }
.guide-step:last-child { border-right: 0; }
.guide-step-number { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 27px; background: #0000fe; color: #fff; font-size: 24px; font-weight: 450; }
.guide-step h2 { color: #fff; font-size: 23px; font-weight: 450; letter-spacing: -.4px; margin: 0 0 15px; line-height: 1.2; }
.guide-step p { color: #bdbdbd; font-size: 15px; line-height: 1.7; margin: 0; }
.guide-callout { margin: 32px 0; padding: 26px; border: 1px solid #44446b; border-left: 3px solid #7777ff; background: #12121a; }
.guide-callout p:last-child { margin-bottom: 0; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 12px; }
.guide-page .guide-actions .button { text-decoration: none; }
.guide-page details { border-block: 1px solid #333; margin-block: 28px; padding-block: 18px; }
.guide-page summary { color: #e4e4ff; cursor: pointer; font-size: 15px; }
.guide-page #license-source { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; color: #ddd; }
.guide-page .legal-section { margin-top: 60px; scroll-margin-top: 32px; }
.guide-page .page-footer { margin-top: 0; }
@media (max-width: 1000px) {
  .guide-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 32px; }
  .guide-four-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-step:nth-child(2) { border-right: 0; }
  .guide-step:nth-child(-n+2) { border-bottom: 1px solid #3a3a3a; }
}
@media (max-width: 700px) {
  .guide-navigation { padding: 15px 20px; gap: 8px 20px; font-size: 13px; }
  .guide-page .guide-main { padding-inline: 20px; }
  .guide-page .masthead { align-items: flex-start; flex-wrap: wrap; gap: 20px; }
  .guide-page .masthead-links { flex-wrap: wrap; }
  .guide-hero { padding: 44px 0 34px; }
  .guide-hero h1 { font-size: clamp(40px, 10vw, 60px); }
  .guide-hero .guide-lede { font-size: 18px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 32px; }
  .guide-sidebar { position: static; padding: 25px 0; border-bottom: 1px solid #303030; }
  .guide-toc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; font-size: 13px; }
  .guide-article { font-size: 16px; padding-top: 30px; }
  .guide-article h2 { font-size: 28px; }
  .guide-article h3 { font-size: 24px; }
  .guide-step { padding: 24px 18px; }
  .guide-step h2 { font-size: 21px; }
  .guide-step-number { width: 48px; height: 48px; font-size: 21px; margin-bottom: 22px; }
  .guide-callout { padding: 22px 18px; }
  .guide-article pre { padding: 18px 14px; }
}
@media (max-width: 390px) {
  .guide-four-steps { grid-template-columns: minmax(0, 1fr); }
  .guide-step { border-right: 0; border-bottom: 1px solid #3a3a3a; }
  .guide-step:last-child { border-bottom: 0; }
}
