/* Square corners across the page, Scalar surfaces, portals, and mobile UI. */
:root {
  color-scheme: light;
  --scalar-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --scalar-font-code: "SFMono-Regular", Consolas, monospace;
  --scalar-radius: 0px; --scalar-radius-lg: 0px; --scalar-radius-xl: 0px;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
body { margin: 0; font-family: var(--scalar-font); background: #fff; color: hsl(220 13% 18%); }
.docs-header { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 40px; border-bottom: 1px solid hsl(214 20% 90%); background: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 750; letter-spacing: -.8px; color: hsl(220 13% 18%); text-decoration: none; }
.brand-mark { display: block; width: 32px; height: 32px; }
.brand-label { margin-left: 10px; padding-left: 20px; border-left: 1px solid hsl(214 20% 90%); color: hsl(215 13% 50%); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.docs-header nav { display: flex; gap: 28px; }
.docs-header nav a { color: hsl(215 13% 50%); font-size: 13px; font-weight: 550; text-decoration: none; }
.docs-header nav a:hover { color: hsl(195 100% 42%); }
a:focus-visible { outline: 2px solid hsl(195 100% 42%); outline-offset: 5px; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding: 64px max(40px, calc((100vw - 1320px) / 2)); overflow: hidden; border-bottom: 1px solid hsl(214 20% 90%); background: radial-gradient(ellipse at 86% 10%, #c7edf8 0, transparent 54%), linear-gradient(115deg, #fafafa 20%, hsl(195 85% 93%) 100%); }
.hero::before { content: ''; position: absolute; inset: 0 0 0 50%; pointer-events: none; opacity: .25; background-image: linear-gradient(#7cb7ca 1px, transparent 1px), linear-gradient(90deg, #7cb7ca 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000); }
.hero-copy, .request-preview { position: relative; }
.eyebrow { margin: 0 0 22px; font: 600 11px var(--scalar-font-code); letter-spacing: 1.7px; color: hsl(195 100% 32%); }
.eyebrow span { margin-right: 8px; font-size: 18px; vertical-align: middle; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.5vw, 65px); font-weight: 740; line-height: 1.06; letter-spacing: -3px; }
.hero h1 span { color: hsl(195 100% 42%); }
.hero-description { max-width: 430px; margin: 22px 0 28px; color: hsl(215 13% 50%); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-actions a { font-size: 13px; font-weight: 650; text-decoration: none; transition: background .15s, color .15s; }
.primary-link { display: inline-flex; gap: 28px; align-items: center; padding: 14px 20px; background: hsl(195 100% 42%); color: white; box-shadow: 4px 4px 0 #c7edf8; }
.primary-link:hover { background: hsl(195 100% 32%); }
.secondary-link { color: hsl(195 100% 32%); }
.secondary-link:hover { color: hsl(195 100% 42%); }
.hero-meta { margin: 25px 0 0; font-size: 11px; color: hsl(215 13% 50%); }
.hero-meta span { margin: 0 8px; color: #7cb7ca; }
.request-preview { min-width: 0; color: #f1f5f9; background: hsl(222 20% 10%); box-shadow: 10px 10px 0 #c7edf8; border: 1px solid hsl(217 20% 22%); }
.request-heading { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid hsl(217 20% 22%); font: 12px var(--scalar-font-code); }
.method-label { padding: 3px 6px; color: #b7e4d2; background: #28403d; font-weight: 700; font-size: 10px; }
.request-caption { margin-left: auto; color: #94a3b8; font: 9px var(--scalar-font); letter-spacing: 1px; }
.request-preview pre { overflow-x: auto; margin: 0; padding: 23px 20px; font: 11px/1.95 var(--scalar-font-code); }
.code-command { color: #67d5f5; } .code-option { color: #cbd5e1; } .code-string { color: #bfe9d8; } .code-key { color: #67d5f5; } .code-value { color: #f0cd97; }
.response-preview { background: hsl(222 20% 14%); border-top: 1px solid hsl(217 20% 22%); }
.response-heading { display: flex; align-items: center; gap: 7px; padding: 14px 20px 0; color: #cbd5e1; font-size: 10px; }
.response-heading > span:last-child { margin-left: auto; color: #94a3b8; font-family: var(--scalar-font-code); }
.response-indicator { width: 5px; height: 5px; background: #92d6b1; }
.response-preview pre { padding-top: 12px; padding-bottom: 18px; }
.request-footer { display: flex; justify-content: space-between; padding: 12px 20px; border-top: 1px solid hsl(217 20% 22%); color: #94a3b8; font-size: 10px; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid hsl(214 20% 90%); }
.quick-links a { display: flex; align-items: center; gap: 18px; padding: 27px 36px; text-decoration: none; color: hsl(220 13% 18%); border-right: 1px solid hsl(214 20% 90%); transition: background .15s; }
.quick-links a:last-child { border-right: 0; }
.quick-links a:hover { background: hsl(195 85% 93%); }
.step-number { font: 12px var(--scalar-font-code); color: hsl(215 13% 50%); }
.quick-links strong { display: block; font-size: 13px; font-weight: 650; }
.quick-links div span { display: block; margin-top: 6px; font-size: 11px; color: hsl(215 13% 50%); }
.link-arrow { margin-left: auto; color: hsl(195 100% 42%); }
.loading { padding: 40px; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 12px; background: #fff; z-index: 100; }
.skip-link:focus { top: 10px; }
@media (max-width: 1000px) { .hero { gap: 32px; padding: 44px 28px; } .hero-meta span { margin: 0 4px; } .quick-links a { padding: 23px 20px; gap: 12px; } }
@media (max-width: 760px) {
  .docs-header { padding: 16px 20px; flex-wrap: wrap; gap: 18px; }
  .brand-label { margin-left: 3px; padding-left: 14px; }
  .hero { grid-template-columns: 1fr; padding: 38px 22px; gap: 32px; }
  .hero::before { inset: 35% 0 0; }
  .hero h1 { letter-spacing: -2px; font-size: 48px; }
  .hero-description { font-size: 16px; margin-top: 18px; }
  .hero-actions { gap: 20px; }
  .hero-meta { line-height: 1.8; }
  .request-caption { font-size: 8px; }
  .request-preview pre { font-size: 10px; padding-left: 14px; padding-right: 14px; }
  .request-heading, .response-heading, .request-footer { padding-left: 14px; padding-right: 14px; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-links a { padding: 20px 22px; border-right: 0; border-bottom: 1px solid hsl(214 20% 90%); }
  .quick-links a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
