:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #596579;
  --blue: #2459d6;
  --line: #dfe5ee;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: #f8fafc;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
:focus-visible {
  outline: 3px solid #85aaff;
  outline-offset: 4px;
}
code,
pre,
textarea,
input {
  font-family: var(--mono);
}
pre {
  margin: 0;
  white-space: pre;
  overflow: auto;
  tab-size: 2;
}
[hidden] {
  display: none !important;
}
.page-width {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 10;
  padding: 12px;
  background: white;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-size: 19px;
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font: 600 19px var(--mono);
  color: white;
  background: linear-gradient(135deg, #2864e9, #8951dd);
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: 64px;
  padding: 52px 0 64px;
}
.hero-copy {
  padding-top: 24px;
}
.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1 {
  margin: 18px 0 22px;
  font-size: clamp(35px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 800;
  text-wrap: balance;
}
.hero-description {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button:hover {
  text-decoration: none;
}
.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 2px 4px #173b8c14;
}
.button-primary:hover {
  background: #1848ba;
}
.button-secondary {
  background: white;
  border-color: #d6deea;
  color: var(--ink);
}
.button-secondary:hover {
  background: #f0f4fa;
  border-color: #b8c5d9;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 23px 0 8px;
  color: #42506a;
  font-size: 13px;
}
.hero-note > span:first-child {
  color: #278061;
  font-weight: 700;
}
.note-dot {
  color: #adb7c6;
  padding: 0 2px;
}
.hero-limits {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.hero-operator {
  max-width: 470px;
  margin: 15px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.playground {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d6deeb;
  border-radius: 14px;
  background: white;
  box-shadow:
    0 12px 35px #21365a09,
    0 2px 4px #21365a05;
  scroll-margin-top: 24px;
}
.window-bar {
  min-height: 41px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #f3f6fb;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4cedc;
}
.window-bar code {
  font-size: 11px;
  color: #52627b;
}
.window-bar a {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
}
.playground-body {
  padding: 22px;
}
.playground-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}
.playground-heading h2 {
  font-size: 20px;
}
.live-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #547061;
  white-space: nowrap;
}
.live-label::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b8b68;
}
.section-intro {
  margin: 7px 0 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.example-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.example-options button {
  min-height: 32px;
  padding: 6px 9px;
  font-size: 11px;
  border-radius: 6px;
  border: 1px solid #e1e6ef;
  color: #5b6780;
  background: white;
}
.example-options button:hover {
  border-color: #96b2ed;
  color: var(--blue);
}
.example-options button[aria-pressed='true'] {
  color: #234fab;
  background: #eff4ff;
  border-color: #c9d9fa;
  font-weight: 600;
}
label {
  display: block;
  margin: 14px 0 7px;
  color: #46536b;
  font-size: 12px;
  font-weight: 600;
}
textarea,
input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dbe2ec;
  border-radius: 7px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  background: #fafbfd;
}
textarea {
  min-height: 128px;
  resize: vertical;
  display: block;
}
textarea:focus,
input:focus {
  border-color: #7ea2ed;
  outline: 2px solid #bacefa80;
  outline-offset: 1px;
}
.filter-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.filter-action input {
  font-weight: 500;
  color: #2453b5;
}
.filter-action .button {
  padding-inline: 15px;
  font-size: 12px;
}
.keyboard-hint {
  margin: 9px 0 16px;
  color: #6a768b;
  font-size: 10px;
  line-height: 1.6;
}
kbd {
  font: inherit;
}
.result-panel {
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  padding: 12px 13px;
  background: #f6f8fb;
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.result-heading > span:first-child {
  font-size: 11px;
  font-weight: 600;
  color: #526078;
}
#result-status {
  font-size: 10px;
  color: #5f6d82;
}
#result-output {
  max-height: 180px;
  font-size: 13px;
  line-height: 1.65;
  color: #283b59;
}
.result-panel[data-state='success'] {
  border-color: #cee6dc;
  background: #f2faf6;
}
.result-panel[data-state='success'] #result-output {
  color: #20674d;
}
.result-panel[data-state='error'] {
  border-color: #efcfcb;
  background: #fff5f4;
}
.result-panel[data-state='error'] #result-output {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #a1342b;
}
#response-details {
  border-top: 1px solid #dbe5e0;
  margin-top: 12px;
  padding-top: 9px;
}
#response-details summary {
  color: #5b6f65;
  font-size: 10px;
}
#raw-response {
  margin-top: 12px;
  max-height: 240px;
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}
summary {
  cursor: pointer;
}
summary:hover {
  color: var(--blue);
}
.key-options {
  margin-top: 16px;
}
.key-options > summary {
  color: #5f6c82;
  font-size: 12px;
  line-height: 1.5;
}
.key-options > summary span {
  color: #5f6d82;
  margin-left: 5px;
}
.key-content p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.key-content input {
  font-size: 12px;
}

