@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
  color-scheme: light;
  --navy: #0f2d53;
  --blue: #1d20a7;
  --muted: #53657c;
  --border: #e5e8f0;
  --surface: #f5f6fa;
  --code: #101d33;
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: #fdfdfd;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; font-size: 15px; line-height: 1.75; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8789f0; outline-offset: 4px; }
p { margin: 0 0 18px; color: var(--muted); }
strong { color: var(--navy); font-weight: 650; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; color: var(--navy); }
h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.18; letter-spacing: -2.2px; margin: 17px 0 22px; font-weight: 800; }
h2 { font-size: 27px; letter-spacing: -.9px; line-height: 1.3; margin: 3px 0 0; font-weight: 750; }
h3 { font-size: 18px; letter-spacing: -.35px; margin: 0 0 14px; font-weight: 750; }
.site-header { height: 76px; padding: 0 38px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: #fdfdfdf5; position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 19px; color: var(--navy); font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 23px; letter-spacing: 2px; }
.brand:hover { text-decoration: none; }
.brand-divider { height: 23px; width: 1px; background: #d7ddea; }
.brand-label { font-size: 16px; font-weight: 550; letter-spacing: -.3px; color: var(--muted); }
.header-links { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 550; }
.header-links a { color: var(--muted); }
.environment-switch { display: flex; gap: 2px; border: 1px solid var(--border); border-radius: 6px; padding: 3px; background: var(--surface); }
.environment-switch a { padding: 3px 10px; border-radius: 4px; font-size: 11px; }
.environment-switch a:hover { text-decoration: none; background: white; }
.environment-switch a[aria-current="page"] { color: var(--blue); background: white; box-shadow: 0 1px 3px #0f2d5314; font-weight: 650; }
.environment-banner { border: 1px solid #e5cf9d; background: #fffbf1; border-radius: 6px; padding: 12px 15px; margin-bottom: 28px; font-size: 12px; color: #835f1c; }
.environment-banner strong { color: #835f1c; }
.version { border: 1px solid var(--border); padding: 2px 10px; border-radius: 6px; font-size: 11px; color: var(--muted); background: var(--surface); }
.menu-toggle { display: none; background: white; border: 1px solid var(--border); border-radius: 5px; padding: 5px 12px; color: var(--navy); }
.layout { display: grid; grid-template-columns: 244px minmax(0, 850px) 200px; max-width: 1440px; margin: auto; }
.sidebar { height: calc(100vh - 76px); position: sticky; top: 76px; padding: 37px 20px 30px 30px; border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; }
.nav-label { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: #7d889a; margin: 0 0 12px 10px; }
nav .nav-label { margin-top: 30px; }
.nav-link { display: flex; gap: 8px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; padding: 8px 10px; border-radius: 6px; margin: 3px 0; line-height: 1.5; }
.nav-link:hover { background: var(--surface); text-decoration: none; }
.nav-link.active { color: var(--blue); background: #eeeeff; font-weight: 650; }
.tag { font-size: 9px; border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; color: #6f7c90; }
.sidebar-help { margin-top: auto; border-top: 1px solid var(--border); padding: 24px 10px 0; font-size: 12px; }
.sidebar-help strong { display: inline-block; }
.sidebar-help p { margin: 9px 0 8px; line-height: 1.7; }
.help-icon { border: 1px solid #bec9d9; font-size: 11px; display: inline-grid; place-content: center; width: 17px; height: 17px; border-radius: 50%; margin-right: 7px; }
main { padding: 36px 54px 0; min-width: 0; }
.breadcrumbs { font-size: 11px; color: #7a8799; margin-bottom: 38px; }
.breadcrumbs span { padding: 0 11px; color: #bdc5d2; }
.intro { padding: 0 0 28px; border: none; }
.eyebrow { font-size: 10px; font-weight: 750; letter-spacing: 1.65px; color: var(--blue); margin: 0; }
.status-dot { width: 6px; height: 6px; background: #6860da; display: inline-block; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.lead { font-size: 16px; max-width: 555px; line-height: 1.9; }
.intro-actions { display: flex; align-items: center; gap: 27px; margin: 26px 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 17px; border: 1px solid var(--border); border-radius: 7px; font-size: 12px; font-weight: 650; background: white; color: var(--navy); white-space: nowrap; }
.button:hover { text-decoration: none; background: var(--surface); }
.button.primary { background: var(--blue); border-color: var(--blue); color: white; box-shadow: 0 3px 5px #1d20a710; }
.button.primary:hover { background: #161881; }
.text-link { font-size: 12px; font-weight: 650; color: var(--muted); }
.facts { display: flex; gap: 22px; flex-wrap: wrap; font-size: 10px; color: #748298; }
.facts span + span { border-left: 1px solid var(--border); padding-left: 22px; }
.facts strong { font-weight: 600; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 9px 0 48px; }
.path-card { border: 1px solid var(--border); border-radius: 9px; padding: 19px 16px; display: flex; align-items: flex-start; gap: 12px; background: white; color: var(--navy); transition: border-color .15s, box-shadow .15s; }
.path-card:hover { text-decoration: none; border-color: #b0b0e3; box-shadow: 0 3px 14px #0f2d5308; }
.path-card > span:last-child { margin-left: auto; font-size: 14px; color: #8b95a5; }
.path-card strong { display: block; font-size: 12px; }
.path-card small { display: block; font-size: 10px; line-height: 1.7; color: var(--muted); margin-top: 4px; }
.card-icon { font-family: monospace; color: var(--blue); background: #eeeeff; border-radius: 5px; padding: 3px 7px; font-size: 13px; flex-shrink: 0; }
section { border-top: 1px solid var(--border); padding: 38px 0 44px; scroll-margin-top: 20px; }
.section-heading { display: flex; gap: 15px; align-items: center; margin-bottom: 22px; }
.section-number { color: #8a91ae; font: 12px monospace; align-self: flex-start; padding-top: 5px; }
.reading-time { margin-left: auto; font-size: 10px; color: #7b879a; white-space: nowrap; }
.step { margin-top: 29px; scroll-margin-top: 105px; }
.step h3 { display: flex; align-items: center; gap: 11px; }
.step h3 > span { width: 23px; height: 23px; border: 1px solid var(--border); background: var(--surface); display: inline-grid; place-content: center; border-radius: 50%; font-size: 10px; font-weight: 650; flex-shrink: 0; color: #65728e; }
.callout { border-left: 3px solid #7771d8; background: #f4f3fc; border-radius: 0 6px 6px 0; padding: 15px 18px; font-size: 12px; line-height: 1.85; color: var(--muted); margin: 20px 0; }
.callout strong { color: #403884; }
.callout.warning { background: #fffbf1; border-color: #d6ae55; }
.callout.warning strong { color: #835f1c; }
code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: .82em; background: #f0f2f7; color: #4a517c; border-radius: 4px; padding: 3px 5px; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; margin: 19px 0 23px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { font-size: 10px; font-weight: 650; background: #f7f8fb; color: #6d7b91; padding: 11px 15px; white-space: nowrap; }
td { padding: 12px 15px; border-top: 1px solid var(--border); color: var(--muted); vertical-align: top; }
td:first-child { color: var(--navy); }
td code { font-size: 10px; }
.code-block { background: var(--code); border: 1px solid #20304a; border-radius: 9px; overflow: hidden; margin: 22px 0; box-shadow: 0 6px 15px #0f2d5308; }
.code-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; min-height: 45px; padding: 8px 17px; background: #15233b; border-bottom: 1px solid #2a364d; color: #a3aec5; font: 10px monospace; }
.code-heading button { color: #c3cce0; background: #ffffff08; border: 1px solid #3b4661; border-radius: 4px; padding: 3px 9px; font: 10px 'DM Sans', sans-serif; }
.code-heading button:hover { background: #ffffff18; }
.method { color: #77ddbe; font: 650 10px monospace; margin-right: 9px; }
.success { color: #77ddbe; margin-right: 9px; }
.error-status { color: #efbc8f; margin-right: 9px; }
pre { margin: 0; padding: 20px; overflow-x: auto; line-height: 1.85; tab-size: 2; }
pre code { background: transparent; color: #c7d5ee; padding: 0; border-radius: 0; font-size: 11px; overflow-wrap: normal; }
.field-list { margin: 25px 0 0; }
.field-list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
dt { font-weight: 600; }
dd { margin: 0; color: var(--muted); }
.flow { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 28px 0; }
.flow span { border: 1px solid var(--border); border-radius: 6px; background: #f7f8fc; padding: 12px 10px; font-size: 10px; text-align: center; flex: 1; }
.flow b { color: #929cb2; font-weight: 400; }
.endpoint { border: 1px solid var(--border); padding: 15px 18px; border-radius: 6px; background: var(--code); margin: 20px 0; }
.endpoint code { color: #d8e2f2; background: none; font-size: 13px; }
.support-box { display: flex; align-items: center; gap: 25px; padding: 24px; background: #f5f5fc; border: 1px solid #e6e5f4; border-radius: 8px; margin-top: 35px; }
.support-box h3 { margin-bottom: 6px; font-size: 17px; }
.support-box p { font-size: 12px; margin: 0; }
footer { border-top: 1px solid var(--border); padding: 27px 0; display: flex; align-items: center; gap: 20px; font-size: 10px; color: #8c96a6; }
.footer-brand { font-family: 'Manrope', sans-serif; font-size: 12px; letter-spacing: 1.8px; font-weight: 800; color: var(--navy); }
footer > a:last-child { margin-left: auto; color: var(--muted); }
.page-outline { padding: 42px 22px 25px 8px; position: sticky; top: 76px; height: fit-content; }
.page-outline .nav-label { margin-left: 0; }
.page-outline > a { display: block; padding: 6px 0 6px 13px; border-left: 1px solid var(--border); font-size: 11px; color: #7c8798; line-height: 1.65; }
.page-outline > a:hover, .page-outline > a.active { color: var(--blue); border-color: var(--blue); text-decoration: none; }
.outline-note { border-top: 1px solid var(--border); margin-top: 29px; padding-top: 18px; font-size: 10px; color: #68778d; }
.outline-note p { margin: 7px 0; font-size: 10px; color: #929aaa; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -70px; left: 16px; z-index: 30; background: var(--blue); color: white; border-radius: 5px; padding: 8px 15px; }
.skip-link:focus { top: 10px; }
@media (min-width: 1500px) { main { padding-left: 66px; padding-right: 66px; } }
@media (max-width: 1180px) { .layout { grid-template-columns: 225px minmax(0,1fr); } .page-outline { display: none; } main { max-width: 900px; padding: 32px 45px 0; } .sidebar { padding-left: 20px; } }
@media (max-width: 760px) {
  .site-header { height: 65px; padding: 0 22px; }
  .brand { font-size: 19px; gap: 12px; }
  .brand-label { font-size: 14px; }
  .header-links { gap: 14px; }
  .environment-switch a { padding: 3px 7px; font-size: 10px; }
  .header-links > a, .version { display: none; }
  .menu-toggle { display: inline-block; }
  .layout { display: block; }
  .sidebar { display: none; position: fixed; top: 65px; left: 0; bottom: 0; height: calc(100dvh - 65px); width: min(310px, 90vw); background: #fdfdfd; z-index: 9; box-shadow: 12px 0 35px #0f2d5315; padding: 25px 24px; }
  .sidebar.open { display: flex; }
  main { padding: 25px 24px 0; }
  .breadcrumbs { margin-bottom: 30px; }
  h1 { letter-spacing: -1.5px; }
  h2 { font-size: 24px; }
  .lead { font-size: 15px; }
  .path-grid { grid-template-columns: 1fr; margin-bottom: 33px; }
  .path-card { padding: 18px; }
  .path-card strong { font-size: 13px; }
  .facts { gap: 12px; font-size: 9px; }
  .facts span + span { padding-left: 12px; }
  .intro-actions { gap: 20px; }
  .reading-time { font-size: 9px; }
  .section-heading { gap: 10px; }
  .field-list > div { grid-template-columns: 1fr; gap: 6px; }
  .support-box { flex-direction: column; align-items: flex-start; }
  .flow { flex-wrap: wrap; }
  .flow span { padding: 12px 6px; font-size: 9px; }
  td, th { padding: 11px; }
  pre { padding: 15px; }
  section { padding: 30px 0; }
}
@media (max-width: 480px) {
  .site-header { padding: 0 14px; }
  .brand-divider, .brand-label { display: none; }
  .header-links { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .sidebar, .page-outline, .intro-actions, .path-grid, .code-heading button { display: none; } .layout { display: block; } main { padding: 0; max-width: none; } pre { white-space: pre-wrap; } section { break-inside: auto; } .code-block { box-shadow: none; } }
