
  :root { color-scheme: light; --ink: #171717; --muted: #66625e; --faint: #8a8580; --line: #e8e5e1; --line-strong: #d7d2cc; --surface: #fff; --surface-soft: #f8f7f5; --surface-code: #171717; --code-ink: #f6f4f1; --accent: #171717; --accent-ink: #fff; --note: #eef6ff; --note-line: #b9d8fa; --warning: #fff8e7; --warning-line: #eed184; --header-h: 64px; }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 28px); }
  body { margin: 0; background: var(--surface); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.68; -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  button, input { font: inherit; }
  svg { display: block; fill: currentColor; }
  .skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 14px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); transition: top .15s; }
  .skip-link:focus { top: 12px; }
  .topbar { position: sticky; z-index: 40; top: 0; height: var(--header-h); display: flex; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
  .topbar-inner { width: 100%; max-width: 1600px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-size: 15px; font-weight: 720; letter-spacing: -.015em; }
  .brand-mark { width: 28px; height: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 5px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); }
  .brand-mark i { border: 1.5px solid currentColor; border-radius: 1px; }
  .brand-divider { width: 1px; height: 20px; background: var(--line-strong); }
  .brand em { color: var(--muted); font-style: normal; font-weight: 500; }
  .top-tabs { display: flex; align-items: center; gap: 4px; height: 100%; }
  .top-tabs a { height: 100%; display: inline-flex; align-items: center; padding: 0 12px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 550; }
  .top-tabs a:hover { color: var(--ink); }
  .top-tabs a.active { border-bottom-color: var(--ink); color: var(--ink); }
  .top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
  .search-trigger { min-width: 230px; height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--faint); cursor: pointer; text-align: left; }
  .search-trigger:hover { border-color: #aaa49d; color: var(--muted); }
  .search-trigger svg { width: 16px; height: 16px; }
  .search-trigger span { flex: 1; }
  kbd { border: 1px solid var(--line); border-bottom-color: var(--line-strong); border-radius: 5px; background: var(--surface-soft); padding: 1px 6px; color: var(--faint); font-size: 11px; font-family: inherit; }
  .icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); cursor: pointer; }
  .icon-button:hover { background: var(--surface-soft); color: var(--ink); }
  .icon-button svg { width: 18px; height: 18px; }
  .mobile-menu { display: none; }
  .shell { max-width: 1600px; min-height: calc(100vh - var(--header-h)); margin: 0 auto; display: grid; grid-template-columns: 248px minmax(0, 1fr) 220px; }
  .sidebar { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 28px 22px 56px 24px; border-right: 1px solid var(--line); scrollbar-width: thin; }
  .sidebar-backdrop { display: none; }
  .nav-group { margin-bottom: 26px; }
  .nav-group h2 { margin: 0 0 7px; color: var(--faint); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; }
  .nav-group a { position: relative; display: block; margin: 1px 0; padding: 6px 9px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 13.5px; line-height: 1.45; }
  .nav-group a:hover { background: var(--surface-soft); color: var(--ink); }
  .nav-group a.active { background: #f0efed; color: var(--ink); font-weight: 650; }
  .nav-group a.active::before { content: ""; position: absolute; left: -9px; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: var(--ink); }
  main { width: min(100%, 880px); min-width: 0; margin: 0 auto; padding: 64px 58px 96px; }
  .eyebrow { margin: 0 0 13px; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  h1 { max-width: 780px; margin: 0; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -.045em; font-weight: 740; }
  .lead { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 650; }
  .button-primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
  .button-primary:hover { background: #303030; }
  .button-secondary { background: var(--surface); }
  .button-secondary:hover { background: var(--surface-soft); }
  article > section { margin-top: 62px; }
  article h2 { margin: 0 0 18px; color: var(--ink); font-size: 25px; line-height: 1.3; letter-spacing: -.025em; }
  article h3 { margin: 34px 0 12px; font-size: 18px; letter-spacing: -.015em; }
  article p { margin: 14px 0; color: var(--muted); }
  article strong { color: var(--ink); }
  article a:not(.button):not(.feature-card):not(.next-grid a) { color: var(--ink); text-decoration-color: #aaa49d; text-underline-offset: 3px; }
  article code:not(pre code):not(.endpoint code) { border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); padding: 1px 5px; color: #33302d; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .88em; }
  article ul, article ol { margin: 16px 0; padding-left: 23px; color: var(--muted); }
  article li { margin: 8px 0; padding-left: 3px; }
  .step-number { display: inline-grid; width: 28px; height: 28px; margin-right: 7px; place-items: center; border-radius: 7px; background: var(--ink); color: #fff; font-size: 14px; vertical-align: 2px; }
  .feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
  .feature-card { min-height: 152px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
  .feature-card:hover { border-color: #c6c0ba; box-shadow: 0 9px 24px rgba(20,20,20,.06); transform: translateY(-2px); }
  .feature-card strong { margin-top: 16px; font-size: 15px; }
  .feature-card > span:last-child { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.55; }
  .feature-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-soft); color: var(--ink); }
  .feature-icon svg { width: 18px; height: 18px; }
  .code-block { overflow: hidden; margin: 22px 0; border: 1px solid #292929; border-radius: 10px; background: var(--surface-code); box-shadow: 0 8px 20px rgba(20,20,20,.08); }
  .code-toolbar { height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 15px; border-bottom: 1px solid #303030; color: #9c9995; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
  .copy-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border: 0; border-radius: 5px; background: transparent; color: #aaa7a2; cursor: pointer; font-size: 11px; letter-spacing: 0; text-transform: none; }
  .copy-button:hover { background: #292929; color: #fff; }
  .copy-button svg { width: 14px; height: 14px; }
  pre { margin: 0; padding: 19px; overflow-x: auto; color: var(--code-ink); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12.5px; line-height: 1.7; tab-size: 2; }
  .callout { display: flex; gap: 12px; margin: 24px 0; padding: 16px 18px; border: 1px solid; border-radius: 9px; }
  .callout-note { border-color: var(--note-line); background: var(--note); }
  .callout-warning { border-color: var(--warning-line); background: var(--warning); }
  .callout-icon { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; margin-top: 1px; border: 1px solid currentColor; border-radius: 50%; font: 700 12px/1 Georgia, serif; }
  .callout strong { display: block; font-size: 13px; }
  .callout p { margin: 3px 0 0; color: #4d4945; font-size: 13px; line-height: 1.55; }
  .table-wrap { margin: 22px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; }
  table { width: 100%; border-collapse: collapse; font-size: 13px; }
  th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
  tr:last-child td { border-bottom: 0; }
  th { background: var(--surface-soft); color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
  td { color: var(--muted); }
  .endpoint-stack { display: grid; gap: 10px; }
  .endpoint { display: flex; align-items: center; gap: 11px; min-width: 0; margin: 20px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
  .endpoint code { min-width: 0; overflow-wrap: anywhere; color: var(--ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12.5px; }
  .method { flex: 0 0 auto; border-radius: 5px; padding: 3px 7px; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
  .method-get { background: #def5e7; color: #176b3a; }
  .scope-pill { flex: 0 0 auto; margin-left: auto; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); padding: 2px 8px; color: var(--faint); font-size: 10px; white-space: nowrap; }
  .check-list { list-style: none; padding: 0; }
  .check-list li { position: relative; padding-left: 28px; }
  .check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #e6f5ec; color: #176b3a; font-size: 11px; font-weight: 800; }
  .next-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .next-grid a { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
  .next-grid a:hover { border-color: #bbb5af; }
  .next-grid span { color: var(--faint); font-size: 12px; }
  .next-grid strong { font-size: 14px; }
  .timeline { list-style: none; margin-left: 0; padding-left: 0; }
  .timeline li { display: flex; gap: 14px; padding: 0 0 22px; margin: 0; }
  .timeline li > span { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 700; }
  .timeline p { margin: 3px 0 0; font-size: 14px; }
  .architecture-flow { display: flex; align-items: center; gap: 9px; margin: 24px 0; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
  .architecture-flow span { flex: 1; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); text-align: center; color: var(--ink); font-size: 12px; font-weight: 650; }
  .architecture-flow b { color: var(--faint); font-weight: 400; }
  .outline { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); padding: 68px 24px 40px 18px; overflow-y: auto; }
  .outline h2 { margin: 0 0 10px; color: var(--faint); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
  .outline a { display: block; padding: 5px 0; color: var(--faint); text-decoration: none; font-size: 12px; line-height: 1.45; }
  .outline a:hover, .outline a.visible { color: var(--ink); }
  .article-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
  .article-footer a { color: var(--muted); }
  .search-dialog { width: min(620px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 40px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: 0 24px 70px rgba(0,0,0,.2); color: var(--ink); }
  .search-dialog::backdrop { background: rgba(20,20,20,.36); backdrop-filter: blur(2px); }
  .search-box { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
  .search-box svg { width: 19px; height: 19px; color: var(--faint); }
  .search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
  .search-close { border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); color: var(--faint); cursor: pointer; font-size: 11px; }
  .search-results { min-height: 120px; max-height: 480px; overflow-y: auto; padding: 8px; }
  .search-result { display: block; padding: 12px; border-radius: 8px; text-decoration: none; }
  .search-result:hover, .search-result:focus { outline: 0; background: var(--surface-soft); }
  .search-result small { display: block; color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
  .search-result strong { display: block; margin-top: 2px; font-size: 14px; }
  .search-result span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
  .search-empty { padding: 36px 16px; color: var(--muted); text-align: center; font-size: 13px; }
  :focus-visible { outline: 3px solid rgba(20,20,20,.25); outline-offset: 2px; }
  @media (max-width: 1180px) { .shell { grid-template-columns: 238px minmax(0, 1fr); } .outline { display: none; } }
  @media (max-width: 900px) {
    .top-tabs { display: none; } .search-trigger { min-width: 36px; width: 36px; padding: 0; justify-content: center; } .search-trigger span, .search-trigger kbd { display: none; } .mobile-menu { display: inline-grid; }
    .shell { display: block; } .sidebar { position: fixed; z-index: 60; left: 0; top: 0; width: min(300px, 86vw); height: 100vh; padding-top: 26px; background: var(--surface); transform: translateX(-102%); transition: transform .2s ease; box-shadow: 12px 0 30px rgba(0,0,0,.1); } body.menu-open .sidebar { transform: translateX(0); } body.menu-open .sidebar-backdrop { position: fixed; z-index: 55; inset: 0; display: block; border: 0; background: rgba(20,20,20,.32); }
    main { padding: 52px 28px 80px; }
  }
  @media (max-width: 620px) {
    .topbar-inner { padding: 0 16px; gap: 14px; } .brand-divider, .brand em { display: none; } main { padding: 42px 20px 72px; } h1 { font-size: 38px; } .lead { font-size: 17px; } .feature-grid, .next-grid { grid-template-columns: 1fr; } .feature-card { min-height: 132px; } .scope-pill { display: none; } .endpoint { align-items: flex-start; } .architecture-flow { align-items: stretch; flex-direction: column; } .architecture-flow b { transform: rotate(90deg); align-self: center; } .article-footer { align-items: flex-start; flex-direction: column; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