.connect-section {
  padding-top: 38px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.section-heading h2 {
  margin-top: 9px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.connect-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.protocol-badge {
  padding: 5px 8px;
  border-radius: 5px;
  background: #eef2ff;
  color: #4857ab;
  font: 600 10px var(--mono);
}
.protocol-rest {
  color: #326e58;
  background: #edf7f1;
}
.card-meta {
  font-size: 12px;
  color: var(--muted);
}
h3 {
  margin: 17px 0 10px;
  font-size: 20px;
  letter-spacing: -0.035em;
}
.connect-card > p {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.connect-card > p code {
  font-size: 11px;
  color: #34476b;
}
.endpoint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 21px 0 16px;
  padding: 11px 12px;
  border: 1px solid #e1e7f0;
  border-radius: 7px;
  background: #f8fafc;
}
.endpoint-label {
  font-size: 10px;
  color: #5f6d82;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.endpoint code {
  min-width: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.client-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.client-options .button {
  min-height: 38px;
  padding: 9px 11px;
  font-size: 12px;
}
.client-options .text-link {
  padding: 7px 2px;
  margin-left: 3px;
  font-size: 12px;
}
.setup-details {
  margin-top: 21px;
  border-top: 1px solid #e7ebf2;
  padding-top: 17px;
}
.setup-details > summary {
  font-size: 12px;
  color: #54627a;
}
.setup-detail-content {
  margin-top: 14px;
}
.setup-detail-content pre,
.code-block {
  padding: 14px;
  border-radius: 7px;
  background: #152137;
  color: #e2eaf8;
  font-size: 12px;
  line-height: 1.8;
}
.setup-detail-content .button {
  margin-top: 10px;
  font-size: 11px;
  min-height: 36px;
}
.code-block {
  margin-bottom: 13px;
}
.rest-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.rest-actions .button {
  min-height: 38px;
  font-size: 12px;
}
.rest-actions .text-link {
  font-size: 12px;
}
.connect-card > .card-footnote {
  margin-top: 18px;
  font-size: 12px;
}
.card-footnote a {
  white-space: nowrap;
}
.service-facts {
  margin: 48px 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.service-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 0 26px;
}
.service-facts-grid dt {
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
}
.service-facts-grid dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.service-facts code {
  font-size: 0.94em;
  overflow-wrap: anywhere;
}
.service-questions {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.service-questions > details + details {
  border-top: 1px solid var(--line);
}
.service-questions summary {
  padding: 18px 20px;
  font-size: 13px;
  font-weight: 600;
}
.answer-content {
  padding: 0 20px 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.answer-content p {
  max-width: 92ch;
  margin: 0 0 12px;
}
.answer-content p:last-child {
  margin-bottom: 0;
}
.answer-content .button {
  font-size: 12px;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-size: 13px;
}
.site-footer nav {
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer nav a {
  font-size: 12px;
}
.site-footer > p {
  margin-left: auto;
  font-size: 12px;
  color: #5f6d82;
}

@media (max-width: 1050px) {
  .hero {
    gap: 32px;
  }
  .hero-copy {
    padding-top: 10px;
  }
  .hero-actions .button {
    padding-inline: 12px;
    font-size: 12px;
  }
}
@media (max-width: 850px) {
  .page-width {
    width: min(620px, calc(100% - 40px));
  }
  .site-header {
    min-height: 72px;
    gap: 15px;
  }
  .site-header nav {
    gap: 15px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 28px 0 38px;
    gap: 30px;
  }
  .hero-copy {
    padding-top: 0;
  }
  h1 {
    max-width: 580px;
    font-size: clamp(34px, 6vw, 46px);
    margin: 15px 0 17px;
  }
  .hero-description {
    max-width: 580px;
    font-size: 15px;
    line-height: 1.7;
  }
  .hero-actions {
    margin-top: 22px;
  }
  .hero-note {
    margin-top: 19px;
  }
  .hero-limits {
    font-size: 11px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding-inline: 14px;
  }
  .connect-section {
    padding-top: 30px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .connect-card {
    padding: 23px;
  }
  .service-facts {
    margin-top: 36px;
    margin-bottom: 30px;
    padding-top: 28px;
  }
  .service-facts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-questions summary {
    padding-inline: 16px;
  }
  .answer-content {
    padding-inline: 16px;
  }
  .site-footer {
    gap: 14px;
  }
  .site-footer nav {
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-footer > p {
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 420px) {
  .page-width {
    width: calc(100% - 32px);
  }
  .site-header nav {
    gap: 12px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .brand {
    font-size: 14px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    padding-inline: 11px;
    font-size: 11px;
  }
  .playground-body {
    padding: 18px;
  }
  .window-bar {
    padding-inline: 18px;
    gap: 8px;
  }
  .playground-heading h2 {
    font-size: 19px;
  }
  .example-options {
    gap: 5px;
  }
  .example-options button {
    padding-inline: 7px;
    font-size: 11px;
  }
  .keyboard-hint {
    font-size: 10px;
  }
  .connect-card {
    padding: 21px;
  }
  .client-options .button {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 850px) {
  textarea,
  input,
  .key-content input {
    font-size: 16px;
  }
}
