/* Match the console's Inter typography, dark surfaces and cyan brand accent. */
@font-face {
  font-family: Inter;
  src: url('./InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page: #0a0a0a;
  --surface: #11141c;
  --surface-raised: #181d28;
  --border: #2b303c;
  --text: #f2f6ff;
  --muted: #b1b8c5;
  --accent: #36d6ff;
  --code: #0b1018;
  font-family: Inter, system-ui, sans-serif;
  background: var(--page);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
input,
select,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--surface);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--page);
}
.header-inner,
.intro,
.reference-intro,
.site-footer {
  max-width: 1320px;
  margin: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.brand img {
  display: block;
}
.developer-label {
  border-left: 1px solid var(--border);
  padding-left: 24px;
  color: var(--muted);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 550;
}
.current-page {
  color: var(--accent);
}
.console-link {
  padding: 9px 16px;
  border: 1px solid #454b58;
  border-radius: 10px;
  background: var(--surface);
}
.console-link:hover {
  border-color: var(--accent);
}
.console-link span {
  margin-left: 6px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 56px;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: var(--accent);
}
h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -2px;
}
.intro-description {
  max-width: 480px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 15px;
}
.api-endpoint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0e1117;
}
.endpoint-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
#api-origin {
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #d4dae3;
}
.download-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, #141b27, #0e1016 70%);
}
.download-panel .eyebrow {
  color: var(--muted);
  margin-bottom: 8px;
}
.download-panel h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.download-panel p:not(.eyebrow) {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 13px;
}
.downloads {
  display: grid;
  gap: 10px;
}
.downloads button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #454b58;
  border-radius: 10px;
  background: #11141c;
  color: var(--text);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.downloads .download-primary {
  border-color: #316577;
  background: linear-gradient(115deg, #193242, #111b26);
  color: #e9fbff;
}
.downloads button:hover:not(:disabled) {
  border-color: var(--accent);
  background: #182933;
}
.downloads button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.reference-intro {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.reference-intro h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.reference-intro p {
  max-width: 780px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
#reference-status:not(:empty) {
  margin: 16px 0;
  color: #ffd382;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}
.site-footer span span {
  margin: 0 10px;
  color: #525b6d;
}
noscript {
  display: block;
  padding: 32px;
}
@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr 330px;
    gap: 32px;
  }
  .developer-label {
    display: none;
  }
}
@media (max-width: 640px) {
  .header-inner,
  .intro,
  .reference-intro,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-inner {
    min-height: 76px;
    gap: 12px;
  }
  .brand {
    gap: 6px;
    font-size: 16px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .site-nav {
    gap: 12px;
    font-size: 12px;
  }
  .site-nav .current-page {
    display: none;
  }
  .console-link {
    padding: 8px 12px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 36px;
  }
  h1 {
    letter-spacing: -1.5px;
  }
  .download-panel {
    padding: 24px;
  }
}
